Controlling the WiFly module I: Command mode
So you’ve got a WiFly module and you want to integrate it with your Arduino project to lift it to the next level. But were do you start?
The last couple of months I’ve had a lot of hands on experience working with Roving Networks WiFly and I know it can have a mind of it’s own sometimes. I decided to write this starting guide to share the knowledge I’ve acquired. Because my hardware setup is a bit unique I will focus primarily on controlling the WiFly through Arduino and not how to connect the components to each other.
There are three ways to connect a WiFly module to Arduino: Hardware Serial, Software Serial and SPI. In these examples the WiFly is connceted to Arduino Leonardo’s digital pins 0 (RX, receive) and 1 (TX, transmit); hardware serial.
Node.js communicating with Arduino
This little demo I made shows that you can communicate with Arduino in a browser.
Arduino’s serial port is connected to Node.js trough the SerialPort module. SocketIO sends and recieves receives data from the browser.
Read more →
RFID to Flash AS3.0
To sell the concept for the radar and detection room we needed a working prototype. I managed to get a hold of a Parallax RFID reader which is compatible with Arduino. On the Arduino website you will find a sketch for the Parillax RFID reader. Because I had only one RFID reader I added a button and modified the sketch so you can cycle through modes. This is to emulate the game/login part and the node part (scan if you find a object) of the prototype.