https://github.com/autochopp/embedded_electronics
The embedded part of the code for the electronics of PI2.
https://github.com/autochopp/embedded_electronics
eletronics embedded-systems kivy raspberry-pi
Last synced: about 1 month ago
JSON representation
The embedded part of the code for the electronics of PI2.
- Host: GitHub
- URL: https://github.com/autochopp/embedded_electronics
- Owner: autochopp
- License: mit
- Created: 2017-09-15T14:35:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-08T09:59:37.000Z (over 8 years ago)
- Last Synced: 2025-10-28T03:42:06.752Z (8 months ago)
- Topics: eletronics, embedded-systems, kivy, raspberry-pi
- Language: Python
- Size: 2.45 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# embedded_electronics
The embedded part of the code for the electronics of PI2.
It should work.
In to autorun the codes at startup, do as follows:
1. Edit your /etc/rc.local
Add this line to control the temperature:
nohup python /home/pi/autochopp-machine/embedded_electronics/temperature/temp_control.py > /home/pi/log_temp &
2. To run only our interface, and update data at the api
$ cd ~/.config/lxsession/LXDE-pi/
$ cp autostart autorun.bk #backupfile
Edit the autostart file, deleting all lines and writing:
@python /home/pi/autochopp-machine/main.py
@python /home/pi/autochopp-machine/embedded_electronics/collector.py
In order to run the GPIO without root permission you'll need to
change its ownship (Not a good practice, do it at your own risk).