I bought a #WCH LinkE USB dongle to program all my #CH32v003 's, and promptly lost it. But I've got some #CH552 boards I bought for making a https://github.com/geoffder/dometyl-keyboard, and they talk USB and have GPIOs, and there's Atmel AVR code for a CH32V003 programmer, which contains a description of the SWIO protocol in terms of AVR assembly, which I don't know yet. And I don't know MCS51 assembly for the CH552 but there's a 300-page architecture manual and a CH552 datasheet, and... I could easily spend a month saving two weeks and $15 USD. I don't even know what to send to the CH32V003 anyway... haven't read the technical reference nor learned RISC-V assembly.

Sigh... I should just do this project with a #STM32 #BluePill and leave the CH32V003 for next time. Now where did I leave those Blue Pills... *facepalm*

Nach #Weihnachten habe ich MacroPads (kleine USB-Tastaturen mit Drehknopf und Taster) kennen gelernt. Das was ich in die Finger bekommen (und aufgeschraubt) habe, hat einen Chip #CH552. Ich dachte es ist ein spezieller Tastaturchip wie der #CH340 ein USB-#UART Chip ist. Weit gefehlt, das ist ein #8051 kompatibler Chip mit USB, und der wird vom SDCC unterstützt!

ähnliches Macropad: https://github.com/wagiminator/CH552-MacroPad-plus

SDCC Projekt: https://github.com/atc1441/CH55xOneClickCompiler

#DIY #TODO

GitHub - wagiminator/CH552-MacroPad-plus: Programmable MacroPad with Rotary Encoder and NeoPixels

Programmable MacroPad with Rotary Encoder and NeoPixels - wagiminator/CH552-MacroPad-plus

GitHub

BASIC-52 on tiny CH552 boards via Linux

draft post, published for usefulness not polish

https://scruss.com/blog/2024/11/23/basic-52-on-tiny-ch552-boards-via-linux/

#8051 #BASIC #USB #Linux #CH552 #electronics

BASIC-52 on tiny CH552 boards via Linux

draft post, published for usefulness not polish Hackaday project that introduced me to the CH552 and BASIC-52: Single Chip Computer | Hackaday.io Boards that I’ve got this working with: CH552…

We Saw a Chicken …
A Compact SMD Reflow Hotplate Powered By USB-PD

When it comes to home-lab reflow work, there are a lot of ways to get the job done. The easiest thing to do perhaps is to slap a PID controller on an old toaster oven and call it a day. But if your…

Hackaday

I may have just found a version of BASIC-52 that runs on the very inexpensive CH552 microcontroller. The post is in Japanese, and there's a link to a Google Drive download further down the thread:

https://nitter.net/hiyodori5/status/1655122637390237697

Haven't tried this, as I'm not quite sure what to do with the hex file. I do have several WeAct Studio CH552 boards, though: 5 qty for $10 ...

#8051 #BASIC #CH552

Cheap LCD Uses USB Serial

Browsing the Asian marketplaces online is always an experience. Sometimes, you see things at ridiculously low prices. Other times, you see things and wonder who is buying them and why — a shr…

Hackaday

Implementación de un dispositivo #USB sobre un microcontrolador #ch552 (compatible #8051 ), en C

http://avelinoherrera.com/blog/index.php?entry=entry230204-020626

#mcs51 #sdcc

blog de avelino herrera morales - Implementación de un dispositivo USB sobre el microcontrolador CH552

Hands-On: Whiskey Pirates DC29 Hardware Badge Blings with RISC-V

The Whiskey Pirates have once again dropped an excellent electronic badge for DEF CON 29. This is, of course, unofficial, but certainly makes the list of the hottest custom bling seen so far this year.

I'm not able to make it to the con in person, but the Pirates sent over one of these badges anyway for an early look. It's gorgeous, and peering into the circuit board it would be easy to think that the chip shortage ain't got nothin' on #badgelife. But this was possible only because of some very creative parts sourcing, and a huge dose of inspired design work.

