Cytron ESP8266 WiFi Shield
2Amp Motor Driver Shield
Aluminium Robot Chassis Set
2x18650 Battery Holder
3.7V 1100mAh Li-Ion Battery
DC Jack(Male) to DG126 Converter
PCB Stand (screw & nut)15mm
The diagram below shows the connection of the Motor Driver Shield with the gear motor.
The -ve of the motor is connected to B on the motor driver.
The +ve of the motor is connected to A on the motor driver.
(if the motor rotation is reverse, you need to change the connection to -ve =>A ; +ve =>B)
Step by Step (Hardware)
2. Stack the WiFi Shield onto the CT UNO. Make sure the jumper link is connected on D2 and D3.
3. Stack the Motor Shield onto the WiFi Shield.
For this tutorial, we are connecting the jumper to Vin because the input is supplied from the CT UNO board.
If the power input is supplied from external source, the jumper should be connected to PWRIN.
4. For the motor connections
LEFT motor => MOTOR 1 ( A => -ve , B => +ve)
RIGHT motor => MOTOR 2 ( A => -ve , B => +ve)
The jumper for Pin 4,5,6,7 are connected as shown.
5. Screw the battery holder with DC jack to the robot chassis.
Then, connect the DC jack to CT UNO board.
Finally, your hardware setup is done.
WiFly Remote apps setup (Android)
2. Connect your device to your WiFi Shield.
For this tutorial,
ssid = CytronESPShield
pass = RobotHeadToToe
The ssid and password can be change in the coding later.
4. When the arrow is press, it will sent the data to the connected network.
Now you can enjoy playing with your WiFi Mobile Robot !!!
The default IP address for the WiFi Hotspot is 192.168.4.1 and the port should be 80 as set in the coding. It is needed when using the WiFly Remote apps.
After done uploading the program, you can open the Serial Monitor to test for the connection.
Make sure the port to the board is selected before open the Serial Monitor. (Tools > Port > COM)
Set the baud rate to 115200 and Both NL & CR.
The IP Address will be shown after the WiFi Hotspot is initialize.
When you control using the WiFly Remote, the direction of the robot will be displayed on the Serial Monitor.