Quick Introduction to Arduino and Sensors

undefined
A Quick Introduction to 
Arduino and Sensors
Philip C. Fulmer, PhD, CHP
Francis Marion University
Florence, SC
undefined
Physical Computing – using components that
can interact with people and with the world
around us
The Arduino was 
originally
 developed for
artists and designers to prototype interactive
displays
Developed for non-scientists
Minimalist programming
“Forgiving” circuitry that can handle a wide
variety of wiring errors
Why Was Arduino Developed?
undefined
Different Varieties of Arduino
undefined
Arduino
Uno
Revision
3
USB
connection
7-12 volt
input power
(9v is
common)
Power
pins
Analog input /
Digital input or
output
Digital Input / Digital output
(PWM on pins 3, 5, 6, 9, 10, 11)
Introductory electronics (voltage, current,
resistance)
How sensors and actuators work
Rudimentary programming
Design of basic scientific equipment
Troubleshooting
Challenges of communicating with users
through a project (e.g., messages, formatting
numbers, ease of use, etc.)
Statistics and variation in data gathering
What Can Arduino Uno Be Used To Teach?
Quickly able to prototype a working project
Able to produce a working computer program
The tactile “feel” of assembling a project is very
rewarding; making something that 
works
FINALLY understanding that a scientific instrument is
only as good as its design and calibration
Get to troubleshoot circuits under the tutelage of the
instructor to develop a logical, orderly method.
What Can Students Do?
Philosophical Approach
It is physically impossible to teach students a
comprehensive course in electronics in a single
semester
The purpose of our electronics course is to
teach the basics of instrument design, function,
and troubleshooting
It is important to teach students the basics of
electronics and teach them how to 
learn
electronics on their own
What Approach Have I Followed?
Start simple – build confidence with small projects
before trying complex projects
Introduce concept and then immediately do a project
with it
Use components that will capture the attention and
imagination of the 
students
Use new projects to build on previous projects
Create a “problem” for students to solve that THEY will
see as practical but not overly complicated
Teach students how to search for needed information
from datasheets (e.g., tolerances, current limits, etc.)
from the internet
What Approach Have I Followed?
LEDs….
lots
 of LEDs with
variety of colors (be sure to
also acquire lots of current-
limiting resistors)
Good for blinking, dimming
using PWM, “Knight Rider”
effect with 8 or more LEDs,
strobe effects, etc.
What Are Some Good Components
to Start With?
LCD Screen with backlight (16x2 is common and teaches the
complications of textual display)
The parallel version uses 4 digital pins for display
Instructions for how to connect is built in as a sample “sketch”
in the Arduino
Students get a 
huge
 degree of satisfaction from transmitting
text to the LCD screen
What Are Some Good Components
to Start With?
undefined
Current-limiting
resistors for RGB
backlight
10 k
potentiometer to
adjust screen
contrast
Basic temperature and/or humidity sensor
DHT11 or DHT22 is a good entry-level choice
Library can be downloaded and incorporated to give easy
access to features of the sensor
What Are Some Good Components
to Start With?
undefined
Current-limiting
resistors for RGB
backlight
DHT 11 Sensor
Small servos
Arduino can be used to position
servo at a given angle for use in
projects.
Other sensors can be attached to
the servo to add a layer of
complexity
Servo library included in Arduino
IDE
What Are Some Good Components
to Start With?
undefined
Ultrasonic Ranger – uses ultrasonic waves to determine the
distance between sensor and object based on time between
emission of wave and echo of it.
Good for introducing discussion of speed of sound variation
with environmental conditions
Calibration principles are easily discussed
What Are Some Good Components
to Start With?
undefined
Laser pointer mounted
on servo that aims at a
target based on
readings of dual sonic
rangers
Sonic Rangers
undefined
What Are Some Other Components
That Are Relatively Easy to Use?
128x64 Organic LED screen that can handle graphics as well as
text
undefined
What Are Some Other Components
That Are Relatively Easy to Use?
GPS Module that can be used for a variety of purposes such as
triggering a response only when the user is standing in a
particular location
undefined
What Are Some Other Components
That Are Relatively Easy to Use?
Mechanical or
Solid-State Relay
Boards to control
alternating
current loads of
several amps
undefined
AC Outlets Controlled by Arduino
www.arduino.cc
  :info on hardware, some libraries for
sensors, the integrated development environment
(IDE) and reference material on commands and
structures
www.instructables.com
  :  info on DIY projects
prepared by others
www.makezine.com
 : Home of 
Make
 Magazine, which
has lots of Arduino projects
Resources
Recommended Books
By
Simon Monk
By
John Boxall
By
Jeremy Blum
Slide Note
Embed
Share

