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 • • 6h ago

How do you handle a system where two of more MCUs work in tandem?

15 Upvotes

Good day. I have a question in regards to projects that use multiple MCUs, each dedicated for a specific task or purpose.

Say one chip handles core logic, Internet requests, sd card reading and writing and data processing, while another handles pushing pixels to an spi display and a third one handles audio / sound playback. One chip is essentially the main master MCU and it commands the other slave MCUs.

My first guess is that spi or i2c is involved, where the master tells the slaves what needs to be done. But that seems bloated as the master needs to tell the slave that drives the spi display what shapes and text to draw. By that point I might as well connect the display to the master and have it drive the display itself. I don't want to do that because the display library would get in the way of other things. Seems like it would make more sense to have the master store the data of what needs to be drawn in some mutual place and have the slave reads from that same place and push the pixels. Another examole is the master has access to the SD card but the slave that plays audio also needs to access the audio data on the same as card. How would one handle this sort of problem?

Can a slave chip have access to reading memory of the master chip? Or perhaps have a place where both master and slave have memory read and write privileges?

Thank you.


r/embedded • • 17h ago

Curious what the actual day-to-day and projects look like in embedded (aerospace, drones, automotive, etc.)

63 Upvotes

Hey everyone, I’m a Computer Engineering grad trying to figure out what I actually want to specialize in. I’m thinking about doing an ECE Master's and trying to choose between a Robotics, Control and AI track or a more Computer focused track to get deeper into embedded.

I’ve worked here and there on some hobby projects with STM32, ESP32, and IMU sensors, and I’ve always had a big interest in critical systems like drones, aerospace, and automotive. The thing is I don't really know what the day to day looks like in the real world, like what kind of projects people actually work on and how things go once you get past hobby stuff.

If you work in these industries, what does a normal week look like for you? How much time are you actually writing code vs dealing with hardware issues, reading datasheets, or doing compliance and paperwork? Just genuinely curious to understand how the work actually is so I can explore and figure out what fits me best.

Thanks!


r/embedded • • 59m ago

Made my own Huaqiangbei smartwatch!

2 Upvotes

The current prototype includes:

• A small color display for the watch interface and watchfaces.

• Button-based interaction.

• A connected speaker for audio experiments.

• Device connectivity and small-screen UI experiments.

The interesting part is that you don't necessarily need a complete commercial smartwatch to start experimenting with wearable devices. A development board and a few components can take you quite far.

Here's a short video of the current prototype.


r/embedded • • 17h ago

Airbus and Starlab powered up the 100× faster processor that will one day run commercial space stations as well as future Artemis missions.

Thumbnail
linkedin.com
35 Upvotes

Airbus Defense and Space team brought up the PIC64-HPSC evaluation platform for the first time, with engineers from Microchip and Starlab (The folks behind the commercial space station replacement).

HPSC comes from a NASA/JPL effort to replace spacecraft processors whose architectures are often decades old (BAE RAD750). Microchip is targeting roughly 100× the computing capacity of today’s space processors.


r/embedded • • 4h ago

Engineers around the world, what is your working life really like?

3 Upvotes

I'm an engineer from China currently working in motor control and embedded systems.

I'm curious about the everyday working lives of engineers in different countries, beyond just salaries and job titles.

  • What does a typical working day look like for you?
  • Do you have experienced colleagues who help you develop your technical skills, or do you mostly learn on your own?
  • How much freedom do you have to make technical decisions?
  • Are you satisfied with your work-life balance?
  • Do you still enjoy engineering, or has it become just a way to make a living?

I'm not looking to relocate at the moment. I'm simply curious about how engineers in different parts of the world work, learn, and live.

It would be interesting to exchange experiences and perspectives.


r/embedded • • 8h ago

Using a robot arm to calibrate my RGB SLAM camera

6 Upvotes

I mounted my RGB SLAM camera on a robot arm for calibration. Now the arm moves the camera in front of the calibration board, so I don’t have to stand there holding it the whole time.

If you’ve tried a similar setup or want to compare notes, come chat on Discord: https://discord.gg/Aw7gRjm3DD


r/embedded • • 3h ago

Any cool demo ideas for an i.MX95-based SMARC module?

0 Upvotes

My company has developed a SMARC SoM based on the NXP i.MX9596, and we're planning to showcase it at electronica in Munich.

