3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino from Scratch - Digital Thermometer

Arduino from Scratch - Digital Thermometer

I have loved making projects with Arduinos, but at $30 a piece your projects can get expensive. So I want to show you how you can make your own Arduino from scratch and save money doing it. Make your own Arduino for around $8. For this instructable I show you how to make one on a breadboard and with it make a digital thermometer.


 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts you need for the Arduino:

Parts you need for the Arduino:
  • Full Size Breadboard ($8 adafruit.com)
  • 22 AWG Wire or jumper wires ($6 adafruit.com)
  • 1 - 7805 Voltage Regulator ($0.18 taydaelectronics.com)
  • 2 - LEDs ($0.02 each taydaelectronics.com)
  • 2 - 220 Ohm Resistors ($0.10 each taydaelectronics.com)
  • 1 - 10k Ohm Resistor ($0.10 taydaelectronics.com)
  • 2 - 10 uF Capacitors ($0.01 each taydaelectronics.com)
  • 1 - 16 MHz Clock Crystal ($0.07 taydaelectronics.com)
  • 2 - 22 pF Capacitors ($0.10 for pack of 10 taydaelectronics.com)
  • 1 - Small Momentary Normally Open "off" Button ($0.05 taydaelectronics.com)
  • 1 - Breadboard-friendly 2.1mm DC barrel jack and 9V Wall Wort with 2.1mm Plug (2.1mm jack $0.95 adafruit.com)
  • 1 - ATMega328 with Bootloader ($6 adafruit.com or cheaper other places if you can add your own bootloader)
Many of these parts you can also buy from Radio Shack.
Assuming you have a breadboard, wire, and a way to program (see step 4) the Arduino parts cost a total of $7.71 +shipping.
« Previous StepDownload PDFView All StepsNext Step »
18 comments
Jan 15, 2012. 8:14 AMMaraudergal915 says:
I have a question. What kind of Board do you have to select when using a FTDI friendly when programing it?
Jan 16, 2012. 4:15 PMsoshimo says:
The board type should match the chip you are using (and the bootloader image). So, if you are using a 2650 you should pick the mega board. If using a 328 or 168, pick the uno. Take a look at boards.txt file to see what information is specified for each board type. These are usually maximum image size, cpu frequency, fuses, bootloader information, etc... There is nothing in there about what type of USB->Serial device you use. You specify that by choosing the correct com port. The device driver for whatever FTDI hardware you are using takes care of everything else so the device will output rs232 at ttl levels and look like any other rs232 terminal to the atmega uart.
Jan 17, 2012. 2:47 PMMaraudergal915 says:
Thank you as well. I think I understand alot better then I did.
Jan 15, 2012. 8:31 AMMaraudergal915 says:
But when I select Uno I am still getting a stk500_getsync(): not in sync:resp=0x00
Jan 15, 2012. 8:41 AMMaraudergal915 says:
Thank you sir and Yes I had gotten the FTDI Friend from Adafruit. We had went to go buy the Arduino bored model for the Uno just to see if we could get it to program and to see if it was just something we were doing wrong, but we had gotten it to program perfectly but every time we try to do it on the one we built it just keeps giving us the same not in sync. Thank you for your help sir.
Jan 16, 2012. 4:02 PMsoshimo says:
I had the same problem, then I examined a schematic for the Duemilanove and noticed a couple of things missing from most tutorials.

First, add a 1k resistor inline with the rx/tx lines going to the microprocessor.

Secondly add an ac coupling capacitor (try 4.7uf or somewhere around there) in series with the DTR line going to the reset.

The bootloader works by bringing DTR low first, which should reset the device. The bootloader is always loaded after reset so after DTR is brought low it begins to try to communicate over the UART. If DTR never goes low the device will never reset and whatever sketch is running will keep running (and therefore the bootloader will not be running).

Finally, make sure you actually have the arduino hex image loaded on the device. There really is no easy way to do this - when I'm in doubt I drop it in my Duemilanove (mine is the DIP type and the chip isn't soldered in, so it's easy to take it out and replace with another) and see if I can download a sketch. If I can't download a sketch I usually plug my MkII ISP into the arduino board and download the correct hex file using winavr.
Nov 20, 2011. 6:11 PMsteveoondyou says:
wild. i didnt know they were so simple to build, thats interesting.
Jan 16, 2012. 4:21 PMsoshimo says:
If you can live with the built in RC oscillator you can reduce the BOM even more by eliminating the crystal and capacitors. If you want a little more stability (but not as much as a crystal) use a ceramic resonator - many have built in capacitance so external capacitors are not required. Many microprocessors share similar small BOM configurations - PICs have a built in RC oscillator - same BOM (except for the chip of course).
Dec 30, 2011. 11:53 AMknexbuilder88 says:
cool!
Dec 30, 2011. 7:33 AMknexbuilder88 says:
could you use an arduino uno and use the same code for the FTDI friend and the project still work?
Dec 10, 2011. 6:32 AMknexbuilder88 says:
i love it but how many $$$ is it in total.
Nov 16, 2011. 12:33 AMatif khair says:
I really like the work Digital thermometer no complex connection on the board.
Jaycon
Oct 28, 2011. 8:09 AMinsmac says:
Hmm...any particular reason not to use the Boarduino from adafruit? At $17.50 for all the parts and PC board to mount them on...
Oct 30, 2011. 9:58 PMPaulMakesThings says:
I would also add that if someone wants to create a device which they plan to produce several of, knowing how to make this from scratch lets them integrate it all into one board, giving it a more unified professional design. Also in that case the savings add up.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
57
Followers
7
Author:matt.e.jenkins(GeekGuyMJ Videos)
I'm a youth pastor in Northern Michigan. I went to Cornerstone University and studied Bible, Youth Ministry, and Psychology. I'm a Maker hobbyist for about 7 years. It's fun to be Geeky.