loading

In this mini Instructable you will learn how to connect the FT232RL chip to the ATMEGA328 microcontroller to upload sketches.

You can see an Instructable on this stand-alone microcontroller here.

Step 1: Parts List

1 x FT232RL chip (got mine here)

1 x ATMEGA328P-PU microcontroller (got mine here)

Wires

USB cable

0.1 uf capacitor

Step 2: Connections for Uploading Sketches

This instructable was made in a hurry and I think the connections in the image are wrong. Should be RX -> pin 3 and TX to pin 2.

FT232RL -> ATMEGA328

DTR via 0.1 uf capacitor > pin 1

RX -> pin 3

TX -> pin 2

VCC -> pin 7

GND -> pin 8

ATMEGA328

Pin 7 (+) -> pin 20 (+)

To upload sketches is the same as usual.

Make sure you select the right port.

If your ATMEGA328 is running at 8Mhz select “Tools → Board” and select “Atmega 328 on a breadboard (8MHz internal clock)”.

If your ATMEGA328 is running at 16Mhz select “Tools → Board” and select “Arduino Uno”.

Step 3: Tip

I have soldered the capacitor and the wires to my FT232RL chip so now it's very easy to use.

It is good practise to solder male or female header pins to pin 1, 2, 3 and to + and - so you can still upload and change the program on the microcontroller without having to remove the chip.

Step 4: Final Note

This mini Instructable was a response to a comment made in another Instructable named “$2 Arduino. The ATMEGA328 as a stand-alone. Easy, cheap and very small. A complete guide. “

Did you like this Instructable, click the Favorite button and subscribe.

See you in the next Instructable.

Thanks,

Tom Heylen

<p><a href="https://www.instructables.com/member/feddar" rel="nofollow">feddar</a><a href="https://www.arduino.cc/en/uploads/Tutorial/breadboard-1-6-x.zip" rel="nofollow">1-6-x.zip</a>, <a href="https://www.arduino.cc/en/uploads/Tutorial/Breadboard1-5-x.zip" rel="nofollow">1-5-x.zip</a> or <a href="https://www.arduino.cc/en/uploads/Tutorial/Breadboard1-0-x.zip" rel="nofollow">1-0-x.zip</a>). I tried all 3 and none work.</p><p>I have managed to bootload using your other instructible, but that's it. This is what I get when I try to upload:</p><p>Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB<br><br>Sketch uses 928 bytes (3%) of program storage space. Maximum is 30,720 bytes.<br>Global variables use 9 bytes of dynamic memory.<br>/Users/fed/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude -C/Users/fed/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.usbserial-A50285BI -b57600 -D -Uflash:w:/var/folders/lb/5zdjdm6153jcx_5nq32tt7gw0000gn/T/buildd5ae82e677127ac286f51de66781d807.tmp/Blink.ino.hex:i <br><br>avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25<br>Copyright (c) 2000-2005 Brian Dean, <a href="http://www.bdmicro.com/" rel="nofollow">http://www.bdmicro.com/</a><br>Copyright (c) 2007-2009 Joerg Wunsch<br><br>System wide configuration file is &quot;/Users/fed/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/etc/avrdude.conf&quot;<br>User configuration file is &quot;/Users/fed/.avrduderc&quot;<br>User configuration file does not exist or is not a regular file, skipping<br><br>Using Port : /dev/cu.usbserial-A50285BI<br>Using Programmer : arduino<br>Overriding Baud Rate : 57600<br>AVR Part : ATmega328P<br>Chip Erase delay : 9000 us<br>PAGEL : PD7<br>BS2 : PC2<br>RESET disposition : dedicated<br>RETRY pulse : SCK<br>serial program mode : yes<br>parallel program mode : yes<br>Timeout : 200<br>StabDelay : 100<br>CmdexeDelay : 25<br>SyncLoops : 32<br>ByteDelay : 0<br>PollIndex : 3<br>PollValue : 0x53<br>Memory Detail :<br><br>Block Poll Page Polled<br>Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack<br>----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br>eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff<br>flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff<br>lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00<br>hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00<br>efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00<br>lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00<br>calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00<br>signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00<br><br>Programmer Type : Arduino<br>Description : Arduino<br>Hardware Version: 2<br>Firmware Version: 1.16<br>Vtarget : 0.0 V<br>Varef : 0.0 V<br>Oscillator : Off<br>SCK period : 0.1 us<br><br>avrdude: AVR device initialized and ready to accept instructions<br><br>Reading | ################################################## | 100% 0.00s<br><br>avrdude: Device signature = 0x1e950f<br>avrdude: reading input file &quot;/var/folders/lb/5zdjdm6153jcx_5nq32tt7gw0000gn/T/buildd5ae82e677127ac286f51de66781d807.tmp/Blink.ino.hex&quot;<br>avrdude: writing flash (928 bytes):<br><br>Writing | ###########################################avrdude: stk500_recv(): programmer is not responding<br>Problem uploading to board. See <a href="http://www.arduino.cc/en/Guide/Troubleshooting#upload" rel="nofollow">http://www.arduino.cc/en/Guide/Troubleshooting#upload</a> for suggestions.</p>
<p>What are we running on the computer on the other side of the USB connection, the arduino isp?</p>
<p>I used the wrong library and struggled few hours ( <a href="https://www.arduino.cc/en/uploads/Tutorial/breadboard-1-6-x.zip" rel="nofollow">1-6-x.zip</a>, <a href="https://www.arduino.cc/en/uploads/Tutorial/Breadboard1-5-x.zip" rel="nofollow">1-5-x.zip</a> or <a href="https://www.arduino.cc/en/uploads/Tutorial/Breadboard1-0-x.zip" rel="nofollow">1-0-x.zip</a>). Arduino IDE window caption display the current library as &quot;1.0.5&quot;, then I select 1-0-x.zip, and follow the steps to burn bootloader, then upload sketch. Now all is working ok. Thank you.</p>
<p>thank you sooooo much </p>
<p>Awesome, especially male or female header pins to pin 1, 2, 3, vcc, gnd. Thank you.</p>
Nice !!

About This Instructable

6,309views

38favorites

License:

Bio: I like to make stuff in my free time. Especially programming, cooking, electronics etc. Lately I'm making tutorials about stuff I made the last ... More »
More by tomheylen:Long range, 1.8km,  Arduino to Arduino wireless communication with the HC-12. How to connect a FT232RL programmer to the Arduino ATMEGA328 for uploading sketches $2 Arduino. The ATMEGA328 as a stand-alone. Easy, cheap and very small. A complete guide. 
Add instructable to: