Worklog Retro Lite CM4 - A StonedEdge and Dmcke5 collaboration

Pablo

.
Joined
Jan 4, 2019
Messages
39
Likes
37
Portables
2 - G-Wii, Gamebii
Hot damn does that look sweet as hell. This project is awesome
 
Joined
Dec 6, 2020
Messages
39
Likes
56
Location
Canada
Still deciding on the screen, I've found a 5.5" IPS 1080p option but it uses MIPI communication so we would need to find a suitable control circuit to include in the PCB to make that work. It may prove to be less complicated than copying the HDMI to TTL driver board, but at least I know that combination already works.
I've seen those mipi displays around eBay, if I were doing my own pi 4b unit would you recommend getting my hands on one of those displays? Most I've seen were about 2k resolution but I have also looked at the HDMI to 40pin TTL 5" setups on adafruit they just weren't ips
 

Dmcke5

.
Joined
Feb 16, 2020
Messages
187
Likes
791
Location
Queensland, Australia
Portables
2
I've seen those mipi displays around eBay, if I were doing my own pi 4b unit would you recommend getting my hands on one of those displays? Most I've seen were about 2k resolution but I have also looked at the HDMI to 40pin TTL 5" setups on adafruit they just weren't ips
We didn't end up using one as we wanted to be able to integrate the display controller into our own PCB as we didn't have room for another separate LCD controller PCB and couldn't find any reliable open source designs for controlling MIPI displays. So we went with a 40 pin TTL display with the adafruit HDMI controller instead. There are plenty of 40 pin TTL displays around which are IPS, it may just take some trial and error to find one that's 100% compatible with the adafruit driver board.
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
236
Likes
1,010
Location
Japan, Tokyo
Portables
2
Dmcke5 took the time out yesterday to create some more renders for the project to give us both an idea of the color combinations we could possibly achieve with the anodized finishes. I'll post them below in spoilers so it doesn't clog up the worklog.

I just received the CM4 Lite module in the post today and hopefully may have a bit of time this weekend to get started on the main PCB assembly and do some preliminary testing. I'm confident that with the incredible progress Dmcke5 has made over the past weekend with the housing, we will get this done soon! Dmcke5 is confident that with our button molds and some clever mixing of resins we will be able to achieve whatever button colors we want, which opens the floodgates for testing out some awesome color combinations in Fusion 360's rendering environment.

Enjoy the renders! (The below picture is raw 6061 aluminum finish, no post processing has been applied except for a sand blast)

169289384_160953799235649_6262914420149947460_n (1).jpg


168313066_574814407249468_424426387327810242_n.jpg

169067071_748923622483829_6185276289055731253_n.jpg

168236115_949269645876260_8156237723907610928_n.jpg

169085094_925873108168156_3431149844444771516_n.jpg

168450655_505254433817000_4919517394513919117_n.jpg
167927521_806422760297060_3481303950581469782_n.jpg

167680470_280784006879968_7938637214002267065_n.jpg
167499396_160985989225155_5358774320067786056_n.jpg

168816633_303633524442317_7598633528427082758_n.jpg
169484424_126381016074862_8709951280565196314_n.jpg

168437532_276687724066881_8880809659998484611_n.jpg
168406774_241493274370489_8441057571972017246_n.jpg

170203300_440580580343487_6942519426845268123_n.jpg
167876497_905303966973334_4573977892088789369_n.jpg

169534776_591471875594897_4088242503789773851_n.jpg

170233196_924570584961235_5118019049356317698_n (1).jpg

169635558_155922966415739_5251978433949587947_n.jpg
169436994_274234354352017_652240009693519259_n.jpg

169137141_2932867703699841_613841305865071816_n.jpg
169141272_289440515891542_6456603459472578793_n.jpg

168300890_360909768541860_9024076300785523057_n.jpg
170788596_1305144699902052_4584645046836347830_n.jpg

167855761_3006033893016273_1104265749698833386_n.jpg
168485431_456174175672565_5117486349025769269_n.jpg
 
Last edited:

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
236
Likes
1,010
Location
Japan, Tokyo
Portables
2
I took 2.5 hours today to assemble most of the parts that were in stock at Digikey. I need to get some flux to fix all the shorts but very happy on how it looks. Hopefully within the next 2 weekends or so I can dedicate some time to testing out all the circuits and writing the code along with Dmcke5 for the BQ24292i and MAX17055 fuel gauge.

Exciting!

B4765671-23D6-4F22-BE25-E67A199A878F.jpeg
0772F99A-0104-46B7-845D-ECDB1D472339.jpeg
B63DDF72-97C0-4071-8F19-3A1444C3085E.jpeg
C8983872-ACA1-45B4-84C1-4DACD2C1FAD9.jpeg
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
236
Likes
1,010
Location
Japan, Tokyo
Portables
2
Official finished case before we go in for anodizing hopefully this week. I’m still in awe of the job Dmcke5 has done on it, it definitely deserves to have better electronics in there than what I am capable of... maybe next revision

3BE3D215-1E9B-4E25-8AC9-14814E33E5EB.jpeg
2A5456EF-9470-4E8F-B452-B5D843339C49.jpeg


