movement
Click F4 to make back-left diagonal movement, Click F6 to make back-right diagonal
movement.
In STA mode, robot car does not work as a wifi hotspot. Instead, it will become an
internet node in your LAN. You need tell Arduino sketch what is your local router's Wifi
SSID and password, then Arduino talks to router and get its own LAN IP address from DHCP
server. You can use Mobile APP to access the robot car's IP address and control its
movement.
(1) Please download STA mode sketch code from
https://osoyoo.com/driver/mecanum/mecanum-
2560-lesson5B.zip
. Unzip the file and you will see a folder named mecanum-2560-lesson5b,
then load themecanum-2560-lesson5b.ino code into Arduino
(2) You need change the code Line 176 and Line 177 :
char ssid[] = "YOUR_ROUTER_SSID"; // replace this with your router wifi SSID
char pass[] = "YOUR_ROUTER_WIFI_PASSWORD"; // replace with your wifi password
Need help?
Do you have a question about the Mega2560 and is the answer not in the manual?