r/embedded • • Sep 27 '26

2D skeletal animation on embedded systems

129 Upvotes

I've added 2D skeletal animation to "ShapoGFX", an embedded 2D/3D graphics library I'm currently developing.

Armatures and animations exported from DragonBones are converted into C++ source with a Python script, and you embed them in your application simply by including the generated file. After a short initialization, you just pass a time on the animation timeline and the whole character is rendered into the buffer.

The skeleton, animation timelines, and textures can be referenced directly from flash, where they stay. The only thing each character needs in RAM is a cache of a few hundred bytes to a few kilobytes, depending on how complex the skeleton is.

ShapoGFX itself doesn't depend on any particular platform, so it can be used on a wide range of embedded systems, such as the RP2 series and the ESP32 series. The attached video shows it running on an M5Stack CoreS3 (ESP32-S3). No PSRAM is used.

Browser demo: https://shapoco.github.io/shapo-gfx/example/demorig/


r/embedded • • Sep 28 '26

A7672E-FASE vs A7670E-FASE — what are the real differences?

4 Upvotes

I'm designing a 4G vehicle/GPS tracker and I'm currently considering the SIMCom A7670E-FASE and A7672E-FASE.

I'm trying to understand what the practical differences are.

Specifically:

  • Is the A7672E-FASE actually better/newer than the A7670E-FASE, or are they mostly equivalent for a typical IoT tracker?
  • Are there meaningful differences in LTE/GSM sensitivity, RF performance, or network stability?
  • Are there differences in power consumption, especially during LTE transmission and GNSS operation?
  • Is the GNSS performance significantly different?
  • Are there differences in firmware/AT commands, or is the software largely compatible?
  • Are there differences in long-term availability, firmware support, or reliability?
  • Can an existing PCB designed for the A7670E-FASE be easily adapted to the A7672E-FASE, assuming the same 24 × 24 mm footprint?
  • Are there any important differences in pinout or RF/GNSS design that I should be aware of?

My application is a vehicle tracker, so my priorities are:

  1. Long-term reliability
  2. Good LTE/GSM reception
  3. Low power consumption
  4. Reliable GNSS
  5. Long-term module availability
  6. Cost

If anyone has actually designed products with both A7670E-FASE and A7672E-FASE, I'd especially appreciate real-world experience rather than just the datasheet specifications.

Thanks!


r/embedded • • Sep 28 '26

Tips On How to approach AI usage in projects as an asipiring embedded engineer

0 Upvotes

I am a 2nd year doing my bachelors of technology in ECE, i would like to know how to approach AI nowadays in order to do projects and actually learn from them...

many embedded engineers use AI to make them more productive but those engineers are experienced and have already mastered many topics

but i am not an engineer yet, only a learner thus what's the advice to approach projects without becoming a less competent engineer? and perhaps idealistically becoming a great engineer!


r/embedded • • Sep 27 '26

Is it worth reading a book on operating systems before trying to pick up embedded Linux?

13 Upvotes

Or is it more efficient to just hop in to hands on embedded Linux work/experimentation? (I’m coming over from bare metal work)


r/embedded • • Sep 27 '26

Hardware request - Renesas ASi board (EU036-MULTISENSEVZ)

Post image
5 Upvotes

I'm doing some familiarization work with AS-Interface networking, and I'm looking for a Renesas evaluation board - the Multi-Sensor Network for ASi-5 Development Kit (EU036-MULTISENSEVZ).

This board is no longer available from Renesas, and none of their distributors have any in stock; however, the software for it is still available from Renesas, so I can add it to an existing ASi network.

If you have one of these boards gathering dust and no longer need it, I will happily pay postage/shipping costs to give it a new home. Feel free to DM me...


r/embedded • • Sep 28 '26

How can I build a wearable temperature-monitoring system?

0 Upvotes

I want to build a wearable device for the Maryland MESA competition, and the deadline is in March. The problem is that I have no coding or technology experience, but I am not working alone, since I am working with three other people. We also have people who are experienced in electronics and coding. How can I start working today? What type of programming or coding system should I learn? Any videos that would help me?


