![]() Analog boundary value (0-1023) used to distinguish between device/door status = opened and closed. #define STATUS_STRATEGY_NORMALLY_OPENED // alternate approach - uses digitalRead to interpret door/device status (opened = GND, closed = high-impedance) #define STATUS_STRATEGY_NORMALLY_CLOSED // classic door sensor - uses digitalRead to interpret door/device status (opened = high-impedance, closed = GND) #define STATUS_STRATEGY_5VCLOSED_3VOPENED // alternate approach - uses analogRead combined with STATUS_OPEN_TRESHOLD (opened = +3v, closed = +5v) #define STATUS_STRATEGY_3VCLOSED_5VOPENED // initial approach - uses analogRead combined with STATUS_OPEN_TRESHOLD (opened = +5v, closed = +3v) the one that reflects how you want status to be interpreted) status reading strategy (uncomment only one. Uint8_t mac = // select if using DFRobot XBoard Relay MAC address to be used by ethernet adapter Port on which Arduino HTTP server will listen to your Arduino from the iPhone application or internet. This is not the address you will be accessing network IP address you want your Arduino assigned. EthernetShield IP address (DHCP reserved, never allocated to anyone else). Global configuration (adjust to reflect your setup) #define NOTIFICATIONS_SERIAL_DEBUGGING 1 #define MYDOOROPENER_SERIAL_DEBUGGING 1 v2.4 - Reduced memory footprint by getting rid of "WebDuino" library - Certified compatibility with Arduino v1.0.6 IDE v2.3 - Certified compatibility with DFRobot Xboard Relay (which is now the new standard/default) - Certified compatibility with Arduino v1.0.3 IDE - Certified compatibility with ArduinoEthernet (all-in-one) and DFRobot RelayShield hardware - Relocated most string literals to flash memory - Added logic to support multiple status reading strategies (3v5v, NC, NO, etc) ![]() - Updated to support iOS push notifications (via Prowl) - Updated to support SMS notifications (via carrier provided SMTPtoSMS gateway) v2.2 - Updated to support SMTP email notifications - Updated to support Arduino v1.0 IDE. v2.0 - Updated to support unlimited number of devices (used to be max 3). v1.2 - Deprecated HTTP POST in favor of HTTP GET parameters. v1.1 - Added support for up to three garage doors. ino file, maybe someone can see if they notice something wrong with it? I have setup the iphone app and it appears to be working when you press the button to open the garage, but nothing happens on the garage door and the relay doesnt make a sound either. This XML file does not appear to have any style information associated with it. I am able to see the following on my local network and also outside of my network since i've forwarded the port that i desingated: ino from the link in the instructions and did as the instructions said and entered the ip address and also a password. I am pretty certain that i've followed all of the steps but i cant seem to get the relays to fire using the iphone app. I am brand new to this so please forgive my lack of knowledge. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |