際際滷

際際滷Share a Scribd company logo
http://sfe.io/r72
Jeff Branson
Education Outreach Coordinator
Email: jeff.branson@sparkfun.com
Derek Runberg
Curriculum Curator
Email: derek.runberg@sparkfun.com
@sparkfun #nsta14
Pause
Before we move any further, lets make sure that
we all know each other in this room?
Please introduce yourself to the person(s) sitting in
your general vicinity. Tell them a few things about
yourself, maybe:
 where youre from
 what you teach
 why youre here
 what you hope to get out of this.
About Us
At SparkFun, our focus is all about creation,
innovation, and sharing information.
Open Source Hardware is at the core of our
business. We emphasize researching, re-
mixing, adapting, making improvements, and
sharing with the world!
Maker Science with Arduino and SparkFun Electronics @NSTA14 Boston
Maker Science with Arduino and SparkFun Electronics @NSTA14 Boston
Maker Science with Arduino and SparkFun Electronics @NSTA14 Boston
 Teacher s t hat make
Make gr eat t eacher s
-Anonymous
Arduino / Microcontrollers
a.k.a. Physical Computing
Arduino is a tool for making computers that
can sense and control more of the physical
world than your desktop computer.
A micro-controller is essentially a brain  or,
think of a bunch of programmable elves
It is the guts of something like Vernier, Pasco, or
Fourier
What can this thing do?
Remember, think programmable elves
We can use this to:
- Turn on lights
- Interface cameras (take photos)
- Log sensor data (temp, pressure, humidity, light)
- Communicate with your PC and the internet
(a.k.a. Internet of Things)
- Take Science Fair to the next level
How it works?
01010011 01110000 01100001 01110010 01101011
01000110 01110101 01101110
SERIAL DATA @ 9600 baud
Hardware Configurations /
Connections
Whats a Pin?
14 general digital input / output pins
6 analog input pins (Pins A0  A5)
Nitty Gritty:
Powered off anything from 7  15V DC
Voltage Regulator provides 5V and 3.3V
Standard TTL logic  5V is HIGH, and 0V is LOW.
Getting started
 Download Arduino from:
www.arduino.cc/download
 Follow their directions on installation.
Startup Arduino IDE
 Double-click on either
the Arduino Icon or
wherever you installed
(saved) the Arduino
program.
Plug in your RedBoard (Arduino)
Lesson #0  Setting up Arduino
1.Setup Board
Arduino Uno
1.Setup COM Port
PC  Highest COM #
Mac  /dev/tty.usbserial-A####xXx
Tools  Board  Arduino Uno
Setup Board
Tools  Serial Port
Setup COM Port
PC 
Highest COM #
Mac 
/dev/tty.usbserial-
A####xxx
Anatomy of code
General syntax:
 Case-sensitive
 Semi-colons
 Curly-brackets
void functionName()
Just the basics
Turning an LED on and off
Open Challenges
1) Create a heartbeat  a realistic one!
2) What is the fastest blink that your eye can
detect? What is the frequency of this blink?
Now, move the LED back and forth  do you see a
trail? What are some interesting scientific
investigations you can explore with this?
1) What about making a timer??  blink the LED
for 10 seconds and then stop!
2) What other ideas?
Introducing the Danger Shield
Whats a Shield?
Sensing  際際滷r  AnalogRead(A0)
Serial Monitor
01010011 01110000 01100001 01110010 01101011
01000110 01110101 01101110
SERIAL DATA @ 9600 baud
Sensing  Light  AnalogRead(A3)
Sensing  Temp  AnalogRead(A4)
This sensor: TMP36 has a sensitivity of 10 mV / 属C =
100属C / V and is 750 mV at 25 属C.
Converting between ADC value to
voltage?
Pre-created example programs
Preview of Digital SandBox
際際滷r / PotentiometerSwitch
Motor /
Speaker Out
Push Button
Microphone
Light Sensor
Temp Sensor
LED Array
RGB LED
Arduino
Now what?
 Interested in professional development? Want to
learn more?
 Check-out our SparkFun Inventors Kit (SIK)
 Also sold as a lab-pack for schools
 15 complete circuits with a full-color experiment guide.
 Guide is available as a PDF.
 Teacher Prof. Dev Workshops available:
 Contact: education@sparkfun.com
Questions?
email: jeff.branson@sparkfun.com
twitter: @sparkfun
Interested in any of this?
E-mail us about our 20% educator discount 
education@sparkfun.com

More Related Content

