2016-10-14 00:53:43 +03:00
|
|
|
# Peltier Jacket arduino to web bridge
|
|
|
|
|
2016-10-14 23:02:38 +03:00
|
|
|
It displays temperature of the jacket
|
|
|
|
|
|
|
|
# How to run
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
Make sure that you have Python 3 and pyserial installed.
|
|
|
|
|
|
|
|
You can install pyserial by using this command
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip3 install pyserial
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
You have to give main.py one argument that points to the Arduino device.
|
|
|
|
On Linux is is usualy `/dev/ttyACM0` or `/dev/ttyUSB0`.
|
|
|
|
On Mac is usualy `/dev/tty.usbmodem.1412` or something similar.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
python3 main.py /dev/ttyACM0
|
|
|
|
```
|