Arduino, developed for physical computing, allows interaction with the world through minimalist programming and forgiving circuitry. Learn about different Arduino varieties, its applications in teaching electronics, and the rewarding experiences students gain. The philosophical approach focuses on teaching basics and fostering self-learning in electronics.

  • Arduino
  • Sensors
  • Electronics
  • Physical Computing
  • Teaching

Uploaded on Sep 11, 2024 | 4 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. A Quick Introduction to Arduino and Sensors Philip C. Fulmer, PhD, CHP Francis Marion University Florence, SC

  2. Why Was Arduino Developed? Physical Computing using components that can interact with people and with the world around us The Arduino was originally developed for artists and designers to prototype interactive displays Developed for non-scientists Minimalist programming Forgiving circuitry that can handle a wide variety of wiring errors

  3. Different Varieties of Arduino

  4. Digital Input / Digital output (PWM on pins 3, 5, 6, 9, 10, 11) USB Arduino Uno Revision 3 connection 7-12 volt input power (9v is common) Analog input / Digital input or output Power pins

  5. What Can Arduino Uno Be Used To Teach? Introductory electronics (voltage, current, resistance) How sensors and actuators work Rudimentary programming Design of basic scientific equipment Troubleshooting Challenges of communicating with users through a project (e.g., messages, formatting numbers, ease of use, etc.) Statistics and variation in data gathering

  6. What Can Students Do? Quickly able to prototype a working project Able to produce a working computer program The tactile feel of assembling a project is very rewarding; making something that works FINALLY understanding that a scientific instrument is only as good as its design and calibration Get to troubleshoot circuits under the tutelage of the instructor to develop a logical, orderly method.

  7. What Approach Have I Followed? Philosophical Approach It is physically impossible to teach students a comprehensive course in electronics in a single semester The purpose of our electronics course is to teach the basics of instrument design, function, and troubleshooting It is important to teach students the basics of electronics and teach them how to learn electronics on their own

  8. What Approach Have I Followed? Start simple build confidence with small projects before trying complex projects Introduce concept and then immediately do a project with it Use components that will capture the attention and imagination of the students Use new projects to build on previous projects Create a problem for students to solve that THEY will see as practical but not overly complicated Teach students how to search for needed information from datasheets (e.g., tolerances, current limits, etc.) from the internet

  9. What Are Some Good Components to Start With? LEDs .lots of LEDs with variety of colors (be sure to also acquire lots of current- limiting resistors) Good for blinking, dimming using PWM, Knight Rider effect with 8 or more LEDs, strobe effects, etc.

  10. What Are Some Good Components to Start With? LCD Screen with backlight (16x2 is common and teaches the complications of textual display) The parallel version uses 4 digital pins for display Instructions for how to connect is built in as a sample sketch in the Arduino Students get a huge degree of satisfaction from transmitting text to the LCD screen

  11. Current-limiting resistors for RGB backlight 10 k potentiometer to adjust screen contrast

  12. What Are Some Good Components to Start With? Basic temperature and/or humidity sensor DHT11 or DHT22 is a good entry-level choice Library can be downloaded and incorporated to give easy access to features of the sensor

  13. Current-limiting resistors for RGB backlight DHT 11 Sensor

  14. What Are Some Good Components to Start With? Small servos Arduino can be used to position servo at a given angle for use in projects. Other sensors can be attached to the servo to add a layer of complexity Servo library included in Arduino IDE

  15. What Are Some Good Components to Start With? Ultrasonic Ranger uses ultrasonic waves to determine the distance between sensor and object based on time between emission of wave and echo of it. Good for introducing discussion of speed of sound variation with environmental conditions Calibration principles are easily discussed

  16. Laser pointer mounted on servo that aims at a target based on readings of dual sonic rangers Sonic Rangers

  17. What Are Some Other Components That Are Relatively Easy to Use? 128x64 Organic LED screen that can handle graphics as well as text

  18. What Are Some Other Components That Are Relatively Easy to Use? GPS Module that can be used for a variety of purposes such as triggering a response only when the user is standing in a particular location

  19. What Are Some Other Components That Are Relatively Easy to Use? Mechanical or Solid-State Relay Boards to control alternating current loads of several amps

  20. AC Outlets Controlled by Arduino

  21. Resources www.arduino.cc :info on hardware, some libraries for sensors, the integrated development environment (IDE) and reference material on commands and structures www.instructables.com : info on DIY projects prepared by others www.makezine.com : Home of Make Magazine, which has lots of Arduino projects

  22. Recommended Books By By By Simon Monk John Boxall Jeremy Blum

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#