Luckfox Lyra on PicoCalc

Finally i have doom on my Pico calc thank you all.Even if theres no sound willing to learn and hack :slight_smile:

1 Like

I do check the schematic. It seems that adc_ref doesn’t connect to anything. It’s not used on PicoCalc.

When outputting audio via soft pwm, the low pwm frequency causes the noise to be heard by human ears. If I can make the frequency above 20khz, the problem would be solved.

1 Like

I see. Thanks for your reply.

I presume the Lyra pico board is the most powerfull on the market in this form factor?

Maybe this is helpful?
It is used in the MP3Player example.

What i don’t get is if the pins 32 and 31 also works as DAC why we need to PWM them in software? I am not a specialist so please forgive my stupid question.

It seems so at this point but dont forget the Pico and Pico2, Pimoroni etc can be overclocked a moderate amount and close the gap a little. Some appear to be limited by psram speed (whether on the Core board or PicoCalc)…

Lyra also has a memory management unit which lets it host a true modern OS. The others, no matter the speed bump, are microcontrollers.

3 Likes

I would love to see some real life test with all the boards.

I’m planning to make this modification on the lyra instead of on the PicoCalc - I don’t see why I couldn’t run the wire on that end instead, though it might be a little more of a pain to plug / unplug.

I will just take a piece of solid core wire and place it where the removed pin was (possibly with a dab of hot glue or something to hold it in place), route across the top of the board, and solder it onto pin 4 on the other side. Pretty sure that should work just as well without modifying the PicoCalc.

1 Like

Well any easy sound and wifi option is a god send.

1 Like

Like this ? :rofl:. Soldered wirewrap (had to be very low profile)…

2 Likes

MAYBE a little TOO much like that :rofl:

1 Like

what I’m wondering is that https://www.waveshare.com/luckfox-lyra.htm indicates the RK3506G2 has matrix IO, which SHOULD mean the PWM should be easily remapped to the right pin without having to modify the hardware. I’m still looking for documentation on USING that, though.

Ah - there’s my answer. It does indeed suck that those pins specifically are not RMIO capable. oh well. Hacking at the hardware with a soldering iron is simpler anyway.

2 Likes

Do you have a link to that adapter.

My conclusion for today:
Wlan USB has worked but USB may not show up if you had a low battery (only one).
The audio mod is working,(Honestly the batch cable is easy do remove) You must execute:

insmod /usr/lib/picocalc_snd_pwm.ko

I think it is not good for the SD-CARD to simply switch the Picocalc off. I recommend to execute

poweroff

When the red light stops blinking you good to turn the device off. (Screen will not switch off and freeze)

BTW. Thanks to @hisptoot :heart:

There are tons on Aliexpress.
https://www.aliexpress.us/item/3256806419086361.html

Thanks let uk know if wifi will work with this cable.

From what was said earlier in the thread, it won’t work with a wifi adapter directly because the power supplied won’t be enough. It’s all discussed father up the thread. I decided not to try and risk damaging the Lyra.

I might consider getting one of these to convert the power inline, but I haven’t bought one yet.

May I ask why you want a 5v to 3.3v converter for usb?

I was thinking about it the other way around. If there was a way to convert the 3.3v to 5v then it could power a network dongle or some other USB device through this connector. But that’s why I asked because I don’t really understand the hardware aspects well enough to ensure I wouldn’t damage anything.