LowPowerLab Forum

Hardware support => General topics => Topic started by: SamGafutz on May 30, 2017, 04:41:46 PM

Title: Small production run... NewB question
Post by: SamGafutz on May 30, 2017, 04:41:46 PM
Hello,

New to Arduino (PIC developer) after designing, fabricating and populating my own board (with an ATMega328) can someone point me to a tutorial on how to get the Arduino code onto the '328? What the best repository is, etc.

Thank you,
Sam
Title: Re: Small production run... NewB question
Post by: Ablivadice on June 03, 2017, 02:50:06 PM
This is what I found so far.
http://www.gammon.com.au/bootloader
and
https://www.arduino.cc/en/Tutorial/ArduinoISP

These allow you to get the boot loader on to the chip. I have not tried them yet, waiting on parts.

Then to program the 328 with arduino code you have to use power (3.3V), gnd, RXD (pin 30) and TXD (pin 31). But I think you need a programmer to do so since the 328 does not have a usb to ttl. But I am not sure on this yet.
Title: Re: Small production run... NewB question
Post by: TomWS on June 03, 2017, 05:25:37 PM
Quote from: SamGafutz on May 30, 2017, 04:41:46 PM
Hello,

New to Arduino (PIC developer) after designing, fabricating and populating my own board (with an ATMega328) can someone point me to a tutorial on how to get the Arduino code onto the '328? What the best repository is, etc.

Thank you,
Sam
Sparkfun has a programmer called Pocket AVR Programmer that will allow you to program a bootloader and fuses into the raw chip and they have a good hookup guide/tutorial linked on that product page.

Tom