Live data from Hacker News

PCB devboard the size of a USB-C plug

github.com

41–50 of 72 posts

Re: PCB devboard the size of a USB-C plug

#41

This looks awesome, I'd love to get one. Question, what's the advantage over something like the ESP32C3 and the like? Just even smaller?

If it had a female usb c connector at the other end, we could daisy chain those or connect other device on the same port (like mcu in the middle).

Re: PCB devboard the size of a USB-C plug

#42
post #38
post #31

Does anyone here know the reason why Pcbway stopped accepting credit cards? My colleague asked them but I recall there wasn't a clear answer. It is puzzling why they would make it harder to do business with them from outside China. Jlcpcb doesn't have this problem.

It was either PCBWay or JLCPCB, but they had a "review window" where it was possible to make changes or cancel an order. They recently switched this to be an automated review, so there was no opportunity for corrections. It could be that the card companies blacklisted them after people started cancelling orders with their credit cards, because their UI stopped supporting the feature.

Ordered from JLC a few weeks ago, their "review" is still manual. You can select a "confirm production file" option to get a second chance too.

Re: PCB devboard the size of a USB-C plug

#43

Earlier quoted context omitted.

It's a much less fancy cpu that's very small. No wireless. Lower powered I would expect. But it's an MCU with something like 16KB of flash and 2KB of ram if I remember right. The analog stuff on it is supposed to be pretty good. The Anduril flashlight firmware (toykeeper.net/anduril) is a somewhat popular application that can run on it.

> Lower powered I would expect With the right software, ESP32 can be incredibly low power. Like "months on 3xAA batteries" for watching a pin with the ultra low power subsystem and then occasionally waking up and making a HTTPS call over WiFi.

This is just kind-of low-power. Some microcontrollers (e.g. PICs) can have sleep consumptions measured in nanoamperes. Months to years on a coin cell... just, they would need an external wifi module, which is highly inconvenient.

Re: PCB devboard the size of a USB-C plug

#44
post #5

I'm interested in this too. I've been using STM32 NUCLEO boards, which are cheap and capable, but even the smallest ones are noticeably larger than this. I'd love to see an STM32 version of this project.

https://tomu.im/somu.html This is an stm32l432kc in the form of a yubikey nano.

That's just nuts. That's more processing power than the first 10 computer I owned combined.

Re: PCB devboard the size of a USB-C plug

#45

Question for the people who have used the CH32V003 or more generally WCH, either for hobby or production, what is the current state of documentation and toolchain for these chips? Positive experiences, war stories?

I've used CH32X035 (which is practically CH32V00x plus USB and some other things) at the hobbyist level (no-frills keyboard PCB designs).

The impression I get of WCH and their CH32 line is it ... draws heavy inspiration from STM32.

WCH provide English translated datasheets and reference manuals. They're fine.

Their own recommended toolchain is a fork of GCC. But as far as I can tell, they haven't shared their changes anywhere. The specifics of the changes they've made are a bit beyond my understanding, though.

With the open source distributions of GCC toolchains work just fine. I've built Rust crates as firmware libraries for them.

That the CH32X035 is very simple to design for (& low cost) means I'd rather make use of it for hobbyist keyboard PCB designs compared to the RP2040.

Re: PCB devboard the size of a USB-C plug

#47

TIL about "Charlieplexing", or how to use a reduced set of pins to drive a matrixed set of LEDs. https://en.wikipedia.org/wiki/Charlieplexing

That's going to be funny when you try to make a photograph on a short shutter time. Half the display will be off!

Re: PCB devboard the size of a USB-C plug

#48
post #10

Very nice. I am wondering -- why have a devboard this small?

...trust me this is the best USB cord ever try it out for free, ill sell you some cheap if you get a couple friends to buy some. https://shop.hak5.org/products/omg-cable https://phreakboutique.com/blogs/tutorials/using-your-new-ev... thats how the grift starts...

If I were an evil person I would start a cable shop where I sell all kinds of cables. And based on who the customer is I would send them a real cable or one with a nice and free to them surprise extra payload.

Who is going to x-ray each and every cable they buy? And who keeps track of where they sourced what cable?

Re: PCB devboard the size of a USB-C plug

#49

TIL about "Charlieplexing", or how to use a reduced set of pins to drive a matrixed set of LEDs. https://en.wikipedia.org/wiki/Charlieplexing

That's going to be funny when you try to make a photograph on a short shutter time. Half the display will be off!

True, but doesn't this apply to regular matrixed displays as well?

Re: PCB devboard the size of a USB-C plug

#50
post #26

Very cool, but what about the $ to manufacture? Things get exponentially(?) harder the smaller it is, especially for custom boards.

Looks like it only has 6 discrete components [0], and the pinout on the MCU looks like a standard QFP [1] (and everything else is on larger pads), so I think that you should be able to manufacture this using standard production techniques/manufacturers. But I know hardly anything about hardware, so I may be completely wrong here. [0]: https://github.com/user-attachments/assets/0f7962d5-38e1-4bd... [1]: https://en.wik…

Pedantic correction: it's a QFN (quad flat no-leads) package, as it doesn't have any legs. Agreed though, this is well within normal capabilities.
Post reply on HN