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.