Hi Readers,
Welcome to the first Arduino related post in this blog. This post will discuss how one can set up a simple and low cost Arduino on a breadboard. And once again these are not my own idea but a compilation of resources that can be found in the internet scattered in different web sites/blogs. I hope this post will help those who want to have their own Arduino for having fun with electronics but cannot afford original Arduino.
Requirements:
There is not much difference exist between Atmega 328p-PU and Atmega 328-PU except their power consumption (but 328p-PU are costlier when compared to 328P).Atmega 328p-PU is the AVR microcontroller that you would find in an original Arduino UNO/Duemilanove.Apart from this they are identical.
The CP2102 is a low cost USB to serial converter IC , and you can buy a breakout board containing CP2102 and a USB port from ebay or any other sites.(Indian readers,I found it from Probots for about Rs.180). I will consider this piece of hardware as my best investment in hobby electronics.Along with the arduino IDE's serial port monitor it gives me miracles. Old arduino used FTDI chips which are very costly.
16 MHz crystal,Breadboard,capacitors,resistor,wire,etc.. can be bought from any electronic component suppliers / online.
Since we are using Atmega 328 as the AVR our arduino got full compatibility of a UNO/Duemilanove.
Step 1 : Burn Arduino Opti Boot loader into Atmega 328
The Atmega 328 you bought from the shop/online may not contain the Arduino bootloader. To test this skip to step 2.
If the LED is not blinking follow the tutorial in 3guy1laser.com to burn the bootloader into the Atmega328.And this is where you would require an Arduino (own/borrowed).
Step 2 : Assemble your own Arduino on breadboard
Follow the stepwise and detailed tutorial on Shrimping It. Check out the blink tutorial.
Hurray!!! you got yourself a handmade Arduino.Now have fun with it.
Remarks:
That's all it folks I will come up with a cool experiment next time with the Arduino and our favourite python,till then good bye and keep playing around with the Arduino you got. :) :) :)
Welcome to the first Arduino related post in this blog. This post will discuss how one can set up a simple and low cost Arduino on a breadboard. And once again these are not my own idea but a compilation of resources that can be found in the internet scattered in different web sites/blogs. I hope this post will help those who want to have their own Arduino for having fun with electronics but cannot afford original Arduino.
Requirements:
- Atmega 328p-PU(pico power - but costly)/Atmega 328-PU in PDIP
- CP2102 breakout board (buy one with TX,RX,5v,3.3v,DTR pins available)
- 16MHz Crystal
- Breadboard
- 0.01uf capacitors
- 10K ohm resistor
- Push button switch(optional)
- Interconnecting Wires
- An Arduino UNO/Duemilanove (which can be borrowed from a friend for a use of about 10 minutes)
- And a computer for programming your Arduino.
There is not much difference exist between Atmega 328p-PU and Atmega 328-PU except their power consumption (but 328p-PU are costlier when compared to 328P).Atmega 328p-PU is the AVR microcontroller that you would find in an original Arduino UNO/Duemilanove.Apart from this they are identical.
The CP2102 is a low cost USB to serial converter IC , and you can buy a breakout board containing CP2102 and a USB port from ebay or any other sites.(Indian readers,I found it from Probots for about Rs.180). I will consider this piece of hardware as my best investment in hobby electronics.Along with the arduino IDE's serial port monitor it gives me miracles. Old arduino used FTDI chips which are very costly.
16 MHz crystal,Breadboard,capacitors,resistor,wire,etc.. can be bought from any electronic component suppliers / online.
Since we are using Atmega 328 as the AVR our arduino got full compatibility of a UNO/Duemilanove.
Step 1 : Burn Arduino Opti Boot loader into Atmega 328
The Atmega 328 you bought from the shop/online may not contain the Arduino bootloader. To test this skip to step 2.
If the LED is not blinking follow the tutorial in 3guy1laser.com to burn the bootloader into the Atmega328.And this is where you would require an Arduino (own/borrowed).
Step 2 : Assemble your own Arduino on breadboard
Follow the stepwise and detailed tutorial on Shrimping It. Check out the blink tutorial.
Step 3 : Test other programs on your Arduino (Shrimpduino)
The Pin mappings of Arduino and Atmega 328 are not same,but you can use the following diagram to figure it out.
My Shrimpduino on Bread board |
Remarks:
- Once you have a bootloaded Atmega 328 you don't need a Arduino to bootload any other Atmega 328 for making an arduino.The Circuit setup you gotafter step 2 is a fully functional Arduino
- The total cost of the whole setup is below 7$ (over estimated, you can have this under 5$).
- The CP2102 you have can be used to read serial data from modules like GPS reciver,GSM module etc... when used along with Arduino IDEs inbuilt serial monitor(you will understand the effectiveness of this if you are a hobbyist with medium experience).So it's not a waste at all.
- The Arduino once programmed is a standalone hardware,so you can make projects with the Arduino powered Atmega as its core.
That's all it folks I will come up with a cool experiment next time with the Arduino and our favourite python,till then good bye and keep playing around with the Arduino you got. :) :) :)