Sei sulla pagina 1di 8

Home Sign Up!

Browse Community Submit


All

Art

Craft

Food

Games

Green

Home

Kids

Life

Music

Offbeat

Outdoors

Pets

Photo

Ride

Science

Tech

Make your own arduino serverino


by coolsajin on April 22, 2010

Table of Contents
Make your own arduino serverino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intro: Make your own arduino serverino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

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

Step 2: Making the Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 3: Assembling the Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 4: Programing the ATmega8 or(168) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 5: Connecting to the PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 6: Hello world! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

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

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

http://www.instructables.com/id/Make-your-own-arduino-serverino/

Intro: Make your own arduino serverino


arduino is the best open source embedded platfrom, the coding is so so damn simple and everyone can make amazing project with this gadget.
i looked for prices and product online i fould i can get one for 10 to 15 $
then i thought of making one...and i made it for 3 $...
that is how easy it is...so dont buy an arduino!! make one...
when i was making my arduino, i had to refer somany websites and tutorials to get it right! so i hav just compiled one that contain all the necessary files and instructions!

Step 1: Components
You need to get all these components before you start
ceramic disc capacitor 22pF (22 pico Farad) (quantity-2)
ceramic or polyester capacitor 100nF (100 nano Farad - or 0.1 micro
Farad) (quantity-4)
electrolytic capacitor 100F (100 micro Farad) (quantity-2)
non-polarized electrolytic
capacitor
10F (10 micro Farad)
diode 1N4004
diode 1N4148 (quantity-2)
2.1mm. DC power jack
ATMEGA8 (or ATMEGA168)
Tension Regulator 7805C
male pin header 2x3
female pin header 1x8 (quantity-2)
female pin header 1x6 (quantity-2)
right angle pin header 1x3
right angle pin header 1x2
leaded inductor 100H (100 micro Henry)
LED 3 mm. (quantity-4)
16 MHz crystal
Resistor 1kohm (1.0 kilo ohms) (quantity-5)
Resistor 4k7ohms (4.7 kilo ohms) (quantity-1)
Resistor 10kohms (10.0 kilo ohms) (quantity-5)
Switch Tactile 6x6 mm., 4 terminals
Transistor BC547
Transistor BC557
D-SUB CONNECTOR 9 PIN FEMALE RIGHT ANGLE PC
MOUNT
jumper for 0.1" header (quantity-2)
if you are planing to etch your own PCB then you will need your copper board, a laser printer and drill bits and bla bla bla..you can check out this

Step 2: Making the Board


you can downalod the PDF(Arduino_S3v3_R2_A4_4x2.pdf) for the tonner transfer from below. while you print dont forget to select "actual size option". for the single side
PCB option.
i have also attached the Eagle files for double side board!(release_arduino_rs232_v2)
once the board is etched drill the holes and you are ready to start.

http://www.instructables.com/id/Make-your-own-arduino-serverino/

Step 3: Assembling the Components


Now the easy stuff, all you have to do is look at the image below and start assembling the components.
all files are also in arduino_mycrobonics.zip

File Downloads

Arduino_Mycrobonics.zip (1 MB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'Arduino_Mycrobonics.zip']

http://www.instructables.com/id/Make-your-own-arduino-serverino/

Step 4: Programing the ATmega8 or(168)


both atmega 8 and 168 work well for the Arduino..but its better to use a 168..as there are some Verification errors are show in atmega 8.
And now connect you programmer...
connect ur MOSI , MISO, SCK ,RESET and GND as shown in the fig.
i have used a USBasp for programing if u want to make ur own USBasp visit here
if u are using MKII or any other programer just change the -c option in avrdude.
For ATMEGA8
Avrdude p m8 c usbasp -e
i have ziped the hex file download it
Unlock the bootloader
avrdude -p atmega8 c usbasp -U lock:w:0xff:m
(fails with avrdude: verification error, first mismatch at byte 00000 0xff != 03f)
Program the fuses
avrdude -p m8 c usbasp -U hfuse:w:0xca:m -U lfuse:w:0xdf:m
Burn the bootloader (TEST: try with -D disable auto erase) can find this in the .zip file or
avrdude -p m8 -c usbasp -U flash:w:ATmegaBOOT.hex
Lock the bootloader
avrdude -p m8 -c usbasp -U lock:w:0xcf:m
(fails with avrdude: verification error, first mismatch at byte 00000 0xcf != 00f)
For ATMEGA168
Avrdude p m8 c usbasp -e
Unlock the bootloader
avrdude -p atmega168 c usbasp -U lock:w:03f:m
Program the fuses
avrdude -p atmega168 c usbasp -U hfuse:w:0xdd:m -U lfuse:w:0xff:m -U efuse:w:000:m
Burn the bootloader
avrdude -p atmega168 c usbasp -U flash:w:ATmegaBOOT_168_ng.hex
Lock the bootloader
avrdude -p atmega168 c usbasp -U lock:w:00f:m
...now you are ready to go...
Just dont for get to put the jumper in JP0 in2-3 position...

