Step 6IoBridge Setup
There are two main functions that the ioBridge was used for:
-
Request current code
I do a GET call from the arduino to retrieve the current code from my Code Generator service using ioBridge Serial Web Services API.
Arduino code:
mySerial.println("[[[get|http:/my.apexserver.com/pls/apex/getcode]]]");
-
Start candy dropping sequence by text, call or tweet.
An ioBridge widget will send a start character via serial message and the candy dropping sequence will start. This widget can be called using the ioBridge Static Widget API.
This URL is called by Twilio and by my custom Twitter alert script.
http://www.iobridge.com/widgets/static/id=[widgetID]
These are the digital I/O pins configuration:
- ioBridge Serial Board
- TX - RX XBee
- RX - TX XBee
- GND and 5v
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|


















































