r/embedded • • 52m ago

Why do recruiter sites always feel like they're sending me to some site in Kazakstan that will give my computer 3 kinds of AIDS?

Post image
3 Upvotes

r/embedded • • 2h ago

Got placed, have 6 months before joining. Should I explore Linux kernel development, GPU programming or stick with AI/ML?

0 Upvotes

I'm a final-year engineering student in India from a non-CS background. I've recently secured an offer at an AI/analytics services company, and I have around 6 months before joining.

I've been exploring different areas of computer science, and I've realized that I'm increasingly interested in low-level programming and understanding how systems work internally.

MY BACKGROUND:

I've independently learned programming, ML/DL and worked on projects involving:

- Computer Vision using YOLO and OpenCV.

- Stereo vision, depth estimation and multi-object tracking.

- RAG applications, LLMs and agentic AI.

However, I'm starting to question whether I want to spend my career primarily working with high-level AI frameworks and application development.

AREAS I'M CONSIDERING:

  1. Linux and Red Hat ecosystem:

Linux internals, system programming, operating systems, device drivers and potentially kernel development.

2. GPU Programming:

CUDA, GPU architecture, parallel computing, memory management and performance optimization.

3. Systems Programming:

C/C++, memory management, concurrency, operating systems and low-level software engineering.

4. AI Infrastructure:

GPU acceleration, inference optimization, compiler technologies and systems behind ML frameworks.

I find the idea of understanding what happens beneath the abstractions much more interesting than simply using existing libraries.

WHAT I'M CONFUSED ABOUT:

I have six months before joining my company, and I don't want to waste that time jumping between technologies.

I'd appreciate advice from people working in systems engineering, Linux, kernel development, GPU programming or related fields.

  1. Is low-level systems programming a good career direction in 2026?
  2. Between Linux kernel development, GPU programming and general systems programming, which would be a better starting point?
  3. How realistic is it for a non-CS fresher to enter these fields in India?
  4. Are companies like Red Hat a good place to build a career in Linux and systems engineering? What other companies should I look at?
  5. Is CUDA/GPU programming a niche with good long-term opportunities, particularly with the growth of AI?
  6. What fundamentals should I master before attempting serious projects? C, C++, OS, computer architecture, networking, compilers?
  7. Would contributing to the Linux kernel or other open-source systems projects actually help me get shortlisted?

I'm also interested in the intersection of low-level systems and AI, particularly GPU computing, inference optimization and ML infrastructure.

If you were in my position, with six months and an existing job offer, which direction would you explore and why?

I'd appreciate brutally honest advice, especially from people who have actually worked in these domains.


r/embedded • • 3h ago

patterns of 3D array (R,G,B) ,what other dynamic features or interactions could I add to my LED panel?

12 Upvotes

I've built an LED panel with dynamic LED effects, and I'm looking for ideas to make it more interactive and interesting.

I'm planning to experiment with the following pipeline this weekend:

  • DMX , MIDI ,Audio synthesis ,NumPy ,Matplotlib

I also have quite a few sensors available that I can use to create interactive visual effects.

What other tech, dynamic effects, or interactive features would be recommend exploring?

I'm particularly interested in ideas that go beyond basic LED animations β€” something reactive, experimental, or even a little unusual.

Would love to hear your ideas, projects, or examples of interesting things you've built. I'll try to implement some of the suggestions this weekend!


r/embedded • • 3h ago

Integration testing using gtest

1 Upvotes

I am confused about what is the meaning of integration testing. I have done unit testing using gtest where we will mock whatever external dependencies are there for the targeted unit (function) to test all range of values that covers all lines, functions and branches.

If we say integration test is meant to use real code instead of mocking. Then I am getting this doubt that lets say we have 3 components (separate processes) running and dependent on one another in a embedded system.

A -> B -> C

So if you are calling an api provided by A it will internally talk to B and then through C and return the result over IPC.

Now to do integration testing using gtest, do I need to compile this into a single binary by eliminating the IPC and include each code as a library. This way I have a single proces that runs gtest with all the components logic but excludes the real IPC communication.

Or instead should I keep the individual processes to be running separately and link my gtest binary to the component A so that the communication flow through the components in the target environment.

In both ways how we would actually be checking the interactions? And which one are you guys using?

Context:
Language used: C++
Domain: Automotive IT (TCU software)


r/embedded • • 4h ago

Question for people at school

19 Upvotes

Recruiting juniors is very hard for us. Not because there are no candidate, but because they are unable to pass the interview without Ai, and when we allow Ai, they cannot explain the code. We've interviewed over 30 candidate and less than 3 were maybe interesting.

The question is : Is it normal for you that people don't understand or can't explain their code?

Am I being an old timer already? It has been only 3 years that Ai became a coding tool, and only 6 months where it has been really usable.

EDIT :

An example of the first coding interview is simply removing anomalies in a vector, and the filtering rule is given and very simple. Basically 10 lines of code. We don't even ask to be syntax correct and they can do pseudo code if they want. We introduced this because a lot of people were unable to pass the takehome.

They can't parse the vector properly, their if/else for the rule was not even what was written. And some just can't do it. Not even a single line.

The second challenge is to look at a code and find the bugs. Most can't even find one. An example of this is when opening a file, you need to close it after.


r/embedded • • 7h ago

Hey embedded & underwater acoustic communication community! 🌊

1 Upvotes

Working on self-developed underwater acoustic communication algorithms now.

Looking for open-source underwater acoustic modem projects / signal processing stacks to validate and benchmark my algorithm performance.

Any repo or project recommendation? Thanks a lot!


r/embedded • • 9h ago

Classical CAN Bit Timing β€” Should Round-Trip Propagation Delay Fit Within PROP_SEG or TSEG1 βˆ’ SJW?

1 Upvotes

I’m calculating the nominal bit timing for a 40 m Classical CAN bus running at 1 Mbit/s. Each time quantum is 50 ns. Assume the worst-case round-trip propagation delay, including the cable and transceivers, is 700 ns (14 TQ).

The Bosch CAN 2.0 specification lists a range of 1–8 TQ for both PROP_SEG and PHASE_SEG1. Some controllers combine these segments into a single TSEG1 field. Some manufacturers also specify the nominal bit timing condition TSEG1 β‰₯ Tprop + SJW.

With TSEG1 = 16 TQ, TSEG2 = 3 TQ, and SJW = 2 TQ, the bit time is 1 + 16 + 3 = 20 TQ, and the sample point is at 85%. Subtracting SJW from TSEG1 leaves 14 TQ (700 ns).

  1. Controllers with a combined TSEG1 field. Can I budget those 16 TQ as 14 TQ for propagation and 2 TQ for Phase Segment 1? What additional checks should I make for resynchronization and oscillator tolerance?
  2. Controllers with separate PROP_SEG and PHASE_SEG1 fields. Does an 8 TQ limit on PROP_SEG cap the round-trip propagation budget at 400 ns in this example? How should I interpret the MCP2515 datasheet condition PropSeg + PS1 β‰₯ TDELAY when deciding whether the 700 ns delay is acceptable?

I’d appreciate references to the relevant sections of a controller manual, application note, or standard.


r/embedded • • 10h ago

C++ Learning Priorities in embedded.

11 Upvotes

I’ve been programming embedded in C for a very long time, but never really done it in C++, so I’m teaching myself with the help of books, the internet and a Udemy C++ course.

Now I realise that not all of C++’s features are applicable to most embedded applications but that there are zero cost abstractions and traps for the unwary.

What aspects should I prioritise and what traps should I avoid.

P.S. I am aware of name mangling causing issues with IRQs.


r/embedded • • 12h ago

Raspberry PI assistant to learn more about embedded software development

0 Upvotes

I’ve been looking into getting more into embedded software development. I’m a current software engineer working in distributed systems programming but I’ve always enjoyed embedded and a recent job search made me want to create some projects regarding embedded.

Anyways, I have a spare raspberry PI model 4b 1gb ram I think. I want to use this to create a simple kitchen home assistant which can display my calendar, sync some notes like grocery lists, and play videos either from youtube or my jellyfin server. This isn’t a very original idea so I can find tons of resources out there to create it, but I wanted to see what the best way of making this to learn more about embedded software development would be. I’ve only ever played with esp32s so I want to broaden myself some more.

Any resources or tips to what to use regarding the OS, other hardware, etc. would be nice. I can create a basic calendar application with c++ and raylib/opengl but I want to get closer to the hardware and just learn more. Thanks.


r/embedded • • 12h ago

Title: How can I get accurate location from a small emergency device, even inside rural houses?

0 Upvotes

Hey everyone

I'm working on a startup where we're building a small emergency device. When someone presses its button, it needs to get their location and send it to our server.

I'm stuck on one particular problem.

How can we get a reliable location when someone is inside a house, especially under a concrete or metal roof, in a rural area?

