Desk of Ladyada - The 8051 Throwback Episode - CH552

  Переглядів 1,559

Adafruit Industries

Adafruit Industries

День тому

This week at my desk, we played around with this CH552-based QT Py board before the chip shortage. Now parts are plentiful, so we made some prototypes and are trying out the CH55xduino (github.com/DeqingSun/ch55xduino) board support package. and, it works!
There's a few things to watch for given it has C but not C++ support. However, for about '40 cents' per chip, you get a 8051 with native USB that can do CDC/HID, has 4x 8-bit ADCs, hardware serial, I2C, SPI and doesn't need a crystal or a lot of passives.
Obviously there's down sides to such a minimal 8-bit microcontroller chip, but we think it could be super fun for some very basic USB projects!
We'll show off a couple quick demos we threw together. We think of it as a native-usb-ATtiny85-alike, a nice update to our old Trinket '85s.
Catch Desk of Ladyada live on UKposts every week Sunday evenings and past episodes on UKposts. • Live from the desk of ...

КОМЕНТАРІ: 6
@gerardzi7930
@gerardzi7930 14 днів тому
Come black to the 1980 with 8051 MCS-51 51 nice core CPU 😊
@teejay872
@teejay872 10 днів тому
The 8051 is nice… but the AVR is way more powerful.
@brettb.345
@brettb.345 13 днів тому
I've been playing around with this chip for several months now. I really like it, though it takes some adjustment for the C compiler and I had to write my own custom libraries for it. If you don't need USB, the CH32V003 (RISC-V) is even cheaper, though the C++ Arduino Core still needs some work.
@teejay872
@teejay872 10 днів тому
What adjustments?! SDCC runs out of the box.. you need the headers though. 😒
@brettb.345
@brettb.345 10 днів тому
@@teejay872 Personal adjustment in your writing of code vs C++.
@j7gy8b
@j7gy8b 13 днів тому
I assume the compiler you mentioned is sdcc? The struggle is real. I've some hope that we can take the LLVM fork for 6502 and add 8051 as a target... In the meantime I'm using the rv51 emulator for RISCV. It's slow but so is the code sdcc generates so *shrug*
ASK AN ENGINEER 4/17/2024 LIVE!
39:16
Adafruit Industries
Переглядів 1 тис.
Desk of Ladyada - Two Terrific Trinkeys + Z80 Processors #adafruit @adafruit
23:55
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
00:40
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1,1 млн
Add USB To Your Electronics Projects! - The USB Protocol Explained
15:19
I Tried a Disney Secret Project!
11:33
Marques Brownlee
Переглядів 4,6 млн
I Bought a Recording Jammer. It’s Legal.
14:00
Linus Tech Tips
Переглядів 1,1 млн
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 28 тис.
VCF East 2024 + Museum Tour + PDP8 Fun!
26:50
Usagi Electric
Переглядів 27 тис.
Trashy and a bit dangerous, but a clever design
10:38
bigclivedotcom
Переглядів 82 тис.
ASK AN ENGINEER 4/24/2024 LIVE!
41:06
Adafruit Industries
Переглядів 870
This 9$ Universal ROM Burner is Open Source!
16:36
Anders Nielsen
Переглядів 24 тис.
Power AC Coolness with Anker SOLIX F3800
0:27
Anker SOLIX
Переглядів 3,5 млн
Phone sees the future ! 📲🫣👽
0:38
BOGDANCHIKI
Переглядів 11 млн
RTX 4070 Super слишком хороша. Меня это бесит
15:22
Рома, Просто Рома
Переглядів 62 тис.
#smartphone #screenprotection #tech #shorts #magicjohn
1:01
MagicJohn
Переглядів 6 млн
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 5 млн