Download Print this page

Arduino Mega2560 Manual page 25

Mars explorer mecanum wheel robotic kit

Advertisement

Step 2: Download
https://osoyoo.com/driver/mecanum/mecanum-2560-lesson3.zip
, unzip the
download zip file lesson3.zip, you will see a folder called lesson3 .
Step 3: Connect mega2560 board to PC with USB cable, Open Arduino IDE -> click file ->
click Open -> choose code "lesson3.ino" in lesson folder, load the code into arduino as
following:
Step 4: Choose corresponding board/port for your project, upload the sketch to the board.
Step 5: Adjust the sensitivity of tracking sensor modules. Turn on and hold the car and
adjust the potentiometer on the tracking sensor with cross screwdriver until you get the
best sensitivity status: the signal indicate LED light will turn on when sensor is above
white ground, and the signal LED will turn off when the sensor is above black track.

Hide quick links:

Advertisement

loading
Need help?

Need help?

Do you have a question about the Mega2560 and is the answer not in the manual?