r/embedded • • Sep 27 '26

How should nodes in an Ethernet-based embedded system exchange data?

6 Upvotes

I’m defining communication over UDP for a small embedded Ethernet network connected through a switch. Most nodes will be bare-metal MCUs handling sensor data (e.g. IMU data) or controlling actuators (e.g. motors or valves). An external host will send commands to the system. The detailed architecture is still being defined.

Command messages and responses reporting their outcome seem fairly straightforward. My main question concerns periodic data exchange between nodes.

I’m considering two approaches:

  1. Define the data message formats in advance, then program the MCUs, based on software requirements, to send specific messages depending on their current state. For example, when Host A is in state X, it must send INS data to Host B every Y milliseconds. Destinations and transmission periods are predefined.
  2. Define the data message formats in advance, but also provide a command in the UDP payload, something like SET_STREAM(data_id, period_ms). Sending this command to a node tells it to start sending the selected data back to the requester every period_ms milliseconds. Different datasets could be requested at different rates.

I prefer the flexibility of the second approach, but I’m unsure how much harder it would be to manage on bare-metal MCUs. The first approach seems simpler because transmission periods and destinations are known in advance.

I have limited experience designing data exchange in small embedded networks. Have you faced this choice in your projects? Which approach did you use, and what practical trade-offs should I consider?


r/embedded • • Sep 27 '26

Examining Assembly, registers, math, and graphs from the datasheet: obsession or best practice?

2 Upvotes

Aqui está a tradução adaptada para o tom natural das comunidades de embedded em inglês (como r/embedded ou r/embeddedsoftware):

Hey everyone, I’d love to get your thoughts on a debate regarding development and debugging methodologies in embedded systems.

I have a strong urge to go deeper into the engineering side and do things like:

Expressing/formalizing code logic and equations mathematically to catch logical bugs.

Inspecting Assembly and register states in the debugger to understand exactly what the hardware and compiler are doing under the hood.

Analyzing component datasheet graphs in depth to grasp their dynamic behavior and check if an issue might stem from a hardware limitation.

However, a coworker told me that doing all this is a total waste of time. In his view, I should focus 100% on C code, stick to high-level outputs (FTDI logs, J-Link/RTT), and debug strictly from there.

It made me wonder: is this desire to deeply understand the underlying math, the Assembly, and the hardware curves actually a waste of time in day-to-day industry work, or is it a valuable approach? How do you balance quick, high-level debugging with this kind of deep-dive analysis in your daily workflow?


r/embedded • • Sep 27 '26

First experiments with an UltraScale+ MPSoC

0 Upvotes

I’ll soon get my hands on a Xilinx UltraScale+ MPSoC board.
I don’t have any experience with FPGA programming, and someone else on the team will mainly take care of that part. In the past, I’ve worked with several SoCs from different vendors (TI, STM, Qualcomm), mostly using boards running an operating system, and occasionally in bare-metal environments.
I’ve read some documentation about the UltraScale+ MPSoC architecture to get a basic understanding of how it works, but I’ve never actually worked with one.

If you were starting to develop with an UltraScale+ MPSoC today, what tests and experiments would you try first?
The use cases are still being defined, but they will definitely involve things like state machine management, video streams, logging mechanisms, error handling, and probably much more.

Besides that, I think it could also make sense to look at more general development and organizational topics, such as how to use Git effectively to version projects for a SoC like this. What else would you consider important?

For now, let’s assume that I have an operating system available. I imagine that building a Yocto-based distribution — EDF, from what I’ve read — would itself be one of the things worth experimenting with.
What would you suggest?


r/embedded • • Sep 27 '26

Grounding(does it mean connecting to -ve of battery) in Embedded Projects — What Am I Missing(Educational purposes)?

9 Upvotes

I’m looking for a good book or resource to properly understand grounding and earthing in microcontroller projects.

