Arduino Hands-on Workshop
-
Upload
suraj-kumar-jana -
Category
Technology
-
view
39 -
download
1
Transcript of Arduino Hands-on Workshop
![Page 1: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/1.jpg)
![Page 2: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/2.jpg)
A brief history...
● In 2005, a project was initiated to make a device for controlling student-built interactive design projects that was less expensive than other prototyping systems available at the time.
● Founders Massimo Banzi and David Cuartielles named the project after Arduin of Ivrea and began producing boards in a small factory located in Ivrea.
![Page 3: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/3.jpg)
Founders
![Page 4: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/4.jpg)
What is an Arduino?
● Single-board microcontroller, intended to make the application of interactive objects or environments more accessible .
● Designed to make the process of using electronics multidisciplinary projects more accesible.
● It is an open source hardware, any one can get the details of its design and modify it or make his own one himself.
![Page 5: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/5.jpg)
Microcontroller
● A microcontroller is a small computer on a single integrated circuit.
● It is similar to, but less sophisticated than, a system on a chip or SoC.
● It is a micro-computer. As any computer it has internal CPU, RAM, IOs interface.
● Few famous microcontroller manufacturers are MicroChip, Atmel, Intel, Analog devices, and more.
![Page 6: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/6.jpg)
Arduino can...
● Sense the environment by receiving input from variety of sensors ( to sense stuff ).
- Push buttons- Variable resistors- Photoresistors- Thermistors
● Affect its surroundings by controlling lights, motors, and other actuators ( to do stuff ).
- LEDs- Motors- Speakers- LCD
![Page 7: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/7.jpg)
Arduino boards
![Page 8: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/8.jpg)
Arduino UNO
![Page 9: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/9.jpg)
Arduino UNO features● Microcontroller● ATmega328● Operating Voltage 5V and 3.3 V● Input Voltage (recommended) 7-12V● Input Voltage (limits)● Digital I/O Pins● Analog Input Pins 6● DC Current per I/O Pin 40 mA● DC Current for 3.3V Pin50 mA● Flash Memory 32 KB (ATmega328) of which 0.5 KB used by Bootloader● SRAM● EEPROM 1 KB (ATmega328)● Clock Speed 16 MHz
![Page 10: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/10.jpg)
Other prototyping boards
● Raspberry pie● Beagle board● Panda board● Cotton candy● CubieBoard● APC Rock● Hackberry● Gooseberry
![Page 11: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/11.jpg)
Arduino vs others
● Support for analog input● Comparatively cheap● PWM output available● Open source● Limited Computing power● No GPU unit● Limited memory
![Page 12: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/12.jpg)
COTS
![Page 13: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/13.jpg)
Arduino is a platform
![Page 14: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/14.jpg)
Arduino IDE
![Page 15: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/15.jpg)
Programming
● The Arduino Uno can be programmed with the Arduino software IDE (integrated development environment).
● Programming language used is C like but more towards Processing language.
● The Atmega328 on the Arduino Uno comes preburned with a Bootloader that allows you to upload new code to it without the use of an external hardware programmer.
![Page 16: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/16.jpg)
Processing
An open source computer programming language and integrateddevelopment environment (IDE) built for
- Electronic arts- New media arts- Visual design
Examples : https://processing.org/examples/
![Page 17: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/17.jpg)
Arduino is a platform
![Page 18: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/18.jpg)
A C program
#include<stdio.h>
int main(){
Printf(“Hello, world!”);}
![Page 19: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/19.jpg)
Hello, world! in Arduino
![Page 20: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/20.jpg)
LDR with Arduino
![Page 21: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/21.jpg)
LDR with Arduino
![Page 22: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/22.jpg)
LM35 with Arduino
![Page 23: Arduino Hands-on Workshop](https://reader031.fdocuments.net/reader031/viewer/2022022415/5a681eb27f8b9a81378b6431/html5/thumbnails/23.jpg)
Let’s get started...