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 07:12]
jgrous
weatherbox:bumblebee:bootloading_troubleshoot [2022/03/08 04:29] (current)
jgrous
Line 1: Line 1:
  
-**=== Updated ​Boot loading ​Procedure (February 7, 2022):===**+**=== Updated ​Bootloading ​Procedure (February 7, 2022):===**
   * links to tutorials: ​   * links to tutorials: ​
   * https://​docs.arduino.cc/​built-in-examples/​arduino-isp/​ArduinoISP   * https://​docs.arduino.cc/​built-in-examples/​arduino-isp/​ArduinoISP
   * https://​docs.arduino.cc/​built-in-examples/​arduino-isp/​ArduinoToBreadboard   * 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. ​+  * 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|}}   * {{:​weatherbox:​bumblebee:​programmer_to_target_2022-02-07_190812.png?​400|}}
   * Linked here is the pin-out for the PCB.    ​   * Linked here is the pin-out for the PCB.    ​
   * {{:​weatherbox:​bumblebee:​pcb_pin-out_2022-02-07_184917.png?​400|}}   * {{:​weatherbox:​bumblebee:​pcb_pin-out_2022-02-07_184917.png?​400|}}
-  * Once finished wiring the Arduino and PCB, Open Arduino IDE+  * 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   * Open Arduino ISP under: File -> Examples -> 11.ArduinoISP -> ArduinoISP
-  * Tools should have the following configuration ​+  * Tools should have the following configuration ​(Connect to port with (Arduino/​Genuino Uno))
 {{:​weatherbox:​bumblebee:​screenshot_2022-02-07_184917.png?​400|}} {{:​weatherbox:​bumblebee:​screenshot_2022-02-07_184917.png?​400|}}
   * Upload code to Arduino Uno:   * Upload code to Arduino Uno:
Line 19: Line 19:
 {{:​weatherbox:​bumblebee:​screen_shot_2022-02-07_at_19.41.53.png?​400|}} {{:​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.   * 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 under: File -> Examples -> 11.ArduinoISP ​-> ArduinoISP+  * 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 ​   * Tools should have the following configuration ​
 {{:​weatherbox:​bumblebee:​screenshot_2022-02-07_184917.png?​400|}} {{:​weatherbox:​bumblebee:​screenshot_2022-02-07_184917.png?​400|}}
-  * Upload code to Arduino Uno: 
-  * Once completed, burn bootloader under tools 
-  * If there is an error, try change the Clock value to "​Internal 8 MHz" then upload keeping all other settings the same.  Then when the program fails change the clock value back to "​External 16 MHz" 
-  * If there were no errors, run a simple program to make sure it worked. 
-  * 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. 
  
  
  • weatherbox/bumblebee/bootloading_troubleshoot.1644304369.txt.gz
  • Last modified: 2022/02/08 07:12
  • by jgrous