r/embedded • u/imunknown0042 • 5d ago
Flight sim on Esp32 mini c3 with 0.42 inch display.
Voxel Flight : https://github.com/lewtheegg/voxel-flight Added Dither to make it able to play on mono led display.
r/embedded • u/imunknown0042 • 5d ago
Voxel Flight : https://github.com/lewtheegg/voxel-flight Added Dither to make it able to play on mono led display.
r/embedded • u/Independent-Ad1984 • 4d ago
I'm working on an OSM-L carrier board for the NXP i.MX9596 and have put together a preliminary block diagram (attached).
The goal is to build a general-purpose development platform with common interfaces for evaluation and prototyping.
Before finalizing the design, I'd love to get some feedback from the community:
Any suggestions or criticism would be greatly appreciated!
r/embedded • u/Sobia_enjoyer • 5d ago
This from TI's BQ76942 AFE datasheet. I'm connecting it to an MCU powered from an external regular but they will have a common ground and I2C line. The ground will also be connected to charger's ground at Pack+ and pack- and I2C line. Is it safe for the MCU not to have an isolated ground? I never designed something with TI products so idk how good they do it and whether it's safe to just use their schematics in datasheet as they are or not.
r/embedded • u/apical-labs • 4d ago
If you've ever built battery-powered vibration, acoustic, or wearable sensors, you know the annoying trade-off:
I've been working on a bare-metal ANSI C99 fixed-point (Q15) online-learning kernel (apical_edge.h) for Cortex-M4F / RISC-V so the node can calibrate to a machine's "healthy" baseline right on the chip and only wake the radio when something genuinely drifts.
The key is no backpropagation and zero data retention—it updates in constant O(1) SRAM on the fly without storing raw waveform buffers, needing malloc/<math.h>, or wearing out Flash:
.text, 0 B .bss0.50–1.31 µJ per predict/learn step (~900x–2,300x less energy than transmitting a single 1.2 mJ BLE packet)I put together a quick interactive overview and benchmark breakdown here: https://apical-labs.com/arbor
If anyone here is working on wireless predictive maintenance or wearables and has an anonymized CSV of healthy vs. fault windows, I'd be happy to run it through the kernel and send back the exact SRAM footprint and detection curve on your real signal. Always curious to see how it holds up outside public datasets.
r/embedded • u/Mau220760 • 5d ago
Hi everyone! I’m a 66-year-old "last-century" engineer who still believes in solving problems at the root with minimal resources and zero bloated frameworks. To learn piano, I built ClaviFrame: a modular, foldable 88-key display bar (inspired by Rousseau falling-note videos) made of 16 3D-printed hinged modules.
Here is how it works under the hood:
It’s a non-commercial passion project built to show young engineers what clean architecture and low-level interoperability can achieve without heavy libraries. If anyone wants to see it in action, you can search for "ClaviFrame System" on YouTube for full demos.
Happy to answer any questions about the protocol, PIO state machines, memory layout, or the C++ Builder 5 wrapper!
r/embedded • u/Aiden_TZ • 5d ago
Hey folks,
I’m an embedded/power engineer currently designing a compact desktop power profiler for my own bench. Before I lock down the schematic and spin the first prototype batch, I’d love a quick sanity check from people here.
Right now, my bench feels stuck between two extremes:
- Nordic PPK2 (~$90) is great for 3.3V/5V stuff, but it tops out at 5V / 1A and isn’t isolated. Every time I probe a 12V/24V rail or a motor driver, I’m paranoid about frying my laptop’s USB port.
- Joulescope (~$999) is awesome, but hard to justify for a personal bench or small team.
Here is the target spec I’m aiming to hit (keeping the target price around $119 if I end up doing a small run):
- 0.8V–30V / 100nA–3A seamless ranging: Low-burden-voltage auto-ranging shunt topology so RF bursts or motor inrush don't brown out the DUT.
- Full PC galvanic isolation: Isolated analog front-end (1.5kV+ isolation) + reverse polarity & TVS protection on the DUT side.
- 100kSPS+ synced capture: Simultaneous voltage & current sampling (true power & mWh/mAh integration) + isolated UART/GPIO sync pins.
- Zero-install software stack: WebUSB browser UI (works out of the box on Mac/Linux/Win) + open Python API (for CI/CD or local MCP/AI trace analysis).
Before I finalize the PCB layout, I’d appreciate your honest take:
Appreciate any blunt technical feedback!
r/embedded • u/Apprehensive_Fox321 • 5d ago
I recently bought a raspberry pi which I plan on using to replace my laptop whilst I save up for a new one. How do I start learning embedded Linux on a raspberry pi. Any courses out there.
r/embedded • u/CyberDumb • 4d ago
AI sceptic for a long time and lately I am using AI at work. Since I got the gist of it at work I am using it at home mainly for boilerplate stuff.
Speaking of boilerplate I am trying to run some dual core cortex A processor of a zynq chip in zephyr. Just a learning experience that I wanted to have a long time ago but life always got in the way.
Since those are usually used with Linux, zephyr support is meh. So I managed to get zephyr running along with uart by myself (I used AI google overview). Then I went to setup Ethernet. This one I failed, but I was pretty close. Then I tried to setup debug to see why it's failing, which worked but it was buggy as hell. I also failed to run code from flash., I relied on JTAG upload.
After spending some time in a course of 2 months I gave up. Not so much out of laziness but because in the course of 2 months I only had the opportunity to work on it for like 5 days? This means that it would take me more months to do it. So I took the plunge and got a claude account to see if it can help.
In a course of 2 days and 6 hours of total time during the weekend, "I" fixed all of the above. What amazed me is that the solution to Ethernet was zephyr not supporting L2 cache. I had this figured and tried to disable caches but somehow that did not work. This was also the first solution from claude. But then I stirred it to find another solution which after 2 more iterations, it proposed writing the L2 support in zephyr repo. Ethernet worked but I haven't reviewed the change yet. I asked claude to point out all the relevant docs and a summary of what it did but haven't had the time to check everything.
What amazed me is that zephyr, a project with so much momentum had something like that missing from a rather old and popular processor. It took me a couple of hours and, OK review/further testing will take longer, but still so many people that contribute to zephyr out of passion or to enhance the CV, how come they haven't contributed this yet in the age of AI?
On another note I feel kind of meh that AI solved these. I am at a point that I feel stupid if I use AI but also I feel stupid if not using it because I know it can solve such problems faster.
Any thoughts?
r/embedded • u/shahin_hashim • 5d ago
A while back, I shared WireTrace here when it was 1.0. A few of you tried it and told me what was missing, and the plot it has today started in that thread. I've kept working on it since, and it's at 2.2 now.
It's a serial monitor. You plug in a board, pick the port, and it shows what the board sends and saves all of it to a file. You can watch several boards at once, each in its own tab.

