build your own arduino

Download Build Your Own Arduino

Post on 01-Jun-2017

219 views

Category:

Documents

3 download

Embed Size (px)

TRANSCRIPT

  • http://www.instructables.com/id/Build-Your-Own-Arduino/

    Home Sign Up! Browse Community Submit

    All Art Craft Food Games Green Home Kids Life Music Offbeat Outdoors Pets Photo Ride Science Tech

    Build Your Own Arduinoby ArduinoFun on October 16, 2009

    Table of Contents

    Build Your Own Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    Intro: Build Your Own Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    Step 1: Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    Step 2: Setting Up Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    Step 3: Arduino Pin Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    Step 4: Component Hook Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

    Step 5: Programming Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    Step 6: PCB Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

    Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

    http://www.instructables.com/?utm_source=pdf&utm_campaign=titlehttp://www.instructables.com/account/gopro?sourcea=inside_pdfhttp://www.instructables.com/tag/type-id/?utm_source=pdf&utm_campaign=titlehttp://www.instructables.com/community?utm_source=pdf&utm_campaign=titlehttp://www.instructables.com/about/submit.jsp?utm_source=pdf&utm_campaign=titlefile:/?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/art?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/craft?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/food?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/games?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/green?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/home?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/kids?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/life?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/music?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/offbeat?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/outdoors?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/pets?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/photography?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/ride?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/science?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/tech?utm_source=pdf&utm_campaign=categorieshttp://www.instructables.com/member/ArduinoFun/?utm_source=pdf&utm_campaign=title
  • http://www.instructables.com/id/Build-Your-Own-Arduino/

    Intro: Build Your Own ArduinoSetting up an Arduino on a breadboard has become a process I have grown to love.

    Within a few minutes you can have a fully working Arduino platform to work with as you will see in this tutorial. There havebeen several occasions when I was at school and quickly put together one of these for testing some ideas for a project. Plus itis just looks so neat with all the components laid out over the breadboard.

    Some of my Arduino Projects

    Whats is an Arduino?

    Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, andanyone interested in creating interactive objects or environments.

    Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. Themicrocontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based onProcessing). Arduino projects can be stand-alone or they can communicate with software on running on a computer (e.g. Flash, Processing, MaxMSP).[1]www.arduino.cc

    Image Notes1. 9V Battery with Battery Snap2. 400 Point Breadboard3. +5V Regulator4. ATmega328

    http://www.instructables.com/id/Build-Your-Own-Arduino/http://www.instructables.com/id/Build-Your-Own-Arduino/http://arduino.cc/en/Reference/HomePagehttp://wiring.org.co/http://www.processing.org/http://www.arduino.cc
  • http://www.instructables.com/id/Build-Your-Own-Arduino/

    5. 16MHz Clock Crystal6. .22 pF Capacitors7. Breakout Board for FT232RL USB to Serial SparkFun sku: BOB-007188. 10 uF Capacitor9. 10 uF Capacitor10. LEDs11. Momentary Tact Switch, normally open (off)12. 10K Ohm Resistor13. 220 Ohm Resistors

    Step 1: ComponentsWith a few inexpensive parts and a solderless breadboard you can quickly and easily build your own Arduino. This conceptworks great when you want to prototype a new design idea, or you don't want to tear apart your design each time you needyour Arduino.

    The example below shows how to hook up the components on your breadboard. We will go into further detail throughout thisproject.

    Figure 1-1: Breadboard Arduino with USB programming ability.

    Before we get started, make sure you have all the necessary items in the component list box.If you need to purchase parts you can do so from my site at www.ArduinoFun.com or see below for other online stores

    * See note about the TTL-232R cable in programming options before purchasing.10% OFF Entire Order at ArduinoFun.com, use Coupon Code: INSTRUCTABLES upon check out.You can buy components at www.ArduinoFun.com or www.SparkFun.com or www.CuriousInventor.com or www.FunGizmos.com or www.Adafruit.com just to name a fewplaces off hand.

    Origninal tutorial by: http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard

    Step 2: Setting Up PowerThe first thing you need to do is set up power. With your breadboard and components in front of you... let's get started!

    With this step, you will be setting the breadboard Arduino up for constant +5Volts power using a 7805 voltage regulator.

    Figure 1-2: Power setup with LED indicator.

    In order for the voltage regulator to work, you need to provide more than 5V power. A typical 9V battery with a snap connectorwould work just fine for this.

    Power is going to come into the breadboard where you see the red and black + and squares. Then add one of the 10uFcapacitors. The longer leg is the Anode (Positive) and the shorter leg is the Cathode (Negative). Most capacitors are alsomarked with a stripe down the negative side.

    Across the empty space on the breadboard (the channel) you will need to place two hook-up wires for positive (red) and ground(black) to jump power from one side of the breadboard to the other.Now add the 7805 voltage regulator. The 7805 has three legs. If you are looking at it from the front, the left leg is for voltage in(Vin) the middle leg is for ground (GND) and the third leg is for voltage out (Vout). Make sure the left leg is lined up with your

    http://www.arduinofun.com/http://www.ArduinoFun.comhttp://www.SparkFun.comhttp://www.CuriousInventor.comhttp://www.FunGizmos.comhttp://www.Adafruit.comhttp://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard
  • http://www.instructables.com/id/Build-Your-Own-Arduino/

    positive power in, and the second pin to ground. Coming out of the voltage regulator and going to the power rail on the side of the breadboard you need to add a GND wire tothe ground rail and then the Vout wire (3rd leg of the voltage regulator) to the positive rail. Add the second 10uF capacitor to thepower rail. Paying attention to the Positive and Negative sides.Its a good idea to include an LED status indicator which can be used for troubleshooting. To do this you need to connect theright side power rail with the left power rail. Add positive to positive and negative to negative wires at the bottom of yourbreadboard.

    Figure 1-3: Left and Right Power Rail Connections.