An Arduino compatible device based on the Arduino mini. This is as small as it can get with the wireless module. You can program on it just with a USB extension board. It is the best choice when your corresponding project space is limited.[/vc_column_text][vc_tour][vc_tab title=”Part list” tab_id=”1398150928-1-44″][vc_column_text]
[/vc_column_text][/vc_tab][vc_tab title=”Wiring Diagram” tab_id=”1398150928-2-33″][vc_column_text]
Redback can be directly installed in the USB extension board, their feet are corresponding to each other
Connect the DTR on Redback to DTR on USB extension board
Then connect the Redback with the computer through the Mini USB cable.
[/vc_column_text][/vc_tab][vc_tab title=”Test Code” tab_id=”1398150998371-2-9″][vc_column_text]
Put the downloaded library to Arduino/libraries directory.
Open FILE->Example->Redback->SimpleServer in the Arduino IDE
Then modify the app-config.h under the Redback file.
For different programs useing different header files, we use the corresponding header files throng the comments or open the related macro definitions in the app-config.h. We modify the app-config.h as follows in this post.
Then we can modify the code according to our router information
From the top to the bottom of according to the 6 red boxes in turn:
The Redback IP address
The connected gateway router
The connected wireless network name of the Redback.
Wireless network encryption method
The last is a wireless network password
This code configured according to my own router information .
At last, you can see the compiled code result.
[/vc_column_text][/vc_tab][vc_tab title=”Test result” tab_id=”1398150999208-3-9″][vc_column_text]
The WIFIGreen on the board will light up after the code unload to the IDE. Then input the IP address 192.168.7.120( The IP address is modified according the different network segment) set for the redback in the code in the browser (ensure that the computer and redback are on the same network segment). The server will print out the helloworld