loading

Hello everybody..

please support & share our mission;igg.me/at/smartplants

.

I have recently purchased an Arduino Nano 3.0 Clone which came without a bootloader. I am sure there are many other people who are in the same situation as me, and may have freaked out a little bit at first ! Don't worry, in this instructable I will show you how to easily install a bootloader to your new clone.

.

let's see how it's done..>

ATTENTION - some clones are different. they don't have an ftdi chip, which may cause your computer to not see the arduino once plugged in with the usb. if this is the case, please follow these steps; https://www.instructables.com/id/How-To-Burn-a-Boot... thanks to author Gegec for his help on noticing the problem and solving it as well :)

Step 1: Get a Clone

It is very easy to find a clone of any board on the internet. Or you can at worst make yourself one...

.

They are extremely cheap, I have seen pinless nano boards as low as $5 online. You just have to do some work on your end, which is a very fair give and take if you ask me.

.

I don't want to advertise any names here, if you just search the board that you want with the word clone next to it, you will find some. Mine is called Funduino Nano, which is an open source company apparently just making amazing products at real fair prices..

.

Look how small an arduino nano is, it's the size of my pinky finger. This will help me tremendously in my new projects, huge improvements on size!

Step 2: Test It First !

Plug it to the computer with the USB cable.

.

Make sure it turns on, and yes it did.! So far we are safe.

.

Now try to upload the blink sketch to it using the Arduino software on your computer. (file>examples>basics>blink)

.

You will most likely get the error in the second picture. This has nothing to do with the code being right/wrong. It just simply means that your computer and the board aren't communicating correctly, in our case the lack of the bootloader prevents us from doing so.

.

If your clone did work with the sketch upload, then even better.! you found one that is pre-installed. just start using it...

If you get the error message, keep on reading..>

Step 3: Simple Few Steps

Now you need to find a working arduino board, doesn't matter if it is a nano or not, I have used my "real" uno r3 and worked perfectly. If you don't already have one, try borrowing it from a friend.

.

If you have any grab your female - male breadboard jumpers. These will make the process even faster and easier. BUT I didn't have any so, instead of waiting 2 weeks for them to arrive online as well, I had to take some extreme measures!

.

First we need to locate and get familiar with the ICSP pins. On mine just one of them was marked with a number, top right as 1. Here is what they look like in the schematics. So right under 1 had to be 2 and next to one was 3 and so on...

.

Now that you are ready lets begin - do the following steps in order;

STEP 1 - Upload ISP

-Connect the working arduino to your computer.

- Open the arduino software on the computer

