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 #27 background imageLoading...
Page #27 background image
Lesson 4: Bluetooth Imitation Robot Car
In this lesson, we will use Mobile to control our robot car and make an imitation
driving. Since is a mock driving, we will use a virtual steering wheel and gear in our
APP to imitate their counterparts in real car.
In this lesson,Mecanum Omni wheel will allows robot car make omni-directional
movement( parallel shift to left and right).
OSOYOO Mecanum Wheels Robotic Car Chassis x1(2x left-wheels/2x right-wheels and 4x motor)
OSOYOO Mega2560 board fully compatible with Arduino
OSOYOO V1.0 Wifi Shield x 1
OSOYOO Model X motor driver x 2
OSOYOO HC02 bluetooth module
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.No need change anything, just keep the hardware wire connection as it is.
STEP1: Connect B_TX and B_RX to D19 and D18.
(Note: You need split 2 pcs of male-to-female jumper wires from our 10-pc jumper wire
bundle. Any color from the bundle will be ok. The rest of 8 pcs wires are as spare parts
for potential broken or damaged wires.)

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