ROLLBOTMICRO
17
Gameplay
After assembling the robot successfully, let’s start the most exciting journey: games!
With the basic operation of the Arduino IDE and the circuit theory of the car previously, you
should already have a general understanding of the robot car. Next, let's move on to the
specific applications and the corresponding actions of the robot.
In subsequent operations, you need to know some basic buttons on the main board:
Power switch
: Switch on and off the robot.
Start button
: To start the program, especially in the line following function.
Reset button
: To reset the master board.
Open the
RollbotMicro
folder downloaded and unzipped previously in
Chapter 3 Software
Operation
. You can see the following folders inside:
5.1 Display the Sensor Signal Intensity on OLED
This experiment is to display the collected sensor data on the OLED screen. Here it is just applied
for simple display. Later in the line following experiment, we will use the intensity to control the
direction of the car.
1)
Find
RollbotMicroOLED.ino
under
Rollbot\Arduino Code\RollbotMicro\RollbotMicroOLED
,
open it and
upload to the RollbotMicro.
2)
Click
Tools
->
Board
, select
Arduino/Genuino Uno
Reset
Start button
Power switch
SunFounder