- Go to Tools>Serial Port>COM (and make sure that the correct COM port is chosen - ask me if you don't what this means)

- Go to Tools>Board>Arduino Uno (in my case uno, this is the arduino that is already working not yet the other one)

- Go to File>Examples>Arduino ISP (a new sketch screen will open with the ISP code written in it)

- Verify then Upload (your board will start blinking for a bit, it means it is loading, wait until done uploading)

- Unplug the arduino. Now it has the ISP code in it, all we have left to do is connect them together and run a few commands again...

STEP 2 - Connect 2 arduinos together

- Now connect the two arduinos together, to do this without female-male jumper cables was time consuming, you have to be VERY CAREFUL and take your time bending the wires, other wise you may short your circuits. ask me first ! In the second picture you can see that first I put the ICSP pins through a piece of paper and then carefully wrapped around them the corresponding wires. Make sure they grab on very tightly, use a small flat head screw driver to bend them. Take your time, don't be rough.

- Connect them this way;

pin 1 on clone to D12 on working arduino

pin 2 on clone to 5V on working arduino

pin 3 on clone to D13 on working arduino

pin 4 on clone to D11 on working arduino

pin 5 on clone to D10 on working arduino

pin 6 on clone to GND on working arduino

STEP 3 - Burn Bootloader

- Keeping all the wires intact and unmoved in step 2, connect the working arduino back to the computer with the USB

- Go to Tools>Serial Port>COM (and make sure again that the correct COM port is chosen - ask me if you don't what this means)

- Go to Tools>Board>Arduino Nano w/Atmega 328 (this time we choose the non working arduino, in my case nano atmega 328)

- Go to Tools>Programmer>Arduino as ISP

- Go to Tools>Burn Bootloader (this is it, after the LEDs stop flashing your board is ready to use !!!)

.

Do all of the above steps in ORDER !!! no skipping steps

Always make sure that the correct COMM port and correct board are chosen before uploading a sketch to avoid errors...

if you want to learn more or get a second opinion you can check this post (it's amazing) or just search on google " how to install a bootloader to arduino clone " and you will see many articles on this very topic.

.

Remember to check out my other posts and subscribe to stay in the loop..!

love & peace

akin,

<p>Nano Compatible boards are now around USD $2.5( <a href="http://s.click.aliexpress.com/e/UfQ7E62 " rel="nofollow">http://s.click.aliexpress.com/e/UfQ7E62 </a>) and have no more the &quot;problematic counterfeit&quot; FTDI chip. Now are shipped with CH340G</p>
<p>My laptop is not showing serial port what to do</p>
<p>did you install the driver correct.? use a different USB cable, a data transfer cable. Or you may have a faulty board :/</p>
<p>i tried it but i get this error &quot;</p><p>avrdude: Yikes! Invalid device signature.</p><p> Double check connections and try again, or use -F to override</p><p> this check.</p><p>Error burning bootloader&quot;</p><p>i have checked my wiring countless times!!!</p><p>Help me</p>
<p>Belated reply to this post, I too had this problem. </p><p>It turned out in my case that my Nano clone ATmega168 had a differing signature to the one in the avrdude.conf file. (0x1e 0x94 0x06 when it should have been 0x1e 0x94 0x0b a subtle typo). I edited the conf file to suit , retried and it uploaded ok. </p><p>However , I suspect any other ATMega168 boards with the correct signature (assuming original conf is correct) will now fail until I reset the file. </p><p>FYI use file-&gt;preferences-&gt;settings tab to enable verbose mode when compiling or uploading sketches etc for more detailed messages.</p>
<p>hi thanks for your help :)</p><p>But where is the avrdude.conf file ?</p><p>tks</p>
<p>I got the error too, but it worked anyways, try connecting it now!</p>
i've never seen this error before, might be a faulty board.. i suggest upgrading to nodemcu board, $5 onboard wifi; <a href="http://r.ebay.com/eNb51K" rel="nofollow">http://r.ebay.com/eNb51K</a><br> <br>
<p>hi</p><p>i keep getting this errror</p><p>Arduino: 1.6.12 (Windows 7), Board: &quot;Arduino/Genuino Uno&quot;</p><p>avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)</p><p>Error while burning bootloader.</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>Hey I tried to do as you said but mine error says:</p><p>avrdude: verification error; content mismatch</p><p>Error while burning bootloader.</p><p>please help</p>
<p>sorry not familiar with this error, suggest doing a google research :/</p>
<p>Many thanks Akin. Your trick works very well. My arduino nano had <br>stopped working after an incorrect manipulation of an array size. After I have fixed the bootloader it works fine. Thank you again.</p>
<p>great news.!! and yes they do get confused sometimes and need a reboot :)</p>
<p>Thank you so much, Akin. I had been struggling with this problem for a long time (several years, in fact). Your tutorial helped me get the clone to work and I can continue to use this instead of the Uno (it's a lot cheaper and smaller). Once again, many thanks!</p>
<p>thank you very much, glad to hear it helped out.!!</p>
<p>i recive this error while burning the boot loader to nano 3.0 i did every thing right i need help.</p>
<p>do you check the correct COM port and Board from Tools menu.? this error usually suggests one of these options is selected wrong.</p>
<p>many thanks Akin, I thought I had Bought broken arduino nano :D</p>
<p>i should count how many times people say that :)<br>honestly its very hard to break arduinos, and if you think you did break it, just follow these steps again. most likely it will come back to life, unless you really did burn smtg electrical. thank you for the interest. please check out my main project &amp; share; <a href="https://igg.me/at/smartplants/" rel="nofollow">https://igg.me/at/smartplants/</a><br></p>
<p>I did it, thanks.</p>
<p>I ran into a problem, getting error: avrdude: Error: Could not find USBtiny device (0x2341/0x49)</p><p><br>The problem was: : &quot;ArduinoISP&quot; versus &quot;Arduino as ISP&quot; for the programmer choice.</p>
<p>thank you for sharing the solution!!</p>
<p>Hey,</p><p>I tried this tutorial multiple timeson both windows and mac using an arduino uno and a custom PCB with an AtMega 328p microcontroller on it. I'm not able to burn the bootloader no matter what. I keep getting avrdude: stk500_getsync(): not in sync: resp=0x00 Any advice would be greatly apreciated</p>
<p>do you have the right port chosen.? sounds like there is no communication with the arduino and usb COM port on your computer..</p>
Thank you! It made my nano clones usable.
<p>Thanks, this helped a lot with my nano clones.</p>
<p>great to hear that, hope you get some cool projects done :)</p>
<p>@akin please update the tutorial with this image:<br></p>
<p>done, thank you :)</p>
<p>massive thank you, got my nano up and running in minutes</p>
<p>great news.!! thank you for checking it out</p>
<p>I have been beating my head against the proverbial wall for a week trying to get this dumb arduino nano to work! most things I've found until now have just said to install a driver for the chinese knockoff but none of that worked. other places said to hit reset right before you hit download, but that didnt work either. Turned out it just didnt have a boot loader pre-installed! duh! so THANK YOU! THIS WAS A FANTASTIC TUTORIAL! solved all my issues... well.. at least the ones I was having with this board.. lol</p>
<p>:) no head beating anymore.. glad it worked out for you.!!</p>
<p>wow thank you! This worked for my 3 Arduinos with an CH340G Chip. I followed also an Tutorial that use only the PWM Ports and the Reset Port, but that didn't worked for me. The ISCP way worked like a sharm!</p>
<p>nice, great to hear it worked out.!!</p>
<p>Thank you so much! Mine worked but stopped working for some reason, this fixed it!</p>
<p>Ok, I've been fighting with this thing more than I wanted to. I tried downloading drivers for all my systems (El Cap, Win10, Debian) - none of them seemed to work. The board just wouldn't get recognized. Then I found this article - so I tried to burn the bootloader, with success! Though when it came to test it again through the USB port, the serial wouldn't show up. </p><p>TURNS OUT - the USB to mini USB cable I've been using is not good enough! I had this (working) cable that I used to charge a bunch of my gadgets, but aparently it's not good enough for the Arduino. So by switching to my (expensive) GoPro USB cable, lo and behold, it started working!</p><p>I got 3 nanos from China, but after I found out the cable was the problem, I tried all of them and they all had bootloaders and everything was working out of the box. I didn't even need to install a driver on my linux machine (Pine64), was working as is.</p><p>If you're having issues like me - just get a better cable!!</p>
<p>yes very important issue.. you cable is not &quot;bad&quot; it just designed for charging.</p><p>.</p><p>there are two types of usb cables. ones just to charge devices and others that can charge &amp; transfer data. if you want to buy online, you have to search for &quot;usb data cable&quot; and it will work :)</p>
<p>Thank you! It worked for me! <br>One little tip: It is not necesary to use the ICSP pins on the bricked Arduino! <br>You can juts connect it directly: <br>working arduino pin 13 to pin 13 of bricked arduino<br>working arduino pin 12 to pin 12 of bricked arduino<br>working arduino pin 11 to pin 11 of bricked arduino<br>working arduino pin 10 to pin RST of bricked arduino <br>GND to GND, and VCC to VCC</p>
<p>nice to hear that it worked. great tip about the ICSP pins :).</p>
<p>Really work, but in the third step, I selected the arduino working, not the nano. </p>
<p>Everything works... except, when I connnect the 2 arduinos together and plug the working one in, the lights on it stop and im unable to select the port. It is basically like I connected it directly with the USB on the nano (unworking)</p>
<p>sounds like there is a shorting cable. check wiring and be careful. does it work on its own but once plugged in it turns off.? either wiring is wrong and its shorting out somewhere or you may have a faulty board. i've had this happen to me before as well</p>
<p>I saved two frozen up nano clones due to this. in the future i will burn the bootloader before i use the clones i purchase from the eastward junkyards, thanks.</p>
<p>very nice, yea its a good idea to do that :)</p>
<p>I first thought it was the bootloader...I followed your steps but with no results.</p><p>The nano doesn't get displayed on the computer...all it does is flashing the led.(shorter, unlike in the blink sketch).</p><p>Could you help me?</p>
Sorry, nearly 5 min later I solved the problem by myself. On my clone, there isn't an ftdi chip, there's a clone to. Its an CH340G. I just needed to install its driver. Now its working. Anyway, thanks for doing this instruction, now I burned the bootloader twice ;-)
<p>i actually have the same issue with a few of my clones. never learned how to do it, could you simply share how to install the driver if it's not an ftdi chip. nice work !!</p>
Here's the Link : http://www.wch.cn/download/CH341SER_ZIP.html<br>Just click download, unzip the file, open the setup file, click install, wait for the notification and there u go! The computer will now see the nano, and it gets a COM port!<br>Of course this only works for ch340/1 chips, but it works! I've already tried to install it on 3 computers, it always worked! (Windows 7)
<p>Ahhh that you so much for this fix!! I thought my Nano was going to be useless with my mac!</p>

About This Instructable

184,151views

171favorites

License:

Bio: Please support & share our mission; http://igg.me/at/smartplants . the Plant Doctor is a non-profit, open source online research laboratory specializing in electronics+plants. Our vision is ... More »
More by Akin Yildiz:Grow Cannabis the Smart Way ROTLD Inspired Sign With App Magnetic Pumpkin Pendant 
Add instructable to: