Hardware Hacking area: Make Cool Things with Microcontrollers (and learn to solder)

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Hardware Hacking area: Make Cool Things with Microcontrollers (and learn to solder) - Presentation Transcript

    1. Hacking Cool things With Microcontrollers! Mitch Altman Chief Scientist, Cornfield Electronics, San Francisco, CA USA Author of The Brain Machine in MAKE Magazine #10 Inventor of TV-B-Gone universal remote control email: mitch@CornfieldElectronics.com site: www.CornfieldElectronics.com Codebits November 14, 2008
    2. I Love My Job!
    3. Why make cool things with Microcontrollers?
    4. Why make cool things with Microcontrollers? Microcontrollers are fun to play with And anyone can learn…
    5. Examples of Cool Microcontroller Projects (in my opinion) TV-B-Gone Kit TV-B-Gone TV-B-Gone Pro
    6. Examples of Cool Microcontroller Projects (in my opinion) MiniPOV3 kit Solar BugBot The Brain Machine LED Cube Trippy RGB Light
    7. Examples of Cool Microcontroller Projects (in my opinion) Mignonnette Game kit
    8. Examples of Cool Microcontroller Projects (in my opinion) Trippy RGB Waves kit
    9. What is a Microcontroller?
    10. What is a Microcontroller? A complete computer on a chip (with a little extra stuff) RAM Program Processor Memory Inputs Input/Output Outputs Timers
    11. What Does a Microcontroller Do? Like all computers: Fetch Instruction Execute Instruction Repeat forever (till power goes off)
    12. How to Make Cool Things with Microcontrollers •  Idea •  Hardware •  Firmware •  Coolness!
    13. Hello World Make an LED blink
    14. Hello World – Hardware Battery + Resistor LED Microcontroller Battery - Battery -
    15. Hello World – Digression: (Very) Basic Electronics Lesson Electronics: electrons flowing through wires and parts (sorta like water flowing through pipes) Current -- speed of electrons flowing Battery -- like a pump pushing electrons Resistor -- like a kink in a pipe, slows down electrons Diode -- one-way valve for current LED -- special diode: emit photons when current flows Transistor -- remotely controlled switch Microcontroller -- zillions of transistors!
    16. Hello World – Firmware Assign a value to a variable: Software: X = 00000001 Firmware: X = 00000001
    17. Hello World – Firmware Changing an output pin: PortA = 00000001 PortA = 00000000
    18. Hello World – Firmware Changing an output pin (using manual delay): PortA = 00000001 Call Delay PortA = 00000000 ----------- Delay: Count = 0 Wait: Count = Count + 1 If Count < 10,000 goto wait Return
    19. Hello World – Firmware Changing an output pin (using hardware timer): Main: Call Init PortA = 00000001 Call Delay PortA = 00000000 Sleep ----------- Delay: Timer0 = 60,000 Wait: If Timer0flag = 0 goto wait Return
    20. Hello World – Firmware Advanced topic: Changing an output pin (using interrupts): Main: Call Init PortA = 00000001 Call Delay PortA = 00000000 Sleep ----------- ISR: Delay: TimeFlag=1 Timer0 = 60,000 Wait: Return If TimeFlag = 0 goto wait Return
    21. Hello World – programming your chip Use software on your computer Text Editor Compiler Programmer Specific software Depends on your microcontroller PIC, AVR, etc. Need hardware programmer (often very cheap)
    22. Real Project: Ladyada’s MiniPOV3 Just like “Hello World”, but 8 LEDs and different timing Etc…
    23. Hacking! : The easy way to make your cool microcontroller projects
    24. Hacking! TV-B-Gone from MiniPOV3 kit
    25. Hacking! TV-B-Gone Kit from MiniPOV3 hack
    26. Hacking! TV-B-Gone Pro from TV-B-Gone Kit
    27. Hacking! Trippy RGB Light from MiniPOV3 kit ... ... 1/2 brightness Pulse Width ... ... 1/4 brightness Modulation (PWM) ... ... min brightness
    28. Hacking! Trippy RGB Waves kit from Trippy RGB Light IR detector causes interrupt when it sees IR reflecting from your hand
    29. Hacking! Solar BugBot from MiniPOV3 kit
    30. Hacking! LED Cube from MiniPOV3 kit (First NYC Resistor Project)
    31. Hacking! Brain Machine from MiniPOV3 kit Synchronizes your brain to a desired brainwave sequence (and hallucinate along the way!) WARNING: Blinking lights are not good for people with epilepsy
    32. Brain Machine
    33. Video by Bre Pettis What’s It Like?
    34. Come by the Workshop Hardware Hacking Area Microcontrollers are fun to play with And anyone can learn!
    35. Q&A
    36. Hacking Cool things With Microcontrollers! Mitch Altman Chief Scientist, Cornfield Electronics, San Francisco, CA USA Author of The Brain Machine in MAKE Magazine #10 Inventor of TV-B-Gone universal remote control email: mitch@CornfieldElectronics.com site: www.CornfieldElectronics.com Codebits November 14, 2008

    + codebitscodebits, 2 years ago

    custom

    2443 views, 1 favs, 3 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2443
      • 2352 on SlideShare
      • 91 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 66
    Most viewed embeds
    • 69 views on http://codebits.sapo.pt
    • 21 views on http://codebits.eu
    • 1 views on http://209.85.173.132

    more

    All embeds
    • 69 views on http://codebits.sapo.pt
    • 21 views on http://codebits.eu
    • 1 views on http://209.85.173.132

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags