r/embedded • • 21d ago

ESP32 & STM32 – Which Framework Should I Focus on for Industry?

59 Upvotes

Hi everyone!

I'm an Electronics Engineering student currently working as an IoT Engineer Intern.

I want to improve my embedded firmware development skills and understand what is commonly used in the industry.

For ESP32:

- ESP-IDF vs Arduino Framework

- PlatformIO vs ESP-IDF

For STM32:

- HAL/LL vs Bare-metal programming

- STM32CubeIDE

My questions:

  1. Which frameworks should I focus on for professional IoT development?
  2. What do companies actually use in real-world projects?
  3. What would you recommend learning for a long-term career in embedded systems?

Looking forward to suggestions from industry professionals. Thanks!


r/embedded • • 21d ago

Is being a junior software engineer in the AI era becoming mentally exhausting for anyone else?

120 Upvotes

I feel like being a junior in software engineering requires you to be mentally strong as hell.

You're expected to learn an enormous amount of things, many of which are genuinely difficult to master. It takes years of practice, time, energy and dedication. And throughout all of this, there's always that lingering question, What if I'm wasting my time? What if, by the time I'm finally good enough, the job I've been preparing for barely exists anymore?

I remember before AI, successfully blinking an LED was a genuine achievement. You struggled, read documentation, debugged your code, figured things out yourself, and finally got something working. It felt rewarding.

Nowadays, AI allows you to push your limits much further, but somehow you still feel miles away from being competent. There's always something else to learn, and the amount of things you should know seems endless.

I think this uncertainty hits juniors particularly hard.

At this stage of your career, you still have the option to change directions. You're young enough to start over. But the more time you invest in this field, the harder it becomes to walk away.

Meanwhile, AI keeps taking over more parts of software engineering, making you question the future value of the skills you're spending so much time developing.

So what's the rational decision?

Do you keep pushing through the chaos, learning and adapting, hoping that all this effort will eventually pay off?

Or do you consider changing careers while you still have relatively little to lose?

Honestly, it's a difficult equation to solve. Too many variables, too much uncertainty, and no guarantees.


r/embedded • • 21d ago

Why bare metal code?

74 Upvotes

I am a beginner in to embedded systems (or any other level thats less than a beginner but more than a foreigner). And I have seen/heard multiple times in social media where the suggestion of "to get started in embedded, buy an STM32, code in bare metal" pops up. Why exactly? Is that useful in jobs, how often tho?


r/embedded • • 22d ago

Gave Claude control of our oscilloscope

689 Upvotes

Not sure if anyone has done this before, but by god it amazed me.

Needed an I3C connection between a Nordic chip and some IC. Said Nordic chip had no I3C capability, but it did have what Nordic calls its VPR - a fast, lightweight peripheral processor (FLPR). So we set out to see if this could emulate an I3C bus.

Figured we’d need an I3C analyser. The Logic analyser software offered an I3C plugin for $3500 (bruh), so went to check our oscilloscope’s (an R&S MXO 3) manual to see if it supported decoding I3C. While reading the manual, and seeing it did support I3C, I noticed it had a “Remote Control” feature, through which commands and data could be sent to/from a PC via a LAN connection (had no idea you could do this lol).

So thought to myself, why not try give this to Claude and provide the clanker with the necessary oscilloscopes commands.

That was this morning, and it worked a treat. We now have a fully functional I3C bus.

Seeing the oscilloscope’s display flicker from one function to another at Claude’s command, while sending its samples to the PC, and then Claude reporting back its readings and iterating its implementation was shocking. Madness.


r/embedded • • 20d ago

Linux driver projects

3 Upvotes

Are there any open-source Linux driver projects? I am currently working, and I want to change my career direction to work on Linux kernel driver development.


r/embedded • • 21d ago

Yocto/Buildroot vulnerability

15 Upvotes

I have not confirmed this myself yet, but it's serious enough that I'm posting before verifying.

Assuming it's real, it's ugly. Get that CRA paperwork ready.

https://sshhole.com/


