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
Also I had a problem connecting up to my Elegoo Neptune 3 #3DPrinting printer which uses a #CH340 but this article on removing brltty sorted that out for me :)
https://github.com/arduino/arduino-ide/issues/1788
brltty silently blocks CH340 USB driver under Linux Mint 20/21 · Issue #1788 · arduino/arduino-ide

Describe the problem There is a misleading flaw with the CH340 driver under Linux. It causes the USB based boards such as Wemos D1 mini to not show up in the ports list. There is a lot of tips arou...

GitHub

Sadly updating to Ventura didn't solve my #CH340 problem. This ATmega4808 board with the CH340K is still not visible beyond the system_profiler view (doesn't show up in /dev).

Maybe in Sonoma, but I'm not going that far.

Next approach is to install the latest Chinese device driver for it, but on an older machine that doesn't use the Apple driver: "DriverKit-AppleUSBCHCOM" which seems to be the culprit.

I've had some luck with that #ATMega4808 board as far as getting an #ArduinoNano wired up as programmer and using the #JTAG2UPDI code to push a 4808-friendly bootloader onto the device.

A problem though has brought me back into the nuances of the #CH340 serial chip world, which I had hoped I was done with yrs ago.

Seems maybe older MacOS versions have probs with CH340K vs G vs other variants.

I'm still on BigSur though, so perhaps this is reason to increment up to Ventura.

Take The Minimal Pain Out Of ESP32 Programming

Perhaps without many of us realising it, our single board computers perform the task of making programming their processor or SoC a lot easier. They take care of setting the right lines or commands…

Hackaday
Bit of a development this morning! This is #RISC_OS on the #raspberrypi 400 talking to a clone #8bit #Arduino Mega & running #ProjectRIO / #tinyBASIC via #CH340 USB serial driver... this might actually have a use case!
Check out CH340B component at @CircuitMaker

Can anyone download from wch dot cn at the moment?

#CH341 #CH340 #GreatFirewall #Embedded #Hardware #HardwareHacking #Electronics #ESP32

The programming cable for my #Cotre #CO04D showed up the other day, a holiday project.

The programming cable I have has a #CH340 chip in it, and my Windows machine is a "Windows on Arm" system (sigh), so I have to track down and figure out how to install the proper serial drivers. (Or, I need to borrow a proper x64 Windows machine to program it, that might be way easier.)

My reference info still comes from https://jhart99.com/better-cheap-dmr/ (who reports that a CH340 based setup worked for him)

Better Cheap DMR: The COTRE CO04D

The CO04D is the second cheap COTRE DMR radio, but is it worth it?

Unique Clock Doubles as a Development Board

Most clocks these days have ditched the round face and instead prefer to tell time through the medium of 7-segment displays. [mihai.cuciuc] is bringing the round face to digital clocks with his time-keeping piece, MakeTime.

MakeTime serves two purposes, the first and most obvious one is as a clock. Rather than displaying the time with digits, MakeTime harkens back to round dial clocks by illuminating RGB LEDs along its perimeter to show the position of the minute and hour "hands". By using 24 LEDs, MakeTime achieves a timing granularity of 2.5 minutes.

The second purpose is as a development platform. [mihai.cuciuc] designed the clock with hacking in mind, opting to build it with components that many are already familiar with, such as a DS3231 RTC and WS2812 LEDs. To make the entire thing Arduino compatible, the microcontroller is an AtMega 328P, that can be connected to through the micro-USB port and CH340 USB-UART IC. If MakeTime outlives its time as a clock, all of the unused GPIO of the 328P are broken out to a single pin header, allowing it to be repurposed in other projects for years to come.

It seems like everyone is making their own unique timekeeping device these days. Check out the clock made out of ammeters we covered last week.

#clockhacks #328patmega #ch340 #clock #ds3231 #pcb #time #ws2812

Unique Clock Doubles As A Development Board

Most clocks these days have ditched the round face and instead prefer to tell time through the medium of 7-segment displays. [mihai.cuciuc] is bringing the round face to digital clocks with his tim…

Hackaday