Getting Started With Arduino   How To Build A Twitter Monitoring Alertuino
Upcoming SlideShare
Loading in...5
×
 

Getting Started With Arduino How To Build A Twitter Monitoring Alertuino

on

  • 78,384 views

The slides from my talk about Arduino at Barcamp Liverpool. Shows the basics about Arduino and how I hacked a toy gun to fire whenever someone mentioned #bcliverpool on twitter

The slides from my talk about Arduino at Barcamp Liverpool. Shows the basics about Arduino and how I hacked a toy gun to fire whenever someone mentioned #bcliverpool on twitter

Statistics

Views

Total Views
78,384
Slideshare-icon Views on SlideShare
42,264
Embed Views
36,120

Actions

Likes
47
Downloads
460
Comments
5

82 Embeds 36,120

http://readwrite.com 16903
http://www.readwriteweb.com 9209
http://www.nytimes.com 4783
http://robocraft.ru 2049
http://www.mcqn.net 1258
http://www.ticbeat.com 478
http://www.tomshw.it 316
http://www.scoop.it 264
http://www.slideshare.net 129
http://www.robocraft.ru 99
http://frhd.blogspot.com 88
http://translate.googleusercontent.com 87
http://www.yeeyan.com 75
http://blog.it.sohu.com 44
http://www.maffucci.it 39
http://www.mochimochi.com 35
http://article.yeeyan.org 29
http://www.readwriteweb.es 29
http://gaggio.blogspirit.com 27
http://www.e-presentations.us 23
http://www.yeeyan.org 15
http://www.marcomontemagno.com 14
https://www.nytimes.com 9
https://www.readwriteweb.com 9
http://www.hkmk.cl 7
http://umgvirtual.umg.edu.gt 5
http://laurenceeu.wordpress.com 5
http://mcqn.net 5
http://131.253.14.66 4
http://frhd.blogspot.ca 4
http://webcache.googleusercontent.com 4
http://arduinos.wordpress.com 4
http://swik.net 4
http://gofficeplus.lgcns.com 4
http://lj-toys.com 3
http://web.media.mit.edu 3
http://illinois.brocton.xyppy.com 2
http://www.google.com 2
http://www.msn.com 2
https://readwrite.com 2
http://frhd.blogspot.de 2
http://frhd.blogspot.ie 2
http://frhd.blogspot.co.uk 2
http://laurencecable.com 2
http://www.hanrss.com 2
http://messypie.blogspot.com 2
http://www.byteengine.net 2
http://adas.arduinos.wordpress.com 1
https://www.linkedin.com 1
file:// 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

