https://github.com/notashelf/dummy-serial
Dummy serial port for Pi Air Quality Monitor
https://github.com/notashelf/dummy-serial
Last synced: about 1 year ago
JSON representation
Dummy serial port for Pi Air Quality Monitor
- Host: GitHub
- URL: https://github.com/notashelf/dummy-serial
- Owner: NotAShelf
- License: gpl-3.0
- Created: 2023-11-29T01:53:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T02:54:38.000Z (over 2 years ago)
- Last Synced: 2025-02-17T13:13:26.963Z (over 1 year ago)
- Language: C
- Homepage: https://github.com/NotAShelf/air-quality-monitor
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dummy Serial
> Simulates a serial port that continuously sends dummy data for PM2.5 and PM10. It uses a pseudoterminal (pty) to simulate the serial port. Designed to provide dummy data in the absence of a sensor for [air-quality-monitor](https://github.com/NotAShelf/air-quality-monitor)
## Usage
1. Compile & start the program.
```console
gcc -o dummy_serial main.c
./dummy_serial
```
2. Start air-quality-monitor.
3. Navigate to http://localhost:8080 and observe the chart.
## License
This project is licensed under the GPL3 License. See [LICENSE](LICENSE) for more details.
## Contributing
PRs welcome.