![Stefan Wagner](/img/default-banner.jpg)
- 32
- 109 010
Stefan Wagner
Registrace 21. 05. 2020
USB PD Tester - CH32X035
The USB PD Tester is a monitoring and triggering device designed for USB Power Delivery. It allows you to test a wide range of USB Type-C PD power supplies and their corresponding cables. This tool not only displays the capabilities of the power supply on an OLED but also enables you to select one of the available fixed or programmable voltages for output on the screw terminal. With this, it can also be used to power your projects with various selectable voltages and high currents, serving as a versatile variable power supply.
The USB PD Tester is built around the inexpensive (30 cents at the time of writing) and user-friendly CH32X035 RISC-V microcontroller, which comes with integrated USB 2.0, USB PD 2.0/3.0, and USB Type-C hardware support.
Project Files (Github): github.com/wagiminator/CH32X035-USB-PD-Tester
Music: Supernova by Thomas Detert: remix.kwed.org/
The USB PD Tester is built around the inexpensive (30 cents at the time of writing) and user-friendly CH32X035 RISC-V microcontroller, which comes with integrated USB 2.0, USB PD 2.0/3.0, and USB Type-C hardware support.
Project Files (Github): github.com/wagiminator/CH32X035-USB-PD-Tester
Music: Supernova by Thomas Detert: remix.kwed.org/
zhlédnutí: 1 424
Video
RISC-V Mini Game Console - CH32V003
zhlédnutí 6KPřed rokem
Mini Game Console utilizing the CH32V003J4M6 ultra-cheap (10 cents by the time of writing) 32-bit RISC-V microcontroller, an SSD1306 128x64 pixels OLED display and CR/LIR2032 coin cell battery holder. Project Files (Github): github.com/wagiminator/CH32V003-GameConsole Original Games by Daniel Champagne: www.tinyjoypad.com/ Music: Supernova by Thomas Detert: remix.kwed.org/
PocketRadio - FM Radio with RDS - ATtiny412
zhlédnutí 2,9KPřed 2 lety
PocketRadio is an ATtiny402/412 controlled FM radio with RDS (RDA5807MP), an integrated audio amplifier (TC8871 or XPT8871), a LiPo battery charger (MCP73831 or TP4054), an OLED display (SSD1306) and three buttons. It integrates a protected 3.7V LiPo battery, a 3W / 4Ω speaker and an FM antenna. Project Files (Github): github.com/wagiminator/ATtiny412-PocketRadio Project Files (EasyEDA): oshwla...
DiskBuddy64 - USB to IEC Floppy Adapter - ATtiny202
zhlédnutí 867Před 2 lety
DiskBuddy64 is a minimal adapter that can interface a Commodore 1541(II) floppy disk drive to your PC via USB in order to read from and write on disks. It uses its own fast loader to minimize the transfer times. The DiskBuddy64 is controlled via a command line interface or a graphical front end written in Python. The integrated USB to serial converter can also be used as a SerialUPDI programmer...
TinyOLED - Sine Wave Scroller - ATtiny13A
zhlédnutí 2,1KPřed 2 lety
For a little tutorial on how to use an I²C OLED with the limited capabilities of an ATtiny10, ATtiny13A or ATtiny202 visit github.com/wagiminator/ATtiny13-TinyOLEDdemo. Music: THAW by DRAX
TinyTouchLight - Dimmable USB Nightlight - ATtiny13A
zhlédnutí 1,5KPřed 2 lety
TinyTouchLight is a dimmable USB night light with capacitive touch control based on the ATtiny13A. It plugs into any USB charger or power bank. - Project Files (Github): github.com/wagiminator/ATtiny13-TinyTouchLight - Project Files (EasyEDA): easyeda.com/wagiminator/attiny13-tinytouchlight_copy - Music: freemusicarchive.org/music/Scott_Holmes THIS VIDEO IS NOT SPONSORED !
TinyCharger - LiPo Charge Controller - ATtiny85
zhlédnutí 1,7KPřed 3 lety
TinyCharger is an ATtiny25/45/85-based, single-cell Li-ion battery charger with selectable charging current limit (100mA - 1000mA) and an OLED display for monitoring. - Project Files (Github): github.com/wagiminator/ATtiny85-TinyCharger - Project Files (EasyEDA): easyeda.com/wagiminator/attiny85-lipo-charger - Music: freemusicarchive.org/music/Scott_Holmes THIS VIDEO IS NOT SPONSORED !
TinyBling - It Just Does Bling Bling - ATtiny13A
zhlédnutí 2,1KPřed 3 lety
TinyBling is a completely pointless device that just does bling bling. It's wasted an ATtiny13A, 16 WS2812-2020 5mA addressable LEDs, and a LIR2032 rechargeable coin cell battery. - Project Files (Github): github.com/wagiminator/ATtiny13-TinyBling - Project Files (EasyEDA): easyeda.com/wagiminator/attiny13-tinybling - Music: freemusicarchive.org/music/Scott_Holmes THIS VIDEO IS NOT SPONSORED !
TinyPlayer - IR Remote Controlled MP3 Player Box - ATtiny13A
zhlédnutí 961Před 3 lety
TinyPlayer is an IR remote controlled and LiPo battery powered MP3 player based on ATtiny13A and DFPlayerMini module. The DFPlayer module is controlled via a simple cycle-precise software implementation of the UART protocol (8N1, 9600 BAUD) in half-duplex mode. The volume last set as well as the track number last played are saved in the EEPROM and automatically loaded the next time it is starte...
TinyNeoController - IR Remote Controlled NeoPixels - ATtiny13A
zhlédnutí 1,7KPřed 3 lety
An ATtiny13 is more than sufficient to control almost any number of NeoPixels via an IR remote. The NeoController was originally developed as a tester for 800kHz NeoPixel strips. Since there was still so much flash left in the ATtiny13, an IR receiver was integrated so that some parameters can be controlled with an IR remote control. In this way, it is also suitable as a simple and cheap remote...
TinyICOC - In-Circuit Oscillator Calibrator - ATtiny84
zhlédnutí 873Před 3 lety
Sometimes AVRs are operated without an external clock. The internal oscillator does a good job in most applications, but when it comes to precise timing, its /-10% accuracy is often insufficient. Fortunately, the oscillator can be calibrated, increasing its accuracy to /-2% or better. There are a few ways to perform this manual calibration, but several steps are required. The TinyICOC does this...
TinyCalibrator - Oscillator Calibrator - ATtiny84
zhlédnutí 1,2KPřed 3 lety
TinyCalibrator is an oscillator calibrator and high-voltage fuse resetter for 8-pin ATtinys based on an ATtiny84. Because the 8-pin ATtinys only have a few GPIO pins available, they are usually operated without an external clock. The internal oscillator does a good job in most applications, but when it comes to precise timing, its /-10% accuracy is often insufficient. Fortunately, the oscillato...
TinyDecoderIR - IR Remote Decoder - ATtiny13/25
zhlédnutí 2,4KPřed 3 lety
TinyDecoderIR is a simple stand-alone IR remote control receiver and protocol decoder based on ATtiny13A (NEC protocol only) or ATtiny25 (NEC, RC-5, SONY SIRC, SAMSUNG protocols). Project Files (Github): github.com/wagiminator/ATtiny13-TinyDecoder Project Files (EasyEDA): easyeda.com/wagiminator/attiny13-tinydetectorir IR Remote Control: github.com/wagiminator/ATtiny13-TinyRemote Music: freemus...
TinyTacho - RPM Meter - ATtiny13A
zhlédnutí 6KPřed 3 lety
Recently Great Scott built his DIY version of a tachometer which I thought was very cool. But using an ATmega for this task, I found a bit overpowered. So I tried to force all tasks (measurement, calculation, I²C protocol and OLED display) into the huge 1KByte memory of an ATtiny13. Project Files (Github): github.com/wagiminator/ATtiny13-TinyTacho Project Files (EasyEDA): easyeda.com/wagiminato...
TinyFMradio - FM Radio with RDS - ATtiny85
zhlédnutí 6KPřed 3 lety
ATtiny85 controlled FM radio with RDS (RDA5807) and integrated audio amplifier (XPT8871). You can directly connect a protected li-ion battery, a 3 W / 4 Ohm speaker and an FM antenna. Project Files (EasyEDA): easyeda.com/wagiminator/attiny85-tinyfmradio Project Files (Github): github.com/wagiminator/ATtiny85-TinyFMRadio TinyPocketRadio (Github): github.com/wagiminator/ATtiny13-TinyPocketRadio T...
TinyProbe - Simple Logic Probe - ATtiny13A
zhlédnutí 3,8KPřed 3 lety
TinyProbe - Simple Logic Probe - ATtiny13A
TinyRemote - IR Remote Control - ATtiny13A
zhlédnutí 4,1KPřed 4 lety
TinyRemote - IR Remote Control - ATtiny13A
TinyGamer - Handheld Gaming Device - ATtiny85
zhlédnutí 1,4KPřed 4 lety
TinyGamer - Handheld Gaming Device - ATtiny85
TinyDice - Electronic Dice - ATtiny13A
zhlédnutí 766Před 4 lety
TinyDice - Electronic Dice - ATtiny13A
NeoCandle - Tealight Candle Simulation - ATtiny85
zhlédnutí 3,7KPřed 4 lety
NeoCandle - Tealight Candle Simulation - ATtiny85
TinyLoad - Simple Electronic Dummy Load - ATtiny85
zhlédnutí 2,7KPřed 4 lety
TinyLoad - Simple Electronic Dummy Load - ATtiny85
TinySolder - Mini T12 Soldering Station - ATtiny13A
zhlédnutí 4,9KPřed 4 lety
TinySolder - Mini T12 Soldering Station - ATtiny13A
TinyHVSP - AVR Fuse Resetter - ATtiny84
zhlédnutí 2,1KPřed 4 lety
TinyHVSP - AVR Fuse Resetter - ATtiny84
can it run doom ?
Not yet ;-)
would you please consider sharing some resources on how to setup dev environment for risc v without using MRS? I want to move away from MRS but can't find anything that helps since I am on a windows platform also please share your risc v software setup
Hi, sorry, (un)fortunately I don't have Windows, so I cannot help you with that. My Linux setup ist described on the github page. I think you can use PlatformIO or ArduinoIDE, but since I don't use it either, you have to google it yourself.
Where can I buy this? Please.
Sorry, not to buy, just DIY.
Nice
Thanks
can i used that to 936a
Sorry, I don't know since I do not have a 936a.
We need cheaper alternative than esp32 with wifi
;-)
very neat !
Thanks!
Just ordered 50 of these little things on aliexpress for 0.99. Flasher was also cheap. I'll reply my experience with it when they arrive (They arrive b4 the flasher)
I'm excited and keeping my fingers crossed!
Hello! I want to program the Atmega328 directly with the .HEX file. This should be done with a programmer and program SinaProg or AVRdudeprog. I don't know what FUSE to choose. Can I help?
avrdude -c usbasp -p m328p -V -U lfuse:w:0xff:m -U hfuse:w:0xdb:m -U efuse:w:0xfd:m
@@stefanwagner1759 Thanks a lot for the answer! Therefore if I use SinaProg I will use the following FUSEs: LFUSE: FF HFUSE: DB EFUSE:FD
Nice tiny design ... Regards, Jean-François
Thanks!
Hi, a question is that have icons on the menu ? can i flash that software to the version with arduino nano ? I need really a answer, big thx for everything :)
There is a firmware version with icons and yes, you can flash it to an arduino nano.
I have a question about this: if I use the Arduino Nano and flash your FW, can I leave out some things in your schematics because I use the Arduino Nano? Like Crystal or Atmega chip etc?
Hi, Can you connect this device to arduino and read a power bank's charging state somehow?
This device is primarily designed for measuring current and voltage in real-time. For a state-of-charge measurement, it would need to know at least the capacity and initial charge of the power bank. I don't think integrating that here would be feasible.
It is great
Thank you ;-)
Thank you for sharing so many interesting circuits, meanwhile I have built so many of them. Strangly I need to modify the Oled init sequenze for the 0.96 modules, to get them to the display the text. With the original code the screen stays black.
Hi and thank you. Can you post your modification since it may help others?
@@stefanwagner1759 of course, I just had to change this array to the following // OLED init settings const uint8_t OLED_INIT_CMD[] = { 0xAE, 0xD5, 0x80, 0xA8, 0x1F, // set multiplex for 128x32 0xD3, 0x0, // SetDisplayOffset 0x20, 0x01, // set vertical memory addressing mode 0xDA, 0x02, // set COM pins hardware configuration to sequential 0xD9, 0xF1, // SetPreCharge 0x8D, 0x14, // enable charge pump 0xAF // switch on OLED };
Thank you!!!
Is it possible to test in another protocol?
Hi, only USB PD.
USB qc can be implemented in software
And there is pio so you can implement other faster protocol also
You are my inspiration ...
;-)
long time no see sir heheheheh
;-)
as always, just great :)
Thank you!
Hello, you can make a change in the firmware, I can't do it. Maximum power 45W and fan start working at 55 degrees and turn off at 85 degrees. Thanks in advance.
You can change these values in the firmware parameters at the beginning of the code. MAXPOWER defines - guess what - the maximum power. Be careful with high loads and watch the temperature!!! For the temperatures it is a little more tricky as you can only define the according ADC values of the NTC: NTCFAN and NTCHOT. You have to experiment a little with these values or search the internet for an appropriate calculation formula.
Hi, do you perhaps have the part number of the exact pogo pin used?
I bought them on Aliexpress: aliexpress.com/item/32953553268.html
yo stefan, thanks for the code you make. such a genius.
Thank you ;-)
sir stefan, i have a problem with temperature display. when i set the temp about 350°, the value displayed is not stay still like yours. is there any fix for that?
@@RecehDIY This happens with some power adapters, especially if they are not adequately stabilized. You can try reducing the SMOOTHIE parameter at the beginning of the source code (e.g., to 0.02). If that doesn't help, increase the "5" in lines 362 and 367 to "10".
@@stefanwagner1759 already did that sir. i thought there is a hardware fix for that. thanks sir. one more thing, can we have additional menu for c210 or t210 mode? when we activate that c210 mode, the pwm output maxed out only at 128 or half. i tried powering c210 tip with this station, it consumed too much current when using full pwm (255) when i set it to 127, it is only consume 2.5 to 3 Amps at max. i measured the resistance beetwen the heater pin, it is only 2 ohms, and will consume 6 amps on 24 volt source.
@@RecehDIY You can try to solder a big electrolytic capacitor at the power input, this might help to stabilize the whole thing. At the moment I don't have the time to develop the firmware any further since for me it does all the things I need.
can this project upload program use usb to ttl ?
Not with this board.
love your project! Have you ever thought about creating a project for a UPS for router, stefan?
Thanks. No, I have only made a UPS for the Raspberry Pi so far.
Very good project man <3
Thanks!
Is it compatible with another brand of soldering irons?
I have only tested it with T12 soldering tips myself, although it certainly works with some others too.
cool project! Seeing something like this on youtube really motivates you to dive into riscV uCs yourself. Thanks for sharing
Thanks;-)
Stefan cade o video com kt0803 ..
Can it add 7 segment display for temperature?
No, the ATtiny no longer has any free pins to control any displays. However, the temperature is displayed by the knob in conjunction with the LED - old school ;-)
Ive got a question. Since the ATtiny412 has only 2 i2c pins how can you control both the display and the FM radio chip?
You can control several devices via the same I²C bus as long as they have different device addresses. i2c.info/i2c-bus-specification
nice project! Which ide to use for risk-v, RISC-V IDE (Community) v150 or Embedded RISC-V IDE v190?
I don't use an IDE at all, just a simple text editor (gedit).
Excelente trabajo y proyecto, Esperamos mas.
¡Gracias!
Hi Stefan, can we change the code to operate at least 300 pixels and more patterns. If space is a problem for Tiny13, we can remove the IR remote function and instead add a button in that case. Can you help.
To inrease the maximum number of Pixels to 65535 replace every for(uint8_t i = NEO_PIXELS; i; i--) with for(uint16_t i = NEO_PIXELS; i; i--) in the code. The problem with additional patterns is the lack of SRAM, so you cannot work with a buffer, which would be necessary for more complex animations. Removing the IR-part does not help here. In the end, this is just an ATtiny13A!!!
@@stefanwagner1759 Thanks brother for the guidance. I'll try this and revert back.
attiny are on the disappearence path
Yes, unfortunately this will probably affect all 8-bit microcontrollers at some point, because the 32-bit MCUs are now significantly cheaper, can usually do more and now also have a solid toolchain. But I still like the ATtinys more ;-)
Bonjour, j'ai reproduit la radio. J'ai un petit problème et je ne sais pas comment le résoudre. La radio fonctionne très bien mais l'affichage ne fonctionne que la première fois que je charge le programme via :updi: .si je laisse allumer la radio va et l'affichage, quand je l'éteins et redémarre la radio va mais l'affichage ne s'allume pas.la radio fonctionne Je peux rechercher d'autres stations pot régler le volume, l'écran ne s'allume pas et n'affiche rien. Merci
Try putting a _delay_ms(100) in front of the OLED init() in line 510. Maybe your OLED needs a little more time.
Hello mr wagner, i am not a expert in programming and maybe i do not understand where i haft to put delay_ms(100)? i have try but didn't work? can you make me a print screen where i should put it?or something to see exactly where should be. thank you very much
Change line 510 in PocketRadio.ino to: _delay_ms(100); OLED_init(); Save, compile and upload. However, I'm not sure if this will solve your problem.
Wonderful 1K demo! Amazing how your crammed so much into such little space. Well done! Thank you for sharing your work (both results and its code).
You're welcome ;-)
Nice project Dear sir, how to contact with you? I want to buy a project from you, please give me your contact
Sorry, I don't sell anything.
Is that an resistor keypad so you only need 1 pin for more buttons
yes
Extraordinary. You create masterpieces. Best regards from us.
Thank you ;-)
hi stefan I just made a pcb with a P version mosfet so it works for Jbc c245 but why is the screen saying 'error 000' and the tip is red hot.. do i have to do any special code to change it.. Thank You
Hi, if you want to use a P-channel MOSFET, you need a different circuit and you have to make the appropriate settings in the firmware. I don't know if the Soldering Station works with the JBC C245 at all. Basically it is intended for T12.
Was würde das EEPROM Programmer kosten
Zusammengebaut gibt's den nicht zu kaufen. Die Bauteile liegen zusammengenommen vielleicht bei 10€, wobei das natürlich von vielen Faktoren abhängt.
@@stefanwagner1759 sind die SMD Bauteile schon auf der Platine
Your projects are very helpful for learning! Thanks a lot!
You're welcome!
Nice! How many bytes are in this firmware?
956 bytes
That CR2032 can not last long?
Haven't tested it yet, but so far the first battery is still holding up ;-)
@@stefanwagner1759 I will try to reproduce this with a Li-Ion and charging circuit. Shouldn't be much difference using the QFN20 CH32V003F4U6?
It should work with any CH32V003, just use the correct pins.
Thank you! It worked so smoothly :)) I got a noisy image with the SSD1306 128x64, and I solved the problem by changing the default pins. I assigned PB1 to SDA and PB0 to SCL, and it fixed the issue. meaningless... but it worked.
Great!
love your projects. Keep up the good work and thanks for letting it be open source :)
+100500
You're welcome ! ;-)
Tiny13 killer :)
But only in price, otherwise the tiny13 is unbeatable ;-)
@@stefanwagner1759really? I’m thinking to replace attiny by ch32v003 in my project, but I’ve not learned this chip yet. Will I waste the time doing this?
Can't say yet, I'm still testing the chip myself. However, for the price you probably won't find anything better.
That’s really neat and handy
;-)
Дякую за Ваш проект!
Ласкаво просимо!
How to measure inductance in using this ? Can it measure inductance Of it can how does this measure inductance with out the LC oscilating circuit?
You can find a detailed description of the measuring method for inductors here: github.com/Mikrocontroller-net/transistortester/raw/master/Doku/trunk/pdftex/english/ttester.pdf
I got it running on Attiny13a-SSU (SMD) with 10 colors including Rainbow effect above. Using a push button, I can switch colors and all that can be controlled up to 255 pixels (tested 65 pixels). I made a custom PCB and put it in an acrylic LED base.
Great!
Good Radio I also have one of this kind of radio ATS 100 Si4735 ..this radio also have a smart options
Great!