Boosting Bus

Written by

in

I was fresh from my mesh board tweaking, so I thought I would get cracking on some more add-on boards
I started off on the ‘plug’ board, a super simple way to use your CL-32 with other components and breadboards
Image description
This card gives access to stacks of pins, as well as power and ground. Routing is super simple, and it was done in no time!!
While I was messing, I saw this post on SolarOS and it got me thinking about the USB port
I had always had USB usage in the back of my mind, but not really considered real world usage, as initially, the software side was up to me, and I had no clue what to do with it!!
Being able to add a keyboard and external storage would be a game changer!! If you wanted to type out the next big novel, then transfer it to a pen drive to give it to your publisher would be awesome (if you write books i guess 🙂 )
The biggest wrinkle in the plan is that the USB device needs power, and the power on the USB port of CL-32 only takes power in, and doesnt give power out
There is of course a super easy fix for this!! The add-on slot has access to the USB data pins on the ESP32, so a simple add-on card with a USB socket and a 5v boost circuit, and we are off to the races!!
Image description
A quick check highlighted that the port will clash with the outer part of the case, so I had this silly idea to move the port inward, and have a slot in the add-on board
Image description
You might get a cable in there, but it looks terrible, and the card is probably going to end up really fragile
I had a look through the LCSC catalogue and found some weird and wonderful ports
Image description
That would pop the socket over the case, for sure. There are slighlty more streamlined versions
Image description
That makes things a bit neater, and the socket will be clear of the case for sure!!
Image description
now it just looks like CL-32 has been supercharged 🤣🤣
I had thought in the past that I could add a simple 5v boost, and then have the core MCU toggle the boost while switching the USB from power in to power out. This gets complicated with the cc1 and cc2 resistors as they are used to tell devices what mode to be in
I ran through it with Ai and there is apparently a Pro way to do this!!
Image description
So the device will be able to automagically enable the 5v boost as needed, but then you can still charge the device too that would be the perfect solution for the future, but I will have to see how much extra cost the extra hardware will add (its easy to get carried away with these things!)
For now, I can use my magical USB-C dock that can power and charge, and then use that to power the USB devices while even charging CL-32 too!! That then means things like this can happen!!
Image description
Nothing says portable pocket computer like a floppy disk drive!!!
When Bytewelder spotted this, he also mentioned that Tactility can do this, but it is disabled for ESP32-S3 devices because none of them have USB power in there
Image description
It didnt take him long to pop it back in 🤣🤣
I need to find some time to do a little video on all this, so you can all see how awesome thing is 🙂

Comments

Leave a Reply