15 of 5 Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Hi, i really wanted the code from page 24 so i could try it at home. How can i get a copy?
    Are you sure you want to
    Your message goes here
    Processing…
  • What about the Twitter Search API - do you have anymore information on that. How did you handle that. Did you have a script running - what did it look like?
    Are you sure you want to
    Your message goes here
    Processing…
  • Great work.
    Thanks for sharing.

    http://www.e-rachat-credits.fr/
    Are you sure you want to
    Your message goes here
    Processing…
  • Hello.. sound good.. great sharing

    Regards
    Teisha
    http://winkhealth.com
    http://financewink.com
    http://www.fakhriramley.com
    Are you sure you want to
    Your message goes here
    Processing…
  • Good presentation! Thanks

    <b>[Comment posted from</b> http://www.nytimes.com/external/readwriteweb/2009/12/08/08readwriteweb-top-10-internet-of-things-products-of-2009-74048.html]
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Getting Started With Arduino   How To Build A Twitter Monitoring Alertuino Getting Started With Arduino How To Build A Twitter Monitoring Alertuino Presentation Transcript

    • Getting Started With Arduino: How to build a Twitter-monitoring Alertuino Adrian McEwen - www.mcqn.com
    • What is Arduino?
      • Embedded computing platform
      • Open Source Hardware
      • Open Source Software
      • Easy-to-use
      • A way to build the “Internet of Things”
      Adrian McEwen - www.mcqn.com
    • Common Features
      • Assortment of Arduinos, but most share the same common features:
      • 16KB flash
      • 1KB RAM
      • 14 digital I/O pins
      • 6 analogue I/O pins
      Adrian McEwen - www.mcqn.com
    • Easy to Learn
      • Integrated IDE
      • Upload code via USB with a single click
      • Lots of examples to learn from
      • Active community sharing how they made their projects
      Adrian McEwen - www.mcqn.com
    • Easy to Extend Adrian McEwen - www.mcqn.com
    • The Anatomy of a Sketch
      • The code that runs on the Arduino is called a sketch.
      • Two main parts:
        • setup()
        • loop()
      • This is the Arduino “Hello World” - Blink
      Adrian McEwen - www.mcqn.com
    • The Anatomy of a Sketch: setup()
      • Runs once, on startup.
      Adrian McEwen - www.mcqn.com
    • The Anatomy of a Sketch: loop()
      • Runs continually, after startup.
      Adrian McEwen - www.mcqn.com
    • Seeing Blink in Action
      • Load Blink example in the IDE: File -> Sketchbook -> Examples -> Digital -> Blink
      • Click the upload button:
      • Watch the LED blink*
      • *on boards other than the Diecimila and Duemilanove you might need to connect an LED between digital pin 13 and GND
      Adrian McEwen - www.mcqn.com
    • Now the real fun starts… Adrian McEwen - www.mcqn.com
    • Some (Very) Basic Electronic Concepts
      • You can think of electronics in a similar way to how you’d think of plumbing
      • Voltage [V]: a bit like water pressure
      • Current [I]: a bit like the amount of water flowing through something
      • Resistance [R]: a bit like the (inverse of the) diameter of a water pipe
      Adrian McEwen - www.mcqn.com
    • Ohm’s Law
      • The only equation you’ll need to begin tinkering
      • Voltage = Current x Resistance
      • Current = Voltage / Resistance
      • Resistance = Voltage / Current
      • Learn more as you want to do more…
      Adrian McEwen - www.mcqn.com
    • Tinkering With Toys
      • Hacking a toy ray gun to notify me when someone twitters about #barcampliverpool
      Adrian McEwen - www.mcqn.com
    • Take 1 Cheap Toy Ray Gun
      • Battery-operated electronic toys are ideal
      • Takes 3 AAA batteries, so near enough to the Arduino’s 5V
      Adrian McEwen - www.mcqn.com
    • Open It Up
      • Find the connections to bypass the switch and turn the toy on
      • Use 5V and GND connections on Arduino with some wires to test where the connections should go
      Adrian McEwen - www.mcqn.com
    • Make New Connections
      • Solder the connections ideally
      • But you could cut the wires and connect new ones with connecting block
      Adrian McEwen - www.mcqn.com
    • Parts We’ll Use
      • Resistor – 1K ohm (brown-black-red)
      Adrian McEwen - www.mcqn.com
    • Parts We’ll Use
      • Transistor – basically an electronically operated switch
      • (we’re using a 2N2222)
      Adrian McEwen - www.mcqn.com
    • Parts We’ll Use
      • Breadboard – easy, solderless prototyping board
      Adrian McEwen - www.mcqn.com
    • Transistors in (a Bit) More Detail
      • Wire emitter to –ve/GND side of circuit
      • Wire collector to +ve side of circuit
      • Current will flow from collector to emitter when a voltage is applied to base
      Adrian McEwen - www.mcqn.com
    • Our Circuit Adrian McEwen - www.mcqn.com
    • Software
      • Computer will fetch the data from Twitter for us
      • Then send the number of alerts over serial to the Arduino
      • The Arduino will listen for the number of alerts over serial
      • Then turn on the toy for 2 seconds for each alert
      Adrian McEwen - www.mcqn.com
    • Alertuino Software: setup()
      • Runs once, on startup.
      Adrian McEwen - www.mcqn.com
    • Alertuino Software: loop() Adrian McEwen - www.mcqn.com
    • Lets Try It
      • Upload the Alertuino sketch
      • Start the serial monitor
      • Send it a command
      • Enjoy*
      • *fingers crossed ;-)
      Adrian McEwen - www.mcqn.com
    • Find out more
      • My Blog:
        • http://www.mcqn.net/mcfilter/
      • Or email adrian@mcqn.net
      • Buy a beginners kit:
        • http://tinker.it/ukstore/product_info.php?cPath=29&products_id=51
      • Download the software:
        • http://www.arduino.cc/
      • Learn more:
        • http://arduino.cc/en/Tutorial/HomePage
      Adrian McEwen - www.mcqn.com