CH551G Based AVR ISP Programmer
Simple AVR ISP programmer
My first AVR programmer was just a parallel port cable with few resistors. It worked like a charm.
I would like to have few simple AVR ISP programmers, but the parallel port isn't present in modern computers. I decided to design similarly simple programmer with USB-C port. CH551G is great microcontroller for this kind of applications, as it only needs couple of passives when creating USB gadgets.
Feature for me, but could be problem for you
The programmer circuit shown in this video is as simple as it gets. It supplies the target with 5V power coming from USB. For my use, 5V always wired to the VCC pin is fine, as most of my AVR circuits are designed to be powered from 5V.
Components
WCH CH551G does all the heavy lifting. Resistors and two decoupling capacitors are 0603 size, USB-C jack is the very common 16 pin type, with four through hole mounting tabs.
Firmware
I ended up using firmware from this Stefan "wagiminator" Wagner's repo. Due to differences in hardware, I had to edit the pin settings in src/config.h, changing the PIN_RESET value from P14 to P31:
https://github.com/wagiminator/AVR-Programmer/tree/master/picoISP_Programmer/software/picoisp
With that firmware, the programmer shows up as USBTinyISP, which is supported in Arduino IDE for programming the bootloader to Arduino boards. I needed to install libusb-drivers for the programmer using Zadig:
Video: What, why and how
CH551G Based AVR ISP Programmer
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- 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 HackVlog Hugatry
- CH551G Prototyping Board W/USB-C What?This is handy development board with CH551G, USB-C jack and all the required extra components. ...
- ATTiny85 Foot Pedal Controller What?This is simple test circuit for reading the position of old sewing machine foot pedal (low volt...
- DIY 2S Lithium Battery Protection Module Important to know, if you order this boardBottom layer doesn't have any exposed copper. There are no...
- CH551G Based AVR ISP Programmer Simple AVR ISP programmerMy first AVR programmer was just a parallel port cable with few resistors. ...
- VGT6250 Ultrasonic Cleaner Replacement Timer WARNING!This PCB is powered from 5V that comes from the power management board inside the ultrasonic...
- Microphone preamp with filtered power supply No pick&place file / BOMDifferent microphones, sound cards, power supplies have differen specifi...
- Radius Gauge (1-15mm) No need for components or soldering. Just order the PCBs and you'll have radius gauge similar to one...
- Protoboard with MCP1700/LM78xx regulator I designed a prototyping board / perfboard that includes some of the components I've found myself us...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-