Example Code for Arduino-Router Connection and TCP Client
Last revision 2025/12/24
First of all, we will bring you a step by step tutorial to lead finish the Wido router connection configuration and make it work as a TCP client connected to the local server.
Hardware Preparation
Software Preparation
- Download Arduino IDE: Click to download Arduino IDE
- Download the Adafruit_CC3000_Library-master: Adafruit_CC3000_Library-master
Operation Steps
- Open the sample code, which is named buildtest.
- Upload the sample code to Wido and check the Serial monitor after programming. You will see the information printed including the MAC address and local router information detected by Wido.

- Update the SSID and password configuration in your code!
//Please enter the SSID and password of the router you want to connect
#define WLAN_SSID "myNetwork" // cannot be longer than 32 characters!
#define WLAN_PASS "myPassword"
- Then upload the sample sketch again.And after several seconds. You will see the effect, like the picture attached.

Was this article helpful?
