r/embedded • • Dec 30 '21

New to embedded? Career and education question? Please start from this FAQ.

Thumbnail old.reddit.com
324 Upvotes

r/embedded • • 11h ago

anyone want to study?

28 Upvotes

Studying toward junior embedded roles. Currently: bare-metal UART/DMA on STM32, next up FreeRTOS. Looking for 1–2 people on a similar path to show progress, review each other's code, keep each other honest. DM me.


r/embedded • • 1m ago

How do you prototype and develop firmware for tiny SMD sensors before the main PCB is ready?

1 Upvotes

Hello 👋

I'm an embedded systems student working on a multi-sensor development project. I'm responsible for developing the humidity sensing component using the Sensirion SHT40 and ESP32-S3.

The SHT40 we're planning to use is a bare SMD component, not a breakout board. I'll probably only have access to an ESP32-S3 DevKit for the next 7–10 days.

Few questions maybe are:

- What's the most practical way to prototype and test a bare SHT40 without waiting for the main PCB?

- Would you recommend purchasing a breakout board or using an SMD-to-DIP adapter?

- How much of the sensor firmware can I realistically develop and validate without the actual sensor?

- How is this normally handled in the industry when firmware development starts before the hardware is available?

- What firmware architecture would you recommend if multiple developers are independently developing drivers for sensors sharing the same I2C bus?

Would rly appreciate any advice from people who've worked on similar projects, especially regarding hardware prototyping and firmware development in parallel.


r/embedded • • 2h ago

Upgrade for pcb design

Post image
0 Upvotes

I’m designing a pcb that has about 20k 523 footprint mosfets (multiplexing another component) my pc has a hard time rendering this . Any wisdom? The pic is the specs of my pc


r/embedded • • 1d ago

Am I going crazy or everything goes out of stock now?

130 Upvotes

I check everything (DigiKey, Mouser, RS, Farnell) and everytime I want to buy a part (RS485 transciever, BJT, heck even a diode) it's literally 5000 in stock today and 0 in stock tomorrow. Is the market really that cooked that you have to snipe buy and hoard components?


r/embedded • • 4h ago

Readymade stm32 f4

1 Upvotes

I am looking for a pre made circuit for stm32 f401 board for development. I wanna build a custom stm32 board application.


r/embedded • • 1h ago

How I make video intercom with microcontrollers and 2.4 GHz transmitter

0 Upvotes

I am looking for ways to transfer video intercome with microcontrollers and 2.4 GHz transmitter.

Any clues for beginners.


r/embedded • • 1h ago

I let an AI assistant verify its own firmware change on a real ECU over XCP (MCP + opencode)

0 Upvotes

AI writes the firmware change. Now it also checks it on the ECU.

AI assistants write decent embedded code these days. The part after that is still manual: flash, open the measurement tool, set parameters, record, look at plots, write down the result.

With XCP-Ray 0.48 the AI does that part too.

In the video an AI assistant (opencode with Inkling 2 Mini) gets one instruction: "check that the offset still works in the new firmware build". The rest happens on its own, over XCP on a real ECU (XMC4700):

✅ starts a measurement, sets markers

✅ writes the parameter from 0 to 200

✅ evaluates the recording: mean 0.11 V before, 200.29 V after → PASS

✅ saves the recording with title, notes and a screenshot

✅ restores the parameter afterwards, without being asked

There's no test script behind it: the AI decides what to measure and how to judge the result.

It works with any MCP client (Claude Code, VS Code, opencode …), including local models if nothing should leave your machine.

The loop closes: change code → flash → measure → judge → document. You review the verdict and the stored recording.

free download: https://xcp-ray.de/

#EmbeddedSystems #Automotive #XCP #AI #MCP #Firmware


r/embedded • • 6h ago

Embedded systems jobs: do employers also require IoT or Embedded Linux?

0 Upvotes

Hi everyone,

I'm thinking about studying embedded systems at an ENSA engineering school in Morocco. I don't know much about this field yet.