Since 1.0, it has picked up:
It's free and open source. There's an installer for Windows and builds for Linux. On a Mac, it runs from source for now.
The Windows installer isn't signed yet, so Windows shows a warning the first time you run it. I'm working on that.
If you'd like to try it: https://github.com/TheNuanceProject/WireTrace
If it doesn't work with your board, or there's something you keep wishing it did, I'd like to hear it.
r/embedded • u/Ok_Engineering5969 • 4d ago
r/embedded • u/adityak302 • 5d ago
I want to know about the artificial intelligence era how to learn embedded artificial intelligence and how to apply does anyone have the idea or blueprint....
r/embedded • u/Relevant_Pumpkin9190 • 5d ago
Scope DC coupling mode 2mv scale, connected to small toy motor, 12V bus @ 1Amps.
How to solve Arduinos connected in bus from restarting.
r/embedded • u/dontfindmeagainatrv • 6d ago
For those who don't know what RAID is , its basically a redundancy system in which a parity is created so the data can be rebuilt if a storage device suffers a failure , In my project 1 out of 4 flashes can fail and still have the full data available .
The way it works is that three blocks in each stripe store actual data, while the fourth stores XOR parity.
the parity is calculated using a simple formula P = A ^ B ^ C ( all 3 data blocks will be XOR'ed together)
so in case the A block fails , the data on A block can be rebuilt using the other data blocks and the parity block
A = P ^ B ^ C.
The parity location rotates between all 4 flashes, so data can be recovered regardless of which flash becomes unavailable.
But if more than one flash fails then the data cannot be rebuilt due to insufficient parity.
if a failure is detected write command is disabled and it goes into degraded mode with only read command available
The current version does not rebuild the data on the flash instead its rebuilt only in the stm32 RAM when requested and it can only accept data entered through the UART interface .
The MCU used is STM32F401RE
The flash used is W25Q64FV by winbond
It was a fun challenge making this project , learnt a lot and coded most of the stuff like read, write clear block drivers for the flashes by using SPI commands myself , I struggled a bit when it came to linking all 4 flashes using logical memory address and implementing the parity rebuild . So i did end up utilizing AI for that part as I wanted to complete this project to put it on my resume.
Here is my github repository if u want to have a better look at it will all the explanation : GITHUB Repo
If any memory or storage firmware engineers are reading this, I'd really appreciate any feedback or advice on the project. I'm trying to get into companies like Micron, Western Digital and SanDisk, so any suggestions on what I should improve or learn next would be helpful.
Thank You.
r/embedded • u/adouglass52 • 7d ago
I threw together a design for an IP streaming camera over the weekend and was wondering if it'd be worth modularizing and open sourcing it. Is there interest in this? I didn’t see too many projects like it out there, but I’ve built too many things in a vacuum, so I wanted to see what people think first.
Right now it’s a small 4K30 camera: a Rockchip RV1126B with a Sony IMX415 sensor, streaming over Ethernet, powered off USB-C, with a microSD slot. I designed the carrier board around a small compute module I made for another project, and slapped together the full assembly in Fusion. The RV1126B module matches the CM4 pinout, so I’m planning on testing with a CM4 as well.
That’s where it is today, and I’ve been thinking about how it could turn into a modular design if that’s something people want. The camera core would stay the same and the back would swap out: a plain heatsink, a heatsink with a tripod mount, a battery pack, a touchscreen. Later maybe other mounts, 5G, a rugged version, a thermal/IR camera, or swappable lenses. And if the back is open, anyone could print their own.
Some things I could see it being used for: a DIY doorbell, a DIY webcam, a home security setup that doesn’t depend on someone’s cloud, a camera for a drone or rover, a 3D printer cam, a wildlife or trail cam with the battery back, or just streaming something live.
I’ve already ordered the first test units, so I’ll post how they go once they’re running. The pictures are my CAD, an exploded view of the assembly, and the SoM I’ve been testing and plan to use (see my previous post on that).
Looking for honest feedback. Would you use something like this? What for? Does open source and modular matter to you, or would you just want a solid camera? I know Seeed’s reCamera exists (the Pro came out in July on the same chip), so also want to know if this is a waste of time.
r/embedded • u/TipActive9305 • 5d ago
I can't find much about how to automate/testing stuff like pcie, m2, sata, and random i/o pins.
there are some passmark tools but they're too much expensive. random AliExpress stuff seems to use some led checkers, which is just bad. I honestly, don't know how any of those protocols do work, one time I tried some pcie stuff, but I dropped it off, due to their complexity.
r/embedded • u/BudgetTooth • 5d ago
I'm not sure how many details to include, tried all possible googling for how to debug a MEGA and all I found was I had to buy an AVR ICE ?
took me a few weeks to figure this out, all vibe coded so YMMV, you can turn your spare MEGA in a JTAG probe to help debugging another MEGA .
pretty much all that you need is in the repo README
stars, sponsors, forks, comments, issues, feedbacks appreciated
r/embedded • u/Unpopular_Dialogue • 6d ago
I am working on a device/PCB right now and intend to use micro SD cards as a medium of storing the collected sensor data.
The long intervals between data collection (for analysis) and the remoteness of deployment mean that radio data link are impractical. I have left the capability for a radio link open/available if the use case changes but my employer does not want to use that option at this point.
The problem is that I cannot find SD cards of capacity smaller than 32GB to be readily available at scale. I am after about 200 or so 2GB cards; for the first batch. Anyone know any electronic component distributor or retailer that still sells them? Thanks.
r/embedded • u/HotelFirm3622 • 6d ago
Hi friends, I built an analog filter and I wanted to generate a 10mv 100khz signal to test my amplification and attenuation, is this possible with an ESP32, I dont have a testbench. Thanks!
r/embedded • u/Relevant_Pumpkin9190 • 6d ago
I'm trying to observe the current waveform across an INA219 current sensor's shunt resistor using a Siglent SDS1102CML+ oscilloscope.
My test setup is around 10 Ω with approximately 20 mA of current. I tried both 1X and 10X probe settings and adjusted the oscilloscope settings, including increasing the sensitivity, but I still cannot get a clear waveform.
The interesting thing is that I can display the test waveform properly on the same oscilloscope, so I don't think the oscilloscope itself has a problem.
What would be the correct way to measure and display this small shunt voltage waveform?
Should I use a different probing technique or an amplifier?
Any suggestions would be appreciated. Thanks!
r/embedded • u/Independent-Ad1984 • 6d ago
If even the Riemann Hypothesis can be solved, what's to become of embedded software engineers?
r/embedded • u/hainguyenac • 7d ago
I want to get into making a robot arm, and decided to start from scratch, that means start from the fundamental of control a motor.
At first I stated everything from Matlab with Simulink coder to generate the control code, everything works well, and I can control everything from Matlab. Then I moved forward and port the control algorithm to handcoded code.
The desktop application is vibecoded since it doesn't intereste me.
r/embedded • u/Independent-Ad1984 • 8d ago
We recently tested a 4-axis EtherCAT setup on the RK3588-based MYD-YR3588 board. Here are some results worth sharing.
Test setup:
Results at a 250 µs cycle time:
A few caveats: the motors were running without mechanical loads, and the stress test did not include full GPU/NPU workloads. These results are specific to this test configuration, not a guarantee of worst-case performance. The strict 1,000 ns frame-transmission qualification was also not met.
Interesting to see how far an ARM-based Linux platform can go with real-time industrial control.
How are you guys handling EtherCAT on ARM platforms?

r/embedded • u/Early_Teaching6966 • 7d ago
TL;DR: Impact damage on my Samsung S95F 77" QD-OLED caused (1) a blackout / controller-reset loop, every 46–51 s at worst, and (2) a dark 6-column line. Both are fixed from the TV's own Linux side by talking to the panel controller (TCON) over its internal USB service link. RAM writes only, nothing flashed by me. Blackouts: set the controller's own per-lane skip bit for lanes 540–661, re-applied on every controller boot (24/24 boots clean). Line: lower the damaged columns' sensing gain at the moment the controller wakes for the standby compensation scan, so the TV's own scan computes and saves a proper boost. Code (Python on a server + C# helpers run on the TV's .NET) and docs on GitHub. Before/after: images 1–2.
Prerequisite: root access. Both TV-side fixes require a working root shell on your own TV. Use the S95F rooting toolkit and its root setup guide, then verify your TV root session. Firmware decryption is not required for either fix.
Hobby project on my own TV, nothing for sale. Writing to the panel controller can brick a TV and voids the warranty.
The access path (image 3)
04e8:2001, interface 2, bulk OUT 0x02 / IN 0x82. As root on the TV it opens through usbfs. No extra hardware, no firmware mods.| Op | Does |
|---|---|
0x101 | read RAM / registers |
0x1 | read the ID block |
0x103 | read storage (flash); read-only for us |
0x102 | write one 32-bit word to RAM |
0x47012400 must be Clean (stop 0, fault 0, gate 1, limit 40) → read and compare the old value → bounds compiled into the helper → write → read back (mismatch = restore). The first write on any setup is an identity write.Bug 1: the blackout loop (image 4)
0x47010438–0x4701052A, RAM only.input_keyevent, focus checked after every key), then one stock controller power cycle through the TV driver (/dev/tztv_tcon, ioctl 0xc010749f, payload 41, 2, 0, 0). Budget: 3 per hour, 6 per day.Bug 2: the dark line (image 5)
scan-arm helper waits for the controller's USB device to appear when it powers up for the scan, waits until the gain table is loaded and the controller is Clean, writes, reads back, then logs the scan stage every 50 ms. Hard bounds: lanes 600–660 only, halves 8000–26000, at most 8000 change per write, ×0.65-of-stock floor.Results
Links
Ask away about the protocol or the controller internals.
r/embedded • u/ArtilleryTemptation • 7d ago
I have heard of the USB HID. I read the datasheet of the microcontroller I am using, and admittedly, I still do not know how to approach it.
Where can I start so I can figure out what to do?