
69
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
Содержание V2.1
Страница 28: ...27 ...
Страница 39: ...38 Step 4 Fix the screws on copper pillars to connect upper chassis to lower chassis ...
Страница 41: ...40 Step 4 Choose corresponding board port for your project upload the sketch to the board ...
Страница 58: ...57 Step 4 Choose corresponding board port for your project upload the sketch to the board ...
Страница 60: ...59 as per link Ultrasonic sensor servo initial direction alignment ...
Страница 73: ...72 Note F1 F6 are further development functions in the future ...
Страница 81: ...80 ...
Страница 86: ...85 ...