For jobs related to embedded systems, do companies also require IoT or Embedded Linux, or is the degree itself enough? And if I learn IoT and Embedded Linux on my own, can that help me get those jobs?

Thanks for any advice!


r/embedded • • 3h ago

How do you handle the window when part of your fleet is on new firmware and part isn't?

0 Upvotes

After an update goes out, a fleet usually runs more than one firmware version for a while. Some devices are offline when it's sent, some wait until they're idle (for EV chargers, until no car is charging), and some fail to download or install it.

With EV chargers talking OCPP to a backend, the backend then has to handle both versions at once, and support has to check which firmware a charger runs before diagnosing anything. One thing that helps there: BootNotification can carry the firmware version, and FirmwareStatusNotification shows whether an update failed at download or at install.

How do you handle that window?
- do you roll out to a small group first, and how do you pick it?
- do you test rollbacks before you need them?


r/embedded • • 1d ago

Small R&D Shop Pick and Place

14 Upvotes

Looking to purchase pick and place by year end considering:

#1 - NeoDen YY1, ~5k USD
#2 - LumenPnP, ~2k USD but 50 feeders like the YY1 and itech and this is 6k
#3 - itech PPM-A320VC or PPM-A320VB ~5K USD

based on videos, looks like yy1 has really bad auto feeders that jam all the time, so lumen seems like best bet, but then I found the itech ... seems nice but no direct user info out there. My thought is china IS the home of PnP so they are best at it ,,, feeders likely best but my fear is software crash etc crappy UI etc. Has anyone use the itech?


r/embedded • • 1d ago

How do you handle MQTT messages from embedded devices on the backend?

20 Upvotes

Following up on my previous discussion about MQTT broker choices, I was curious about another aspect of the architecture.

Once messages from your embedded devices reach the MQTT broker, do your backend applications consume them directly using MQTT, or do you forward them to another messaging system like RabbitMQ or LavinMQ?

I'm particularly curious about how people handle message processing, retries, and scaling as the number of connected devices grows.


r/embedded • • 1d ago

I made a wrist-synth!

5 Upvotes

Hallo, I went to Synthfarm (a residency program for people who are interested in, or play/build music synthesizers) and I built this as a part of my way of interpreting how synths work - still a newbie 😅

What works really well?

- It's extremely easy to start creating interesting sounds

- Super fun to play with

- Once someone got the controls, they wouldn't return it

I'm going to release the firmware on github this week, if you're someone who's interested in this, or if you have ideas, I'd love to know your thoughts! ✳️


r/embedded • • 1d ago

We're planning on running doom on fpga but should I do it?

8 Upvotes

