arduino
DESCRIPTION
roboticsTRANSCRIPT
![Page 1: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/1.jpg)
Rudra Pratap Suman
CELEBRATING
![Page 2: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/2.jpg)
What is an Arduino ?
• Open Source electronic prototyping platform based on flexible easy to use hardware and software.
![Page 3: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/3.jpg)
Arduino Family
![Page 4: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/4.jpg)
The Accessories
![Page 5: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/5.jpg)
A Summary of Arduino power
![Page 6: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/6.jpg)
Who is more popular Atmega or Arduino?
![Page 7: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/7.jpg)
![Page 8: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/8.jpg)
Bare minimum code
void setup() {// put your setup code here, to run once:
}
void loop() {// put your main code here, to run repeatedly:
}
![Page 9: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/9.jpg)
Bare minimum code
• setup : It is called only when the Arduino is powered on or reset. It is used to initialize variables and pin modes
• loop : The loop functions runs continuously till the device is powered off. The main logic of the code goes here. Similar to while (1) for micro-controller programming.
![Page 10: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/10.jpg)
PinMode
• A pin on arduino can be set as input or output by using pinMode function.
• pinMode(13, OUTPUT); // sets pin 13 as output pin
• pinMode(13, INPUT); // sets pin 13 as input pin
![Page 11: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/11.jpg)
Reading/writing digital values
• digitalWrite(13, LOW); // Makes the output voltage on pin 13 , 0V
• digitalWrite(13, HIGH); // Makes the output voltage on pin 13 , 5V
• int buttonState = digitalRead(2); // reads the value of pin 2 in buttonState
![Page 12: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/12.jpg)
What are Libraries?
• Libraries are a collection of code that makes it easy for you to connect to a sensor, display, module, etc. For example, the built-in LiquidCrystal library makes it easy to talk to character LCD displays. There are hundreds of additional libraries available on the Internet for download.
![Page 13: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/13.jpg)
How to use them?
![Page 14: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/14.jpg)
How to use them?
![Page 15: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/15.jpg)
How to use them?
![Page 16: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/16.jpg)
Arduino dayThink Make Share
![Page 17: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/17.jpg)
Single Board Devices
![Page 18: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/18.jpg)
Single Board Devices
• Early microcomputers typically consisted of a half dozen (or more) circuit boards--plugged into a backplane--that implemented the central processor unit (CPU), memory, disk controllers and serial/parallel port functions. These backplane-based microcomputers were used for data acquisition, process control and R&D projects, but were generally too bulky to be used as embedded systems within devices.
![Page 19: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/19.jpg)
![Page 20: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/20.jpg)
Beagle boardFamily
BeagleBoneBlack
BeagleBoneBeagleBoard-xM
BeagleBoard
ProcessorAM3358ARM Cortex-A8
AM3358ARM Cortex-A8
DM3730ARM Cortex-A8
OMAP3530ARM Cortex-A8
Maximum Processor Speed
1GHz 720MHz 1GHz 720MHz
VideomicroHDMI, cape add-ons
cape add-onsDVI-D (via HDMI connectors), S-Video
DVI-D (via HDMI connectors), S-Video
AudiomicroHDMI, cape add-ons
cape add-ons3.5mm stereo jack
3.5mm stereo jack
Supported Interfaces
4x UART, 8x PWM, LCD, GPMC, MMC1, 2x SPI, 2x I2C, A/D Converter, 2xCAN Bus, 4 Timers
4x UART, 8x PWM, LCD, GPMC, MMC1, 2x SPI, 2x I2C, A/D Converter, 2xCAN Bus, 4 Timers, FTDI USB to Serial, JTAG via USB
McBSP, DSS, I2C, UART, LCD, McSPI, PWM, JTAG, Camera Interface
McBSP, DSS, I2C, UART, McSPI, PWM, JTAG
![Page 21: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/21.jpg)
Software Compatibilty
• Ångström Linux
• Android
• Ubuntu
• Cloud9 IDE on Node.js w/ BoneScript library
• plus much more
![Page 22: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/22.jpg)
Pandaboard
![Page 23: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/23.jpg)
Pandaboard
![Page 24: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/24.jpg)
![Page 25: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/25.jpg)
Mbed
![Page 26: Arduino](https://reader034.vdocument.in/reader034/viewer/2022042821/55cf9313550346f57b9b7753/html5/thumbnails/26.jpg)
Any Doubts?