The Aesthetic

I usually begin with an overview of the hardware, but come on, this thing looks spectacular! Let's talk about the aesthetic. This is one of the more polished looks for a hardware badge, akin to the Queercon 15 badge which used PCB faceplate and back, separated by edge-lit acrylic. [TrueControl] sandwiched the PCB between two sheets of acrylic, one that serves as a faceplate with both etched and translucent areas, and a clear backplate that carries the side-firing RGB LEDs to where they can be seen.

At the end of each of the cross-bones there is a black rectangle. At first I thought these were some kind of IR reflectance sensor, but they're actually button caps. It looks like they've been cut out of acrylic of a thickness sized perfectly to be flat with the faceplate. They been superglued to the momentary push switches on the board.

The look of these caps is awesome. The function is a bit rough though, as the throw of the switch is very shallow. I did accidentally pop one of these off, probably by pressing too much on one end. A dab of glue has fixed it right back up.

An OLED display shines through the forehead of the faceplate. The badge acts as a nametag which can be customized from the menu. One of the nice touches is that [TrueControl] once again used his fancy firmware trick that tilts the letters of your name to match the angle of the badge. Pretty slick!

Tearing Down the Hardware

You have to be ambitious to get a good look at the populated board since it's normally covered by an acrylic plate and the AAA battery holder. After desoldering that and removing the Torx head screws we are left with a really beautifully assembled board.

We find some creative part sourcing at work here. The main chip is a GigaDevices GD32VF103 (PDF datasheet) which is a RISC-V core (not to be confused with the GD32F103 which is an ARM Cortex-M3). [TrueControl] speculates this may be the first #badgelife project to feature a hardware RISC-V core -- the 2019 Hackaday Supercon badge had a RISC-V software core running on an FPGA. Also on board are a PDK13 (one of the Padauk chips -- take a look at [Jay Carlson's] guide we featured a while back) and there's an 8051-based USB chip (CH552T PDF datasheet) near the bottom of the board for debugging.

There's a hard power switch to one side. I also find two top-down USB ports next to the battery holder. I tried each of them; one enumerates and powers the badge, the other doesn't enumerate but it does power the badge. When probing on the serial ports I saw characters echoing back but haven't explored much beyond that.

The two RGB leds that make up the eyes appear to be flickering and I suspect there's some data transfer happening there. If you look closely at the circuit board near the button on the bottom right bone, there is a two-pad footprint and a cutout in the faceplate clears the way for it. It's possible this is some type of light sensor, although It may simply be an IR LED as I would expect a receiver to have three legs.

There's another trick at play here, which is how to inexpensively source the OLED screens. Looking closely at this one you can see the hack that allows the tails of the pin header to be bridged to some pads on the PCB. These modules are cheap and abundant, but have you ever tried sourcing bare screens and placing your own components to drive them?

Yet Another Superb Offering from the Whiskey Pirates

The most important aspect of making a hardware badge is easily found in this one: passion. Pandemics and chip shortages be damned, [TrueControl] executed on great ideas and got this one over the finish line. The electronic design is quite interesting, and the look achieved reaches a level that everyone will geek out about.

The package arrived with several versions of the face plate. I'm honored that he took the time to etch my name into not one, but three of those plates. And take a look at that part of it -- it didn't end with the etching, those letters are filled with white paint to make them stand out.

If you're at DEF CON 29 this year, keep an eye out for people wearing these. That's the Whiskey Pirate crew, and they're a blast to hang out with. Hopefully I'll have the chance to do so again at DC30!

#cons #reviews #badgelife #ch552 #defcon29 #electronicbadge #gd32fv103 #hardwarebadge #padauk #pdk13 #riscv #whiskeypirates

Hands-On: Whiskey Pirates DC29 Hardware Badge Blings With RISC-V

The Whiskey Pirates have once again dropped an excellent electronic badge for DEF CON 29. This is, of course, unofficial, but certainly makes the list of the hottest custom bling seen so far this y…

Hackaday