mode. The Arduino sketches for these two modes are different. Let’s explain
these two modes one by one
A) STA mode
In STA mode, V2 Robot Car will be a client device of your LAN router. You
need save the SSID name and password of your LAN router in Arduino
sketch.
Once the sketch is running, your router DHCP service will assign an IP
address to your robot car and your APP will use this IP address to access
your car.
1) Please download STA mode sketch code
from http://osoyoo.com/picture/V2.1_Arduino_Robot_Car/code/v2smartcar-
lesson6A.zip. Unzip the file, you will see a folder “v2smartcar-
lesson6A”. Open Arduino IDE -> click file -> click Open -> choose code
“v2smartcar-lesson6A.ino” in v2smartcar-lesson6A folder, load the code into
Arduino
2) You need change the code Line 104 and Line 105 :
char ssid[] = “YOUR_ROUTER_SSID”; // replace this with your router wifi
SSID
char pass[] = “YOUR_ROUTER_WIFI_PASSWORD”; // replace with
your wifi password