![]() |
EagleAutodesk
|
|
|
Atmel ICEATMEL-MICROCHIP
|
|
|
Atmel Studio 7Microchip
|
Minimal Atmel 328P MCU
Used for audio projects, please see my blog: https://audiodiwhy.blogspot.com/2021/04/minimalist-atmel-328-development-board.html
UPDATED: 8-9-21 I added pin designations to both sides of the board and flipped polarity of the B1 test LED.
Hello again: if you've been following the last few posts you see that I am trying to use Arduino's IDE a lot less, and learning to program MPU's like the Atmel 328P using
"Embedded C", as opposed to the Arduino Sketch language.
I've had some success, such as using C to create an LFO prototype...read about first steps for the DLFO project here. It works on the bench. Update 5-1-21 the whole damn Digital LFO--dev board discussed below, buffer board for incoming CV, switch debouncing that toggles waveform select, LEDs to show which waveform you're using etc etc. works!! I am happy! Post is here.
Question: if I stop using Arduino's IDE, can I stop using their hardware as well? Why/Why not?
Turns out it's pretty easy to roll your own simple AVR based dev board. Using bits of the Arduino Uno R3 schematic, a few examples found online (eg: here), and a few Atmel PDFs (the one here for instance--very useful reference) I came up with a minimal parts count AVR 328 PCB for future projects.
If you want to build one of these yourself, you can get the Eagle files (the free version of Eagle should be able to load these files), gerbers, and more, from my github (go here).
Schematic and board look like this:
But does it work?
Programming is done with an Atmel ICE; the IDE used for writing the blink code is Atmel Studio 7, as in the previous posts.
Let's send this dev board's gerbers off to China....I like PCBWAY....wow that was fast, they are back.
Let's stuff the board:
On the bench, connected to power and so on, it looks like this:
The power etc. checks OK.
Next, with a brand new 328 chip popped in we can upload this simple blink C program to test:
#include <avr/io.h>
#include <stdio.h>
void Delay(void);
int main(void)
{//DDRB = 0x20; // set bit 5 of DDR register which makes PB5 an output
DDRB = 0x02; // use PB1
while(1)
{
PORTB = 0xFF; // switch LED on
Delay();
PORTB = 0x00; // switch LED off
Delay();
}
}
void Delay(void)
{
volatile unsigned long count = 15000;
while (count--);
}
And...nothing. Huh? This is a really simple design, why won't this work?
It took me about 5 minutes to figure this out.
The Atmel ICE's ICSP connector is pinned like this:
...but when designing the ICE connector no one at Amtel (?) marked where pin one is. Turns out I had the connector upside down!
On my board, the MISO pin goes to the top left. So the tab you see on the connector faces upwards.
After this fix, the MPU is now seen by the ICE programmer and we can upload code. yeh!
Let's blink.....Cool! Good enough for now--"not much time for blogging/too much work to do...."
Next up, I'll see if I can make the recently "coded at the bench" DLFO (again, post for initial software DLFO build is here) work with this development board. I created a 2nd PCB for the DLFO to accommodate its CV buffers and whatnot and should have that back soon.
Stay tuned and don't breathe the fumes!
Use case, Digital LFO, based on above board and tools: https://audiodiwhy.blogspot.com/2021/05/avr-based-digital-lfo-written-in.html
Minimal Atmel 328P MCU
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)

- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by AudioDIWHY
-
Dual Concentric Pots to 4x JST XH 3 pin males Needed an easy way to add dual concentric pots to my project. The PCB featured here accommodates 2 c...
-
AS3364 Linear Quad VCA Experimenter's Board The AS3364 is a low cost, easy-to-use quad linear VCA--4 high quality voltage controlled amplifiers ...
-
Dual SOIC 2164 VCA Dual SSM 2164 VCA-SOIC versionA classic dual audio VCA design, details in the blog post:https://audi...
-
Dual SSM 2164 VCA-THT version A classic dual audio VCA design, details in the blog post here:https://audiodiwhy.blogspot.com/2025/...
-
3.5mm 4 jack PCB I needed a simple PCB for 3.5mm jacks, I like switchcraft's 35RAP series connectors for audio projec...
-
Moog T403B Inspired High Pass Filter Clone of Moog High Pass filter based on EFM design.Please see the blog post here for more informatio...
-
LFO2 From "Electronics For Musicians" Analog LFO with variable frequency and lots of modulation options based on an EFM ("Electronics for ...
-
JTAG to SWD Converter Simple JTAG to SWD adapter.My use case is Segger J-LINK EDU MINI to Raspberry Pi Pico but this board...
-
Rotary Encoder Experimenter's Dev Board UPDATE: new revision 9-29-24 posted. Lower parts count, more reliable software debouncing for the en...
-
Bench 4x2 Bluetooth Mixer Simple 14HP Eurorack 4x2 synth mixer.outputs are 2x 100mil terminal posts on rear of PCB.You will ne...
-
Anything to Clock--LM311 based I needed a simple circuit to condition incoming signals so a MCU could read them as clock:--rectify ...
-
Vactrol Based Audio Envelope Follower An audio envelope follower based on a 5C3 Vactrol. Useful for auto-wah (send its output to a bandpas...
-
Warm Floater Eurorack Power Extender I ran out of physical connections on my Eurorack Power supply. This PCB supplies 1 input and 3 outpu...
-
"KiCADSR" Euro Envelope Generator This is my first project using KiCAD for EDA instead of Autodesk Eagle.I wanted to see if I had the ...
-
Low Noise Preamp based on Arp 2600 Synthesizer The Arp 2600 synthesizer has a preamp that takes an unbalanced signal and amplifies it 10x, 100x, an...
-
Arp 2600 clone--inverter-mixer The ARP2600 is a legendary, classic semi-modular analog synthesizer. Its voltage processor circuitr...
-
SEEED XAIO RP2040 ADC and Buffer Board The SEEED XAIO RP2040 is a fantastic little dev board, featuring the RP2040 MCU.I needed a buffered ...
-
Voltage Controlled Stereo Panner This is a modular synthesizer stereo panner for audio or control voltages.This is a modular project ...
-
Dual Concentric Pots to 4x JST XH 3 pin males Needed an easy way to add dual concentric pots to my project. The PCB featured here accommodates 2 c...
-
AS3364 Linear Quad VCA Experimenter's Board The AS3364 is a low cost, easy-to-use quad linear VCA--4 high quality voltage controlled amplifiers ...
-
Dual SOIC 2164 VCA Dual SSM 2164 VCA-SOIC versionA classic dual audio VCA design, details in the blog post:https://audi...
-
Dual SSM 2164 VCA-THT version A classic dual audio VCA design, details in the blog post here:https://audiodiwhy.blogspot.com/2025/...
-
3.5mm 4 jack PCB I needed a simple PCB for 3.5mm jacks, I like switchcraft's 35RAP series connectors for audio projec...
-
Moog T403B Inspired High Pass Filter Clone of Moog High Pass filter based on EFM design.Please see the blog post here for more informatio...
-
LFO2 From "Electronics For Musicians" Analog LFO with variable frequency and lots of modulation options based on an EFM ("Electronics for ...
-
JTAG to SWD Converter Simple JTAG to SWD adapter.My use case is Segger J-LINK EDU MINI to Raspberry Pi Pico but this board...
-
Rotary Encoder Experimenter's Dev Board UPDATE: new revision 9-29-24 posted. Lower parts count, more reliable software debouncing for the en...
-
Bench 4x2 Bluetooth Mixer Simple 14HP Eurorack 4x2 synth mixer.outputs are 2x 100mil terminal posts on rear of PCB.You will ne...
-
Anything to Clock--LM311 based I needed a simple circuit to condition incoming signals so a MCU could read them as clock:--rectify ...
-
Vactrol Based Audio Envelope Follower An audio envelope follower based on a 5C3 Vactrol. Useful for auto-wah (send its output to a bandpas...
-
-
Commodore 64 1541-II 1581 Floppy Disk Drive C64 Power Supply Unit USB-C 5V 12V DIN connector 5.25
273 1 3 -
Easy to print simple stacking organizer with drawers
105 0 0 -
-
-
-
-
-
-
Modifying a Hotplate to a Reflow Solder Station
1194 1 6 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
678 0 1 -