this post was submitted on 19 Mar 2026
47 points (100.0% liked)

Open Source

45613 readers
231 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

Hi, some time ago I made a driver for STM32WLE5JC’s subGHz device in Rust, which communicates via internal SPI lines. Right now it can do RX/TX with LoRa, (G)FSK, (G)MSK and TX with BPSK, and today I decided to share it :3

It’s not yet finished and there’s some things I’d still like to do, including meeting the (boring) radio laws worldwide, or publishing it on crates.io. It’s my first project like that and I hope it’ll be helpful to someone.

I also wrote a blog post series covering the subGHz radio, my programming process and I also touched on some other interesting stuff like demodulation basics with GNU Radio. I learned so much and I hope others will find it interesting as well!

Here are the blog posts :3 go read them >:3

https://lusia.moe/tags/stm32wle5jc/

you are viewing a single comment's thread
view the rest of the comments
[–] BigTurkeyLove@lemmy.dbzer0.com 3 points 3 days ago (1 children)

Don't know why I read all that, most of it was way over my head but you have a fun writing style and I did learn some stuff. I'm just getting into all the LoRa subGHz stuff and it was interesting to get a deeper dive on the topic and see your process even though I will likely never do anything close to this, but it might help me understand some errors down the road. Thank you for sharing!

[–] lukrecja@lemmy.world 3 points 3 days ago

Thanks :3 I'm happy you liked my writeup!

It was my first time writing anything like that, but I enjoyed it a lot and it helped me immensely to memorize what exactly was I doing and what I've learned (before this project I'd just raw dog a project without any notes and shit.. it'd get messy more often than not and it was hard to start working on it again).

Also omggggg the Rust ecosystem for embedded systems is so incredibly cool. I always avoided touching STM32 boards because I absolutely despise STM32CubeIDE, I hate their HAL, their C code generation and having to fuck around with these weird GUI menus for setting up timers and peripherals. Embassy-rs is soooooo much nicer! :3

What are you planning to do with LoRa? I personally have a lot of ideas what to do with this subGHz radio - eg. stratospheric balloon telemetry + live image downlink, or creating a simple P2P network similar to meshtastic, but ofc worse (but DIY so yea)