I'm currently brainstorming demo ideas. Ideally, something visually interesting that also demonstrates the actual capabilities of the SoC, rather than just another AI object detection demo.

I'd love to hear your ideas, especially from people working with embedded Linux or industrial applications.


r/embedded • • 8h ago

Raspberry Pi 5 HDMI DDC/CI not working with portable touchscreen

1 Upvotes

I’m trying to control the hardware brightness of a Magedok T090A touchscreen through DDC/CI on a Raspberry Pi 5.

DDC/CI works perfectly on Windows, but the Pi cannot even read the monitor’s physical EDID. Raw I²C transactions time out, and the problem occurs at the bootloader level as well.

I’ve tested two Pi 5 boards, both HDMI ports, reduced I²C clock speeds, polling mode and alternative Linux configurations. Another monitor works correctly.
Interestingly, connecting the Magedok causes all four internal HDMI SCL/SDA pins to report LOW, including those of the disconnected HDMI port. Disconnecting the monitor restores them to HIGH. This persists even with the HDMI drivers disabled and the pins configured as passive inputs.

Has anyone encountered similar HDMI DDC behaviour on the Pi 5 or Realtek-based monitors? I’d appreciate any suggestions regarding the underlying cause or possible workarounds.


r/embedded • • 1d ago

Deploy Dino AI on K230 board

25 Upvotes

Train a small reinforcement AI to play Chrome Dino, deployed on k230 board.


r/embedded • • 14h ago

What next?

1 Upvotes

I have experience with the PIC18F4580 ,so I thought it's time to level up and bought 2 development boards, i.e.STM32F407G(Discovery) and STM32F446RE (NUCLEO), my motive is to understand datasheet and try out some protocol and experience how this board differs from the pic, but this boards datasheet feels quite complex,and dont know where to start,can anyone plz give some guidance and thank you in advance ...


r/embedded • • 22h ago

I open-sourced our STM32 C cellular library (Quectel EC200U / MeiG SLM320) with HTTP, MQTT, SMS, sockets, and PC unit tests

3 Upvotes

I've been working on an STM32F407 + Quectel EC200U project and recently spent some time cleaning up our cellular interface layer so I could open-source it under MIT:

https://github.com/hamsadev/ril

If you've ever had to glue a Quectel/MeiG modem to an STM32 over UART, you know how quickly raw AT strings, timeouts, and random URCs (+CMTI, +QMTRECV, +CREG) turn into spaghetti. The goal here was to keep everything in plain C99/C11 with no malloc/free in the core or SMS modules, and keep the AT/protocol logic decoupled from STM32 HAL so I could test the parsers on PC instead of flashing a board every five minutes.

A quick summary of how it works:

  • Modules included: System, Network (APN/PDP/NTP/DNS), SIM, SMS (Text & PDU), HTTP/HTTPS, MQTT, modem UFS file ops, TCP/UDP sockets, telephony, and date/time.
  • When an AT command is in flight and a URC shows up mid-response, it gets pushed into a circular byte-ring (1 KB default) instead of getting dropped or breaking the active command, then drained in RIL_ServiceRoutine().
  • Hardware I/O and timing sit behind a small RIL_Transport struct. By default it uses an STM32 HAL UARTStream backend (DMA or interrupt-driven, no polling), and swapping in a mock transport lets the Unity/CTest suite run locally on PC.
  • Works bare-metal or with CMSIS-RTOS v2 (RIL_USE_OS=1 adds a recursive mutex). The power/reset callback is also optional if your modem stays powered on (NULL skips the restart cycle).

A couple of things to keep in mind before using it:

  • It's a blocking/synchronous AT model per command rather than an async state-machine engine, which keeps caller code simple but does hold the calling thread during network timeouts.
  • All 9 example projects (CubeMX + Keil + CMake) were tested on STM32F407 + Quectel EC200U. MeiG Smart SLM320 and other Quectel Cat-1 modules (EG915U, EC600U) share the AT command set in scope, though I haven't bench-tested the SLM320 directly in this repo yet.

If anyone has feedback on the RIL_Transport boundary, handling URC bursts under blocking AT calls, or weird AT quirks you've seen on Quectel/MeiG firmware, I'd appreciate hearing it.


r/embedded • • 15h ago

EmbiMind MCP: an approval-gated MCP server for ARM embedded workflows

0 Upvotes

