-
1Step 1
Identify GPIOs to use on the Onion
-
2Step 2
For Inputs develop an interface suitable for the signals to read, keep in mind Onion only reads digital inputs
-
3Step 3
For outputs identify if PWM is needed, beware of maximum current to handle, relay may be more convenient than solid state devices.
-
4Step 4
Initialize inputs and outputs in the bash script (in this case) at the begining.
-
5Step 5
Debug reading inputs and setting an output
-
6Step 6
Dive under the in-panel fishing for the correct signals to read and activate
-
7Step 7
Connect experimental I/Os by twisting the wires until the set up is confirmed to work.
-
8Step 8
Solder and tie wires, relays, transistors so that components won't rattle or fly during usage
-
9Step 9
For specific Open Doors, Close Doors, Starter functions. Put the Bash scripts under /www/cgi-bin/* and call them from any browser with 192.168.3.1/cgi-bin/Script.cgi
-
10Step 10
Debug with a terminal and ssh
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.