User Tools

Site Tools


arduino:arduino_without_a_bootloader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino:arduino_without_a_bootloader [2021/04/22 00:53] – [Procedures] mithatarduino:arduino_without_a_bootloader [2022/05/30 05:46] (current) – [Case 2: Pro Mini 5V/16MHz with USBtinyISP] mithat
Line 59: Line 59:
   - Unplug the USBtinyISP from the computer if it's connected and power down the Uno/Nano if it's powered up.   - Unplug the USBtinyISP from the computer if it's connected and power down the Uno/Nano if it's powered up.
   - Connect USBtinyISP's ISP interface to the Uno/Nano's ICSP header.   - Connect USBtinyISP's ISP interface to the Uno/Nano's ICSP header.
-    * The ICSP header is the 3x2 header on the end of the board opposite the USB jack. Connect the USBtinyISP's IDC cable to that header, but make sure it's the right way around. The easiest way to confirm the orientation is to connect it one way, and then test that the two boards' GNDs are connected with a multimeter. If not, flip the plug around and test again.+    * The ICSP header is the 3x2 header on the end of the board opposite the USB jack. Connect the USBtinyISP's IDC cable to that header, but make sure it's the right way around. The easiest way to confirm the orientation is with all power off to connect the cable one way, and then test that the two boards' GNDs are connected with a multimeter. If not, flip the plug around and test again.
   - Plug the USBtinyISP into your computer. This will power the Uno/Nano (and everything else) from the USBtinyISP's 5V VCC.   - Plug the USBtinyISP into your computer. This will power the Uno/Nano (and everything else) from the USBtinyISP's 5V VCC.
   - Use the Arduino IDE to //Sketch > Upload Using Programmer//.   - Use the Arduino IDE to //Sketch > Upload Using Programmer//.
Line 66: Line 66:
   - To re-program, power down the Uno/Nano and go back to **step 3**.   - To re-program, power down the Uno/Nano and go back to **step 3**.
  
-caveat about power is in order. The 5V VCC supplied from the USBtinyISP to the Arduino is good for about 100mA. This is enough for many situations, but if you have peripherals or other things sucking down a lot of power, it may not be. In this case, be prepared to do a fair amount of hoop-jumping to disconnect the power sucking devices during programming or power the Arduino from a source other than the USBtinyISP during programming.+caution about power is in order. The 5V VCC supplied from the USBtinyISP to the Arduino is good for about 100mA. This is enough for many situations, but if you have peripherals or other things sucking a lot of power, it may not be. In this case, be prepared to do a fair amount of hoop-jumping to disconnect the power sucking devices during programming or power the Arduino from a source other than the USBtinyISP during programming.
  
 ==== Case 2: Pro Mini 5V/16MHz with USBtinyISP ==== ==== Case 2: Pro Mini 5V/16MHz with USBtinyISP ====
- +<WRAP center round info 60%> 
-<WRAP center round important 60%> +Tested.
-I have not tested this case yet.+
 </WRAP> </WRAP>
  
Line 112: Line 111:
  
 <WRAP center round important 80%> <WRAP center round important 80%>
-**Be careful!**  +**Make sure your USBtinyISP level shifts the I/O before attempting this method.** 
- +
-Version 1 of the Adafruit USBtinyISP has a jumper that disconnects the internal VCC from the programming headers, but it does //not// level-shift the I/O. +
- +
-All the thrid-party USBtinyISP clones I've seen have the VCC jumper as well as the needed circuitry to level shift the I/O. But it's entirely likely that there are some old or bargain-basement versions that don't. +
  
-Make sure your USBtinyISP level shifts the I/O before attempting this approach.+Version 1 of the Adafruit USBtinyISP has a jumper that disconnects the internal VCC from the programming headers, but it does //not// level-shift the I/O. All the thrid-party USBtinyISP clones I've encountered have the VCC jumper as well as the needed circuitry to level shift the I/O. But it's entirely likely that there are some that don't.
 </WRAP> </WRAP>
  
arduino/arduino_without_a_bootloader.1619052814.txt.gz · Last modified: 2021/04/22 00:53 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki