Arduino sketches edited for personal use. For use with Mi Casa Verde Vera.
Relay Sketches | |
---|---|
FourRelayActuatorWithButtonTempLCD.ino | Four Relay With Button, Temp and LCD |
This sketch's default set-up is for 4 relays, an actuator button to activate relay of choice, temperature sensors and a 20x4 LCD. The relay button is set up to use the internal pull-up resistor, so no resistor is needed. Just connect pin to push button and then to ground. You can change the number of relays and possibly add more if you use the analog pins. You can use any Hitachi character LCD. Just change the rows and columns to match. | |
RelayWithButtonActuator2.ino | Single Relay With Button |
Sketch with relay and button to activate. Internal pull-up resistor activated, so no resistor is needed. Just connect to push button then ground. |