How to make an Arduino from scratch
Frugal Engineering is the best way forward for science.
If you’re interested in making some arduino’s from scratch , you’ve come to the right place.
You can see a video tutorial of this instructable : here
It will supplement any loopholes or doubts you may have.
Lets start with an introduction on what we’ll do in the next step.
Step 1: How well could it be…if I got an Arduino for free..
INTRODUCTION : Question what to make,how to make,but make you must …
After scrolling,searching,drooling over tons of Arduino tutorials..from making an led cube, to automating your home, giving life to a robot or making arduino powered drones… you, like me, must have felt that sudden urge as soon as you stumble upon an inspiring arduino tutorial,
“Gosh,Wish I had one of these” or better still “I want to make one of these, Right Now!” and as soon as that feeling hits your head, your eyes start scurrying the required parts list and you see that name :
ARDUINO : 25 Dollars and the cost of your project seems to skyrocket in many cases if other electronics are not as pricey( Yup, 25 dollars might be next to nothing for some, but yeah it is something!) and of course if the other parts are pricey,you need to burn a hole in your pocket anyway…Kachang!
And what’s more heartbreaking(Believe me, its true!) is if you already own an Arduino, and its already the heart of your super Awesome robot(or Whatever) project.It’s then when you start thinking – I don’t want to dismantle my project apart.I don’t want to invest my arduino in a project that i don’t know will work or trying to make it work and that’s when you decide ..well..yeah..I’ll definitely make this new project … but Later..not now…might as well bookmark it for now…WAIT! Stop ! No more will you have this for an excuse.We’ll be minting an arduino right here,right now,so grab the parts in step 2 of this instructable,sit tight,grab your coffee and lets get to it .
Step 2: Get these Quick!
You require these starting materials:
AtMega 328 IC (you can use any variant like 328 PU or 328 P-PU )
Arduino(using an Duemilanove here),
1x 16 Mhz crystal,
3x 100 ohm resistors
1x 10K resistor
2x 22pF capacitors
3x LED’s(A red ,yellow led and a green one)
1x 9v battery with connector snap,
1x usb cable,
1x 7805 Voltage Regulator
A computer or a laptop with arduino ide installed,
some free time and will to make things work
That’s it..Lets begin tinkering…
Step 3: Beginning the Assembly
Grab your breadboard.It should look like the one in the picture perforated with lot of holes.
Put the AtMega chip (one that looks like a centipede) right down the middle of the board,
but keeping it closer to any one of the ends.
Step 4: Setting up the Power Supply
Place the LM7805 voltage regular on the breadboard along with the ATMega 328 chip.
The pin placement of 7805 with the bulged side facing you is :Pin 1 – VCC, Pin 2 -Gnd, Pin 3 – Output.
Connect a black wire to pin 2 of the 7805 .Connect the other end of wire to the gnd rail on the breadboard.
Similarly connect a red wire to pin 3 of the 7805 whose other end will go to the vcc rail on the breadboard.
Connect a black wire to the ground rail which we’ll connect with the ground of our Arduino(later).
To Connect the vcc and gnd rails along both the ends of the breadboard,connect 2 wires
as shown in the last few figures.
Step 5: Providing power to the chip
Take a good look at the At-mega to Arduino pin mapping given .
We’re going to wire the circuit following it, so taking a look at it before prototyping will come in handy.
Particularly see the Vcc(+5V) and ground pin locations.
Connect red wires to pins 7 and 20 of the chip to 5V rail on breadboard.
Connect black wires to pins 8 and 22 of the chip to Gnd rail on breadboard.
Step 6: Making the clockwork..
Add a 22pF capacitor between the Ground and pin 9 on the Atmega328 IC.
Add another 22pF capacitor between pin 10 of Atmega328 IC and ground.
Finally add a 16 Mhz crystal between pins 9 and 10 on the Atmega328.
Add a 10k ohm resistor between the 5V and reset(pin1) of the 328 IC.
Your setup should now look similar to figure 4,5 of this step.
For more detail: How to make an Arduino from scratch
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w
This Post / Project can also be found using search terms:
- how ot make an programmable arduino from scratch
- make an arduino
- projects using arduino to scratch