If the port has TTL levels - it would not work also. Searching in the Internet I found the following circuit. Copyrights : Olimex. It is very simple and I hoped that it will be reliable. I decided to embed the whole programmer inside the housing of the RS connector. I cut a small piece of the veroboard. I shaped it by sanding. For the circle cuttings I have used a round file. The process of the manufacturing can be followed on the series of the pictures.
How to connect the parts can be seen there also. After assembling and inserting the board inside the RS housing, i filled the whole housing with hot glue to fix the parts and the cable and to prevent some short circuit caused by binding of some part pins. To connect the ISP header connector to the other side of the flat cable I used a very small part of the veroboard. My connector was 6-pin, but also pin connector could be soldered.
The pin correspondence can be seen on the picture. It is now time to test it! I have used the "Ponyprog" software. It can be downloaded here. I decided to try the programmer on some more simple AVR chip, instead on ATmega, because if a problem appears it will difficult to find what the source is - or the microcontroller, or the programmer.
For the test I have used ATmega To program it I have used a breadbord with supply board. In opposite to the USB AVR programmers, which can provide the power supply for the programmed chip, this programmer requires that the chip is supplied by an external power supply.
Even more After assembling of the breadbord and supplying the chip is time to start the test. The programmer is inserted in the RS port. First the connection ports and the type of the programmer must be defined. Now we can try to communicate with the AVR chip. Let's read the device We can read also the fuses. It works! Question 1 year ago. Answer 1 year ago. Thanks allot for this helpful project. I just built one now.
But I am concerned with the power supply. Can I use a power bank of 5v 2. Skip to Main Content. Home Knowledge More. Expand search. Search Search. Rate This Article :. How to program an AVR Microcontroller? Information Title. Article URL. URL Name. Legal Privacy Policy Cookies Microchip.
Make sure the key way on your programmer matches the orientation in the picture. The important ones for Arduino are these. This means that the device will start from the beginning of code space instead of saving the bootloader. SUT fuses are set to slowest startup time. Lock bits protect the code from being written or read.
Leave as default unless you want to stop your code from being read. The Reset Vector should be set to Application so that code will run from the start of memory.
0コメント