Saturday, August 14, 2021

DIY ISP Board for USBasp AVR programmer

 

Introduction

USBasp is an open-source low cost AVR In-System-Programming (ISP). On-line stores offer this programmer at a very low cost.

DIY ISP Board for USBasp AVR programmer
My DIY AVR ISP Adapter

 

DIY ISP Board for USBasp AVR programmer
Sample of USBasp programmer on Ali Express
Its programming header pin to AVR ISP pin on breadboard while prototyping. For convenience we must make another ISP board that hold AVR device for program uploading.
 



DIY ISP Board for USBasp AVR programmer
A 3D Visualization of AVR ISP socket for USBasp

Designing for AVR ISP Socket

I have been using most of AVR ATMega series from 8 to 40-pin counts DIP package in prototyping. One designed PCB could fit these AVR devices.

Schematic Design

Circuit design software make this schematic design fast and reliable with their rich of device libraries and detailed pins diagram.

DIY ISP Board for USBasp AVR programmer
Schematic Diagram

System doesn’t have its own power supply. It’s driven from ISP header. The header is a male 10-pin IDC socket.

A crystal clock X1 is optionally added targeting any AVR device that fused with crystal oscillator.

A 45kHz oscillator block created by NE555 timer IC that can be switch to XTAL1 pin of AVR device. It’s useful for AVR fuse recovery.



Circuit Design

Devices connection in schematic design creates a netlist that export to PCB design step. Most of devices symbol in schematic design have their own PCB footprint.

DIY ISP Board for USBasp AVR programmer
Printed Circuit Design View

This design requires about 17 on-board component counts. Final design is a double-sided PCB. However top layer made of around a dozen of copper tracks. 



DIY ISP Board for USBasp AVR programmer
Copper pattern of this circuit design

 
DIY ISP Board for USBasp AVR programmer
Top copper layer mirror

DIY ISP Board for USBasp AVR programmer
Components layer – mirror

PCB Fabrication



This circuit design is no simple as there are a lot of component counts, and their on-board interconnections. This double-sided PCB can become a single-sided PCB by replacing top copper with wire jumpers.

DIY ISP Board for USBasp AVR programmer
Finished and fully tested PCB assembling at component side

 
DIY ISP Board for USBasp AVR programmer
Copper side coated with clear acrylic vanish
I made this printed circuit by hand using toner-transfer-method. PCB fabrication, assembling, and testing was completed nearly one daytime.



Click here to download design file. For time saving and good quality of PCB we can order for PCB fabrication service. It’s more reliable and professional. We can preview this design using online using online Gerber view.

DIY ISP Board for USBasp AVR programmer
PCB panel view using online Gerber view at component side

DIY ISP Board for USBasp AVR programmer
PCB panel view using online Gerber view at copper side

Testing with USBasp Software



I tested this ISP adapter with USBasp programmer I made. I have only a little AVR chips for prototyping.

DIY ISP Board for USBasp AVR programmer
Detecting Atmega32 using USBasp

 

DIY ISP Board for USBasp AVR programmer
Detecting Atmega8 using USBasp


No comments:

Post a Comment

Labels

ADC (10) Analog (14) Arduino (12) Atmega16 (19) Audio (2) AVR (20) Charger (1) Cortex-M0 (1) Counter (10) CPLD (25) Digital I/O (22) Display (34) EEPROM (2) Environment Sensor (1) esp8266 (2) Experiment Board (10) I2C (4) Interrupt (7) LCD (1) LDmicro (29) measurement and instrumentation (7) Microchip Studio (3) MikroC (1) One-Shot (3) OpAmp (1) PCB (31) PIC16 Microcontrollers (16) PIC16F877A (2) PIC16F887 MikroC (22) PLC (35) PWM (11) Regulator (1) RTC (2) Sensor (8) Shift Registers (5) SPI (5) Timer (34) UART (2) ultra-sonic sensor (1) USB (1) VHDL (21) xc8 (1) XC95108 (9) XC9536 (15) XC9572 (1) Xilinx (23) Xilinx ISE (22)