1 / 30

sfe.io/r72

Jeff Branson Education Outreach Coordinator Email: jeff.branson@sparkfun.com. Derek Runberg Curriculum Curator Email: derek.runberg@sparkfun.com. http://sfe.io/r72. @ sparkfun #nsta14. Pause…. Before we move any further, let’s make sure that we all know each other in this room?

steffi
Download Presentation

sfe.io/r72

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Jeff Branson Education Outreach Coordinator Email: jeff.branson@sparkfun.com Derek Runberg Curriculum Curator Email: derek.runberg@sparkfun.com http://sfe.io/r72 @sparkfun#nsta14

  2. Pause… Before we move any further, let’s 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 you’re from • what you teach • why you’re 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!

  4. “Teachers that make… Make great teachers”-Anonymous

  5. 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

  6. 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…

  7. How it works? SERIAL DATA @ 9600 baud 01010011 01110000 01100001 01110010 01101011 01000110 01110101 01101110

  8. Hardware Configurations / Connections What’s 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.

  9. Getting started • Download Arduino from: www.arduino.cc/download • Follow their directions on installation.

  10. Startup Arduino IDE • Double-click on either the Arduino Icon or wherever you installed (saved) the Arduino program.

  11. Plug in your RedBoard (Arduino)

  12. Lesson #0 – Setting up Arduino • Setup Board • Arduino Uno • Setup COM Port • PC – Highest COM # • Mac – /dev/tty.usbserial-A####xXx

  13. Tools  Board  Arduino UnoSetup Board

  14. Tools  Serial PortSetup COM Port • PC – • Highest COM # • Mac – /dev/tty.usbserial-A####xxx

  15. Anatomy of code General syntax: • Case-sensitive • Semi-colons • Curly-brackets void functionName()

  16. Just the basicsTurning an LED on and off…

  17. Open Challenges • Create a heartbeat – a realistic one! • 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? • What about making a timer?? – blink the LED for 10 seconds and then stop! • What other ideas?

  18. Introducing the Danger Shield What’s a Shield?

  19. Sensing – Slider – AnalogRead(A0)

  20. Serial Monitor SERIAL DATA @ 9600 baud 01010011 01110000 01100001 01110010 01101011 01000110 01110101 01101110

  21. Sensing – Light – AnalogRead(A3)

  22. Sensing – Temp – AnalogRead(A4) This sensor: TMP36 has a sensitivity of 10 mV / °C = 100°C / Vand is 750 mV at 25 °C.

  23. Converting between ADC value to voltage?

  24. Pre-created example programs

  25. Preview of Digital SandBox Temp Sensor Microphone Light Sensor Arduino Push Button LED Array RGB LED Motor / Speaker Out Switch Slider / Potentiometer

  26. Now what? • Interested in professional development? Want to learn more? • Check-out our SparkFun Inventor’s 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

  27. 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