Live data from Hacker News

PCB devboard the size of a USB-C plug

github.com

61–70 of 72 posts

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

#61
post #58

I don't think it's smaller, but you can also drop the USB connector and just order the right thickness of PCB: https://github.com/AnasMalas/pcb-edge-usb-c

True, but in this case you'd need to make the PCB larger as you can't put any components on the part the USB plug will attach to (unlike the case with USB-A, where the contacts are only on one side. Nevertheless, this is worth considering if your goal is cost reduction rather than size reduction.

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

#62
post #10

Earlier quoted context omitted.

...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?

you should tender to NSA. less liability exposure, probably better revenue.

there is an interception and controlled delivery often used to get at the big problems.

you should never trust a "ground score" if your doing anything bad, it could be a controlled delivery.

considering current events i speculate there may be an uptick in this type of security operation.

https://www.schneier.com/blog/archives/2014/03/cottonmouth-i...

https://en.wikipedia.org/wiki/ANT_catalog

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

#63

Earlier quoted context omitted.

> 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.

Do you have an example of such a setup handy?

No, it was an undocumented one-off using a random cheap devboard from Aliexpress (i.e. not some specifically optimized circuit!), built (IIRC) using the Arduino IDE - aside from spending the time to find and configure the low power mode properly, this was done in the dumbest, most naive way possible, and still worked.

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

#64
post #32

Earlier quoted context omitted.

> 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.

That's not lower power, is it? E.g. RuuviTags can run 3 years or longer while sending sensor data 2.5 times per second, with a single CR2477 (3V 1000mAh). A single AA alkaline battery has 1.5V and 2100-2700 mAh ( https://batteryskills.com/aa-battery-comparison-chart/ , somehow this data was difficult to find so I'll add this link :)). Bluetooth is lower energy than WiFi, but in your scenario the energy used for the r…

There definitely are lower-powered options; I mostly meant that as an example that as an hobbyist, an ESP32 - possibly even on a standard dev board! - could easily be good enough for your use case.

I never did a formal study to see how much of that power use was standby vs. power-on usage, how much of the standby usage was the ESP32 vs. the board/voltage regulators/pulldowns, how much of the power on usage was radio vs. e.g. all the crypto (we're doing asymmetric crypto for the TLS handshakes on batteries here, that isn't going to be cheap!) etc.

I just slapped it together and found it good enough to not care further.

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

#65
post #62

Earlier quoted context omitted.

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?

you should tender to NSA. less liability exposure, probably better revenue. there is an interception and controlled delivery often used to get at the big problems. you should never trust a "ground score" if your doing anything bad, it could be a controlled delivery. considering current events i speculate there may be an uptick in this type of security operation. https://www.schneier.com/blog/archives/2014/03/cottonmo…

Fuck the NSA. I did start off with 'If I were an evil person'. If I were an even more evil person I would go to work for the NSA. But no worries, I'm not politically aligned with anything in the USA right now and saw the writing on the wall two decades ago.

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

#66
post #55

Earlier quoted context omitted.

nRF52832 are famous for their low energy usage, it's hard to compete with them. However, ESP32 is much more universal.

Actually I've read claims that ESP32 C6s are pretty decent battery-consumption-wise. So much so that I bought a few, hoping to make at least a doorbell out of it. Alas I don't have a device to measure microampers, so I guess I'll just see how long they're fare..

You can use ohms law - let it draw power through a 10k resistor, and put your multimeter across the resistor. Every .01 volt is 1 uA. This also means that if you're powering it with 3.3v and it browns out at 3.0v, you'll only be able to draw 30uA before browning out.

You can use a different resistor according to the power draw and how sensitive your volt meter is.

You'll probably need to power it up with the resistor shorted, and only remove the short once it's in sleep mode, to measure the current.

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

#68
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.

Don't they have a rather exhaustive self-service review UI on submission? Allowing people to cancel after they already verified exactly what they were getting seems a bit excessive, no?

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

#69
post #68
post #38

Earlier quoted context omitted.

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.

Don't they have a rather exhaustive self-service review UI on submission? Allowing people to cancel after they already verified exactly what they were getting seems a bit excessive, no?

I will review a board a dozen times, find no issues, submit it for production, then 5 minutes later discover an obvious bug. Characterize it how you will, the cancellation window has saved my bacon more than once.

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

#70
post #68

Earlier quoted context omitted.

Don't they have a rather exhaustive self-service review UI on submission? Allowing people to cancel after they already verified exactly what they were getting seems a bit excessive, no?

I will review a board a dozen times, find no issues, submit it for production, then 5 minutes later discover an obvious bug. Characterize it how you will, the cancellation window has saved my bacon more than once.

Exactly this. You calm down, take a cup of coffee, marvel at your beautiful design, and then spot something out of place. The actual review has saved me a few times too, for example: "are you sure there are no copper layers in your PCB design?" - Doh! A few times they have raised issues regarding the limitations of their manufacturing capabilities, and this too has saved time and cost.
Post reply on HN