top of page

NETWORK COMMUNICATION

Wifly RN-XV

Wifly RN-XV

If you are going to stick with Arduino Uno, you could make the Arduino connect to a Wi-fi using Wifly RN-XV. First, you must set the Wifly connect to your router and then use the library: wiflyshield.h for it. (Provided below). Note that there are problems that we have encountered using Wifly such as occasionally packet loss and unreadable messages receive from server. But sometimes it works. Also the wifly couldn't be use to connect to wi-fi connection with proxy settings.

The Board Layout

The Board Layout

to integrate the wifly with the shown board layout for the fingerprint sensor, use the pins 6 and 7 of the Arduino Uno for the RX and TX of the Wifly.

Arduino Yun

Arduino Yun

This is highly recommended for it doesn't encounter any packet loss and it lessen the space used by the Wifly module for the Arduino Yun already has an onboard Wi-fi. The libraries that we had use here is the Bridge.h and YunClient.h that is included in the Arduino 1.5.8 version.

arduino-tweet.appspot.com

arduino-tweet.appspot.com

Our first prototype of notifying the professor whether there is a student that wants to make an appointment uses a web-based application called arduino-tweet.appspot that is the one that tweets the data (student's name, student number, and purpose) that we have sent from the appointment device. You could use this as an alternative if you don't want to make a server hence the code is also provided below.

Server

Server

A problem in using the appspot earlier is that you need to change the code itself to change the twitter account you want to tweet the data on. Rather than using the appspot shown in the last slide, we had made a server that will be the one to automatically send the data from the appointment device to the email account of the professor. Having a server gives more freedom and flexibility to our system,

The information presented here came from the early drafts and as such will only focus on the process of development.  

bottom of page