by mandalay » Thu Jun 18, 2015 11:41 am
I believe the relay I used was the culprit. So I replaced it with DFRobot Relay Shield 2.1 and the doors are no longer opened when power is removed. However, I have not been able to get it to work properly using the latest 2.4 sketch. I did remove the jumper for D10 so it does not interfere with Ethernet Shield. My setup is Adruino Uno R3 with Ethernet Shield sitting on it and Relay Shield on top. I have 2 doors with 2 sensors. Since the 2 wires from each door mount button go to COM2/NO2 and COM3/NO3, I used D7 & D8 for digital relay pins to open/close these 2 doors. Then the status sensors go to analog A3, A4, and GND pins. I was able to see the correct door status on iOS app and open the door ONCE right after the upload via Arduino IDE 1.0.6 is successfully done. After that, the app could not communicate with the whole setup since it did not register its IP address. I tried to access the IP address with its port via different browsers and could not get its status either. In addition, IP address is not seen in the list of clients in my router. I wonder what's wrong with what I'm doing and if the latest 2.4 sketch can also be used with my setup. If not, where do I find the older version and which Arduino IDE version should I use?
Thanks for your help.