Build An Arduino: Food Living Outside Play Technology Workshop

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Food

Living

Outside

Play

Technology

Workshop

Build an Arduino
by ThisIsSteve on July 9, 2014

Table of Contents
Build an Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intro: Build an Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 1: Tools and Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 2: Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 3: Uploading A Bootloader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 4: Uploading A Bootloader2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 5: Adding the 5V Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 6: 3.3V Voltage Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 7: First Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

http://www.instructables.com/id/Build-an-Arduino/

Author:ThisIsSteve
Hey I'm a high school student, I love to work on projects and arduino powers most of them. If you like my projects support me by following me and I really like
this site and will continue posting up here. Contact me at - [email protected] - +919738432819 Feel free to contact me if you need help on anything.

Intro: Build an Arduino


In this instructable I'm going to show you how to build an Arduino using an atmeg328 IC, I know that this sounds complicated but is quite easy to do. This project is if
you need an arduino in your project but you don't want to use the arduino UNO or arduino nano. The atmega328 is the same IC you find in the arduino.
I built this because I made an led cube (I'll post it up soon) and i did not want to seal my Uno in a box.

Step 1: Tools and Components


As always lets start with getting all the components required.
Components
ATmega 328
2x 10 uf electrolytic capacitor
2x 22 pf capacitors (ceramic disk)
7805 voltage regulator (5v)
16 MHz crystal oscillator
Momentary push button switch
LEDs
28 pin DIP IC socket
LM1117T-3.3 voltage regulator(3.3v) (Optional)
2x 10 uf tantalum capacitors (Optional)

http://www.instructables.com/id/Build-an-Arduino/

Tools
Soldering Iron
Multimeter

Step 2: Description
Once you got all the parts its time for assembling, I just want to say a few lines about atmega328. Well if you look at online stores for the IC you would probably see that
there are two types of it one with boot-loader and the other without. If you spent some few extra dollars and brought the one with the boot-loader, you can skip a few
steps in this instructable. If you brought the one without the boot-loader then you need to follow all the steps.
The boot-loader is necessary to write and upload codes from the arduino ide to the IC.

Step 3: Uploading A Bootloader


Here is how you upload a boot-loader to the ATmega IC. You would need an arduino UNO for this step. Follow the circuit as seen above and solder the parts on the prefboard, you don't have to connect the voltage regulators at this stage as the arduino would provide the necessary power.
First lest start with configuring our arduino UNO as ISP, this is done because you want the arduino to upload the sketch to the ATmega IC and not itself. Don't connect
the ATmega IC while the below upload is running.
Plug the arduino to a PC
Open the arduino IDE
Open > Examples > ArduinoISP
Upload sketch

http://www.instructables.com/id/Build-an-Arduino/

Step 4: Uploading A Bootloader2


With everything connected open the IDE from the folder you just created (the copy).
Select Arduino328 from Tools > Board
Select Arduino as ISP from Tools > Programmer
Select Burn Bootloader
After a Successful burn you would get a "Done burning bootloader".

http://www.instructables.com/id/Build-an-Arduino/

Step 5: Adding the 5V Regulator


After successfully burning the boot-loader lets complete the arduino. Adding the 5v regulator is an important part of the circuit, for the voltage regulator I used a l7805 IC
which is commonly found on the internet. With the printed side of the IC facing you and the legs facing down the one to your extreme left is the input. The one in the
center is ground and the one to you extreme right is the output.
Follow the circuit and connect the voltage regulator to the arduino.

Step 6: 3.3V Voltage Regulator


This is optional and not really required this just to power the external shields and modules that require a 3.3V power supply. The arduino just requires the 5V power
supply.

http://www.instructables.com/id/Build-an-Arduino/

Step 7: First Code


Once you have completed all of the above steps you now have an working arduino. Now time to upload your first code. To upload the code you just remove the ATmega
328 from the UNO and replace it with the new IC. Once you have done uploading the code replace it back.
And now I had my arduino which went into the led cube box (I'll leave a link here once its done).

Related Instructables

Bootloading
and Mounting
Arduino
Atmega328 - I
made it at
TechShop by
perez1028

Ultrasonic
Parking Aid by
jsc

Standalone
Atmega328 by
Hammock Boy

http://www.instructables.com/id/Build-an-Arduino/

Bootload an
ATmega328 by
AndyTallack

Bitcoin Price
Ticker (almost)
from scratch
using Arduino
as ISP by
MiCavaleri

How to Burn
Arduino
Bootloader w/
Magnolia board
(Cost and Size
of Pack of Gum
KickStarter) by
cmorgan3

Advertisements

Comments
2 comments

Add Comment

Kminek says:

Jul 10, 2014. 3:36 AM REPLY


i have made the same thing some time ago to save space on proto boardbut with litte difference (I am using stock atmel chips). If u gonna use adc add two
caps (one ceramic 100n and 22u electrolitic) on supply to reduce spikes. Also 100n to aref (if not used) and l 10uH with 100n on avcc. For more info read
datasheet.

discostu956 says:
like this, cheers for posting. Just wondering about the oscillator etc, want mentioned in the instructions where to put it?

http://www.instructables.com/id/Build-an-Arduino/

Jul 9, 2014. 10:26 PM REPLY

You might also like