File Downloads

avrboot.hex (2 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'avrboot.hex']

http://www.instructables.com/id/Make-your-own-arduino-serverino/

Step 5: Connecting to the PC


You have to first download the IDE from the Arduino.cc website.
connect your Arduino to a 5v DC power supply and the serial port to COM1 of ur pc or u can use a USB to serial converter.
u can see a red light blinking! it means you are good to go!!
you can check in device manager for the com number..if u are using a virtual COM(usb to serial).
then
go to boards>arduino NG or older w/ ATmega8...

Step 6: Hello world!


now to burn the first program to your arduino!
go to file>examples>stubs>hello world
click on the PLAY button to complie once the compile is complete press upload! to burn the program.
dont forget the jumper i have mentioned in step 4...if u get a sync error..either u missed the jumper or the circuit is wrong!!
once the upload is done! open the serial motor to check the output! Voila....arduino serverino...go to Arduino.cc for more fun stuff to do with Arduino!!
if u want to use the chip as a barebones arduino i have attached the pin maping on atmega8
all necessary files can be found in Arduino_Mycrobonics.zip !! hav fun...

http://www.instructables.com/id/Make-your-own-arduino-serverino/

File Downloads

Arduino_Mycrobonics.zip (1 MB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'Arduino_Mycrobonics.zip']

Related Instructables

Arduino playing
"Puff the Magic
Dragon" on a
piezo (video) by
earthshine

Baby's sound
and light flower
by ramkrishna

Discreet Data
Logger by
randofo

Storybug by
rwistort

http://www.instructables.com/id/Make-your-own-arduino-serverino/

The Traveling
Geocache! by
williamanos

Control
Fluorescent
Lights with a
Laser Pointer
and an Arduino
by rmd6502

Comments
14 comments Add Comment

jayeshshinai says:

Feb 24, 2011. 2:17 AM REPLY

hey saji...
how much did you spend in rupees while building the arduino?
and was it difficult to source all the parts?

am92189 says:

Nov 19, 2010. 4:46 PM REPLY

is this design the same with Arduino Duemilanove ?

coolsajin says:

Nov 21, 2010. 6:29 AM REPLY

Arduino Duemilanove uses a FTDI for serial and programing...u can get design for Arduino Duemilanove from
http://arduino.cc/en/Main/ArduinoBoardUno...its called arduino uno

shaadmahmud says:

Aug 11, 2010. 10:54 AM REPLY

here is how u can make an usbasp.. http://must-info.blogspot.com/

amando96 says:

Apr 23, 2010. 12:05 PM REPLY


hmm, the crystal caps aren't well placed, they should be close to the crystal, and shouldn't have anything between them(the resistor).

coolsajin says:

Apr 23, 2010. 3:28 PM REPLY

the crystal caps are on the other side(the same side as the crystal)! there is no resistor there!

amando96 says:

Apr 23, 2010. 4:11 PM REPLY

Ah, i thought they where the ones on the other side of the atmega!

BDubSon says:

Jun 3, 2010. 10:00 PM REPLY


I would say the xtal load caps are still too far away from the xtal and Atmel ground, also the decoupling cap for 5V and ground is too far away.
Also, ground running in to the Atmel shouldn't run "through" the same GND that the load caps return on, but rather both GND connections should
"star" away from the Atmel GND pin. I'm sure it works, and you did a GREAT job... however there is always room for improvement. These are
general rules to follow, when possible. BTW, how did you build it for $3 ? when all of those components bought separately would cost way more
than the $10-$15 price range of an eBay Arduino.

amando96 says:

Jun 4, 2010. 12:56 AM REPLY


The base kit, atmega + decoupling caps + button + resistors is almost 7, the db 9 plug is around 2 female header 1.5 PCB 5-10 then
there's voltage regulator, 5mm dc jack, larger capacitors, i could make it for 0$, i have everything here, if i search well, but if you bought it all
new it definitely isn't 3$.

nolan5683 says:

May 15, 2010. 5:06 PM REPLY

is this the right thing for the ceramic 0.1 micro farad capacitor?
www.allelectronics.com/make-a-store/item/RM-104S/0.1UF-50V-MULTILAYER-CERAMIC-CAPACITOR-SPECIAL/1.html

coolsajin says:

May 17, 2010. 11:00 AM REPLY

yup will do!!

raimo says:

May 5, 2010. 2:41 PM REPLY

gooooooooooood

Algag says:

Apr 28, 2010. 6:17 PM REPLY

do you happen to have instructions on how to use a usb port instead

coolsajin says:

May 2, 2010. 6:54 AM REPLY


its quite Easy, u just need to use a FTDI chip, it works like a onboard usb to serial converter! but usually these chips are SMD and lil difficult to solder!
click here to read how to make your own usb to serial converter for arduino
click here of arduino usb v2.0

http://www.instructables.com/id/Make-your-own-arduino-serverino/

http://www.instructables.com/id/Make-your-own-arduino-serverino/

Potrebbero piacerti anche