This document provides an overview of an introductory course on Arduino prototyping. The course covers installing the Arduino integrated development environment and drivers, electrical components like resistors and LEDs, basic circuit prototyping using breadboards, and introductory Arduino programming concepts like inputs, outputs, and the setup and loop functions. It also outlines the history and purpose of the Arduino board and describes some common Arduino shields and components used in prototyping.
This document provides an overview of an introductory course on Arduino prototyping. The class covers getting started with Arduino installation and materials, electrical components and concepts like Ohm's law, programming basics, and virtual prototyping. It also describes the Arduino board, common components used in prototyping like buttons, sensors, and LEDs. Students will learn to code simple blinking and fading LED programs. The goal is to take students from no experience to being able to prototype basic interactive circuits and programs.
This document provides an overview of an introductory course on Arduino prototyping. The course covers installing the Arduino integrated development environment and libraries, electrical components like resistors and LEDs, programming basics, and virtual prototyping tools. It then discusses the Arduino board features, different input and output types, and demonstrates building a simple LED circuit on a breadboard. The document emphasizes hands-on learning and introduces concepts like analog and digital signals to help students start prototyping with Arduino.
This document provides an overview of an introductory course on Arduino prototyping. The class covers getting started with Arduino installation and materials, electrical components and concepts like Ohm's law, programming basics, and virtual prototyping. It also describes the Arduino board, common components for prototyping circuits, and programming concepts like inputs, outputs, analog and digital signals. Students will complete projects blinking an LED, fading an LED, and mixing colors on an RGB LED. The goal is to teach students the basics of electronics and programming to enable them to quickly start prototyping.
This document provides an overview of an introductory course on Arduino prototyping. The course covers installing the Arduino integrated development environment and libraries, electrical components like resistors and LEDs, programming basics, and virtual prototyping tools. It also gives background on the Arduino board itself and how it can be used for physical computing projects by hobbyists, students, and makers. The document includes diagrams of electrical components and the Arduino board as well as code examples for basic input and output functions.
This document provides an overview of an introductory course on Arduino prototyping. The class covers getting started with Arduino installation and materials, electrical components and concepts like Ohm's law, programming basics, and virtual prototyping. It also describes the Arduino board and its functions, common components used in circuits like buttons, sensors and LEDs, and programming concepts like analog vs digital input/output. Students will complete projects blinking an LED, fading an LED, and mixing colors on an RGB LED.
This document provides an overview of an introductory course on Arduino prototyping. The class covers getting started with Arduino installation and materials, electrical components and concepts like Ohm's law, programming basics, and virtual prototyping. It also describes the Arduino board, common components for prototyping circuits, and programming concepts like inputs, outputs, analog and digital signals. Students will complete projects blinking an LED, fading an LED, and mixing colors on an RGB LED. The goal is to teach students the basics of electronics and programming to enable them to quickly start prototyping.
A ppt explaining Arduino usage and coding too. Arduino is the go-to gear for artists, hobbyists, students, and anyone with a gadgetry dream.
rose out of another formidable challenge: how to teach students to create electronics, fast.
The word “circuit” is derived from the circle. An Electrical Circuit must have a continuous LOOP from Power (Vcc) to Ground (GND).
Continuity is important to make portions of circuits are connect. Continuity is the simplest and possibly the most important setting on your multi-meter. Sometimes we call this “ringing out” a circuit.
Resistance is the measure of how much opposition to current flow is in a circuit.
Components should be removed entirely from the circuit to measure resistance. Note the settings on the multi-meter. Make sure that you are set for the appropriate range.
Current is the measure of the rate of charge flow. For Electrical Engineers – we consider this to be the movement of electrons.
In order to measure this – you must break the circuit or insert the meter in-line (series).
Use the breadboard to wire up a single LED with a 330 Ohm Resistor (Orange-Orange-Brown).
Arduino (/ɑːrˈdwiːnoʊ/) is an Italian open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Its hardware products are licensed under a CC BY-SA license, while the software is licensed under the GNU Lesser General Public License (LGPL) or the GNU General Public License (GPL),[1] permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially from the official website or through authorized distributors.[2]
Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards ('shields') or breadboards (for prototyping) and other circuits. The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs. The microcontrollers can be programmed using the C and C++ programming languages (Embedded C), using a standard API which is also known as the Arduino Programming Language, inspired by the Processing language and used with a modified version of the Processing IDE. In addition to using traditional compiler toolchains, the Arduino project provides an integrated development environment (IDE) and a command line tool developed in Go.
The Arduino project began in 2005 as a tool for students at the Interaction Design Institute Ivrea, Italy,[3] aiming to provide a low-cost and easy way for novices and professionals to create devices that interact with their environment using sensors and actuators. Common examples of such devices intended for beginner hobbyists include simple robots, thermostats, and motion detectors.
The document provides an introduction to Arduino, including its history and capabilities. It was created in 2005 in Italy as an open-source hardware platform to make electronics more accessible to students and hobbyists. The Arduino board can read analog and digital input and output signals. It connects to a computer via USB and is programmed using the Arduino IDE. Common commands like digitalWrite(), analogWrite(), and pinMode() are used to control inputs, outputs, and PWM signals. The document includes examples of blinking LEDs, fading LEDs, and reading analog sensor values.
Arduino Workshop Day 1 Slides
Basics of Arduino - Introduction, Basics of Circuits, Signals & Electronics, LED Interfacing, Switch, Buzzer, LCD & Bluetooth Communication.
This document provides an introduction to Arduino and sensors. It discusses that Arduino was developed for artists and designers to prototype interactive displays using physical computing. It then describes the Arduino Uno board and lists examples of what can be taught using Arduino Uno such as introductory electronics, programming, and designing basic scientific equipment. Finally, it recommends some starter components for projects such as LEDs, LCD screens, temperature sensors, servos, and ultrasonic sensors.
02 Sensors and Actuators Understand .pdfengsharaf2025
Sensors and Actuator
Understand networking theories and concepts, such as OSI model, TCP/IP protocols, and subnetting
Build logical and abstract thinking
This document provides an overview of an ICT workshop on Arduino hardware platforms. It discusses the key components of a hardware project, including communication modules, microcontrollers, sensors/actuators, and power sources. It then describes the Arduino platform in more detail, including common Arduino boards, specifications of the Arduino Uno, the Arduino IDE, and how to connect Arduino to sensors and actuators. It also provides examples of temperature and other sensors that can be used in Arduino projects.
IRJET- Arduino based Single Phase Fault Detection System using IoTIRJET Journal
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
chp3-Sensors, Actuators, and Microcontrollerssuser06ea42
This document discusses an Internet of Things course that covers sensors, actuators, and microcontrollers. The course introduces basic and advanced electronics concepts. It describes the SparkFun Inventor's Kit which contains components for building circuits like sensors, microcontrollers, and actuators. Students learn to interface sensors with a microcontroller and program it using the Arduino IDE. Packet Tracer software is presented as a tool for prototyping IoT systems by connecting simulated sensors and devices to a microcontroller board. Labs and activities reinforce the concepts taught in the course.
IRJET - Zigbee based Street Light Control SystemIRJET Journal
This document describes a zigbee-based street light control system that uses sensors and wireless communication to automatically control street lights. The system aims to reduce energy waste and maintenance costs by only turning lights on when motion is detected. It uses an Arduino microcontroller, PIR motion sensors, LDR light sensors, LED street lights, transistors, and zigbee modems for wireless communication between lights. When a passerby triggers a PIR sensor, it communicates with nearby lights to illuminate and ensure a safe light circle. This smart lighting system intends to efficiently control street lights based on presence detection while lowering energy consumption and costs compared to traditional static lighting systems.
This document provides an overview of an introductory course on Arduino prototyping. The course covers installing the Arduino integrated development environment and libraries, electrical components like resistors and LEDs, programming basics, and virtual prototyping tools. It also gives background on the Arduino board itself and how it can be used for physical computing projects by hobbyists, students, and makers. The document includes diagrams of electrical components and the Arduino board as well as code examples for basic input and output functions.
This document provides an overview of an introductory course on Arduino prototyping. The class covers getting started with Arduino installation and materials, electrical components and concepts like Ohm's law, programming basics, and virtual prototyping. It also describes the Arduino board and its functions, common components used in circuits like buttons, sensors and LEDs, and programming concepts like analog vs digital input/output. Students will complete projects blinking an LED, fading an LED, and mixing colors on an RGB LED.
This document provides an overview of an introductory course on Arduino prototyping. The class covers getting started with Arduino installation and materials, electrical components and concepts like Ohm's law, programming basics, and virtual prototyping. It also describes the Arduino board, common components for prototyping circuits, and programming concepts like inputs, outputs, analog and digital signals. Students will complete projects blinking an LED, fading an LED, and mixing colors on an RGB LED. The goal is to teach students the basics of electronics and programming to enable them to quickly start prototyping.
A ppt explaining Arduino usage and coding too. Arduino is the go-to gear for artists, hobbyists, students, and anyone with a gadgetry dream.
rose out of another formidable challenge: how to teach students to create electronics, fast.
The word “circuit” is derived from the circle. An Electrical Circuit must have a continuous LOOP from Power (Vcc) to Ground (GND).
Continuity is important to make portions of circuits are connect. Continuity is the simplest and possibly the most important setting on your multi-meter. Sometimes we call this “ringing out” a circuit.
Resistance is the measure of how much opposition to current flow is in a circuit.
Components should be removed entirely from the circuit to measure resistance. Note the settings on the multi-meter. Make sure that you are set for the appropriate range.
Current is the measure of the rate of charge flow. For Electrical Engineers – we consider this to be the movement of electrons.
In order to measure this – you must break the circuit or insert the meter in-line (series).
Use the breadboard to wire up a single LED with a 330 Ohm Resistor (Orange-Orange-Brown).
Arduino (/ɑːrˈdwiːnoʊ/) is an Italian open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Its hardware products are licensed under a CC BY-SA license, while the software is licensed under the GNU Lesser General Public License (LGPL) or the GNU General Public License (GPL),[1] permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially from the official website or through authorized distributors.[2]
Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards ('shields') or breadboards (for prototyping) and other circuits. The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs. The microcontrollers can be programmed using the C and C++ programming languages (Embedded C), using a standard API which is also known as the Arduino Programming Language, inspired by the Processing language and used with a modified version of the Processing IDE. In addition to using traditional compiler toolchains, the Arduino project provides an integrated development environment (IDE) and a command line tool developed in Go.
The Arduino project began in 2005 as a tool for students at the Interaction Design Institute Ivrea, Italy,[3] aiming to provide a low-cost and easy way for novices and professionals to create devices that interact with their environment using sensors and actuators. Common examples of such devices intended for beginner hobbyists include simple robots, thermostats, and motion detectors.
The document provides an introduction to Arduino, including its history and capabilities. It was created in 2005 in Italy as an open-source hardware platform to make electronics more accessible to students and hobbyists. The Arduino board can read analog and digital input and output signals. It connects to a computer via USB and is programmed using the Arduino IDE. Common commands like digitalWrite(), analogWrite(), and pinMode() are used to control inputs, outputs, and PWM signals. The document includes examples of blinking LEDs, fading LEDs, and reading analog sensor values.
Arduino Workshop Day 1 Slides
Basics of Arduino - Introduction, Basics of Circuits, Signals & Electronics, LED Interfacing, Switch, Buzzer, LCD & Bluetooth Communication.
This document provides an introduction to Arduino and sensors. It discusses that Arduino was developed for artists and designers to prototype interactive displays using physical computing. It then describes the Arduino Uno board and lists examples of what can be taught using Arduino Uno such as introductory electronics, programming, and designing basic scientific equipment. Finally, it recommends some starter components for projects such as LEDs, LCD screens, temperature sensors, servos, and ultrasonic sensors.
02 Sensors and Actuators Understand .pdfengsharaf2025
Sensors and Actuator
Understand networking theories and concepts, such as OSI model, TCP/IP protocols, and subnetting
Build logical and abstract thinking
This document provides an overview of an ICT workshop on Arduino hardware platforms. It discusses the key components of a hardware project, including communication modules, microcontrollers, sensors/actuators, and power sources. It then describes the Arduino platform in more detail, including common Arduino boards, specifications of the Arduino Uno, the Arduino IDE, and how to connect Arduino to sensors and actuators. It also provides examples of temperature and other sensors that can be used in Arduino projects.
IRJET- Arduino based Single Phase Fault Detection System using IoTIRJET Journal
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
chp3-Sensors, Actuators, and Microcontrollerssuser06ea42
This document discusses an Internet of Things course that covers sensors, actuators, and microcontrollers. The course introduces basic and advanced electronics concepts. It describes the SparkFun Inventor's Kit which contains components for building circuits like sensors, microcontrollers, and actuators. Students learn to interface sensors with a microcontroller and program it using the Arduino IDE. Packet Tracer software is presented as a tool for prototyping IoT systems by connecting simulated sensors and devices to a microcontroller board. Labs and activities reinforce the concepts taught in the course.
IRJET - Zigbee based Street Light Control SystemIRJET Journal
This document describes a zigbee-based street light control system that uses sensors and wireless communication to automatically control street lights. The system aims to reduce energy waste and maintenance costs by only turning lights on when motion is detected. It uses an Arduino microcontroller, PIR motion sensors, LDR light sensors, LED street lights, transistors, and zigbee modems for wireless communication between lights. When a passerby triggers a PIR sensor, it communicates with nearby lights to illuminate and ensure a safe light circle. This smart lighting system intends to efficiently control street lights based on presence detection while lowering energy consumption and costs compared to traditional static lighting systems.
Static timing analysis (STA) is a method of validating the timing performance of a design by checking all possible paths for timing violations. STA breaks a design down into timing paths, calculates the signal propagation delay along each path, and checks for violations of timing constraints inside the design and at the input/output interface.
Here’s a clear and engaging description for **AI\_Traffic\_Management\_Presentation**:
---
### **AI Traffic Management Presentation**
**Description:**
The **AI Traffic Management Presentation** explores how Artificial Intelligence is revolutionizing modern transportation systems by optimizing traffic flow, reducing congestion, and enhancing road safety. This presentation covers the integration of AI technologies such as computer vision, machine learning, and data analytics in real-time traffic monitoring and control.
**Key Topics Include:**
* AI-powered **traffic signal optimization**
* **Real-time vehicle and pedestrian detection** using computer vision
* Predictive analytics for **congestion forecasting**
* **Smart city integration** and IoT-enabled infrastructure
* Use of **autonomous drones and sensors** for surveillance
* Case studies from cities using **AI in urban mobility**
* **Environmental benefits** like reduced emissions and fuel consumption
This presentation is ideal for audiences interested in smart city development, transportation engineering, AI applications, and sustainable urban planning.
---
Let me know if you’d like slides, talking points, or visuals to go with it.
I’m Afroz Khan, Managing Director of Bharat Green E-Waste Recycling Scrap, an MPCB, CPCB, R2v3, and EPR certified organization offering secure, sustainable, and fully compliant e-waste recycling solutions across India.
We specialize in:
🔹 PAN India pickup for old IT hardware
🔹 100% secure data destruction – no chance of data recovery
🔹 Onsite/offsite data wiping using certified methods: NIST 800-88, DoD 5220.22-M
🔹 Use of industrial shredders and degaussers for HDD and magnetic tapes
🔹 Full documentation: Form 6, EPR certificates, Disposal & Destruction Certificates
🔹 Eco-friendly processing at our licensed e-waste disposal facility
We’d love to support your organization in achieving environmentally responsible and legally compliant disposal of electronic waste and data-bearing devices.
Please let us know a convenient time for a call or site visit. I’d be happy to send over our company profile and a tailored proposal for your requirements.
Looking forward to working together
The Melt Flow Index Tester measures the flow rate of molten plastics to analyze material quality and consistency. It is important for quality control in plastic manufacturing. Perfect Group India offers high accuracy devices designed for accurate, reliable results. Built for durability and simple of use, this tester provide performance in demanding industrial environments.
国外大学毕业证(ISU毕业证书)爱荷华州立大学毕业证毕业证书电子版【q微1954292140】Buy Iowa State University Diploma《正式成绩单论文没过》有文凭却得不到认证。又该怎么办???美国毕业证购买,美国文凭购买,【q微1954292140】美国文凭购买,美国文凭定制,美国文凭补办。专业在线定制美国大学文凭,定做美国本科文凭,【q微1954292140】复制美国Iowa State University completion letter。在线快速补办美国本科毕业证、硕士文凭证书,购买美国学位证、爱荷华州立大学Offer,美国大学文凭在线购买。
主营项目:
1、真实教育部国外学历学位认证《美国毕业文凭证书快速办理爱荷华州立大学文凭购买》【q微1954292140】《论文没过爱荷华州立大学正式成绩单》,教育部存档,教育部留服网站100%可查.
2、办理ISU毕业证,改成绩单《ISU毕业证明办理爱荷华州立大学学历认证制作代办流程》【Q/WeChat:1954292140】Buy Iowa State University Certificates《正式成绩单论文没过》,爱荷华州立大学Offer、在读证明、学生卡、信封、证明信等全套材料,从防伪到印刷,从水印到钢印烫金,高精仿度跟学校原版100%相同.
3、真实使馆认证(即留学人员回国证明),使馆存档可通过大使馆查询确认.
4、留信网认证,国家专业人才认证中心颁发入库证书,留信网存档可查.
美国爱荷华州立大学毕业证(ISU毕业证书)ISU文凭【q微1954292140】高仿真还原美国文凭证书和外壳,定制美国爱荷华州立大学成绩单和信封。国外学历认证ISU毕业证【q微1954292140】修改成绩单爱荷华州立大学offer/学位证学位证书网上查询、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作。帮你解决爱荷华州立大学学历学位认证难题。
帮您解决在美国爱荷华州立大学未毕业难题(Iowa State University)文凭购买、毕业证购买、大学文凭购买、大学毕业证购买、买文凭、日韩文凭、英国大学文凭、美国大学文凭、澳洲大学文凭、加拿大大学文凭(q微1954292140)新加坡大学文凭、新西兰大学文凭、爱尔兰文凭、西班牙文凭、德国文凭、教育部认证,买毕业证,毕业证购买,买大学文凭,【q微1954292140】学位证1:1完美还原海外各大学毕业材料上的工艺:水印,阴影底纹,钢印LOGO烫金烫银,LOGO烫金烫银复合重叠。文字图案浮雕、激光镭射、紫外荧光、温感、复印防伪等防伪工艺。《爱荷华州立大学假文凭制作美国毕业证书办理ISU成绩单购买办理》
【办理爱荷华州立大学成绩单Buy Iowa State University Transcripts】
购买日韩成绩单、英国大学成绩单、美国大学成绩单、澳洲大学成绩单、加拿大大学成绩单(q微1954292140)新加坡大学成绩单、新西兰大学成绩单、爱尔兰成绩单、西班牙成绩单、德国成绩单。成绩单的意义主要体现在证明学习能力、评估学术背景、展示综合素质、提高录取率,以及是作为留信认证申请材料的一部分。
爱荷华州立大学成绩单能够体现您的的学习能力,包括爱荷华州立大学课程成绩、专业能力、研究能力。(q微1954292140)具体来说,成绩报告单通常包含学生的学习技能与习惯、各科成绩以及老师评语等部分,因此,成绩单不仅是学生学术能力的证明,也是评估学生是否适合某个教育项目的重要依据!
爱荷华州立大学offer/学位证、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作【q微1954292140】Buy Iowa State University Diploma购买美国毕业证,购买英国毕业证,购买澳洲毕业证,购买加拿大毕业证,以及德国毕业证,购买法国毕业证(q微1954292140)购买荷兰毕业证、购买瑞士毕业证、购买日本毕业证、购买韩国毕业证、购买新西兰毕业证、购买新加坡毕业证、购买西班牙毕业证、购买马来西亚毕业证等。包括了本科毕业证,硕士毕业证。
特殊原因导致无法毕业,也可以联系我们帮您办理相关材料:
1:在爱荷华州立大学挂科了,不想读了,成绩不理想怎么办?
2:打算回国了,找工作的时候,需要提供认证《ISU成绩单购买办理爱荷华州立大学毕业证书范本》
购买日韩毕业证、英国大学毕业证、美国大学毕业证、澳洲大学毕业证、加拿大大学毕业证(q微1954292140)新加坡大学毕业证、新西兰大学毕业证、爱尔兰毕业证、西班牙毕业证、德国毕业证,回国证明,留信网认证,留信认证办理,学历认证。从而完成就业。爱荷华州立大学毕业证办理,爱荷华州立大学文凭办理,爱荷华州立大学成绩单办理和真实留信认证、留服认证、爱荷华州立大学学历认证。学院文凭定制,爱荷华州立大学原版文凭补办,留信网认证,扫描件文凭定做,100%文凭复刻。
Case study for students dhsuhayvavvsuh cse (1).pdfssuserf31e8b
Ad
Introduction to Arduino Version 3 Zero to Prototyping
1. Intro to Arduino
Zero to Prototyping
in a Flash!
Material designed by Linz Craig, Nick Poole, Prashanta Aryal,
Theo Simpson, Tai Johnson, and Eli Santistevan
2. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Overview of Class
Getting Started:
Installation, Applications and Materials
Electrical:
Components, Ohm's Law, Input and Output, Analog and Digital
-----------------------------
Programming:
Split into groups depending on experience
Serial Communication Basics:
Troubleshooting and Debugging
Virtual Prototyping:
Schematics and PCB Layout in Fritzing
3. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Arduino…
is the go-to gear for artists, hobbyists,
students, and anyone with a gadgetry
dream.
rose out of another formidable challenge:
how to teach students to create
electronics, fast.
http://spectrum.ieee.org/geek-life/hands-on/the-making-of-arduino
5. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Getting Started
• SW Installation: Arduino (v.1.0+)
Fritzing
SIK Guide Code
Drivers (FTDI)
• Materials: SIK Guide
Analog I/O, Digital I/O, Serial, &
Fritzing handouts
Arduino CheatSheet
6. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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
7. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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
8. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Go ahead and plug your board in!
9. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Arduino Shields
PCB Built Shield Inserted Shield
10. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Arduino Shields
Micro SD MP3 Trigger LCD
11. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
SIK Components
Push Button Digital Input Switch - Closes
or opens circuit
Polarized, needs
resistor
Trim
potentiometer
Analog Input Variable resistor Also called a
Trimpot.
Photoresistor Analog Input Light Dependent
Resistor (LDR)
Resistance varies
with light.
Relay Digital Output Switch driven by
a small signal
Used to control
larger voltages
Temp Sensor Analog Input Temp Dependent
Resistor
Flex Sensor Analog Input Variable resistor
Soft Trimpot Analog Input Variable resistor Careful of shorts
RGB LED Dig & Analog
Output
16,777,216
different colors
Ooh... So pretty.
Name Image Type Function Notes
12. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
SIK Components
13. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
SIK Components
14. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
SIK Components
15. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
16. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Electricity Electronics Basic Concept
Review
• Ohms Law
• Voltage
• Current
• Resistance
• Using a Multi-meter
17. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Ohm’s Law
18. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Electrical Properties
19. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Current Flow Analogy
High Current Low Current
20. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Water
Tower
Voltage Analogy
More Energy == Higher Voltage Less Energy == Lower Voltage
V
Water
Tower
V
21. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Resistance Analogy
Big Pipe == Lower Resistance Small Pipe == Higher Resistance
Water
Tower
Water
Tower
V
22. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Continuity – Is it a Circuit?
The word “circuit” is derived from the circle. An
Electrical Circuit must have a continuous LOOP
from Power (Vcc) to Ground (GND).
Continuity is important to make portions of circuits
are connect. Continuity is the simplest and
possibly the most important setting on your multi-
meter. Sometimes we call this “ringing out” a
circuit.
23. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Measuring Electricity – Voltage
Voltage is a measure of potential electrical
energy. A voltage is also called a potential
difference – it is measured between two
points in a circuit – across a device.
24. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Measuring Electricity -- Current
Current is the measure of the rate of charge flow.
For Electrical Engineers – we consider this to be
the movement of electrons.
In order to measure this – you must break the circuit
or insert the meter in-line (series).
25. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Measuring Electricity -- Resistance
Resistance is the measure of how much opposition
to current flow is in a circuit.
Components should be removed entirely from the
circuit to measure resistance. Note the settings on
the multi-meter. Make sure that you are set for
the appropriate range.
Resistance
settings
26. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Prototyping Circuits
Solderless Breadboard
One of the most useful tools in an engineer
or Maker’s toolkit. The three most
important things:
• A breadboard is easier than soldering
• A lot of those little holes are connected, which ones?
• Sometimes breadboards break
27. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
What’s a Breadboard?
28. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Solderless Breadboard
Each row (horiz.) of 5
holes are connected.
Vertical columns –
called power bus are
connected vertically
29. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Using the Breadboard to built a simple
circuit
Use the breadboard
to wire up a single
LED with a 330 Ohm
Resistor (Orange-
Orange-Brown).
Note: the longer leg on the
LED is the positive leg and
the shorter leg is the
negative
30. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Fritzing View of Breadboard Circuit
What happens
when you break
the circuit?
What if you
wanted to add
more than one
LED?
31. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Adding control – let’s use the Arduino
and start programming!!!
32. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Concepts: INPUT vs. OUTPUT
Referenced from the perspective of the microcontroller (electrical
board).
Inputs is a signal /
information going into the
board.
Output is any signal exiting
the board.
Almost all systems that use physical computing will have
some form of output
What are some examples of Outputs?
33. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Concepts: INPUT vs. OUTPUT
Referenced from the perspective of the microcontroller (electrical
board).
Inputs is a signal /
information going into the
board.
Output is any signal exiting
the board.
Examples: Buttons Switches,
Light Sensors, Flex Sensors,
Humidity Sensors,
Temperature Sensors…
Examples: LEDs, DC motor,
servo motor, a piezo buzzer,
relay, an RGB LED
34. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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
35. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Open up Arduino
Hints:
For PC Users
1.Let the installer copy
and move the files to the
appropriate locations, or
2.Create a folder under
C:Program Files (x86)
called Arduino. Move the
entire Arduino program
folder here.
For Mac Users
1. Move the Arduino
executable to the dock
for ease of access.
2. Resist the temptation
to run these from your
desktop.
36. Arduino
Integrated Development Environment (IDE)
Two required functions /
methods / routines:
void setup()
{
// runs once
}
void loop()
{
// repeats
}
error & status messages
37. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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.
38. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Settings: Tools Board
Next, double-check that the proper board is selected under
the ToolsBoard menu.
39. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Arduino & Arduino Compatible Boards
40. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
BIG
6
CONCEPTS
41. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Let’s get to coding…
Project #1 – Blink
“Hello World” of Physical Computing
Psuedo-code – how should this work?
42. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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….
*/
43. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
comments
44. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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
45. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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
46. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
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???
47. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Try adding other LEDs
48. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Programming Concepts: Variables
Variable Scope
Global
---
Function-level
49. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Programming Concepts: Variable
Types
Variable Types:
8 bits 16 bits 32 bits
byte
char
int
unsigned int
long
unsigned long
float
50. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Fading in and Fading Out
(Analog or Digital?)
A few pins on the Arduino allow for us to
modify the output to mimic an analog
signal.
This is done by a technique called:
Pulse Width Modulation (PWM)
51. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Concepts: Analog vs. Digital
To create an analog signal, the microcontroller
uses a technique called PWM. By varying the duty
cycle, we can mimic an “average” analog voltage.
Pulse Width Modulation (PWM)
52. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
analogWrite(pin, val);
pin – refers to the OUTPUT pin
(limited to pins 3, 5, 6, 9, 10,
11.) – denoted by a ~ symbol
val – 8 bit value (0 – 255).
0 => 0V | 255 => 5V
Project #2 – Fading
Introducing a new command…
53. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Move one of your LED pins over to Pin
9
In Arduino, open up:
File Examples 01.Basics Fade
54. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Fade - Code Review
55. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Fade - Code Review
56. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Project# 2 -- Fading
Challenge 2a – Change the rate of the
fading in and out. There are at least two
different ways to do this – can you
figure them out?
Challenge 2b – Use 2 (or more) LEDs – so
that one fades in as the other one fades
out.
57. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Color Mixing
Tri-color LED
In the SIK, this is a standard –
Common Cathode LED
This means the negative side
of the LED is all tied to Ground.
R G B
58. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Project 3 – RGB LED
Note: The longest
leg of the RGB
LED is the
Common
Cathode. This
goes to GND.
Use pins 5, 6, & 9
59. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
How many unique colors can you
create?
Use Colorpicker.com or
experiment on your
own.
Pick out a few colors that
you want to try re-
creating for a lamp or
lighting display...
Play around with this
with the
analogWrite()
command.
60. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
RGB LED Color Mixing
int redPin = 5;
int greenPin = 6;
int bluePin = 9;
void setup()
{
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);
}
61. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
RGB LED Color Mixing
void loop()
{
analogWrite(redPin, 255);
analogWrite (greenPin, 255);
analogWrite (bluePin, 255);
}
62. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Project: Mood Lamp / Light Sculpture
63. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Napkin
Schematics
Emphasize the
engineering design
process with
students. We like to
skirt the line
between formal
and informal with a
tool called Napkin
Schematics.
64. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Napkin
Schematics
Emphasize the
engineering design
process with
students. We like to
skirt the line
between formal
and informal with a
tool called Napkin
Schematics.
65. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Driving Motors or other High Current
Loads
NPN Transistor (Common Emitter “Amplifier” Circuit)
to Digital
Pin 9
66. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Input
Input is any signal entering an electrical system .
•Both digital and analog sensors are forms of input
•Input can also take many other forms: Keyboards, a
mouse, infrared sensors, biometric sensors, or just
plain voltage from a circuit
67. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Project #4 – Digital Input
In Arduino, open up:
File Examples 02.Digital Button
68. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Digital Sensors (a.k.a. Switches)
Pull-up Resistor (circuit)
to Digital Pin 2
69. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Digital Sensors (a.k.a. Switches)
Add an indicator LED to Pin 13
This is just like our
1st
circuit!
70. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Digital Input
• Connect digital input to your Arduino using Pins # 0 – 13
(Although pins # 0 & 1 are also used for programming)
• Digital Input needs a pinMode command:
pinMode (pinNumber, INPUT);
Make sure to use ALL CAPS for INPUT
• To get a digital reading:
int buttonState = digitalRead (pinNumber);
• Digital Input values are only HIGH (On) or LOW (Off)
71. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Digital Sensors
• Digital sensors are more straight forward than
Analog
• No matter what the sensor there are only two
settings: On and Off
• Signal is always either HIGH (On) or LOW (Off)
• Voltage signal for HIGH will be a little less than 5V
on your Uno
• Voltage signal for LOW will be 0V on most systems
72. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
http://opensourcehardwarejunkies.com/tutorial-03-digitalread-and-
73. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Programming: Conditional Statements
if()
74. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
void loop()
{
int buttonState = digitalRead(5);
if(buttonState == LOW)
{ // do something
}
else
{ // do something else
}
}
Programming: Conditional Statements
if()
DIG
INPUT
75. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Boolean Operators
<Boolean> Description
( ) == ( ) is equal?
( ) != ( ) is not equal?
( ) > ( ) greater than
( ) >= ( ) greater than or equal
( ) < ( ) less than
( ) <= ( ) less than or equal
76. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Trimpot (Potentiometer)
Variable Resistor
wiper
fixed
end
fixed
end
77. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Analog Sensors
3 Pin Potentiometer = var. resistor (circuit)
a.k.a. Voltage Divider Circuit
1.0 V 1.0 V
wiper
fixed
ends
78. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Ohms Law… (just the basics)
Actually, this is the “voltage divider”
79. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
analogRead()
Arduino uses a 10-bit A/D Converter:
• this means that you get input values
from 0 to 1023
• 0 V 0
• 5 V 1023
Ex:
int sensorValue = analogRead(A0);
80. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Using Serial Communication
Method used to transfer data between two
devices.
Arduino dedicates Digital I/O pin # 0 to
receiving and Digital I/O pin #1 to transmit.
Data passes between the computer and Arduino
through the USB cable. Data is transmitted as zeros
(‘0’) and ones (‘1’) sequentially.
81. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Serial Monitor & analogRead()
Initializes the Serial
Communication
9600 baud data rate
prints data to serial bus
82. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Serial Monitor & analogRead()
Opens up a
Serial Terminal
Window
83. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Analog Sensors
2 Pin Analog Sensors = var. resistor
Take two sensors -- Use
the Serial Monitor and
find the range of input
values you get for each
sensor.
MaxAnalogRead = _________
MinAnalogRead = _________
84. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Analog Sensors
Examples:
Sensors Variables
Mic soundVolume
Photoresistor lightLevel
Potentiometer dialPosition
Temp Sensor temperature
Flex Sensor bend
Accelerometer tilt/acceleration
85. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Additional Serial Communication
Sending a Message
void loop ( )
{
Serial.print(“Hands on “) ;
Serial.print(“Learning ”) ;
Serial.println(“is Fun!!!”) ;
}
86. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
87. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Serial Communication:
Serial Debugging
void loop()
{
int xVar = 10;
Serial.print ( “Variable xVar is “ ) ;
Serial.println ( xVar ) ;
}
88. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Serial Communication:
Serial Troubleshooting
void loop ( )
{
Serial.print (“Digital pin 9: “);
Serial.println (digitalRead(9));
}
89. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Virtual Electrical Prototyping Project
started in 2007 by the Interaction Design Lab
at the University of Applied Science Potsdam, Germany
Open Source
Prototypes: Document, Share, Teach, Manufacture
90. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Now that you feel comfortable putting together
circuits with your breadboard let’s talk about
how to go from the breadboard to a PCB
91. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Free Time
The rest of the class is dedicated to free pursuit
Experiment with the various circuits and
lessons in the SIK.
Explore the additional tutorials available on
learn.sparkfun.com
Thank you for attending our Intro to Arduino
class
92. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
Questions?
93. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
www.sparkfun.com
6175 Longbow Drive, Suite 200
Boulder, Colorado 80301
#37: Be sure to point out the what all of the buttons do.
#38: All connections to computers- mice, printers etc use a serial port. Gotta pick the right one.
#39: All connections to computers- mice, printers etc use a serial port. Gotta pick the right one.
#44: Review the two main parts of the sketch – void setup() and void loop()
Provide rationale for good commenting.
Emphasize the need for good / clean coding practices like indenting.
#45: Three commands to rule the world… or at least do 80% of cool Arduino projects.
#63: Here are a few examples of project ideas that you can extend this to in the class.