Arduino Redback Simple Server

by yhtomitsy in Circuits > Arduino

1908 Views, 17 Favorites, 0 Comments

Arduino Redback Simple Server

IMG_20150115_122323.jpg

One of the advantages of the arduino platform is that it allows one to store and access data from an online server. Using the arduino redback - yellowjacket compatible I am going to show you how to access data from an online server.

Setup

DSC_0032.JPG

What you need for this project is:

1. arduino redback

2. ft232rl breakout board

Connection

DSC_0034.JPG

Mount the arduino redback onto the ft232rl breakout board as shown in the diagram. Ensure that the DTR pins match.

Learn more on how to connect the arduino redback onto the ft232rl breakout board.

Code.

The arduino code is attached below

Process

The arduino redback sends a get request (www.kisese.byethost7.com/kura/results_b.txt) to the server. The server then returns the data contained in the text file results_b.txt. As simple as that.

Results

Capture.PNG

Data from the server is printed onto the serial monitor, every 10 seconds as shown in the image. You can edit the code to change the time interval and the get request too. Therefore, feel free to play around with the code. Meanwhile, you can view the full tutorial here.