Configure Arduino's car using serial monitor

Difficulty

2

Stars
2stars
Time
25 min.
  • Open Serial monitor 
Open Serial monitor
  • Set serial speed to 9600
Set serial speed
  • Select Newline
Newline
  • Now you can send commands to arduino via Serial port to configure your car.

A Funny Town command is working like this :

6 MODE 0

6 id of the car (0 for all cars)
MODE Command, here to change the mode (1 => Normal, 0 => Simple)
0 Parameter, here select the simple mode
  • Send 3 commands :
0 ID 1 Set the ID of your first car to 1 (if you already have a car, change it to 2, 3, etc.)
0 MODE 0 Set the mode to simple
0 SPS 30 Set the speed for simple mode to 30
  •  Set ID of the car : 0 ID 1
Change ID of the car
  • Set the simple mode : 0 MODE 0
  • Set the speed : 0 SPS 30
Configure car