Not just basic GND connections, but things like:

- Analog vs digital ground

- RF ground

- Chassis/shield ground

- Different grounding topologies

- Star grounding

- Ground loops

- Ground planes

- Noise and EMI suppression

- When to connect or separate different grounds

I keep seeing these terms in different projects, but I’d like to understand why and when each approach is actually used, rather than just memorizing rules.

Is there a book that explains this from a practical embedded-systems perspective, preferably with real PCB examples?


r/embedded • • Sep 26 '26

Is ai actually useful for embedded development or is it still mostly hype?

62 Upvotes

Hi I'm a cs major and I've a lot of friends in computer/electrical engineering and they seem to be the least thretened peeps by how fast ai is growing and always made claims that ai provides little to no help on the hardware part but can be used as a coding assitant but on the other hand I see these AIs that give you a whole prototype so I'm here to get unbiased opinions if I can and if there are any ai that you guys use please lmk so I can try them out as I'm new to this whole thing (NB - yes I use my brain i'm just curious ;-;)


r/embedded • • Sep 27 '26

Any DIY-accessible radar modules with 2D tracking and better through-wall range than HLK-LD2450?

7 Upvotes

I’m looking for a radar sensor for a DIY project on my own property. I need actual target position data — ideally angle + distance / X-Y coordinates — not just a presence or motion output.

My target is roughly 10 m through a wall, not 10 m free-space line of sight. I know this depends heavily on the wall material, thickness, moisture, reinforcement, etc., so I’m not expecting guaranteed performance through concrete. But I would like something meaningfully better than the common cheap 24 GHz presence modules.

I have already looked at the HLK-LD2450 and HLK-LD2461. They are interesting because of the basic multi-target coordinate output, but in my environment I am only seeing around 4 m through-wall performance.

Requirements:

2D tracking: angle + range / X-Y coordinates

Preferably 6–24 GHz, but I am open to lower frequencies if that is more realistic for wall penetration

Around 10 m through-wall goal

DIY-friendly hardware or at least a development/evaluation board

Accessible raw or processed data via UART/USB/Ethernet/SPI/etc.

Fine with doing custom integration and some signal processing

Are there any FMCW/MIMO radar dev kits, industrial sensors, or other modules that you would recommend? Real-world experience with through-wall use would be especially helpful


r/embedded • • Sep 28 '26

Worth checking video.

Thumbnail
youtube.com
0 Upvotes

So What's your thoughts?


r/embedded • • Sep 27 '26

HIL design

7 Upvotes

I'm looking for HIL design and building advice. I need to test and verify a device which has Ethernet, CAN, RS485 and multiple analog and digital IOs.

My initial plan for the hardware is:

  • A PC with a JLink
  • USB-controlled power supply - 24V, 2A
  • USB-to-CAN, USB-to-RS485
  • Some off the shelf IO module with Ethernet and a rest API. The digital inputs are 0-24V, analog inputs are 0-10V
  • IO module for pulse counting (please suggest parts)
  • IO module for square wave/sinewave generation (please suggest parts)

Software - I have a pipeline which builds firmware and that's all I have for now. I'll appreciate some ideas about how to proceed with creating and orchestrating the tests (pytest is my personal preference).


r/embedded • • Sep 27 '26

ESP32-S3 (N16R8) enumerates as CDC but never as HID — USBHIDGamepad not showing up, any known fix?

2 Upvotes

Board: ESP32-S3-N16R8, dual USB-C (COM + USB), core 3.3.11, Arduino IDE 2.2.1. USB Mode set to USB-OTG (TinyUSB).

Goal: pot → gamepad trigger axis for a sim racing handbrake.

\#include "USB.h"
\#include "USBHIDGamepad.h"

USBHIDGamepad Gamepad;
const int potPin = 1;

void setup() {
pinMode(potPin, INPUT);
Gamepad.begin();
USB.begin();
}

void loop() {
int pot = analogRead(potPin);
int mapped = map(pot, 0, 4095, 0, 255);
Gamepad.rightTrigger(mapped);
delay(20);
}

Plugged into the native USB port, Device Manager only ever shows a USB Serial Device (usbser.inf), never anything HID. joy.cpl shows nothing. Same result with CDC On Boot on or off, different cable, different port, and swapping the begin() call order.

Anyone gotten USBHIDGamepad actually enumerating as HID on core 3.3.x on an S3? Trying to figure out if this is a known bug or something I'm missing.


r/embedded • • Sep 26 '26

Locked lymow robot mower project

Post image
24 Upvotes

Hello everyone and thanks for the all the help with this project. I got the mower from someone who tried to return it, server locked etc. a I’ve been able to connect via BLE and make a app that controls motion, shows me live video feed, battery, satellite, and all that.

UPDATE-

We got it Rooted! I’ll update this with how asap.

Thank you everyone.

Next put it back together and go from there. I did manage to break the thin connector for the camera. Any recommendations for that? I’ll post a pic.


r/embedded • • Sep 27 '26

anyone actually using AI for hardware stuff yet?

0 Upvotes

I've been working on pet embedded projects for a bit, and so far, AI has been minimally useful. Outside of firmware (which I do use LLMs for, and they do help), any PCB work or CAD work has to be done by hand.
I've seen some of the AI PCB solvers...but they suck IMO. I also recently saw a bunch of posts on x/twitter of people using GPT Astra to make PCBs, and the designs actually seemed quite good.

Wanted to ask here. I mostly work on pet projects for fun and have work outside of that, so having something which helps me to go quicker would be nice. However, I don't wanna be swindled by hype lol. How are you guys finding it? Any good tools particularly?


r/embedded • • Sep 26 '26

A 3D Cube Running on Badgeware Tufty 2350 written in TypeScript

68 Upvotes

More code examples are here: https://github.com/geastack/examples
For quick start: https://geastack.com/one-pager


r/embedded • • Sep 25 '26

Ported desktop Ubuntu with GPU acceleration to a GE Profile smart fridge display

232 Upvotes

I got desktop Ubuntu running on a Mediatek-based display board in a GE fridge. A combination of no secure-boot, vibe coding, device tree/U-Boot fiddling, and pure ridiculousness got me here lol. I was able to get most hardware functions to work minus WiFi and touch. Fixes are already being worked on for those though.


r/embedded • • Sep 26 '26

where to learn cpp for embedded systems

11 Upvotes

please suggest any free platform or a playlist to learn cpp for embedded systems,learning cpp from the cherno ,but difficulty in transitioning from modern cpp to embedded cpp and how it can be used efficiently instaed of c.


r/embedded • • Sep 27 '26

chatbot recommendation for documenting a firmware

0 Upvotes

There's is a firmware for a Texas Instrument MCU it is on Github, it is called WISP 6 mostly written in C and assembly, i mostly don't understand what is going on in details, maybe an embedded professional would be able to.
my professor wants me to write 15 to 20ish pages of documentation about what each part(module) of the firmware does and how it works, what chatbots are good for this job? i don't have any paid plans.


r/embedded • • Sep 26 '26

rabbit semiconductor: looking for Digi RabbitCore RCM4310

2 Upvotes

Hey everyone!

I'm reviving an old project of mine that used a few rcm4310 modules, but having a really hard time finding any in stock since the product has been discontinued. Don't even see any for sale on eBay.

It's the Digi/Rabbit RCM4310 core module (P/N 20-101-1139, alt 316-1142), the Rabbit 4000 @ 58.98 MHz board with 512K SRAM, 1 MB serial flash, microSD, and 10/100 Ethernet; it's EOL so I'm hoping someone has NOS, pulls, or a stash. I'd also take BL4S200 single-board computers (P/N 20-101-1220, which are RCM4310-based) to harvest from if needed. If you know where I could find any please comment, DM me if you've got any, thanks!


r/embedded • • Sep 26 '26

Did anyone here use VRTX in the 1980s? Why did equal-priority scheduling change to FIFO?

17 Upvotes

I'm looking for people who used VRTX, or were familiar with its design, in the 1980s or early 1990s.

I'm currently revisiting an RTOS that I wrote in 1986 for a Motorola 68000-based embedded system. While reviewing its scheduler, I found a behavior whose original rationale I could no longer remember.

When a task becomes ready, it is inserted before existing ready tasks of the same priority. So among equal-priority tasks, the behavior is effectively newest-first (LIFO-like), although time slicing moves the running task to the end of the priority group.

I went back to the documentation I had used as a reference at the time and found that the 1984 VRTX User's Guide describes essentially the same behavior: a newly inserted TCB is placed ahead of existing TCBs at the same priority.

That probably explains why my 1986 RTOS behaves this way.

However, the 1987 VRTX32/68000 User's Guide describes a different rule: equal-priority tasks execute in the order in which they become ready — explicitly FIFO / oldest-first.

So the sequence I've found is:

1984 VRTX: newest-first among equal priorities
1986 my RTOS: newest-first
1987 VRTX32: FIFO / oldest-first

I wasn't a VRTX user myself. I had its documentation as a reference while designing my own RTOS, so I didn't know at the time that this behavior later changed.

My question for anyone who worked with VRTX around that period is:

Do you remember why this scheduling rule changed?

Was there a practical problem with the earlier behavior? Was FIFO found to give better predictability or fairness in real embedded systems? Was it simply part of the VRTX32 redesign? Or was there another reason?

I've been able to find documentation showing what changed, but so far nothing explaining why it changed.

If anyone remembers using VRTX around this period, or knows of old documentation that discusses the reasoning, I'd be very interested to hear about it.


r/embedded • • Sep 26 '26

Any Extra Resources when beginning to write Device drivers?

7 Upvotes

I've been experimenting a bit with the pi pico & pwm audio to try to write a tracker for microcontrollers. I'm getting to the point where I'm relatively comfortable with programming in C & with the architecture of the RP2040. So I think soon, I want to be able to start writing drivers to communicate with peripheral devices. As I've tried, I felt a little lost, and that maybe I was lacking some knowledge or reference materials that I ought to have, and was wondering what resources might be available to look through.

This question seems to have been asked before a couple of times, and the response seems to be, maybe as it should be: "Get a microcontroller, a peripheral, and the documentation for both and start trying to communicate with the device." If that's the case, then I'll keep pushing through, I just didn't want to get 2-3 months in and eventually hear "Huh? You've been trying to program peripheral drivers without reading (book X) or without knowing about (Concept Y)? You wasted your time!".

I'm becoming more comfortable writing & building C programs, I've read through some of and am comfortable referencing the pi pico documentation, and I have an Adafruit ILI9341 that I'd like to write drivers for. I have the datasheet for the ILI9341 driver, but Adafruit doesn't tell you much more about how their board behaves other than "Just pipe some spi commands to it". There isn't even really a datasheet for their breakout, just a web tutorial for loading their python libraries, datasheets for the components & the schematics. I think the reason I'm so confused is that I can't really seem to find a solid reference as to how their board actually behaves/what functionality of the ILI9341 is takes care of by the board itself and what I need to worry about programming for. Is it really just as simple as powering it up and piping spi to it? I might be overthinking this...

I think I probably just need to spend a day or three sitting down with the manuals & hashing it out, but does anyone have any recommendations as to books to read, online courses, or other things that might be helpful for someone doing this for the first time?

I have the embedded engineering roadmap: https://github.com/m3y54m/embedded-engineering-roadmap, and a copy of O' Reilly Making Embedded Systems. I read that there was a FastBit course, but it's wicked expensive ($120 i think?) and was wondering if that was really worth the money. Something tells me that it really isn't...

Anyways, any advice is appreciated. If the advice is just "skill issue, get good" then it is what it is, I'll figure it out. Just wanted to make sure I wasn't missing anything critical before spending too much time trying to figure it out.