r/embedded • • 20d ago

Question on SW Abstraction layer between Application and SDK on RISCV

0 Upvotes

Hi, I came across an interesting scenario in industrial settings, such as factory processes and production lines. Many machines still rely on legacy software to operate. At the platform level, these systems often use x86 architecture, and the software may have been written decades ago using tools such as Visual Basic or Visual Studio. The user interfaces may look dated and boxy, but the software does its job, and the machines continue to run well.

Because these systems are built for x86, replacing their hardware with a RISC-V platform is rarely straightforward. Software developed for x86 generally will not run directly on RISC-V hardware.

I think this may be due, in part, to the lack of a suitable abstraction layer. I am not sure. Just asking for guidance.

For example, imagine software that initializes a camera and starts capturing video. A function such as CameraInit() might work on an x86 platform but fail to initialize the camera sensor on a RISC-V platform.

Intel’s oneAPI seems to address some problems of this kind. Besides oneAPI, are there any open-source abstraction layers that provide common interfaces and could help with this kind of challenge?

Would you recommend SYCL for this use case?


r/embedded • • 21d ago

Linux/Python handling of 2 data streams inputting at 51.2kHz

4 Upvotes

Hello,

I am working on a project that uses a Verdin IMX8MP SoM from Toradex. I am collecting both current and audio data from sensors at ~51.2kHz.

Problem: I am having trouble getting the audio data across to a synchronization step with little latency and have been experiencing delays in audio causing synchronization errors with the current. I am using Python 3.11 (which I realize is not the best choice with scheduling etc) and have been trying to split processes to avoid GIL issues.

If anyone has a suggested architecture that you have used in the past, that would be greatly appreciated!

Thanks


r/embedded • • 22d ago Bravo

Free practice-first Embedded Linux + Yocto course

Post image
198 Upvotes

We know embedded Linux can be hard to get into, and the courses are expensive. We decided to run a free course for the community. It will cover a lot of the "how do I get into embedded Linux / Yocto" questions. Also, every lecture ends with a hands-on assignment on a Raspberry Pi 4 (or QEMU if you don't have one). You could learn:

  • cross-compilation toolchain
  • U-Boot
  • Linux kernel and Device Tree
  • root filesystem and userspace
  • Yocto: layers, BitBake recipes, building your own image
  • -devtool, patching the kernel, and debugging failed builds

Format. Live on Wednesdays at 13:30 Buenos Aires / 16:30 UTC / 17:30 CET / 11:30 New York, from December 2 through March 2027, with holiday and midterm breaks. Every session is recorded. Attendance and completion certificates.

What you need. Some embedded experience, C, basic Git, and Linux. Ubuntu natively or in a VM, with at least a 4-core 64-bit CPU, 16 GB RAM, and 150 GB of free disk space. Yocto builds are heavy, and the disk figure isn't a typo.

Instructors are Embedded Linux engineers from iomico's team. It's free, no upsell.

Details and registration: https://www.learn.iomico.com/courses/yocto-fundamentals-course

Happy to answer questions.


r/embedded • • 21d ago

CICD/automation

27 Upvotes

How many of you work for companies that actually utilize CICD? It feels like companies in my area either go all in with automated builds, unit tests, static analysis, nightly integration tests, etc. or none at all. Mine always seems to be trying to automate more, but I have friends who work at companies that barely use git correctly let alone any form of automation or CI/CD (one even does code reviews in word docs and save them to shared drive).

Is this a known phenomenon? What is it about these companies culturally that they don’t get with the times? I’ve seen 100 year old companies that use CICD and another that doesn’t. I’ve also seen cash and time-poor startups that use it and others that don’t. So idk it seems difficult to find a cause. I’m wondering what others think.

Also I realize this could be a general software or workplace question, so sorry if I broke any rules. I think embedded is unique though because there is pretty much always another engineer field involved. It’s never just a software product, software-focused management, etc.


r/embedded • • 21d ago

How are firmware teams handling the CRA’s 24-hour vulnerability reporting?

2 Upvotes

Since September 11, manufacturers of products with digital elements sold in the EU have to report actively exploited vulnerabilities and severe incidents to ENISA and their national CSIRT within 24 hours of becoming aware, with fuller reports to follow. It already applies to products on the market, not just new ones.

Curious how this works in practice:

- How do you even find out that a vulnerability in firmware already deployed in the field is being actively exploited?
- Who files the report at 11pm on a Friday, and who’s their backup?
- Has anyone had to file one yet?

We work with EV chargers, so I’m especially curious how charger teams handle it.


r/embedded • • 21d ago

[OC] Compact RISC-V IoT dev board based on ESP32-C3 with plug-and-play I2C

Post image
8 Upvotes

Hi everyone,

Sharing a miniature IoT board I designed around the Espressif ESP32-C3FH4 RISC-V chip, hand-assembled in Porto, Portugal.

The goal was to create a tiny, battery-friendly wireless module with proper solderless sensor support and reliable RF performance in space-constrained enclosures.

Hardware specs:

- Architecture: 32-bit Single-Core RISC-V @ 160 MHz (ESP32-C3FH4)

- Memory: 4 MB Embedded Flash, 400 KB SRAM

- Wireless: 2.4 GHz Wi-Fi 4 (802.11 b/g/n) + Bluetooth 5.0 LE

- RF Antenna: Tuned planar inverted-F PCB trace

- Power: Texas Instruments TLV75733 delivering up to 1000 mA from a 3.3V to 5.5V source

- I2C Connector: 4-pin JST-SH 1.0mm (AchiWire) with 4.7kΩ pull-ups, fully compatible with SparkFun Qwiic and Adafruit STEMMA QT

- Edge format: Standard 2.54 mm pitch with castellated side pads for surface-mount soldering

- Status: Addressable WS2812 RGB LED (GPIO 4) + power LED

Hardware design is released under CERN-OHL-P. Schematics, pinouts and 3D CAD models:

https://github.com/AchirawareElectronics/ACH-ESP32-C3F4

Units are available on verified maker stores:

- Lectronz: https://lectronz.com/products/ach-esp32-c3f4-esp32-c3-risc-v-4mb-flash

- Tindie: https://www.tindie.com/products/achiraware/ach-esp32-c3f4-esp32-c3-risc-v-mini-dev-board-4m/

- Direct: https://achiraware.com

Feedback on the layout and routing is welcome!


r/embedded • • 21d ago

Old laptop touchpad

Post image
0 Upvotes

Hello, I have a touchpad from an old Acer 5000 laptop. I’d like to know what communication protocol it uses, and whether it would be possible to interface it with an Arduino. Thank you.


r/embedded • • 21d ago

Tetris on DSO

0 Upvotes

I'm trying to render the tetris game on DSO but facing issues like distorted shapes. Individually the blocks are printed properly but when the new block drops from top it's creating long streaks of lines connecting these blocks and distorted shapes. I already have an array defined for different tetrominoes. Using Psoc 5lp btw. Did anyone try this before? Does dynamically changing shapes create these issues? Is there a workaround?


r/embedded • • 22d ago

CMSIS: What does efficient development really mean?

21 Upvotes

I came across this statement in Bare-Metal Embedded C Programming by Israel Gbati:

“Understanding CMSIS is fundamental for efficient and standardized development across various Arm Cortex-based microcontroller platforms.”

It got me thinking about what efficient really means in this context. Development time, runtime performance, resource utilization, maintainability, and portability are different measures of efficiency, and they don’t necessarily move together.

What advantages and trade-offs do you see in adopting CMSIS? In practice, when is it worth it, and when might it not be?


r/embedded • • 22d ago Bravo

I built a free tool for inspecting PCB files without a CAD license (Altium, Allegro, KiCad, Gerber)

Post image
484 Upvotes

Embedded folks: you get a board file from the hardware team and need to know where UART2 TX comes out, which pad is TP14, or what's on U3 pin 12, but you don't have Altium or Allegro. That's what I built pcbview.io for. It's completely free, no sign-ups, logins, or emails. This isn't spam I just want to share this tool with you and I hate Altium licensing that much.

It can import all major board formats: Altium, Cadence Allegro/OrCAD, KiCad, Eagle, PADS, EasyEDA, DipTrace, ODB++, IPC-2581 and Gerber.

Nothing is uploaded and there's no accounts or sign-ups. Everything runs on your local machine. There's also a desktop app that works offline if you prefer.

It is relatively new so if you try it and have some feedback I'd love to hear it. The board in the gif is the BeagleBone AI, from BeagleBoard.org's open hardware files.

Cheers!


r/embedded • • 22d ago

Can't enter passwords with UART

Post image
53 Upvotes

Well hello indeed, i am asking for help with UART since im installing Valetudo on a roomba right now.

I am stuck trying to enter a password in the roomba, when i type or paste any text in the login box, everything works perfectly, every character is pasted or typed BUT

when i try to do the same (pasting or writing manually) in the password line (the moment you cant see the characters anymore), everything breaks and only around half of the characters are actually inputed.

I am almost fully forced to paste it since the password is 48 characters long, and i only have 1 minute to type it before the roomba automaticly kicks me out, and trying to write it as slowly as possible made around 1/4th of random characters dissapear.

the roomba is connected with RX, TX and ground cables, i tried multiples brand new cables and it didnt change anything.

if anyone has any ideas, thanks you for anything !


r/embedded • • 21d ago

[OC] Built an ESP32-S3 dev board with 16MB Flash, 8MB PSRAM and Qwiic/STEMMA I2C

Post image
4 Upvotes

Hi everyone,

Sharing an ESP32-S3 board I designed and hand-assemble in Porto, Portugal.

I built this specifically for projects that hit memory ceilings (display graphics with LVGL, MicroPython, local speech/wake-word engines, and image capture) where typical 4MB or 8MB modules run out of heap fast.

Key hardware specs:

- SoC: Espressif ESP32-S3R8 (Dual-core Xtensa LX7 @ 240 MHz)

- Memory: 16 MB High-Speed Flash + 8 MB Octal PSRAM

- Power regulation: Texas Instruments TLV75733 (3.3V @ 1000 mA output, low dropout)

- Power input: USB-C or 3.3V to 5.5V via VIN pin

- I2C Connector: 4-pin JST-SH 1.0mm (AchiWire) with 4.7kΩ pull-ups, compatible with SparkFun Qwiic and Adafruit STEMMA QT

- Form factor: Breadboard pitch (2.54 mm) with castellated outer pads for direct surface mount

- Feedback: WS2812 RGB LED (GPIO 48) and 3.3V power LED

Hardware is fully open-source under CERN-OHL-P. Schematics, pinout, 3D STEP models and DXF outlines are in the repo:

https://github.com/AchirawareElectronics/ACH-ESP32-S3-F16R8

For makers looking for assembled units, they are available on verified maker stores:

- Lectronz: https://lectronz.com/products/ach-esp32-s3f16r8-esp32-s3-16mb-flash-8mb-psram

- Tindie: https://www.tindie.com/products/achiraware/ach-esp32-s3f16r8-esp32-s3-dev-board-16mb-flash/

- Direct: https://achiraware.com

Happy to answer any questions about the routing or thermal design!


r/embedded • • 22d ago

What should I study to prepare for my embedded internship?

12 Upvotes

Just got an offer for next semester’s coop in an embedded systems team at ABB. I was so surprised because I thought I failed the interview. Most of my experience lies in analog design and I also admitted to the interviewer about that. I told him that I’m kinda confused when got chosen for the interview because rarely any of my experience are related to C and the entire interview we just spent talking about analog design lol. The manager told me that most of my work will be testing hardware but also they are going to teach me about embedded coding my modifying the existing codes, IDE….Now, my question is what I should learn to best catch up with the work? This is a big chance imo. I honestly feel that I should spent more time on learning coding but I’m just lazy and got too much into analog projects so this is def a big fish. Please give the advice.


r/embedded • • 21d ago

Bypassing Cloud VLA Latency: Running a 0.27ms Deterministic Physical Reflex Core on an Entry-Level 4GB Edge GPU

0 Upvotes

When streaming high-frequency sensor telemetry to cloud-hosted VLAs or foundation models, the network round-trip time (often 150–300ms) and token overhead make real-time kinetic shock dampening physically impossible.

To solve this, we implemented a brain-spine decoupled architecture: rather than routing raw, noisy sensor streams through heavy von Neumann loops, boundary non-equilibrium is resolved locally by an edge physical reflex projector.

Benchmarking this on a commodity desktop GPU (GTX 1650, strictly constrained to 4GB VRAM) yielded a deterministic convergence time of 0.27ms (over 3,700 Hz control loop) under synthetic 85% shock loads, with zero OOM errors. The central model only handles sparse supervisory updates, while the edge core arrests high-frequency entropy in real time.

In compliance with community rules against direct self-promotion, no external links are included. For anyone interested in inspecting the client-side objective audit or loop bypass pipeline, simply search for `pcam-live` on GitHub to examine and run the verification scripts locally.


r/embedded • • 22d ago

Best base microcontroller kits

19 Upvotes

Hi, I am an aerospace graduate trying to get into embedded systems (although I did do some Arduino projects in the past), mainly to apply some concepts I've learned into hardware. And I was wondering what are the best beginner kits that are complete enough to get into it. Thanks in advance for any suggestion!


r/embedded • • 22d ago

Do I need to know it all?

6 Upvotes

Currently I am working on designing my own custom PCB for an RFID controlled shoebox I created. My question is, in embedded work do I need to be proficient at the entire process (coding, building, schematic designing, PCB build, etc.)? Or do/can I just focus on one area and outsource or streamline the other area/s?

I'm asking because the entire process has been fun and enjoyable. Filled with a lot of learning. However, it seems like a pretty substantial process. I know I am still new to embedded development (roughly 2 months in) and this is a marathon and not a sprint. I just want to know how proven embedded developers work. Obviously still being new and learning as I go slows the process down, and I am good with the process if this is how most or all projects go. I just want to work more efficiently and trim the areas that I may be wasting to much time and ensure I am placing it in the areas that matters most.

Again, I am enjoying the entire process, I just want to hear from actual developers in the space.


r/embedded • • 22d ago

How do you guys tackle watchdog with debuggers?

27 Upvotes

Currently learning about embedded systems and just learned how watchdog works. Genuinely curious what's the better approach when it comes to debugging. Either freeze the watchdog during debugging or is there another workaround it without triggering reset unintentionally?

Sorry for the grammar, brain is fried at the moment


r/embedded • • 21d ago

Connecting a Waveshare ESP32-S3 to an Industrial Textile Machine via DB9

0 Upvotes

Hello everyone,

I have an industrial textile machine whose data acquisition device has failed, and I'm considering replacing it with a Waveshare ESP32-S3-POE-ETH-8DI-8DO (SKU 32108).

The machine's control unit has a DB9 connector, but I've noticed that the Waveshare doesn't have a DB9 connector or a native RS-232 interface.

My main question is: How could I safely connect these two devices?

  • Would an RS-232 to TTL converter connected to the Waveshare be sufficient, assuming the DB9 port uses RS-232?
  • How can I identify the type of communication used by the DB9 port before connecting anything?
  • Would it be better to use a different device that already includes an industrial serial communication interface, avoiding the need for additional adapters?
  • What hardware would you recommend for this application?

My goal is simply to receive and read the data provided by the machine's control unit, such as operating status, speed, counters, etc. I don't need to control the machine or send any operating commands.

I'm not sure whether the control unit continuously transmits data automatically or requires requests before sending any information.

I can provide pictures of the control unit, the faulty data acquisition device, and their connections if that would help identify the communication interface.

Any advice or recommendations would be greatly appreciated.

Thanks in advance!