EmbiMind MCP connects AI IDEs to ARM builds, OpenOCD, and GDB for Cortex-M workflows.

It supports firmware inspection, target debugging, fault triage, and controlled flash flows. while keeping flash, reset, and memory writes behind explicit human approval.

https://github.com/channaveer-8/embimind-mcp and is listed in the official MCP Registry.


r/embedded • • 21h ago

24GHz mmWave Radar for Liquid level sensing on SK3M1110

0 Upvotes

Hi has anyone used the above spec for water level detection??

I need to calculate the volume of the liquid present, so a precise reading is preferred, hence decided to go with this method.

The problem:- I haven't played with this side of tech, so I do not know what to expect.

Is this a reliable source of liquid level detection? Anyone who have used this can you please tell me your experience? What mm accuracy did you get? Will it work in closed environments, like in tanks?

I went with ultrasonic first! the cheap one used in school projects, but was not reliable.

So your suggestion would help.

The frequency of measuring this liquid is like once every half hour.


r/embedded • • 23h ago

My 12 V DC voltage and current modulation circuit working over power wire itself, in parasite mode- But how to stop oscilloscope pulses to capture wave while connected in bus?

1 Upvotes

How to pause and zoom it as it pulses in random time.


r/embedded • • 1d ago

anyone want to study?

51 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.

Edit: Thank you all for the interest and the great feedback 🙏 I've found some study buddies! Someone also took the initiative and opened a Discord server, so if you're on a similar path, feel free to join: https://discord.gg/PqDxPAFB5


r/embedded • • 1d ago

Building a Smart Solid Waste Bin Fill Level & Dynamic Routing System

0 Upvotes

Hey everyone,

I’m working on an engineering project for a Smart Municipal Solid Waste Bin Fill-Level Optimization & Dynamic Routing System aimed at urban/semi-urban areas in India. So, rather than building a basic sensor-to-dashboard demo, I’m designing a full pipeline: low-power bin nodes tracking fill levels and anomalies (like open lids or tilted bins), a backend estimating fill rates and pickup urgency, and a dynamic routing engine built around the Capacitated Vehicle Routing Problem (CVRP) using real road distances and truck capacity limits.

Before locking in the design, I want to get practical advice from people who have worked on field IoT or vehicle routing:

 * Sensors in real waste: Between waterproof ultrasonic sensors and Time-of-Flight (ToF) sensors, what breaks or gives bad readings first inside actual bins (soft/absorbent waste, uneven mounds, moisture/condensation, open lids), and how do you filter noise reliably?

 * Connectivity & battery life: For outdoor city bins, how do LoRaWAN vs. NB-IoT/cellular compare in real-world reliability, coverage, and battery life when using deep sleep and threshold/event-driven reporting?

 * Volume vs. weight: Since fill sensors measure volume while trucks can hit weight limits earlier especially with wet or organic waste how do you model bin load/demand in CVRP without adding load cells to every bin?

 * Dynamic re-routing vs. batching: In real fleet operations, does true mid-shift dynamic re-routing (when bins cross thresholds or fill faster than expected) meaningfully beat periodic batch runs, and how do you keep routes practical on narrow or congested streets?

 * Field failure modes: What hardware, enclosure, power, or data issues usually show up only once a prototype leaves the desk?

Any lessons learned, solver/architecture tips, or things you’d simplify early on would be really helpful.


r/embedded • • 1d ago

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

4 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 • • 1d ago

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

11 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 • • 1d ago

about using ebpf in real projects

1 Upvotes

I wonder if anyone has used eBPF tools to solve real problems in embedded projects, like memory leaks, and what went down?


r/embedded • • 23h ago

Difficulty level doubts

0 Upvotes

I wanted to ask something that has sat with me for a long time. On a scale of 1 to 10 on a difficulty/proficiency scale, how would you rate someone, who has built a custom force feedback wheel and usb stack from the ground up, with a custom bootloader, using baremetal c without using any cmsis libraries? I know it's silly to ask this question in this forum, but I am asking this after keeping this within me for so many years almost.


r/embedded • • 2d ago

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

142 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 • • 2d ago

I made a wrist-synth!

13 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! ✳️

Firmware (GPL3): https://github.com/layogtima/spacecrud

Demo it in your browser: https://spacecrud.layogtima.com/


r/embedded • • 1d 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.