SlideShare a Scribd company logo
BY – MAYUR KAGATHARA
mayur.kagathara2508@gmail.com
Arduino workshop
Arduino Board
“STRONG FRIEND” CREATED IN IVREA, ITALY
IN 2005 BY MASSIMO BANZI & DAVID CUARTIELLES
OPEN SOURCE HARDWARE
PROCESSOR
CODING IS ACCESSIBLE & TRANSFERRABLE  (C++, PROCESSING,
JAVA)
Analog
INPUTS
Digital IO
PWM(3, 5, 6, 9, 10, 11)
PWR IN USB
(to Computer)
SCLSDA
(I2C Bus)
POWER
5V / 3.3V / GND
RESET
"UNO" means one in Italian and it is named to mark the release of Arduino software IDE 1.0
The latest Arduino UNO R3 was released in 2011 and it is the third revision of UNO boards.
Specifications:
•Microcontroller : ATmega328p
•Operating Voltage : 5V
•Input Voltage (recommended) : 7-12V
•Input Voltage (limits) : 6-20V
•Digital I/O Pins : 14 (of which 6 provide PWM output)
•Analog Input Pins : 6
•DC Current per I/O Pin : 40 mA
•DC Current for 3.3V Pin : 50 mA
•Flash Memory : 32 KB (ATmega328) of which 0.5 KB used by bootloader SRAM 2 KB
(ATmega328)
•EEPROM : 1 KB (ATmega328)
•Clock Speed : 16 MHZ
Arduino IDE
CLANGUAGE
IDE =
Integrated
Development
Environment
Arduino workshop
Arduino workshop
5x5 LED Cube (Arduino Uno)
Arduino Uno fan control
Obstacle Avoider Robot Using Arduino Uno
And IR Proximity Sensor
Ultrasonic distance meter with LCD display on
Arduino UNO
Automatic Fish Food Feeder using
Arduino Uno
Connect a serial LCD to an Arduino UNO
Room Temperature & Humidity Module
using Arduino uno
Save data of temperature and humidity on MySQL
with Arduino Uno and Wifly
Arduino workshop
Arduino workshop
Adding control – let’s use the Arduino
and start programming!!!
Concepts: INPUT vs. OUTPUT
THINK AS IF YOU ARE ARDUINO.
Inputs is a
signal going
into the
board.
Output is
any signal
exiting from
the board.
Concepts: Analog vs. Digital
Microcontrollers are digital devices – ON or OFF. Also called –
discrete.
analog signals are anything that can be a full range of values.
What are some examples? More on this later…
5 V
0 V
5 V
0 V
Arduino
Integrated Development Environment (IDE)
Two required functions /
methods / routines:
void setup()
{
// runs once
}
void loop()
{
// repeats
}
error & status messages
Settings: Tools  Serial Port
Your computer
communicates to the Arduino
microcontroller via a serial
port  through a USB-Serial
adapter.
Check to make sure that the
drivers are properly installed.
Settings: Tools  Board
Next, double-check that the proper board is selected under
the ToolsBoard menu.
Comments, Comments, Comments
 Comments are for you – the programmer and your friends…or
anyone else human that might read your code.
 // this is for single line comments
 // it’s good to put a description at the
 // top and before anything ‘tricky’
 /* this is for multi-line comments
 Like this…
 And this….
 */
comments
BIG7CONCEPTS
digitalWrite(pin, HIGH/LOW)
analogWrite(pin, 0 to 255)
digitalRead(pin)
Serial.begin(9600);
analogRead(pin)
Serial.print(“Hello World”);
pinMode(pin, INPUT/OUTPUT)
Arduino workshop
#include <library.h> //Require for some sensors.
void setup()
{
Serial.begin(9600); //to communicate with board by computer
pinMode(pin, INPUT/OUTPUT);
}
void loop()
{
PROGRAM THAT WILL RUN AND RUN AND RUN…
delay(100);
}
Let’s get to coding…
Project #1 – Blink
“Hello World” of Physical Computing
 Pseudo-code – how should this work?
Turn LED
ON
Wait
Turn LED
OFF
Wait
Rinse &
Repeat
Three commands to know…
 pinMode(pin, INPUT/OUTPUT);
 ex: pinMode(13, OUTPUT);
 digitalWrite(pin, HIGH/LOW);
 ex: digitalWrite(13, HIGH);
 delay(time_ms);
 ex: delay(2500); // delay of 2.5 sec.
 // NOTE: -> commands are CASE-sensitive
