Step 4Hooking Up the WiFly Shield
Download my modified version of Wifly Arduino library and copy it to Arduino IDE's "libraries" directory, usually located under the sketches directory. If you already have a "Wifly" directory there, replace it. Worry not: my version does not change any functionality, only adds one new call, join() accepting no arguments, that allows connecting to open wireless networks whose SSID isn't know at compile time.
Connect WiFly to the Arduino (without the phone, if possible) and load one of WiFly's sample sketches, just to make sure that WiFly is working. WiFly_WebClient, for example, is a good sketch to run that takes no setup. Run it and make sure you get a response from Google, as you're supposed to.
Into the WiFly shiled, now connect the MCP23017, the 2 sensors (dialer, hook) and the speaker, in whatever method you find mot convenient. I used a prepared male header dongle, you can use whatever you are comfortable with.
WiFly.zip31 KB| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|













