Maker Science with Arduino and SparkFun Electronics @NSTA14 Boston

  • 1. http://sfe.io/r72 Jeff Branson Education Outreach Coordinator Email: jeff.branson@sparkfun.com Derek Runberg Curriculum Curator Email: derek.runberg@sparkfun.com @sparkfun #nsta14
  • 2. Pause Before we move any further, lets make sure that we all know each other in this room? Please introduce yourself to the person(s) sitting in your general vicinity. Tell them a few things about yourself, maybe: where youre from what you teach why youre here what you hope to get out of this.
  • 3. About Us At SparkFun, our focus is all about creation, innovation, and sharing information. Open Source Hardware is at the core of our business. We emphasize researching, re- mixing, adapting, making improvements, and sharing with the world!
  • 7. Teacher s t hat make Make gr eat t eacher s -Anonymous
  • 8. Arduino / Microcontrollers a.k.a. Physical Computing Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. A micro-controller is essentially a brain or, think of a bunch of programmable elves It is the guts of something like Vernier, Pasco, or Fourier
  • 9. What can this thing do? Remember, think programmable elves We can use this to: - Turn on lights - Interface cameras (take photos) - Log sensor data (temp, pressure, humidity, light) - Communicate with your PC and the internet (a.k.a. Internet of Things) - Take Science Fair to the next level
  • 10. How it works? 01010011 01110000 01100001 01110010 01101011 01000110 01110101 01101110 SERIAL DATA @ 9600 baud
  • 11. Hardware Configurations / Connections Whats a Pin? 14 general digital input / output pins 6 analog input pins (Pins A0 A5) Nitty Gritty: Powered off anything from 7 15V DC Voltage Regulator provides 5V and 3.3V Standard TTL logic 5V is HIGH, and 0V is LOW.
  • 12. Getting started Download Arduino from: www.arduino.cc/download Follow their directions on installation.
  • 13. Startup Arduino IDE Double-click on either the Arduino Icon or wherever you installed (saved) the Arduino program.
  • 14. Plug in your RedBoard (Arduino)
  • 15. Lesson #0 Setting up Arduino 1.Setup Board Arduino Uno 1.Setup COM Port PC Highest COM # Mac /dev/tty.usbserial-A####xXx
  • 16. Tools Board Arduino Uno Setup Board
  • 17. Tools Serial Port Setup COM Port PC Highest COM # Mac /dev/tty.usbserial- A####xxx
  • 18. Anatomy of code General syntax: Case-sensitive Semi-colons Curly-brackets void functionName()
  • 19. Just the basics Turning an LED on and off
  • 20. Open Challenges 1) Create a heartbeat a realistic one! 2) What is the fastest blink that your eye can detect? What is the frequency of this blink? Now, move the LED back and forth do you see a trail? What are some interesting scientific investigations you can explore with this? 1) What about making a timer?? blink the LED for 10 seconds and then stop! 2) What other ideas?
  • 21. Introducing the Danger Shield Whats a Shield?
  • 22. Sensing 際際滷r AnalogRead(A0)
  • 23. Serial Monitor 01010011 01110000 01100001 01110010 01101011 01000110 01110101 01101110 SERIAL DATA @ 9600 baud
  • 24. Sensing Light AnalogRead(A3)
  • 25. Sensing Temp AnalogRead(A4) This sensor: TMP36 has a sensitivity of 10 mV / 属C = 100属C / V and is 750 mV at 25 属C.
  • 26. Converting between ADC value to voltage?
  • 28. Preview of Digital SandBox 際際滷r / PotentiometerSwitch Motor / Speaker Out Push Button Microphone Light Sensor Temp Sensor LED Array RGB LED Arduino
  • 29. Now what? Interested in professional development? Want to learn more? Check-out our SparkFun Inventors Kit (SIK) Also sold as a lab-pack for schools 15 complete circuits with a full-color experiment guide. Guide is available as a PDF. Teacher Prof. Dev Workshops available: Contact: education@sparkfun.com
  • 30. Questions? email: jeff.branson@sparkfun.com twitter: @sparkfun Interested in any of this? E-mail us about our 20% educator discount education@sparkfun.com

Editor's Notes

  1. What is science? What is the nature of science? Inquiry, Investigation, Experimentation But, were past the ages of using rulers, stop watches, and old school techniques to investigate our world. How are real scientists doing it?
  2. Plug it in. FTDI is Serial buffer, 5V, GND, reset. 40-50 miliAmps source 3.3V system. 9 pins broken out. PWM and analogs. You can reconfigure analog ins to be outputs.
  3. Talk about different board types
  4. Talk about different board types
  5. Im not sure if this one works. It did not work on the Danger Shields that we had in the classroom.
  6. This is a new learning platform for Arduino to be released in the next few months. It integrates 5 white LEDs, an RGB LED, a microphone, light sensor, temp sensor, slider, switch, button, and two general purpose I/O ports.