Need more Arduino board? Do not spend more money for another one. Why not try to build your own DIY Arduino board? It is easy and simple.
DIY Arduino Step 1
Get an Atmega328\u2013PU or Atmega328P-PU (with bootloader inside).
A brief introduction on the Atmega328 chip:
Make Your Arduino Step 2
Connect the circuit as below:
arduino breadboard schematic
Download the eagle schematic file
In this post, I will talk about uploading sketches using FTDI programming port. In the next post, I will talk more about uploading sketches and burning bootloader using the ICSP programming port. Get one FTDI programmer here.
Build Your Arduino Step 3
Using FTDI programmer:
Now I will address one of the issues of making your own Arduino. On the Uno boards, there\u2019s an IC which is responsible as a USB to serial converter and it makes it possible to program the Arduino and also communicate with it from the computer.
The problem here is the IC is an SMD (Surface Mounted Device). The R3 uses an ATmega 16U2 while the older revisions uses the 8U2. So, we need an FTDI programmer for the purpose of uploading the code/sketch into the chip.
When you first plug in your FTDI programmer into your laptop, you have to install the driver file. Get the driver file here.
Once installed, just connect the FTDI programmer to the FTDI programming port of DIY Arduino accordingly.
If you don\u2019t have the extra 16 MHz crystal and 18-22 picofarad capacitors used in the above examples, you can configure the ATmega328 to use its internal 8 MHz RC oscillator as a clock source instead. You don\u2019t really need the 10K pullup resistor on the reset pin either, so we remove it to get a truly minimal configuration.
You\u2019ll need to install support for an additional hardware configuration:
Once you\u2019ve done this, you can burn the bootloader and upload programs onto your ATmega328 as described above. Be sure to select \u201cATmega328 on a breadboard (8 MHz internal clock)\u201d when burning the bootloader.
If you select the wrong item and configure the microcontroller to use an external clock, it won\u2019t work unless you connect one.
Finally, you have success in making your own DIY Arduino, meaning that you can upload arduino coding into your chip!
For enquiries please Whatsapp 0125374838