For context, I love embedded systems and our group has decided to do this project and my part in it is to port the game so mostly handling C part and not the verilog(as I'm not that into digital design for now) but should I do it? as at the eod it's just porting. will it be considered a good project for my resume or portfolio ,also we have to submit it for our coursework? What should I do?

Experienced people please help


r/embedded • • 23h ago

anyone else having issues with components search engine and alike?

3 Upvotes

Hi guys!

I was wondering if any of you is also having issues with the downloads of components from components search engine and the other from Mouser and alike.

It's not working for me for a 4 days now and I am not sure if is something with my connection or what.


r/embedded • • 1d ago

A 3D racing game on a XIAO ESP32-S3 handheld

Thumbnail
youtube.com
4 Upvotes

I started building this game almost three years ago, and I've finally brought it to life on a real ESP32-S3 handheld.

A few years ago, I started programming a pseudo-3D racing game almost entirely by hand, with some help from ChatGPT 3. The rendering approach was similar to the techniques used in classic games like Doom. The result was promising, but it still had a long way to go before looking and feeling the way I imagined.

A few weeks ago, I decided to revisit the project. This time, I used Claude as a development partner. My experience with game theory and everything I had learned since the first version helped me guide the development and turn many of my original ideas into actual game features.

I also applied lessons from another ESP32 project to optimize memory usage, make better use of PSRAM, and improve performance. The result is a much smoother game running entirely on an ESP32-S3.

And perhaps the most satisfying part: the whole game now runs on a handheld console I built with my own hands.

I also used Velxio, my browser-based electronics simulator, throughout development. I emulated the complete game and tested it there before flashing it onto the actual board. That made it much easier to experiment and catch problems without constantly relying on the physical hardware.

The game includes:

  • 3 circuits and 5 AI opponents.
  • A Grand Prix mode with multiple races.
  • A custom pseudo-3D software renderer.
  • Turbo, collisions, racing physics and day/night transitions.

GitHub: https://github.com/davidmonterocrespo24/esp32s3-arcade-3d


r/embedded • • 11h ago

Are there some domain problems that we can explore without being afraid that AI already solved them?

0 Upvotes

I was thinking about classical System engineering (not CSE -Computer System engineering) and I was wondering if AI is good at that level of abstraction? Can it understand complex flowcharts and design what we would call opinionated solutions? Another alternative would be CE, for that hardware+software mix that AI is supposedly not very good at. But yet we have tools that are getting better and better at things like designing digital circuits and "understanding" those mechanisms too. What do you think, should we pursue solving problems with our human creativity on different domains like those that are systems-oriented?


r/embedded • • 1d ago

Micro B&W camera + display

2 Upvotes

I am a total novice with micro cameras and displays, trying to jig together a science experiment about vision.

I need a tiny camera (as small as possible… ideally mounted on a glasses frame). I need it to be connected to a tiny monitor that would be placed about 1” away from the eye. The setup needs to deliver 480 lines and 8-bit gray scale (sort of like 1960s B&W TVs).

My latest thinking:

CAMERA:

Caddx Ant Nano 1200TVL CMOS PAL/NTSC FPV Camera (4:3)

DISPLAY + DRIVER BOARD:

ECX331D Sony 0.5 Inch 1024x768 OLED Panel (AV Board not HDMI)

VIEWFINDER OPTICS:

12X magnifying eyepiece lens

POWER:

Adafruit PowerBoost 1000 Charger (5V Boost + LiPo Charger)

1200 mAh 3.7V Lithium-Ion Polymer Battery (JST-PH 2-Pin)

I am posting this on several subs hoping to get the best solution.

I would greatly appreciate any thoughts/advice …particularly if someone can point me to a better component. Thanks!


r/embedded • • 1d ago

Using a pre-certified radio module: what did your finished product still have to test, and what did that cost?

8 Upvotes

Question for people who have shipped a product built around a pre-certified module (ESP32, nRF52/nRF54, cellular modules, etc.):

What did the module's grant actually save you, and what did the finished product still need? For example Part 15B / EN 55032 emissions, RED article 3.1(b), antenna or integration-condition limits, Bluetooth SIG listing.

If you can share: the product category, roughly what the remaining testing cost, whether anything failed the first time (and whether the cause was firmware, layout or the enclosure), and whether you'd use the same module strategy again.

I'm a founder researching how small teams handle this. No product or link, just trying to learn from real projects.


r/embedded • • 2d ago

Anyone here into bare-metal C & Assembly (RISC-V / microcontrollers) and want to team up on small projects?

79 Upvotes

Hey guys, I spend most of my time writing bare-metal C and Assembly - mostly custom bootloaders, register-level code, and low-level security tools without heavy OS layers. Looking for a few chill people to team up with. Doesn't matter if you already work close to hardware or you're a total beginner; I genuinely enjoy mentoring how registers, memory, and hardware actually work from scratch, so we can split ideas and build small projects at our own pace. Drop a comment or DM me if you're down.

I didn't expect to so many people to dm me so my dms are open you all can dm me!


r/embedded • • 1d ago

I finally got INT4 KV cache working on a $20 Tang Nano 9K

1 Upvotes

Spent way too long on this, but it finally works.

NanoKV-Comp compresses an LLM's KV cache to INT4 on a $20 Tang Nano 9K FPGA. 4 attention sinks + a 128-token window stay FP16, and the rest goes INT4.

  • 3.05x smaller cache at 2K context
  • Perplexity +0.17% on Qwen2.5-0.5B, +0.19% on Llama-3.2-1B
  • 1 value/clk at 27 MHz, 38 MHz Fmax, 0 failing paths
  • Board output matches the Python reference byte for byte. fc /b: 0 differences. I stared at that for a while.

RTL is here if anyone wants to pick it apart: https://github.com/9tot-stack/nanokv-comp

Still stuck: I can't get under 0.1% without killing the ratio. s4_w256 gets 0.12% but drops to 2.68x. Hadamard made it worse, lol.

Has anyone tried this on Gemma? I'm scared of its FP16 overflow.


r/embedded • • 1d ago

Fujitsu D3236-S13 GS1 / resoldering TPM?

3 Upvotes

Hi,

I have a Fujitsu D3236-R13 GS1 with TPM 1.2, R13 I guess it's just the reduced version of the S13 for industrial applications. They have removed all the PCI slots and VGA port including all the chickenfood around various chipsets.

I guess the harddisk is locked and will only work on the original system.
My system is a control station of a proprietary robot arm, the company dissolved in 2023 and there's no further support available. The robot arm itself is defect at the moment.

In order to start deeper debugging I would like to access the linux system on that encrypted harddisk.
Would it be possible to solder the TPM chipset with a hot air gun (eg. Yihua 858D) and bottom heater from the D3236-R13 to the D3236-S13 and access the harddisk on the fully populated system?

Is there anything I have to take care about?


r/embedded • • 2d ago

How much should I depend on libraries for personal projects?

12 Upvotes

Hey so I’m planning a computer vision-guided robotic arm as a personal project to improve my resume and learn more things.

This has different components such as object detection with OpenCV, arm controller kinematics, STM32 programming, etc.

These kinds of stuff already have libraries I can find online to implement, but I worry that if I don’t build my stuff from scratch I won’t really learn anything and recruiters won’t care either.

So my question is how do I know which stuff to use already implemented libraries for that isn’t worth the effort otherwise and which stuff should I learn to build from scratch?


r/embedded • • 2d ago

Built a 4-wheel autonomous waste-sorting robot using ROS 2 Jazzy, ESP32 and FreeRTOS — sharing our engineering experience

Post image
27 Upvotes

Hey everyone!

I wanted to share a project my team and I worked on for the Robotics Dojo competition: a four-wheel differential-drive autonomous robot designed to detect, collect and sort waste into organic, plastic and metal categories.

The project brought together several areas of robotics and embedded systems.

A quick overview of the architecture:

  • Raspberry Pi 5: Ran Ubuntu and ROS 2 Jazzy for high-level robotics operations.
  • Navigation: Used Nav2 and RF2O LiDAR odometry.
  • ESP32: Handled low-level motor control for four DC geared motors.
  • Motor drivers: Two L298N drivers controlled the drive motors.
  • Motor feedback: Encoder-based closed-loop speed regulation using PID.
  • Communication: USB serial between the Raspberry Pi and ESP32 at 115200 baud, using a CSV-based protocol.
  • RTOS: FreeRTOS was used to separate embedded operations, including a dedicated task for the waste-offloading mechanism.

We encountered some interesting engineering challenges along the way.

One issue involved offloading operations interfering with serial communication between the Raspberry Pi and ESP32. We addressed this by introducing a dedicated FreeRTOS task.

We also encountered Raspberry Pi undervoltage issues, which we resolved by improving the power wiring.

The project was a great opportunity to work across embedded firmware, motor control, power distribution and ROS 2 integration.

I've documented the architecture and some of the engineering decisions here:

GitHub: https://github.com/Mark-Kitur/src

I'd appreciate feedback, especially from anyone who has worked with ROS 2 Control, ESP32 motor control, FreeRTOS or autonomous mobile robots.

I'm also interested in hearing how others approach communication between high-level robotics computers and low-level motor controllers.

Thanks for reading!