arduino:nano
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior | ||
arduino:nano [2018/08/31 16:24] – Édson Kuzniewski | arduino:nano [2022/05/25 16:24] (atual) – edição externa 127.0.0.1 | ||
---|---|---|---|
Linha 3: | Linha 3: | ||
===== HOW TO BURN A BOOTLOADER TO CLONE ARDUINO NANO 3.0 ===== | ===== HOW TO BURN A BOOTLOADER TO CLONE ARDUINO NANO 3.0 ===== | ||
[[https:// | [[https:// | ||
- | [[https:// | + | [[https:// |
+ | [[https:// | ||
{{ : | {{ : | ||
Linha 28: | Linha 29: | ||
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! | 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> | ||
+ | \\ | ||
+ | \\ | ||
+ | You will most likely get the error in the second picture. This has nothing to do with the code being right/ | ||
+ | \\ | ||
+ | \\ | ||
+ | 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' | ||
+ | \\ | ||
+ | \\ | ||
+ | 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> | ||
+ | |||
+ | - Go to Tools> | ||
+ | |||
+ | - Go to File> | ||
+ | |||
+ | - 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> | ||
+ | |||
+ | - Go to Tools> | ||
+ | |||
+ | - Go to Tools> | ||
+ | |||
+ | - Go to Tools> | ||
+ | \\ | ||
+ | \\ | ||
+ | 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. |
arduino/nano.1535743454.txt.gz · Última modificação: 2022/05/25 16:24 (edição externa)