weatherbox:bumblebee:bootloading_troubleshoot

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
weatherbox:bumblebee:bootloading_troubleshoot [2022/02/08 05:37]
jgrous
weatherbox:bumblebee:bootloading_troubleshoot [2022/03/08 04:29] (current)
jgrous
Line 1: Line 1:
 +
 +**=== Updated Bootloading Procedure (February 7, 2022):===**
 +  * links to tutorials: ​
 +  * https://​docs.arduino.cc/​built-in-examples/​arduino-isp/​ArduinoISP
 +  * https://​docs.arduino.cc/​built-in-examples/​arduino-isp/​ArduinoToBreadboard
 +  * Copy the schematic below but instead of using two Arduino Boards use one Arduino Board with ATMEGA 328P microcontroller as the programmer and the PCB as the target. On the PCB, pins MOSI, MISO and SCK are the same pins as digital pin 11, 12 and 13, respectively. ​
 +  * {{:​weatherbox:​bumblebee:​programmer_to_target_2022-02-07_190812.png?​400|}}
 +  * Linked here is the pin-out for the PCB.    ​
 +  * {{:​weatherbox:​bumblebee:​pcb_pin-out_2022-02-07_184917.png?​400|}}
 +  * Once finished wiring the Arduino and PCB, Connect the Arduino to the computer and open Arduino IDE
 +  * Open Arduino ISP under: File -> Examples -> 11.ArduinoISP -> ArduinoISP
 +  * Tools should have the following configuration (Connect to port with (Arduino/​Genuino Uno))
 +{{:​weatherbox:​bumblebee:​screenshot_2022-02-07_184917.png?​400|}}
 +  * Upload code to Arduino Uno:
 +  * Once completed, burn bootloader under tools
 +  * Once bootload is done with no errors move onto uploading code using the FTDI
 +  * Now, take out the microcontroller from the Arduino and connect the Arduino to the PCB as described below.
 +  * Also, connect the XBEE to the PCB shown below
 +{{:​weatherbox:​bumblebee:​screen_shot_2022-02-07_at_19.41.53.png?​400|}}
 +  * There should be five wires connected the Arduino to the PCB.  On the PCB, connect pins RX, TX , RESET, VCC, GND to TX, RX, RESET, 5V, GND to the Arduino, respectively. ​ This is different from the Arduino tutorial link as TX and RX must be swapped.
 +  * Open Arduino ISP and go to file -> Examples -> Basics -> Fade and upload the code.  Check and make sure the LED on the PCB is fading in and out.  You can also try and upload your relay code to verify everything is working properly.
 +  * Tools should have the following configuration ​
 +{{:​weatherbox:​bumblebee:​screenshot_2022-02-07_184917.png?​400|}}
 +
 +
 +
  
 **=== Troubleshoot Bootloading & FTDI Programming For: ===** **=== Troubleshoot Bootloading & FTDI Programming For: ===**
Line 61: Line 87:
   * Nick Gammon Bootloading:​ https://​www.gammon.com.au/​bootloader   * Nick Gammon Bootloading:​ https://​www.gammon.com.au/​bootloader
   * More Nick Gammon: https://​github.com/​nickgammon/​arduino_sketches   * More Nick Gammon: https://​github.com/​nickgammon/​arduino_sketches
- 
-**=== Updated Boot loading Procedure (February 7, 2022):===** 
-  * links to tutorials: ​ 
-  * https://​docs.arduino.cc/​built-in-examples/​arduino-isp/​ArduinoISP 
-  * https://​docs.arduino.cc/​built-in-examples/​arduino-isp/​ArduinoToBreadboard 
-  * Copy the schematic below but instead of using two Arduino Boards use one Arduino Board as the programmer and the PCB as the target. On the PCB, pins MOSI, MISO and SCK are the same pins as digital pin 11, 12 and 13, respectively. 
-  * {{:​weatherbox:​bumblebee:​programmer_to_target_2022-02-07_190812.png?​400|}} 
-  * Linked here is the pin-out for the PCB.    ​ 
-  * {{:​weatherbox:​bumblebee:​pcb_pin-out_2022-02-07_184917.png?​400|}} 
-  * Once finished wiring the Arduino and PCB, Open Arduino IDE 
-  * Open Arduino ISP under: File->​Examples->​11.ArduinoISP->​ArduinoISP 
-  * Tools should have the following configuration ​ 
-{{:​weatherbox:​bumblebee:​screenshot_2022-02-07_184917.png?​400|}} 
-  * Upload code to Arduino Uno: 
-  * Once completed, burn bootloader under tools 
-  * Once bootload is done with no errors move onto uploading code using the FTDI 
-  * Now, take out the microcontroller from the Arduino and connect the Arduino to the PCB like shown below. 
-  * Also, connect the XBEE to the PCB. 
-  * There should be five wires connected the Arduino to the PCB.  On the PCB, pins RX, TX , RESET, 5V, GND to and connected to TX, RX, RESET, VCC, GND, respectively. 
  
  
  
  • weatherbox/bumblebee/bootloading_troubleshoot.1644298639.txt.gz
  • Last modified: 2022/02/08 05:37
  • by jgrous