Skip to main content
Post Deleted by CommunityBot
Post Locked by CommunityBot
Post Migrated Away to arduino.stackexchange.com by Marcus Müller, uint128_t, Rev, Nick Alexeev
Post Closed as "Not suitable for this site" by Marcus Müller, uint128_t, Rev, Nick Alexeev
Rollback to Revision 4
Source Link
Nick Alexeev
  • 38.6k
  • 17
  • 102
  • 240

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8 MHz and upload the program?


myself as of 3 hours ago.

  1. Get an arduino or similar, install the ArduinoISP sketch
  2. Connect the two as described here: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
  3. Change the board to Arduino Pro or Pro Mini, Processor to 3.3V, 8Mhz, Programmer: Arduino as ISP
  4. Hit burn bootloader button
  5. Load up the sketch that you want on the device
  6. Without changing anything, use "Upload using programmer"
  7. Remove arduino, fix wiring changes required to use as programmer

Committed to Electronics Stackexchange for posterity. Or so I can find it when I forget next time...

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8 MHz and upload the program?


myself as of 3 hours ago.

  1. Get an arduino or similar, install the ArduinoISP sketch
  2. Connect the two as described here: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
  3. Change the board to Arduino Pro or Pro Mini, Processor to 3.3V, 8Mhz, Programmer: Arduino as ISP
  4. Hit burn bootloader button
  5. Load up the sketch that you want on the device
  6. Without changing anything, use "Upload using programmer"
  7. Remove arduino, fix wiring changes required to use as programmer

Committed to Electronics Stackexchange for posterity. Or so I can find it when I forget next time...

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8 MHz and upload the program?

appended answer 280463 as supplemental
Source Link
Nick Alexeev
  • 38.6k
  • 17
  • 102
  • 240

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8 MHz and upload the program?


myself as of 3 hours ago.

  1. Get an arduino or similar, install the ArduinoISP sketch
  2. Connect the two as described here: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
  3. Change the board to Arduino Pro or Pro Mini, Processor to 3.3V, 8Mhz, Programmer: Arduino as ISP
  4. Hit burn bootloader button
  5. Load up the sketch that you want on the device
  6. Without changing anything, use "Upload using programmer"
  7. Remove arduino, fix wiring changes required to use as programmer

Committed to Electronics Stackexchange for posterity. Or so I can find it when I forget next time...

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8 MHz and upload the program?

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8 MHz and upload the program?


myself as of 3 hours ago.

  1. Get an arduino or similar, install the ArduinoISP sketch
  2. Connect the two as described here: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
  3. Change the board to Arduino Pro or Pro Mini, Processor to 3.3V, 8Mhz, Programmer: Arduino as ISP
  4. Hit burn bootloader button
  5. Load up the sketch that you want on the device
  6. Without changing anything, use "Upload using programmer"
  7. Remove arduino, fix wiring changes required to use as programmer

Committed to Electronics Stackexchange for posterity. Or so I can find it when I forget next time...

added 1 character in body
Source Link
Marcus Müller
  • 100.1k
  • 5
  • 141
  • 262

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8Mhz8 MHz and upload the program?

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8Mhz and upload the program?

I need to program a ATMega328P on a breadboard, running on an external crystal at 8 MHz.

All of the guides I can find either use the arduino environment and describe a 16 MHz config, or using the 8 MHz internal oscillator - which is too inaccurate for this project.

How do I do this? Configure the chip to run at 8 MHz and upload the program?

Edit to explicitly state question
Source Link
user2702772
  • 250
  • 2
  • 13
Loading
deleted 11 characters in body; edited title
Source Link
Marcus Müller
  • 100.1k
  • 5
  • 141
  • 262
Loading
Source Link
user2702772
  • 250
  • 2
  • 13
Loading