I am currently working on a project home automation via bluetooth and android remote app. Everything is complete, but
I want to add a push button (for emergency/safety purpose) to turn off all the relays, which were initially activated/turned on by bluetooth.
standalone push button code is turning relays on and off but while merging with bluetooth they are not functioning properly.
Please someone provide with sample code, how to do this.
Sofware serial Bluetooth RX TX pin 2,3.
Relay output pin- 4,5,6,7.
Pushbutton pin 8.
atulkirti452:
Please someone provide with sample code, how to do this.
Please post the program that represents your best attempt and tell us in detail what it actually does and what you want it to do that is different. It will make it much easier to focus on the parts you need help with rather than wasting time on things that you can do.
...R