EasyManuals Logo

Arduino Mega2560 User Manual

Arduino Mega2560
39 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #17 background imageLoading...
Page #17 background image
Lesson 2: Obstacle Avoidance Robot Car
In this lesson, you must complete lesson 1 before you continue on with this lesson. we
use the ultrasonic module to “see” obstacle and measure the distance. If the distance
is less than pre-defined threshold value, the car will turn around from the obstacle
automatically.
OSOYOO Mecanum Wheels Robotic Car Chassis x1(2xleft-wheels/2xright-wheels and Motor x 4)
OSOYOO Mega2560 board fully compatible with Arduino x 1
OSOYOO V1.0 Wifi shield x 1
OSOYOO Model X motor driver x 2
OSOYOO MG90 servo motor x 1
OSOYOO Ultrasonic sensor module x1
OSOYOO Mount holder
OSOYOO Battery box x 1
18650 Batteries(3.7V) x 2
You must complete lesson 1 (assembling the car) before you continue on with this
lesson.In this lesson3, we will add a servo motor and to the robotic car built in Lesson
1.
Step 1: Install bracket (from servo motor package) on mount holder for Ultrasonic
Module with 2pcs M1.5*6 Self Tapping Screws.
Step 2: Install Ultrasonic Module to mount holder with 4pcs M1.4*8 screw and M1.4 nuts.

Questions and Answers:

Question and Answer IconNeed help?

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

Arduino Mega2560 Specifications

General IconGeneral
MicrocontrollerATmega2560
Operating Voltage5V
Input Voltage (recommended)7-12V
Input Voltage (limit)6-20V
Digital I/O Pins54 (of which 15 provide PWM output)
Analog Input Pins16
DC Current per I/O Pin20 mA
DC Current for 3.3V Pin50 mA
Flash Memory256 KB of which 8 KB used by bootloader
SRAM8 KB
EEPROM4 KB
Clock Speed16 MHz
Length101.52 mm
Width53.3 mm
Weight37 g