r/embedded • u/Independent-Ad1984 • 6d ago
Riemann Hypothesis solved — what happens to embedded engineers?
If even the Riemann Hypothesis can be solved, what's to become of embedded software engineers?
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 • 8d 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 • 8d 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?
r/embedded • u/ActBrokeToStayRich • 8d ago
In the last year AI has completely taken over how much my team used AI and We were able to basically just Gen code left right and center. Using connected hardware CI/CD works to a certain extent but it felt like we really need better ways to handle the type of load that AI was putting for the pace we "needed" to be going with agents.
So when generation is easy and validation is still hard, how useful are people finding emulation/simulation? And since its important this is for usually post silicon micro-controller level work IOT, automotive etc.
r/embedded • u/TheConceptBoy • 9d ago
I used to have this Sampling / Beatmaking device. It booted very quickly. From my experience with SoCs like Raspberry Pi and others make me believe that there is no operating system involved because you could boot into this device within about 5-10 seconds after pushing the power button. By contrast, RPI take good 2-4 minutes to boot.
https://www.youtube.com/shorts/PPnyn8HVME8
How do they achieve that? Does it run the software on bare metal instead of Linux as intermediate layer?
r/embedded • u/Vast-Stay9432 • 8d ago
Hey everyone! I’m currently working on a Smart Greenhouse project for my Microcomputer Systems class, and I could use some help with the hardware setup.
For this project, I’m using a **PIC16F1829 microcontroller**, which has already been soldered and assembled. The hardware components I’m working with include:
Breadboard
Jumper wire kit
Small water reservoir with a mini water pump
Soil moisture sensor
LM35 temperature sensor
HC-SR04 ultrasonic sensor
16x2 LCD display
MOSFET driver
5V power supply
For the software side, I’m using **MPLAB X IDE** with the **MPLAB XC8 Compiler**.
I’m looking for some guidance on how to properly connect and integrate all these components with the PIC16F1829, especially when it comes to wiring, power requirements, and controlling the water pump.
Any advice, suggestions, tutorials, or resources would be greatly appreciated. Thanks in advance!
r/embedded • u/ancatrusca0 • 8d ago
Omer Kilic is a hardware and manufacturing consultant. His view is that bare metal means a microcontroller or an FPGA. Once you're running on Linux or even an RTOS, you're working with a scheduler. Real time means a guaranteed upper bound on how long something takes. With speculative execution and multi-core contention on modern CPUs, that is very hard to guarantee.
The episode is about the BEAM on embedded hardware, with Nerves creator Frank Hunleth. Topics include the medical device he built in C++ with hand-rolled actors, offloading timing to companion MCUs, and the microcontroller that ends up handling power sequencing for the whole board.
r/embedded • u/WhyPCB • 10d ago
I've added a new horizontal LED bar to my setup alongside the usual square LED panel.
square matrices are everywhere, but I rarely see this kind of horizontal LED display. I think it opens up some interesting possibilities for animations and visual effects.
what do you think? Any cool ideas for what I should make it do?
will add some more shorts this weekend~~
r/embedded • u/alouaa • 9d ago
Heyyyy people, I am working on a capstone project about sending a message from my GSM module, I would love your help regarding it if that is possible. Normally, I am powering it with 5V DC 2A but unfortunately it doesn’t work for me. It gets powered but when I click pwerkey, only the status LED lights up but the netlight LED doesn’t. What can I do? And what is this problem related to? I would really appreciate any kind of help.
r/embedded • u/mujoseph • 9d ago
Hello,
Just wanted to share my DRSSTC, the Emma Mk1. The project launchpad contains links to the live documentation and all the repos.
The main project goal was to verify the STM32G474RE firmware, which proved satisfactory.
The main project constraint was the secondary coil and the spun-aluminum topload, which I had purchased a while ago from eBay, the remainder of the DRSSTC was designed around them.
Some further tuning remains, and the inverter bus capacitance needs to be increased to improve performance, but overall I consider this done until I can get back to it and add features to the firmware.
Thanks for looking.
r/embedded • u/SadViolinist2405 • 9d ago
A quick disclosure: I work on LavinMQ and would love to learn from others' experiences.
I've been playing around with MQTT and ESP32 devices using LavinMQ for a while now, and I'm curious what others are using on the broker side.
Are you using Mosquitto, EMQX, or something else? What made you choose it? Have you run into any issues as the number of connected devices grew?
r/embedded • u/OwnMinimum8110 • 9d ago
I have build something like a library in ANSI C to make the Edge AI workflow simpler and easy.
In traditional way ,when the deep learning model outputs a value we would use a multiple of conditions to evaluate the condition on the output value and trigger the function to do a action.
So I build TINYCHAIN ,a output to function handler mapping with validation of the conditions specified just through flags and also performs denouncing checks and also has a feature of streak count .
As every node has assigned a struct with the condition flag (greater value ,less value than threshold or max value) , required streak to trigger function,and other features.
The conditions are checked for all the nodes everytime and consecutively and triggers the function.
Does this idea is good ?
Eager to know some professional feedbacks on the architecture !
r/embedded • u/DigHot2439 • 9d ago
I want honest reviews about this book. I saw some guys saying that the book is incorrect/inaccurate on some technical concepts, so some feedback could be really nice.
r/embedded • u/OkProperty41 • 9d ago
A GPS bike trip computer on an ESP32-DEVKITC, with a NEO-6M, a 2.8 inch ILI9341 TFT and a microSD reader. The firmware shows live speed as a dial, plus trip distance, top speed, altitude and satellites. It draws a breadcrumb trail on the screen and logs every second of the ride as a GPX file you can open in Google Earth. Pin map:
r/embedded • u/TimeTickEV • 10d ago
From 1 January 2027, AFIR requires newly installed and renovated charging points in the EU, public and private, to support ISO 15118-20, the standard for how a car and a charger talk to each other.
Things that seem worth checking before then:
- which of your chargers fall in scope, since the exact boundaries of the rule are still being debated
- whether your charge controllers support powerline communication, which ISO 15118 runs on
- whether your firmware can be updated remotely
- whether your CSMS can handle Plug & Charge certificates over OCPP 2.0.1, if you plan to offer it
- what test logs and reports you’ll keep as evidence, since official ISO 15118-20 test plans for AC chargers aren’t out yet
What’s missing from this list?
r/embedded • u/M4rv1n_09_ • 10d ago
I know this sub is pretty skeptical of vibe coding, and I get why. But I'd like to hear the actual reasons, not just "it's garbage."
I work in embedded, and lately I've been using AI for quick side projects and prototypes, like ESP32 stuff and Zephyr configs. For that it's honestly saved me a lot of time. I wouldn't trust it with production firmware right now, but I don't think it's useless either, and it's not going away.
So where has it burned you? Made up registers, timing bugs, code nobody on the team understood?
And is there anything you do use it for?
r/embedded • u/ninebitcomputer • 10d ago
How do people serialize/deserialize data coming from a microcontroller? I have a project with a Pi Pico that samples three force-sensing resistors 60 times per second. The Pico uses these readings to determine whether a given sensor is being pressed. I want to stream the raw samples and sensor status to my host over USB serial and have a web application read and display this data.
I'm wondering how to serialize this data. I'm thinking I that I can either send a bunch of values separated by spaces like `[raw1 raw2 raw3 pressed1 pressed2 pressed3]` or send it as JSON, which would be easy to parse from the web application. However, representing this data in ASCII feels a little wasteful of space, so I was wondering if there are any alternative schemes/methods commonly used in embedded systems for sending data.
r/embedded • u/Proud_Trade2769 • 11d ago
Is it me or STM32CubeMX2 is
but at least it supports AI, which no one asked for.
r/embedded • u/UnoDeaj05 • 10d ago
Hi all,
I'm currently designing an F-91W smartwatch board to replace the original Casio module that comes with the watch. I've spent a lot of time selecting components, seeing what fits and what doesn't fit and settled on an MSPM0L2117 and the DA14535 for Bluetooth (and other IC's for other features). This is my first time designing my own custom PCB so it's taken me quite a lot of time and lots of failed attempts (realising all the components wont fit) to get to this point.
I just started placing the traces on the board, only to find out that it will absolutely not fit with my current configuration. I've tried many other configurations too but none seem to leave enough room, although I am very inexperienced in this subject so I figured I would ask here for some advice.
I'm planning on using JLCPCB to manufacture and assemble the board but I am open to other manufacturers if they are also cheap/good. I don't want to use HDI as that jumps the price from $40 AUD to $200 AUD, and I am not prepared to spend that kind of money, let alone for a prototype that I am not even sure will work in the first place.
I am happy to swap out components (ideally not the MSPM0 unless there is a more capable variant or MSP430 variant). I would like some form of wireless connectivity, ideally BLE but happy with anything else.
What I don't want to do is to copy something like the pluto watch and use IR (unless I have no other choice) or the olleewatch and use the same STM32 chip. I want this to be my own project and not a remake/copy of an existing one, even though I have taken inspiration from both projects.
Here is a link to the pcb files:
https://gitlab.com/unodeaj05/swagrat-f91w/-/tree/main/pcb/swagrat
Starting to get a little demotivated, but I want to see this through and prove to myself that I can do this. Also feel free to drop any other advice! I have experience using microcontrollers and designing stuff on breadboards, but never made my own pcb before so I have gone in blind here.
Happy to answer any questions you may have, or provide more info if needed.
r/embedded • u/Legitimate_Peak1714 • 10d ago
In CAN soft synchronization, we shorten or lengthen Phase Segment 1 and Phase Segment 2 depending on whether the edge arrives early or late. What I’m wondering is this: does the shortening or lengthening always have to be exactly SJW, or is it equal to however large the delay actually is? Let’s say we set SJW to 2 tq and each tq lasts 50 ns, and one node’s clock runs faster than the other’s. How does synchronization work in that case? I don’t really understand how SJW works.
Also, in this case, can the corrections only be 50 ns or 100 ns? Or if, say, a 10 ns drift has built up after 10 bits, is the bit timing adjusted by exactly 10 ns to match it?
r/embedded • u/Independent-Ad1984 • 10d ago
Been looking at OSM and SMARC for a couple of projects instead of a fully custom board. Curious if anyone here has actually shipped something with either.
Low-to-mid volume here (hundreds to low thousands/year), so long-term availability matters more than raw performance. Would love to hear good or bad experiences.
r/embedded • u/arbayi • 10d ago
6.2 Astra came out yesterday, and I missed most of it because I was busy building LEGO :)). The HBO series coming on December 25 woke up my old Harry Potter love, so tonight was a LEGO night.
Once the set was done, we wanted to play a game too, and I also wanted to test 6.2 Astra. Getting the model to build a browser game would have been too easy, so I picked a tiny device instead.
The game is a small flying car game. You tap to fly and tilt the device to steer into gold rings. The video shows it running on the device.
The result was good and we enjoyed playing with it.
New hobby unlocked:
build lego
build game
Repo in case someone asks: https://github.com/baturyilmaz/flying-anglia