ARDUINO TUTORIAL Open-source Microcontroller Platform.pdf

(328 KB) Pobierz
A
RDUINO TUTORIAL
Open-source Microcontroller Platform
A
RDUINO MEGA
2560
Board used in Robot
Uses Atmega 2560 Microcontroller
Used to control DC-Motors and Sonars on Robot
Capable of Serial Communication with Computer
C
ONTENTS
Getting Started
Hello World!!
Motor Control
Sensor Reading
Serial Communication
Circuit used in Beaglebot
Obstacle Avoidance code in Beaglebot
G
ETTING STARTED
Arduino Board being open-source has a lot of
support
Documentation on
http://www.arduino.cc/
Arduino Board has bootloader which is
compatible with Arduino Software
Instructions to setup Arduino Software provided
on: -
http://arduino.cc/en/Guide/HomePage
Once Software is up and running, one can start
coding
G
ETTING STARTED
Arduino Boards usually have wide range of GPIO
Pins, PWM Pins and Analog Input Pins
Boards also have serial ports for Serial
Communication
A wide range of devices can be controlled by the
Arduino
There are good references with example codes to
run these devices on: -
http://arduino.cc/en/Tutorial/HomePage
Zgłoś jeśli naruszono regulamin