Worklog Retro Lite CM4 - A StonedEdge and Dmcke5 collaboration

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
274
Likes
1,154
Location
Japan, Tokyo
Portables
2
Small step in the right direction last night with the CM4.
At long last, it boots! Finally we can see that beautiful splash screen B|

Turns out, a small bridge on the B2B connectors were stopping it from booting up, that was almost impossible to spot without a microscope. Soldering those connectors by hand was doable but a huge PITA. The $15 640x480p USB microscope saves the day - thanks to @BocuD for suggesting that one. @kent also was a massive help in scoping all of the lines to see if there was any issues with the power sequencing. Thank you both for your help.

Next steps include testing audio amp, writing firmware for the max17055 and safe shutdown scripts.

225667650_980936242689913_5898281402463877990_n.jpg
226007398_832449727403383_2596331550316765576_n.jpg
 
Last edited:
Joined
Jun 9, 2021
Messages
17
Likes
4
can't wait to see this thing finished with all the steps to get up to the finished result.
If by any means this could help you motivate yourself to make a commercial product out of this... I'm willing to help distribute this in Europe :p
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
274
Likes
1,154
Location
Japan, Tokyo
Portables
2
can't wait to see this thing finished with all the steps to get up to the finished result.
If by any means this could help you motivate yourself to make a commercial product out of this... I'm willing to help distribute this in Europe :p
Right now we don’t really have short term plans to make this into a product for people to buy. Rasp Pi foundation have announced there will be limited availability for the CM4 until Q1-Q2 2022 because of the silicone shortages. It’s also probably why there aren’t any Chinese kits available out there either. But not to say we wouldn’t make this into a kit in the future once we’ve done thorough testing and part availability gets a little better.
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
274
Likes
1,154
Location
Japan, Tokyo
Portables
2
MAX17055 fuel gauge is working and outputting all of the correct parameters over the I2C bus, which means the hardware side of stuff is mostly completed. TTE (time-to-empty) is probably accurate as we still haven't booted the Pi from battery so the load current is insignificant right now, hence why it shows 100+ hrs.

Thanks to @Aurelio for assisting with the initialization steps and @Dmcke5 of course for the python scripts and overlay work. Software has never been my thing so I'm grateful to learn from the both of them.

Next step we'd like to try and figure out is how to use the dispmanx video API to display a battery percentage text indicator from 1% - 100% next to the icon and also get PWM control with a button combination. But we're making some good progress at least!

Reading out some parameters from the registers of the gauge:
1630895631188.png


Look at that, a battery indicator :D
IMG_20210905_214018.jpg
 
Top