Home Recent changes

m328 devboard

This is an simple development board for ATmega328 chip by Atmel. Design features:

This board could be milled on a Modella CNC:

modella_milling.png

If you want to make your own copy of this board just grab the png file below*. Of course you can remove my label from the bottom of the board if you do not like my label))

m328devbrd-traces.png

Here is how components are places on the board:

m328devbrd-components.png

My reccomendation: do not solder 6 pin ISP header onto your board. You can upload Arduino bootloader so that you can upload Arduino sketches or compiled binaries using USB UART cable present in FabLab inventory. To upload a bootloader you will need external power supply (9V battery + cable), AVR ISP mkII (or FabISP), USB A->B cable, 2*3 header (all tools are present in inventory). Also you will need to install Arduino IDE (www.arduino.cc) and. if you are using Windows, driver for the AVR ISP. Then you just open Arduino IDE, select "Arduino Nano w/ Atmega328" from Tools->Board menu, then connect your programmer to a PC, connect power to the devboard, put the SMT pins of 2*3 header onto the corresponding pads on the devboard and click "Flash bootloader" from the Tools menu of Arduino IDE. Now you can use the board as a regular Arduino Nano or upload hex files using UART cable. To do that you need to have an installed avr-dude. On linux you can install it by typing:

sudo apt-get install avr-dude

in the terminal window.

Then to upload and hex file type:

sudo avrdude -P /dev/ttyUSB0 -b 57600 -p m328p -c stk500v1 -U flash:w:file.hex

*Please note that 16Mhz crystal, LM1117, TH 3-pin headers, right-angle UART header, TH LED and polarized capacitors might not be present in standard FabLab inventory