Project #1: Wiring Diagram
Move the green
wire from the
power bus to pin
13 (or any other
Digital I/O pin on
the Arduino
board.
Image created in Fritzing
A few simple challenges
Let’s make LED#13 blink!
 Challenge 1a – blink with a 200 ms second interval.
 Challenge 1b – blink to mimic a heartbeat
 Challenge 1c – find the fastest blink that the human eye can
still detect…
 1 ms delay? 2 ms delay? 3 ms delay???
#include <library.h> //Require for some sensors.
int a,
void setup()
{
Serial.begin(9600);
pinMode(pin, INPUT);
}
void loop()
{ a = digitalRead(pin)
Serial.println(a);
delay(100);
}
#include <library.h> //Require for some sensors.
int a,
void setup()
{
Serial.begin(9600);
}
void loop()
{ a = analogRead(pin)
Serial.println(a);
delay(100);
}
SoftwareSerial NAME(Rx, Tx); //connect device
Rx= connect Tx of Bluetooth
Tx = connect Rx of Bluetooth
NAME.begin(baudrate); // start communication
NAME.read(); //read from device
NAME.write(data); //write to device
#include <SoftwareSerial.h>
SoftwareSerial mayur(10, 11); //common for uno, mega, leonardo
int a;
void setup()
{
Serial.begin(9600);
mayur.begin(9600);
}
void loop()
{ a = mayur.read(pin)
Serial.println(a);
delay(100);
}
Arduino workshop

More Related Content

What's hot (20)

The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on the
Pramod Kumar
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Eoin Brazil
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
Niket Chandrawanshi
 
Arduino uno
Arduino unoArduino uno
Arduino uno
creatjet3d labs
 
Arduino Platform with C programming.
Arduino Platform with C programming.Arduino Platform with C programming.
Arduino Platform with C programming.
Govind Jha
 
Arduino 101
Arduino 101Arduino 101
Arduino 101
Giorgio Aresu
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
sdcharle
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
elprocus
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
zvikapika
 
IOTC08 The Arduino Platform
IOTC08 The Arduino PlatformIOTC08 The Arduino Platform
IOTC08 The Arduino Platform
Eoin Brazil
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
Niket Chandrawanshi
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
student
 
Arduino for Beginners
Arduino for BeginnersArduino for Beginners
Arduino for Beginners
Sarwan Singh
 
2015-10-21 - Arduino workshop
2015-10-21 - Arduino workshop2015-10-21 - Arduino workshop
2015-10-21 - Arduino workshop
trygvis
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
jhcid
 
Different Arduino Boards
Different Arduino BoardsDifferent Arduino Boards
Different Arduino Boards
Mitwa Palkhiwala
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
atuline
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on the
Pramod Kumar
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Eoin Brazil
 
Arduino Platform with C programming.
Arduino Platform with C programming.Arduino Platform with C programming.
Arduino Platform with C programming.
Govind Jha
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
sdcharle
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
elprocus
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
zvikapika
 
IOTC08 The Arduino Platform
IOTC08 The Arduino PlatformIOTC08 The Arduino Platform
IOTC08 The Arduino Platform
Eoin Brazil
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
student
 
Arduino for Beginners
Arduino for BeginnersArduino for Beginners
Arduino for Beginners
Sarwan Singh
 
2015-10-21 - Arduino workshop
2015-10-21 - Arduino workshop2015-10-21 - Arduino workshop
2015-10-21 - Arduino workshop
trygvis
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
jhcid
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
atuline
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 

Viewers also liked (20)

Cuadernillolectoescritura 111207183929-phpapp02
Cuadernillolectoescritura 111207183929-phpapp02Cuadernillolectoescritura 111207183929-phpapp02
Cuadernillolectoescritura 111207183929-phpapp02
Candy Niño Mancilla
 
Ensayo tecnica.
Ensayo tecnica.Ensayo tecnica.
Ensayo tecnica.
Alejandra astaiza
 
Evidencias panel 06
Evidencias panel 06Evidencias panel 06
Evidencias panel 06
mariana castro
 
Incitment Italy 7 novembre 2015 - Liter of Light Presentation
Incitment Italy 7 novembre 2015 - Liter of Light PresentationIncitment Italy 7 novembre 2015 - Liter of Light Presentation
Incitment Italy 7 novembre 2015 - Liter of Light Presentation
Lorenzo Olivieri
 
TEORI SENI - Pokok Bahasan
TEORI SENI - Pokok BahasanTEORI SENI - Pokok Bahasan
TEORI SENI - Pokok Bahasan
Diana Amelia Bagti
 
Lateral sinus thrombophlebitis
Lateral sinus thrombophlebitisLateral sinus thrombophlebitis
Lateral sinus thrombophlebitis
Dr. Kamal Ghimire
 
Sostenibilità Progetto Dexcar
Sostenibilità Progetto DexcarSostenibilità Progetto Dexcar
Sostenibilità Progetto Dexcar
noleggioautogratis
 
Takashi murakami ricrado
Takashi murakami ricradoTakashi murakami ricrado
Takashi murakami ricrado
Ricardo Ochoa
 
EASYFIT
EASYFITEASYFIT
EASYFIT
Liudmila Pape
 
Pembelajaran terpadu modul 3
Pembelajaran terpadu modul 3Pembelajaran terpadu modul 3
Pembelajaran terpadu modul 3
vietry NIC
 
Nazi Germany Theatre
Nazi Germany TheatreNazi Germany Theatre
Nazi Germany Theatre
EmilySeekings
 
Opuscoletto nuove dipendenze
Opuscoletto nuove dipendenzeOpuscoletto nuove dipendenze
Opuscoletto nuove dipendenze
Agostino Acri
 
Pelvic mass
Pelvic massPelvic mass
Pelvic mass
Dr. Kamal Ghimire
 
SMP 7 Seni Terampil Bermusik
SMP 7 Seni Terampil BermusikSMP 7 Seni Terampil Bermusik
SMP 7 Seni Terampil Bermusik
Wahid Al-Imron
 
Control Fan AC With LM-35 Sensor Based Arduino
Control Fan AC With LM-35 Sensor Based Arduino Control Fan AC With LM-35 Sensor Based Arduino
Control Fan AC With LM-35 Sensor Based Arduino
Anjar setiawan
 
How Did World War I I Affect The Theatre
How Did  World  War  I I Affect The  TheatreHow Did  World  War  I I Affect The  Theatre
How Did World War I I Affect The Theatre
pavoct
 
Culture and Cultural Studies (Introduction)
Culture and Cultural Studies (Introduction)Culture and Cultural Studies (Introduction)
Culture and Cultural Studies (Introduction)
Sabilul Maarifah
 
Colour Research
Colour ResearchColour Research
Colour Research
Hazel Barton
 
Fallire è un po' morire e un po' no
Fallire è un po' morire e un po' noFallire è un po' morire e un po' no
Fallire è un po' morire e un po' no
Mentine
 
Macroeconomics
MacroeconomicsMacroeconomics
Macroeconomics
anand thakur
 
Cuadernillolectoescritura 111207183929-phpapp02
Cuadernillolectoescritura 111207183929-phpapp02Cuadernillolectoescritura 111207183929-phpapp02
Cuadernillolectoescritura 111207183929-phpapp02
Candy Niño Mancilla
 
Incitment Italy 7 novembre 2015 - Liter of Light Presentation
Incitment Italy 7 novembre 2015 - Liter of Light PresentationIncitment Italy 7 novembre 2015 - Liter of Light Presentation
Incitment Italy 7 novembre 2015 - Liter of Light Presentation
Lorenzo Olivieri
 
Lateral sinus thrombophlebitis
Lateral sinus thrombophlebitisLateral sinus thrombophlebitis
Lateral sinus thrombophlebitis
Dr. Kamal Ghimire
 
Sostenibilità Progetto Dexcar
Sostenibilità Progetto DexcarSostenibilità Progetto Dexcar
Sostenibilità Progetto Dexcar
noleggioautogratis
 
Takashi murakami ricrado
Takashi murakami ricradoTakashi murakami ricrado
Takashi murakami ricrado
Ricardo Ochoa
 
Pembelajaran terpadu modul 3
Pembelajaran terpadu modul 3Pembelajaran terpadu modul 3
Pembelajaran terpadu modul 3
vietry NIC
 
Nazi Germany Theatre
Nazi Germany TheatreNazi Germany Theatre
Nazi Germany Theatre
EmilySeekings
 
Opuscoletto nuove dipendenze
Opuscoletto nuove dipendenzeOpuscoletto nuove dipendenze
Opuscoletto nuove dipendenze
Agostino Acri
 
SMP 7 Seni Terampil Bermusik
SMP 7 Seni Terampil BermusikSMP 7 Seni Terampil Bermusik
SMP 7 Seni Terampil Bermusik
Wahid Al-Imron
 
Control Fan AC With LM-35 Sensor Based Arduino
Control Fan AC With LM-35 Sensor Based Arduino Control Fan AC With LM-35 Sensor Based Arduino
Control Fan AC With LM-35 Sensor Based Arduino
Anjar setiawan
 
How Did World War I I Affect The Theatre
How Did  World  War  I I Affect The  TheatreHow Did  World  War  I I Affect The  Theatre
How Did World War I I Affect The Theatre
pavoct
 
Culture and Cultural Studies (Introduction)
Culture and Cultural Studies (Introduction)Culture and Cultural Studies (Introduction)
Culture and Cultural Studies (Introduction)
Sabilul Maarifah
 
Fallire è un po' morire e un po' no
Fallire è un po' morire e un po' noFallire è un po' morire e un po' no
Fallire è un po' morire e un po' no
Mentine
 
Ad

Similar to Arduino workshop (20)

Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Luki B. Subekti
 
Indroduction the arduino
Indroduction the arduinoIndroduction the arduino
Indroduction the arduino
Hasarinda Manjula
 
Indroduction arduino
Indroduction arduinoIndroduction arduino
Indroduction arduino
ThingerbitsElectroni
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
Dhruwank Vankawala
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
Dhruwank Vankawala
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
vishal choudhary
 
Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptx
SanthanaMari11
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
Arduino basics & programming skill development
Arduino basics & programming skill developmentArduino basics & programming skill development
Arduino basics & programming skill development
ssuser478d0e
 
Arduino Introduction PPT for school students
Arduino Introduction PPT for school studentsArduino Introduction PPT for school students
Arduino Introduction PPT for school students
stusanthosh5195
 
Arduino-Workshop For beginners UG Students
Arduino-Workshop For beginners UG StudentsArduino-Workshop For beginners UG Students
Arduino-Workshop For beginners UG Students
Godwin585235
 
Arduino uno details and Workshop contents
Arduino uno details and Workshop contentsArduino uno details and Workshop contents
Arduino uno details and Workshop contents
ssuser478d0e
 
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTSVERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
neelamsanjeevkumar
 
Arduino_IOT Arduino_IOT Arduino_IOTArdui
Arduino_IOT Arduino_IOT Arduino_IOTArduiArduino_IOT Arduino_IOT Arduino_IOTArdui
Arduino_IOT Arduino_IOT Arduino_IOTArdui
deepikayadav216323
 
Arduino اردوينو
Arduino اردوينوArduino اردوينو
Arduino اردوينو
salih mahmod
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno board
Gaurav
 
arduino Simon power point presentation.ppt
arduino Simon power point presentation.pptarduino Simon power point presentation.ppt
arduino Simon power point presentation.ppt
JuniorAsong
 
ARUDINO UNO and RasberryPi with Python
 ARUDINO UNO and RasberryPi with Python ARUDINO UNO and RasberryPi with Python
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
Arduino tutorial A to Z
Arduino tutorial A to ZArduino tutorial A to Z
Arduino tutorial A to Z
Md. Asaduzzaman Jabin
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
Dhruwank Vankawala
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
Dhruwank Vankawala
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
Arduino basics & programming skill development
Arduino basics & programming skill developmentArduino basics & programming skill development
Arduino basics & programming skill development
ssuser478d0e
 
Arduino Introduction PPT for school students
Arduino Introduction PPT for school studentsArduino Introduction PPT for school students
Arduino Introduction PPT for school students
stusanthosh5195
 
Arduino-Workshop For beginners UG Students
Arduino-Workshop For beginners UG StudentsArduino-Workshop For beginners UG Students
Arduino-Workshop For beginners UG Students
Godwin585235
 
Arduino uno details and Workshop contents
Arduino uno details and Workshop contentsArduino uno details and Workshop contents
Arduino uno details and Workshop contents
ssuser478d0e
 
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTSVERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
neelamsanjeevkumar
 
Arduino_IOT Arduino_IOT Arduino_IOTArdui
Arduino_IOT Arduino_IOT Arduino_IOTArduiArduino_IOT Arduino_IOT Arduino_IOTArdui
Arduino_IOT Arduino_IOT Arduino_IOTArdui
deepikayadav216323
 
Arduino اردوينو
Arduino اردوينوArduino اردوينو
Arduino اردوينو
salih mahmod
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno board
Gaurav
 
arduino Simon power point presentation.ppt
arduino Simon power point presentation.pptarduino Simon power point presentation.ppt
arduino Simon power point presentation.ppt
JuniorAsong
 
ARUDINO UNO and RasberryPi with Python
 ARUDINO UNO and RasberryPi with Python ARUDINO UNO and RasberryPi with Python
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
Ad

Recently uploaded (20)

6th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 20256th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 2025
DanBrown980551
 
Grannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI ExperiencesGrannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI Experiences
Lauren Parr
 
UiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build PipelinesUiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build Pipelines
UiPathCommunity
 
Jira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : IntroductionJira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : Introduction
Ravi Teja
 
STKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 versionSTKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 version
Dr. Jimmy Schwarzkopf
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
Co-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using ProvenanceCo-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using Provenance
Paul Groth
 
Microsoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentationMicrosoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentation
Digitalmara
 
Supercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMsSupercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath InsightsUiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPathCommunity
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure ModesCognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Dr. Tathagat Varma
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Peter Bittner
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
Fortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in CybersecurityFortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in Cybersecurity
VICTOR MAESTRE RAMIREZ
 
Jeremy Millul - A Talented Software Developer
Jeremy Millul - A Talented Software DeveloperJeremy Millul - A Talented Software Developer
Jeremy Millul - A Talented Software Developer
Jeremy Millul
 
Create Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent BuilderCreate Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent Builder
DianaGray10
 
6th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 20256th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 2025
DanBrown980551
 
Grannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI ExperiencesGrannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI Experiences
Lauren Parr
 
UiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build PipelinesUiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build Pipelines
UiPathCommunity
 
Jira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : IntroductionJira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : Introduction
Ravi Teja
 
STKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 versionSTKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 version
Dr. Jimmy Schwarzkopf
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
Co-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using ProvenanceCo-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using Provenance
Paul Groth
 
Microsoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentationMicrosoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentation
Digitalmara
 
Supercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMsSupercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath InsightsUiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPathCommunity
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure ModesCognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Dr. Tathagat Varma
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Peter Bittner
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
Fortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in CybersecurityFortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in Cybersecurity
VICTOR MAESTRE RAMIREZ
 
Jeremy Millul - A Talented Software Developer
Jeremy Millul - A Talented Software DeveloperJeremy Millul - A Talented Software Developer
Jeremy Millul - A Talented Software Developer
Jeremy Millul
 
Create Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent BuilderCreate Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent Builder
DianaGray10
 

Arduino workshop

  • 3. Arduino Board “STRONG FRIEND” CREATED IN IVREA, ITALY IN 2005 BY MASSIMO BANZI & DAVID CUARTIELLES OPEN SOURCE HARDWARE PROCESSOR CODING IS ACCESSIBLE & TRANSFERRABLE  (C++, PROCESSING, JAVA)
  • 4. Analog INPUTS Digital IO PWM(3, 5, 6, 9, 10, 11) PWR IN USB (to Computer) SCLSDA (I2C Bus) POWER 5V / 3.3V / GND RESET
  • 5. "UNO" means one in Italian and it is named to mark the release of Arduino software IDE 1.0 The latest Arduino UNO R3 was released in 2011 and it is the third revision of UNO boards. Specifications: •Microcontroller : ATmega328p •Operating Voltage : 5V •Input Voltage (recommended) : 7-12V •Input Voltage (limits) : 6-20V •Digital I/O Pins : 14 (of which 6 provide PWM output) •Analog Input Pins : 6 •DC Current per I/O Pin : 40 mA •DC Current for 3.3V Pin : 50 mA •Flash Memory : 32 KB (ATmega328) of which 0.5 KB used by bootloader SRAM 2 KB (ATmega328) •EEPROM : 1 KB (ATmega328) •Clock Speed : 16 MHZ
  • 9. 5x5 LED Cube (Arduino Uno)
  • 10. Arduino Uno fan control
  • 11. Obstacle Avoider Robot Using Arduino Uno And IR Proximity Sensor
  • 12. Ultrasonic distance meter with LCD display on Arduino UNO
  • 13. Automatic Fish Food Feeder using Arduino Uno
  • 14. Connect a serial LCD to an Arduino UNO
  • 15. Room Temperature & Humidity Module using Arduino uno
  • 16. Save data of temperature and humidity on MySQL with Arduino Uno and Wifly
  • 19. Adding control – let’s use the Arduino and start programming!!!
  • 20. Concepts: INPUT vs. OUTPUT THINK AS IF YOU ARE ARDUINO. Inputs is a signal going into the board. Output is any signal exiting from the board.
  • 21. Concepts: Analog vs. Digital Microcontrollers are digital devices – ON or OFF. Also called – discrete. analog signals are anything that can be a full range of values. What are some examples? More on this later… 5 V 0 V 5 V 0 V
  • 22. Arduino Integrated Development Environment (IDE) Two required functions / methods / routines: void setup() { // runs once } void loop() { // repeats } error & status messages
  • 23. Settings: Tools  Serial Port Your computer communicates to the Arduino microcontroller via a serial port  through a USB-Serial adapter. Check to make sure that the drivers are properly installed.
  • 24. Settings: Tools  Board Next, double-check that the proper board is selected under the ToolsBoard menu.
  • 25. Comments, Comments, Comments  Comments are for you – the programmer and your friends…or anyone else human that might read your code.  // this is for single line comments  // it’s good to put a description at the  // top and before anything ‘tricky’  /* this is for multi-line comments  Like this…  And this….  */
  • 27. BIG7CONCEPTS digitalWrite(pin, HIGH/LOW) analogWrite(pin, 0 to 255) digitalRead(pin) Serial.begin(9600); analogRead(pin) Serial.print(“Hello World”); pinMode(pin, INPUT/OUTPUT)
  • 29. #include <library.h> //Require for some sensors. void setup() { Serial.begin(9600); //to communicate with board by computer pinMode(pin, INPUT/OUTPUT); } void loop() { PROGRAM THAT WILL RUN AND RUN AND RUN… delay(100); }
  • 30. Let’s get to coding… Project #1 – Blink “Hello World” of Physical Computing  Pseudo-code – how should this work? Turn LED ON Wait Turn LED OFF Wait Rinse & Repeat
  • 31. Three commands to know…  pinMode(pin, INPUT/OUTPUT);  ex: pinMode(13, OUTPUT);  digitalWrite(pin, HIGH/LOW);  ex: digitalWrite(13, HIGH);  delay(time_ms);  ex: delay(2500); // delay of 2.5 sec.  // NOTE: -> commands are CASE-sensitive
  • 32. Project #1: Wiring Diagram Move the green wire from the power bus to pin 13 (or any other Digital I/O pin on the Arduino board. Image created in Fritzing
  • 33. A few simple challenges Let’s make LED#13 blink!  Challenge 1a – blink with a 200 ms second interval.  Challenge 1b – blink to mimic a heartbeat  Challenge 1c – find the fastest blink that the human eye can still detect…  1 ms delay? 2 ms delay? 3 ms delay???
  • 34. #include <library.h> //Require for some sensors. int a, void setup() { Serial.begin(9600); pinMode(pin, INPUT); } void loop() { a = digitalRead(pin) Serial.println(a); delay(100); }
  • 35. #include <library.h> //Require for some sensors. int a, void setup() { Serial.begin(9600); } void loop() { a = analogRead(pin) Serial.println(a); delay(100); }
  • 36. SoftwareSerial NAME(Rx, Tx); //connect device Rx= connect Tx of Bluetooth Tx = connect Rx of Bluetooth NAME.begin(baudrate); // start communication NAME.read(); //read from device NAME.write(data); //write to device
  • 37. #include <SoftwareSerial.h> SoftwareSerial mayur(10, 11); //common for uno, mega, leonardo int a; void setup() { Serial.begin(9600); mayur.begin(9600); } void loop() { a = mayur.read(pin) Serial.println(a); delay(100); }