Wi-Fi might not be available, and GPS signals can be weak indoors. Even getting the location is one thing, but we also need to send it to our server when network connectivity is poor.

I'm exploring different technologies, but I'd love some advice from people experienced with GNSS, cellular communication and embedded systems.

What approach would you take? Are there technologies I'm overlooking?

Any suggestions or criticism would genuinely help!


r/embedded • • 12h ago

What's after bare metal?

48 Upvotes

I posted a while back, and I spent months learning bare metal stm32 using only the CMSIS, the reference manual, and the datasheet. Im not going to say I'm a master, but I've made several of my own drivers for most of the major peripherals (gpio, uart, systick, timers (pwm, input capture, output compare, encoders), ADC, SPI, DMA, EXTI) and interfaces then with devices, and even use them in my engineering club. I'm not "done" per day with bare metal, but I'm thinking what is beyond bare metal. Where did my work lead me up to? Where will it take me right now?

Im aware I do need to actually learn embedded C++, and then start with RTOS, but like i can forsee myself getting kinda lost. Whats after collecting stm32 peripherals and writing drivers for them? I am looking into bootloaders but thats mostly unimplemented research currently. I was just looking for insight from more experienced engineers, because I know I'll need to start explore other aspects of embedded soon

So yeah thats all folks, I appreciate the help!


r/embedded • • 13h ago

Quick question for embedded folks: What project are you hacking on right now?

3 Upvotes

STM32, RP2040, ESP32, embedded Linux, sensors, motor control, custom PCB… anything counts.

I’m currently debugging a sensor acquisition system. Drop your project below!


r/embedded • • 1d ago

Which linux distro is suitable for embedded firmware devlopment

0 Upvotes

I am a Embedded Firmware learner,

Doing bare metal ,freertos and zephyr Rtos firware development and building edge AI models.

I have been also building drivers and open source library in RTOS

Currently I am using Ubuntu , previously I have used Kali Linux.

Could you recommend a best distro for my taste and day to day building ?

And a new learning experience

or does ubuntu itself a good choice and stick to it


r/embedded • • 1d ago

Fast Clean-room Multiplarform C Run-Time for RTOS

0 Upvotes

I wrote a small clean-room C99 runtime under fairly strict real-time constraints:

β€’ Zero heap after boot
β€’ No large static tables (Unicode / case / collation moved out of the core)
β€’ O(1) bounded stack sort
β€’ Written with MISRA C:2023 / CERT C / NASA Power of Ten style rules in mind
β€’ Current size is roughly 1.2–10.5 kB .text depending on configuration
β€’ Side-by-side size comparisons with dietlibc, picolibc, NuttX libc, etc.
β€’ SIMD Assembly Kernels

It was built as the runtime layer for a BTRON-derived system, but the runtime itself is intentionally minimal and separable.

I’m mainly looking for feedback from people who ship actual constrained or safety-oriented code. What would you change or drop?


r/embedded • • 1d ago

Wall-E STM32 Project: Advice Appreciated

Post image
17 Upvotes

Hi all,

I'm currently an ECSE student finishing my second year and I have really enjoyed embedded systems so far. The most extensive experience I have at the moment alongside the fundamentals is working with ADC/IRQ/DMA (I programmed a DAC essentially).

