Orb2069, to random
@Orb2069@mastodon.online avatar

"you don't need a USB-C cable. We have a USB-C cable at home."
The USB-C cable at home:

LeoDJ, to random
@LeoDJ@chaos.social avatar

Anybody got some recommendations for a low-pain USB PD stack / MCU?
It has to support PD3.1, especially EPR.

I have skimmed the offerings from Cypress (Infineon), STM and WCH, but none have yet convinced me to any significant degree...

Are there some stacks/libraries that are commonly used on that make it easier to get started?
Maybe some example code for an EPR source?

:BoostOK:

voltagex, to Electronics
@voltagex@aus.social avatar

what is the cheapest way for me to get an accurate 5 volt source? (Say 5.000 to start)

I think a few of my meters are inaccurate and I want to find out how inaccurate

LeoDJ, to random
@LeoDJ@chaos.social avatar

Now introducing: !

1.7 kW worth of raw USB-C PD power.

24x USB-C ports.
4x 100W, 20x 65W.
(4x USB A, but we don't talk about those :P)

I never did a post of the project that @techbeard and I did last-minute before , so here you go.
Build log in the thread below.

Back view. The back consists of another milled PCB that holds the Powercon True1 power input socket, the XT60 24V power output plug and a large OLED screen.
View of the OLED screen in action at the Geekend Aalen '23. It mainly shows (a rough approximation) of the overall power draw and some internal stats.
The being utilized pretty heavily at the Unterland village at CCCamp23

LeoDJ,
@LeoDJ@chaos.social avatar

The whole project was fuelled by initally finding really cheap DC-to-PD modules on (links below).

And for cheap but powerful power supplies, there was basically only one logical choice: Used server power supplies.
The ones are pretty nice and modding-friendly.

JFF, I did a basic mockup of how the modules and PSUs could fit together.

It was too stupid and cheap to not give it a shot :P

65W: https://s.click.aliexpress.com/e/_DdhjXqB
100W: https://s.click.aliexpress.com/e/_DmrqXSr

Picture of the 100W module
CAD mockup of a possible placement of the modules

LeoDJ,
@LeoDJ@chaos.social avatar

I ordered a handful of either module and tested them thoroughly.
Both support all relevant profiles including PPS and a bunch of other fast charge protocols.
Thermally they behave pretty good aswell. Both pictures were taken after about 15min of 24V input and 60/95W load in open air.
The hottest component of the 100W module is the 5A SMD fuse with over 100°C :D
But our planned thermal solution should improve things a lot ^^

Thermal picture of the 65W module. The hottest part is actual IC with about 80°C
Picture of the 100W module connected to a PD analyzer. This time the different PD profiles are displayed. 5V, 9V, 12V, 15V with 3A and 20V with 5A. Also PPS from 3.3-21V @ 3A.
Thermal picture of the 100W module. The hottest spot is right where the fuse sits on the underside of the PCB with 98°C. Other components are under 80°C.

LeoDJ,
@LeoDJ@chaos.social avatar

@techbeard milled the two front plates from copper clad FR-4 PCB material.
They feature a bunch of vent slits, so the server PSUs draw in air through/over the PD modules and cool them.

Test fit of the USB port cutouts in the front panel
View of the front panel with most PD modules loosely slotted in
View of the front and back panel leaning against the server PSUs, for a rough feel of the formfactor

LeoDJ,
@LeoDJ@chaos.social avatar

Next, the modules are mechanically assembled into an array.
Four rows of five 65W modules are screwed onto aluminum strips with thermal pads in between.
These strips are then inserted into two 3D-printed side rails, which are then screwed to the front panel.

This is also the thermal solution. Because it should almost never happen that all modules of a row are fully utilized, the heat should spread and thus get carried away by the airflow better.

The 100W modules soldered to their backplane and not yet connected to the alumium plate
The module array in front of the server PSUs

LeoDJ,
@LeoDJ@chaos.social avatar

During soldering of the 65W modules, I noticed that our heat sink concept worked almost too well xD
It was really hard to solder to the power pads of the modules. Even if you heated it with a good soldering iron for over a minute, the other side of the solder joint was barely liquid.
As soon as you took the iron away, the solder solidified instantly.
And the enamel of the copper wire had to burn off too under those conditions, making it even more difficult.

The modules finally soldered. Took only a bit over an hour xD
The modules still being uniformly hot (38°C) minutes after soldering. Indicating quite good thermal conductivity.

LeoDJ,
@LeoDJ@chaos.social avatar

After mounting the 100W modules to an aluminum strip, it was time to test the array.
We didn't have enough 100W capable loads to do a long full-load test, but close enough :D
The thermals look promising. The aluminum strip spreads the heat pretty well and got to around 60°C itself.
The hottest spot on the modules is now the USB port interlock P-FET at 90°C. And that will improve with airflow too.

Thermal image of the 100W modules. The middle two power banks were already full, but the outer two modules have finally reached an equilibrium. 90°C at the P-FET and the aluminum strip got to about 60°C (measured via a piece of electrical tape)
Thermal picture of the whole test setup.

LeoDJ,
@LeoDJ@chaos.social avatar

The 65W modules got tested too.
They stay surprisingly cool. After some time at full load it only reached around 50°C.

And it looks like the thermal solutions works exactly like intended.
As you can see in the thermal video, the modules beside the loaded one heat up noticably too (in comparison to the rows below, which you basically can't see at all, thermally)

video/mp4

LeoDJ,
@LeoDJ@chaos.social avatar

During final assembly of the array, the 100W module group suddenly showed a short circuit on the input.
I was puzzled at first, but had a hunch.
And sure enough, the 1mm thermal pad was slightly too thin and the main input ceramic capacitor punched through the thermal pad and shorted out against the aluminum strip.
Luckily it didn't crack ^^"
I fixed it by simply putting another layer of thermal pad on top :D

The imprints left in the thermal pad

LeoDJ,
@LeoDJ@chaos.social avatar

The housing of the is a piece of rectangular aluminum extrusion.
For mounting the server PSUs I decided to design and 3D-print some plastic rails, so the PSUs can be slotted in.
The DIY PSU backplane will get fixed to the front rails too, so the alignment and mechanical forces of the PSUs being slotted in will be manageable.

CAD drawing of the rails

LeoDJ,
@LeoDJ@chaos.social avatar

After a final test of the electronics, everything can be put together.
@techbeard drilled and countersunk the necessary holes in the aluminum extrusion and fabricated some corner pieces, so the back plate can be screwed to the extrusion.
We mounted the rails, backplane and module array inside the extrusion. Now the PSUs can be slotted in, which is quite satisfying.

The last PSU being slotted into the aluminum extrusion with a satisfying

voltagex, to Electronics
@voltagex@aus.social avatar

https://oshwhub.com/qaxslk/dai-PD-QCyou-pian-jian-ce-yi-ji- is an open source design for a USB PD monitor and logger

Many files I need are gated behind JLCPCB's Chinese site - this is important as it only accepts or mainland (?) phone numbers.

I need:

a) A copy of the files listed, including the firmware

b) Assistance to fix design rule check errors that happen when the schematic is imported from LCEDA into EasyEDA

flameeyes, to random
@flameeyes@mastodon.social avatar

The littlest bringup. I now can interpret the PDO_SEL from the UPD301C devkit (EV11L78A) in @zephyr .

This is not particularly useful right now, but given how this is the first time I approach Zephyr, I'm happy to have gotten to this simple step as it is.

This is what I'm talking about doing as part of my Diabetes UK donation drive: https://flameeyes.blog/2023/08/02/gone-with-the-wind-donation-drive-for-diabetes-uk/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • cisconetworking
  • modclub
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • normalnudes
  • megavids
  • Leos
  • anitta
  • lostlight
  • All magazines