User Tools

Site Tools


guides:arduino_design

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
guides:arduino_design [2015/01/17 13:46]
craag Fix for arduino error
guides:arduino_design [2020/06/27 23:02] (current)
Line 44: Line 44:
 ===== Uploading new arduino scripts ===== ===== Uploading new arduino scripts =====
   * As the current arduino is programmed just to use its internal oscillator it has a special board identification which needs to be added to your IDE. You need to find the boards.txt and add to the end   * As the current arduino is programmed just to use its internal oscillator it has a special board identification which needs to be added to your IDE. You need to find the boards.txt and add to the end
 +
 +For Arduino 1.6.1 use this script:
 +<code>
 +##############################################################
 +
 +atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)
 +
 +atmega328bb.upload.tool=avrdude
 +atmega328bb.upload.protocol=stk500
 +atmega328bb.upload.maximum_size=30720
 +atmega328bb.upload.speed=57600
 +
 +atmega328bb.bootloader.tool=avrdude
 +atmega328bb.bootloader.low_fuses=0xE2
 +atmega328bb.bootloader.high_fuses=0xDA
 +atmega328bb.bootloader.extended_fuses=0x07
 +atmega328bb.bootloader.path=arduino:atmega
 +atmega328bb.bootloader.file=atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex
 +atmega328bb.bootloader.unlock_bits=0x3F
 +atmega328bb.bootloader.lock_bits=0x0F
 +
 +atmega328bb.build.mcu=atmega328p
 +atmega328bb.build.f_cpu=8000000L
 +atmega328bb.build.core=arduino:arduino
 +atmega328bb.build.variant=arduino:standard
 +</code>
 +Otherwise for older versions of Arduino use this:
 <code> <code>
 ############################################################## ##############################################################
Line 82: Line 109:
   * Everything appears to run 8x slower   * Everything appears to run 8x slower
   *   * Using an ICSP Programmer, 'Burn Bootloader' in the Arduino IDE to set the fuses. This will disable the DIVIDE-BY-8 function.   *   * Using an ICSP Programmer, 'Burn Bootloader' in the Arduino IDE to set the fuses. This will disable the DIVIDE-BY-8 function.
- 
guides/arduino_design.txt ยท Last modified: 2020/06/27 23:02 (external edit)