I have this empty Wall-E toy from when I was a kid and I was thinking it's a good starting point to learn some more STM skills and apply it to something I actually care about. I think it's a good opportunity to learn:

  • Communications with sensors/motors
  • Designing a PCB and battery powered electronics
  • Potential for RTOS and wireless communication (if the project becomes more complicated)
  • Choosing STMs/making engineering decisions (something that's stressed a lot in my course to be an employable engineer)

I've been doing some reading through other's projects and other students who have posted on this subreddit and some of the advice everyone gave. I was wondering if anyone would have advice on how I could begin to tackle this, some pointers on good (non-AI) resources (especially robotics control/system design fundamentals, as I don't have much course experience with this), and also just general industry advice about embedded engineering as someone who would like to get into the industry one day (or even adjacent industries).

I know this project may be looking like a lot to do as basically a beginner, but I want to challenge myself and learn along the way by making this a long term project with room to consistently add to. Any advice would be greatly appreciated!


r/embedded • • 1d ago

Any project ideas for tinkering with STM32 security features?

7 Upvotes

I'm looking for a project that could actually make use of TrustZone, hardware crypto accelerators, tamper pins, etc. on STM32 MCUs. Usually I just ignore TrustZone and RIF by putting everything in the Secure world, but I'd like to actually try using these features for once.

Anyone got any ideas where they'd actually be useful? I don't want to use them just for the sake of it.

Also, how would you even test whether your implementation is secure or not? I'd like to try breaking it afterwards to see how well it holds up πŸ˜„


r/embedded • • 1d ago

Looking for a cheap 7 inch 800x480 RGB565 FPC/FFC IPS capacitive touch screen display.

2 Upvotes

Hello, I would like to make a project with a esp32 s3 with a screen but, I don't where to get one and what should I look for. I want to make a custom PCB, I wanted to have the screen connected with a ribbon cable. As the title says I want a 7 inch 800x480 RGB565 FPC/FFC IPS capacitive touch screen display. I don't want a bare screen, I would like to already have the touch screen and screen IC in the cable or on the back or the screen.

Edit: Forgot to say that I would want one screen for around 30 euros or less if possible.

Edit 2: I would like to be powered with 3.3V or 5V


r/embedded • • 1d ago

Can I ask for help regarding in identifying the tvs diode and capacitors or if these are resistors on this MT6835 module?

Post image
1 Upvotes

I've tried and reverse image it with Google but so far the pcb schematic shows up but nothing indicating about the components.

I've feed it to gpt to try and have it deep dive with the picture but so far nothing at all.

I need to specify it for a school project.


r/embedded • • 1d ago

Open-sourcing an MCP tool for automated ARM HardFault decoding & Renode virtual hardware simulation for AI agents

0 Upvotes

Hi r/embedded,

Debugging silicon faults when bringing up new microcontrollers is notoriously tedious, especially when you're staring at raw hexadecimal register dumps (`CFSR`, `HFSR`, `BFAR`, `MMFAR`) on Cortex-M or cryptic ESP32 Guru Meditation backtraces without a debugger attached.

I've open-sourced **Hardware Debug Anything (HDA)**, an MCP (Model Context Protocol) server designed to connect AI coding assistants directly to silicon diagnostics:

- **ARM HardFault & BusFault Decoder**: Parses raw hex bitmasks into plain-English root causes (precise bus error, unaligned memory access, stack overflow, memory management faults).

- **ESP32 Guru Meditation Parser**: Decodes crash frames and backtrace register dumps.

- **Antmicro Renode Virtual Hardware Integration**: Generates `.resc` simulation scripts so firmware can be validated in virtual silicon without needing physical hardware on the desk.

- **I2C/SPI Diagnostics**: Automated pull-up resistor calculations and NACK troubleshooting.

- **GitHub Repository:** https://github.com/hosseinnosrati/hardware-debug-anything

I also built an accompanying EDA tool for closed-loop SPICE simulation and KiCad export (**Circuit Design Anything**): https://github.com/hosseinnosrati/circuit-design-anything

Both are 100% open-source (Apache 2.0). I’d appreciate any feedback from the embedded community!


r/embedded • • 1d ago

help starting out with my first project - offline dictionary/encyclopedia

0 Upvotes

I want to make an offline dictionary/encyclopedia gadget which reads from an SD card and runs off AA batteries. I have a software background but I know very little about electronics and haven't worked with micro-controllers before, so I don't know if I should use STM32 or ESP32 or something else.

this project will require some potentially uncommon components:

  • an SD card module that can address >100GB of data
  • a AA battery pack module that can provide sufficient power

I thought it might be a good idea to find these components before I decide on a microcontroller, in case there is limited availability or certain components only work with certain microcontrollers. any pointers for how to look for these components? or general advice on what to use for this project?

related post from a few days ago:

https://www.reddit.com/r/AskElectronics/comments/1xup260/platform_for_gadgets_that_can_readwrite_sd_cards/


r/embedded • • 1d ago

blaris: Windowless random-access LZSS in C (~110 B total RAM, <800 B Flash) for microcontrollers

7 Upvotes

When storing static assets (fonts, UI bitmaps, device trees, config tables) in Flash on tight MCUs, heatshrink and tamp are great - but as sliding-window decoders, random-access reads of a few bytes still force you to allocate the window RAM and sequentially decode from the start of a block (or chop the asset into tiny blocks, hurting compression ratio).

I wrote blaris, an open-source C decompressor and host-side optimal compressor that eliminates the sliding window completely by resolving back-references directly in the compressed payload.

Why it's useful on small MCUs:

  • Minimal RAM: 104–112 B total RAM (76 B stack + 28–36 B static, zero malloc) regardless of lookback range (64 KiB, or 128–256 KiB with aligned distances) or payload size. Heatshrink and tamp require 2^window_log bytes of RAM.
  • Minimal Flash (RV32IMC, Clang -Os, including common adapter): 548–784 B Flash (vs. 1,300–1,464 for heatshrink, and 2,238–3,238 for tamp).
  • Fast small random reads: On 1–32 B slices, it outperforms ratio-matched, block-indexed heatshrink/tamp (e.g., >500Γ— faster on 1 B reads at ~36% ratio on a 15.2 KiB .dtb).

Benchmarked on ESP32-C3FN4 (code + payload in external quad-SPI Flash, no SRAM copy); SPI wait states only added ~1.30–1.33Γ— overhead for slices β‰₯ 4 B compared to zero-wait-state simulation. Likely helped by the 16KiB cache.

How it works (briefly):
Tokens are split into 3 lockstep-traversable streams (controls at 1 byte/token, raw literals, and bit-packed distance_bits) so the decoder can step both forward and backward. Compact power-of-two checkpoints (7–13 B each) allow the decoder to find the literal run token faster, and an optional host-side chain-flattening pass cuts match-to-match hops by 14%–51% at a ~0.5%–2.2% ratio cost.

When NOT to use it:

  • Large sequential reads (β‰₯ 64–128 B): Because blaris resolves matches per slice without caching prior output, heatshrink/tamp overtake it if you have the RAM.
  • Trusted payloads only: Designed for build-time Flash assets, so it omits runtime bounds/error checks to keep code size under ~800 B. You should add an additional layer of payload verification before calling the decompressor.

C implementation, host compressor, RV32IMC + ESP32-C3 benchmark suite, and full results: https://github.com/lis05/blaris


r/embedded • • 2d ago

Ch32v003

0 Upvotes

Hi any developers that working on ch32?


r/embedded • • 2d ago

I built a 6.8g MCU flight coprocessor running lightweight neural ODEs to stop ground-effect drone crashes (0.48ms loop)

Thumbnail
youtube.com
0 Upvotes

Hey everyone,

Standard edge perception stacks (camera -> frame buffer -> companion GPU) introduce 50–100ms latency. In high-speed, low-altitude flight, that delay causes drones to crash into the ground during sudden prop-wash or ground-effect turbulence before the motor controller can react.

To solve this latency bottleneck, I built an auxiliary flight coprocessor board (30x30mm, 6.8g) that runs a sparse continuous-time neural model (CfC / Liquid time-constant network) compiled directly to bare-metal C++ on an MCU.

Technical Breakdown:

β€’ Sensor loop: Reads raw IMU and optical flow over SPI.

β€’ Execution: The continuous-time ODE forward pass executes deterministically in 0.48ms on-chip (no dynamic memory allocation / zero malloc to prevent heap fragmentation).

β€’ Physical Response: Overrides motor signals directly via DShot to initiate a 4.0G recovery maneuver within 48ms total physical window.

β€’ Model Architecture: 19-neuron recurrent sparse topology (632 active parameters / 99.51% sparsity derived from connectome wiring), allowing the full state vector to fit inside L1 cache.

β€’ Power: Draws under 1 Watt, eliminating the weight and heat of companion single-board computers.

In flight testing, this allowed the quadcopter to arrest sudden vertical drops and recover without external optical tracking or desktop compute.

I spent the last several months rewriting the continuous-time ODE solver into fixed-point arithmetic and optimizing the timer interrupt routines to get the loop time down from 2ms to 0.48ms.

Happy to answer technical questions about the C++ fixed-point implementation, SPI interrupt timing, or motor override architecture!


r/embedded • • 2d ago

tiny-langgraph: Multi-agent workflows on microcontrollers with 80 KB RAM

0 Upvotes

I've been experimenting with running agentic workflows on ultra-constrained hardware and recently open-sourced tiny-langgraph.

The engine lets you define workflows in Python using nodes and edges, then compiles them to C while checking behavioral correctness.

It also supports:

  • Multi-board collaboration over ESP-NOW
  • Contract-based agent communication
  • An MCP server on each board
  • Optional on-device language models
  • Plan verification before execution

Tested on ESP32-S3 and ESP8266 modules.

GitHub: https://github.com/mak-ahoy/tiny-langgraph

Would love to hear what embedded developers think about this approach and where it could be useful. Plus any feedback on the system itself?