Python GPIO Tools for Super NESPi Case.
- Temperature Fan Controller
- Soft Reset Button
- (Work In Progress) Soft Shutdown Button
- Raspberry Pi
- Super NESPi Case (Important, not Retroflag Case!)
- Python 2.7
- RPi.GPIO
- mock Python package (for simulation mode)
- simple-pid Python package
Install required Python packages:
pip install -r requirements.txt
Copy file
_snespi.py
file to/home/pi/snespi/
directory.Copy file
settings.ini
file to/home/pi/snespi/
directory.You can override default settings, by creating filesettings.local.ini
, next tosettings.ini
and selectively placing there your override values (BE CAREFUL! Setting incorrect settings may lead to board damage!)
Copy file following files to
/home/pi/snespi/
directory on your Raspberry Pi:fan_controller.py
settings.ini
Configure script autostart
Run:
sudo crontab -e -u root
Add new entry to crontab configuraion:
@reboot /usr/bin/python2.7 /home/pi/snespi/fan_controller.py & > /dev/null 2>&1
Save file & close editor
Reboot your RPi:
sudo reboot
Copy file following files to
/home/pi/snespi/
directory on your Raspberry Pi:soft_reset.py
settings.ini
Configure script autostart
Run:
sudo crontab -e -u root
Add new entry to crontab configuraion:
@reboot /usr/bin/python2.7 /home/pi/snespi/soft_reset.py & > /dev/null 2>&1
Save file & close editor
Reboot your RPi:
sudo reboot
Daniel Kuruc