A method for controlling Raspberry Pi GPIO pins via websockets.
- Please review the Python import headers for dependencies.
- Raspi-Valve Control Panel
- Raspberry Pi 3B & Micro SD Card
- WinSCP
- Putty
- 1kOhm resister
- 5v-12v 5-pin Relay
- 12V DC Solenoid
- 12V DC Power supply (minimum 1A)
- BC548 Transistor
- Diode
- Nokia 5110
- DC-DC 12v-5v voltage regulator
- Veroboard, wire, solder, etc
- Install Raspian on the Raspi
- Connect the Raspi to your network
- Transfer the
raspi-valve-controller.py
script to the Raspi - Execute the script
Optional:
- Setup the script to run as a service on startup
- Google a generic init.d tutorial