I also got 15V out of the Nintendo Switch Lite charger which was pretty easy to do with the IP2721 sink IC. Thanks to YveltalGriffin for suggesting this easy to use solution. It’s not as fancy as it can’t negotiate over i2c but it’s good enough for a basic Pi project.

9CCB97E5-5509-4361-ADBB-176542519A88.png

A9CA8800-DF20-4D0B-9795-ED232E8460E0.jpeg
 
Joined
Dec 6, 2020
Messages
39
Likes
56
Location
Canada
Just getting an opinion, aside from a decent amount of weight with 20000mah and being lots of energy, would a modified rvl Pms for 5v/ 3.3v and 10000mah be sufficient for running a pi 4 portable?
 

Dmcke5

.
Joined
Feb 16, 2020
Messages
187
Likes
791
Location
Queensland, Australia
Portables
2
Just getting an opinion, aside from a decent amount of weight with 20000mah and being lots of energy, would a modified rvl Pms for 5v/ 3.3v and 10000mah be sufficient for running a pi 4 portable?
I'm not completely sure on the exact specs of the RVL PMS but assuming it can provide about 3 amps at 5v then yes it will be adequate for a pi4. There's no need for a 3.3v supply as the pi has its own built in 3.3v regulator for anything it needs. 10000mah would get you probably 5-6 hours of run time easily.
 
Joined
Dec 6, 2020
Messages
39
Likes
56
Location
Canada
I'm not completely sure on the exact specs of the RVL PMS but assuming it can provide about 3 amps at 5v then yes it will be adequate for a pi4. There's no need for a 3.3v supply as the pi has its own built in 3.3v regulator for anything it needs. 10000mah would get you probably 5-6 hours of run time easily.
Thanks, I can't say about the rails from the 5v buck but the BOM lists a 5v 4a buck boost for the PMS, the 3.3 was to have the uamp analog added in. I believe the pi 3.3 rail was not adequate enough for larger power draw
 

Dmcke5

.
Joined
Feb 16, 2020
Messages
187
Likes
791
Location
Queensland, Australia
Portables
2
Thanks, I can't say about the rails from the 5v buck but the BOM lists a 5v 4a buck boost for the PMS, the 3.3 was to have the uamp analog added in. I believe the pi 3.3 rail was not adequate enough for larger power draw
I think the pi's 3.3v regulator can handle a couple of hundred milliamps. Have you considered one of the many digital audio options available for the pi? That's the direction I would go personally.
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
236
Likes
1,010
Location
Japan, Tokyo
Portables
2
Thanks, I can't say about the rails from the 5v buck but the BOM lists a 5v 4a buck boost for the PMS, the 3.3 was to have the uamp analog added in. I believe the pi 3.3 rail was not adequate enough for larger power draw
There aren't any DAC outputs on the Pi SoC or CM, so you won't be able to use the U-AMP with the Raspberry Pi. The Pi model A/B do it by using the PWM peripheral and a low pass filter. If you want to use the U-AMP you'd have to modify the code to set it up as a i2s master device and set the Pi as an i2s slave, with external MCLK for managing the timing of all the signals. Another possibility is to use the pins for DPI, but then use SPI or even possibly bit-banging, to attach a cheap external MCU with I2S which deals with a DAC or CODEC. The Pi doesn't have a decent MCLK at all, so nearly everyone I've spoken to goes with the PCM5102 chip for audio. We went with the WM8960 codec from Waveshare, since there is already a bunch of Linux drivers for it.

I think the pi's 3.3v regulator can handle a couple of hundred milliamps.
Yep, the internal 1v8 and 3v3 regulator outputs for the CM4 can supply up to 600mA :)
 
Joined
Dec 6, 2020
Messages
39
Likes
56
Location
Canada
There aren't any DAC outputs on the Pi SoC or CM, so you won't be able to use the U-AMP with the Raspberry Pi
I really wasn't plannning on using i2s from the pi to the uamp, I was going to pull headphone audio out to the analoge on the uamp, it's been done plenty of times for the pam8403. Just keeping it simple.
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
236
Likes
1,010
Location
Japan, Tokyo
Portables
2
I really wasn't plannning on using i2s from the pi to the uamp, I was going to pull headphone audio out to the analoge on the uamp, it's been done plenty of times for the pam8403. Just keeping it simple.
That’s fine, but maybe I wasn’t clear in the above post. There is no DAC outputs on the Raspberry Pi, so you can’t use it to drive an analog amplifier.
 

Dmcke5

.
Joined
Feb 16, 2020
Messages
187
Likes
791
Location
Queensland, Australia
Portables
2
That’s fine, but maybe I wasn’t clear in the above post. There is no DAC outputs on the Raspberry Pi, so you can’t use it to drive an analog amplifier.
Actually there is on the full sized Pi4, its just the Compute module that doesn't have one.
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
236
Likes
1,010
Location
Japan, Tokyo
Portables
2
Actually there is on the full sized Pi4, its just the Compute module that doesn't have one.
Oh, my mistake then - I think the Pi Zero also doesn’t have any analog outputs. I guess then a generic analog amp will work fine then for other models. You’d still need a way to drive both headphones and speakers too though. U-AMP seems like a good solution for what he wants to do then.
 
Top