Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD CH340E SerialUPDI HV Programmer

License: CC-BY-SA 3.0

Mode: Editors' pick

  • 1k
  • 0
  • 2
Update time: 2023-02-22 17:49:48
Creation time: 2023-02-04 16:07:40
Description
# SerialUPDI HV Programmer based on CH340E and MT3608 The simple and cheap High-Voltage Serial UPDI Programmer is a device designed specifically for tinyAVR microcontrollers. This programmer includes a target voltage selection switch that allows users to choose between 5V and 3.3V for their project needs. With this device, you can use the additional configuration settings for the UPDI pin without worrying about getting locked out from the MCU. The programmer operates similarly to a standard SerialUPDI programmer and is compatible with popular development environments like the Arduino IDE, where it appears as "SerialUPDI". The device utilizes the CH340E USB-to-serial chip and the MT3608 Boost Converter IC to function. The CH340E chip allows the device to interface with a computer or other device through a USB connection, while the MT3608 Boost Converter IC generates the 12V pulse required for high-voltage activation of the UPDI pin. ![SerialUPDI_HV_Prog_pic1.jpg](https://raw.githubusercontent.com/wagiminator/AVR-Programmer/master/SerialUPDI_HV_Programmer/documentation/SerialUPDI_HV_Prog_pic1.jpg) # Working Principle The microcontrollers of the ATtiny 0-series, 1-series and 2-series typically have a limited number of GPIO (General-Purpose Input/Output) pins available for use. However, it is possible to obtain an additional GPIO pin by reprogramming the UPDI (Unified Program and Debug Interface) pin as such. The problem is, however, that the ATtiny can then no longer be reprogrammed via the UPDI interface. To revert the GPIO pin back to an UPDI pin, a high-voltage activation is required immediately prior to reprogramming. Specifically, a short 12V pulse must be applied to the UPDI pin by the programmer. The SerialUPDI HV Programmer offers a solution to this problem by extending a standard SerialUPDI programmer with additional circuitry that automatically applies the required 12V pulse, allowing for the programming of an ATtiny even if the UPDI pin has been previously reprogrammed for a different purpose. The required 12V for high-voltage activation is generated by using the low-cost MT3608 boost converter IC, along with some simple support circuitry. The 12V pulse is controlled via the RTS (Ready To Send) signal of the CH340E USB-to-serial chip. At the start of data transfer and thus programming, this signal is set to LOW. The signal drives the gate of a P-channel MOSFET, which in turn releases the 12V onto the UPDI line. A coupling capacitor between the RTS line and the MOSFET gate, in combination with a 10kΩ pullup resistor, ensures that the duration of the pulse is limited to about 150µs. The SerialUPDI HV Programmer can be used as a replacement for a standard SerialUPDI programmer without requiring any further software modifications. A voltage selector switch allows users to select the target voltage between 3.3V and 5V. However, it is important to ensure that the target circuit that contains the ATtiny can handle a 12V pulse on the UPDI line. By the way, if the back of the board is not populated with components, the device works as a normal SerialUPDI programmer. ![SerialUPDI_HV_Prog_pic2.jpg](https://raw.githubusercontent.com/wagiminator/AVR-Programmer/master/SerialUPDI_HV_Programmer/documentation/SerialUPDI_HV_Prog_pic2.jpg) ![SerialUPDI_HV_Prog_pic3.jpg](https://raw.githubusercontent.com/wagiminator/AVR-Programmer/master/SerialUPDI_HV_Programmer/documentation/SerialUPDI_HV_Prog_pic3.jpg) ![SerialUPDI_HV_Prog_scope2.jpg](https://raw.githubusercontent.com/wagiminator/AVR-Programmer/master/SerialUPDI_HV_Programmer/documentation/SerialUPDI_HV_Prog_scope2.jpg) # License ![license.png](https://i.creativecommons.org/l/by-sa/3.0/88x31.png) This work is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License. (http://creativecommons.org/licenses/by-sa/3.0/)
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Footprint Quantity BOM_Supplier BOM_Manufacturer BOM_Manufacturer Part BOM_Supplier Part
1 100n C1,C2 C_0603 2 LCSC YAGEO CC0603KRX7R9BB104 C14663
2 10u C3,C6,C7 C_0603 3 LCSC SAMSUNG CL10A106KP8NNNC C19702
3 1u C4,C5 C_0603 2 LCSC SAMSUNG(三星) CL10A105KB8NNNC C15849
4 10n C8 C_0603 1 LCSC FH(风华) 0603B103K500NT C57112
5 5817 D1,D2,D3,D4 SCHOTTKY_SOD_323 4 LCSC TWGMC 1N5817WS C727114
6 UPDI H1 210S-3X1/2.54 1 LCSC BOOMELE Header2.54mm 1*3P C49257
7 4.7uH L1 L_0603 1 LCSC Chilisin Elec CPY160808T-4R7M-NP C295681
8 PWR LED1 LED_0603 1 LCSC EVERLIGHT 19-217/GHC-YR1S2/3T C72043
9 PRG LED2 LED0603 1 LCSC KENTO KT-0603R C2286
10 AO3401A Q1 SOT-23-3_W 1 LCSC AOS AO3401A C15127
11 1k R1,R2,R5 0603 3 LCSC UniOhm 0603WAF1001T5E C21190
12 2k R3 0603 1 LCSC UniOhm 0603WAF2001T5E C22975
13 39k R4 0603 1 LCSC UniOhm 0603WAF3902T5E C23153
14 10k R6 0603 1 LCSC UNI-ROYAL(厚声) 0603WAF1002T5E C25804
15 POWER SW2 SW-SMD_SS-1290L-GLL-1.5MM 1 LCSC RI SHENG SS-1290L-GL L=1.5mm C695418
16 CH340E U1 MSOP-10 1 LCSC WCH(南京沁恒) CH340E C99652
17 AP2112K-3.3TRG1 U2 SOT-25-5 1 LCSC DIODES AP2112K-3.3TRG1 C51118
18 MT3608 U3 SOT-23-6 1 LCSC AEROSEMI MT3608 C84817
19 USB-Plug USB1 USB-M-48 1 LCSC SOFNG USB-05 C112454

Unfold

Project Attachments
Empty
Project Members
Target complaint
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn