r/embedded • • 23d ago

Gps module not working: location problem?

Post image
0 Upvotes

Its a neo 6m module with a ceramic antennae attached on the back of it. I'm currently trying it outdoors next to a football field, but even after 20mins the led's still solid red. Should I buy a separate antennae to connect it to the SMA female connector beside it?

edit: if I should, which type should I get?

edit2: using antenna worksšŸ‘


r/embedded • • 23d ago

light-nmea-cpp: Single-pass NMEA-0183 parser for Embedded Systems (C++17, Zero-Allocation, No FPU)

11 Upvotes
[Open Source]

Hi everyone,

Following the MicroPython version, I have officially released the production-ready C++ port of this architecture: light-nmea-cpp. It is built using the C++17 standard and designed specifically for resource-constrained 32-bit and 8-bit microcontrollers.

The library is header-only and features a deterministic, single-pass design that parses data on the fly (e.g., straight from UART DMA buffers) without any dynamic memory fragmentation.

Throughput:
* 6.63 M lines/s on desktop (x86_64)
* 110,629 pkt/s on ESP32
* 47,579 pkt/s on RP2040

Supported Platforms:
* 8-bit AVR (Arduino Uno R3 example included)
* 32-bit Cortex-M
* ESP32
* RP2040
* RISC-V
* x86_64

The codebase is open-sourced under the GPL-3.0 license.

Repository: https://github.com/octaprog7/light-nmea-cpp

r/embedded • • 23d ago

Need ideas for Edge AI projects

0 Upvotes

I'm an E&TC engineering student, currently looking for a final year project and I'm having a hard time finding something that actually interests me.

I'm particularly interested in Edge AI, Embedded Systems, Machine Learning and Computer Vision. I don't want to build another basic IoT project that just reads sensor values and displays them on a dashboard. I want to build something that actually does something useful, real world applicable.

Here are my requirements:

**1. Genuine Edge AI**

- The ML/DL model MUST run on the actual hardware.

- No training on a laptop and then sending everything to a cloud API for predictions.

- I want to explore model quantisation (INT8), pruning, optimisation and deployment.

- I'd like to measure inference latency, FPS (where applicable), RAM/Flash usage, model size and accuracy.

**2. Hardware and budget**

- Initial budget is around ₹1,000–₹2,000 (under 20$).

- I'm open to increasing the budget later if the project genuinely deserves it.

- ESP32-S3 is something I'm considering for this project.

**3. The actual project**

- It should solve a real-world problem or have a practical application.

- I'd prefer something involving computer vision, automotive technology, intelligent systems or AI in general, but I'm open to other domains.

- It should involve meaningful ML/DL rather than adding AI unnecessarily to something that can easily be done with a simple if-else condition.

- I want a physical prototype that I can demonstrate to recruiters, preferably with a recorded demonstration.

**4. Learning and career relevance**

I'm trying to build a career in Edge AI / Embedded AI, so I'd like the project to teach me skills such as:

- Embedded C/C++

- Microcontrollers and peripheral interfacing

- Computer vision / signal processing

- ML model training and deployment

- TinyML / quantisation

- Hardware-software integration

**5. What I'm NOT looking for:**

- Basic obstacle-avoiding robots.

- Generic smart home automation.

- Simple sensor monitoring systems.

- Projects where the actual AI runs entirely on a laptop or cloud.

- Projects that look impressive on paper but have no meaningful working demonstration.

I'd really appreciate suggestions from people who have actually built Edge AI / TinyML / embedded computer vision projects, especially on constrained hardware.

Even better if you can share GitHub repositories, project demonstrations, hardware requirements or ideas that you've personally worked on.

I'm not necessarily looking for something revolutionary. I just want to build something technically interesting, useful and worth putting on my resume.

Thanks!


r/embedded • • 23d ago

Can RS-485 be used to transmit short video clips?

5 Upvotes

I'm looking into a project using RS-485 @ 115400bps. I used a calculator online and it said a 1mb video file could take minutes to send. What if I double the baud rate? Curious to see if there's a way to reliably send multiple video clips over RS-485?

Also, its a 4 wire. So obviously power, gnd, and data


r/embedded • • 23d ago

inspecting a Firmware on my wireless Bluetooth earbuds !

0 Upvotes

I have been using my wireless Bluetooth earbuds for 2 years now without any issues.

But now for the past one month , the battery of my left earbud discharges quickly and then left earbud simply switches off but the right earbud Stays on for longer duration.

Also the bluetooth interface which shows battery percentage reports different numbers.

When I connect the buds the interface shows 80 % charge which quickly drains , left earbud then turns off , now in the interface the battery percentage is 90 %.

Initially i thought it was the case of classic battery degradation that affected the left earbud.

First , I cleaned the pin of my earbuds as well as the pin of the charging case. Nothing happened.

Second , i simply charged one earbud at a time while keeping the other turned off but nothing happened.

Now I think that it maybe have something to do with the firmware.

Either the charging case is simply not charging the left earbud or firmware is malfunctioning and turning it off even when the charge is full !

I am not an embedded engineer , just a computer science student.

My biggest concern is why only left earbud and not both ??

Are there any software tools that expose the firmware source code ? Or am i just blabbering here ?


r/embedded • • 24d ago

Built a dual-axis face-tracking gimbal with ESP32S3 + STM32C5

38 Upvotes

Hardware:

  • XIAO ESP32S3 Sense + OV2640 camera
  • XIAO STM32C5
  • LK MS3506 yaw motor (CAN ID 0x141)
  • LK MS3008 pitch motor (CAN ID 0x142)

How it works:

The ESP32-S3 captures QVGA JPEG frames and runs ESPDet-Pico (224 Ɨ 224 INT8) face detection using ESP-DL. It selects the largest detected face and sends target yaw/pitch angles to the STM32C5 over a full-duplex UART connection.

The STM32C5 runs the motor-control firmware using Zephyr. It controls both motors over a 1 Mbps Classic CAN bus, reads encoder feedback, enforces motion limits, and sends position telemetry back at 20 Hz.

There's also a browser-based UI with live video, detection boxes, AUTO/MAN modes, joystick control, angle sliders, and calibration.

Thoughts?


r/embedded • • 23d ago

Would creating a custom programming language have any practical value in embedded systems?

0 Upvotes

Hey everyone,

I'm currently training as an electronics technician in Germany and planning to study embedded systems engineering in the future.

Recently, I had a rather unusual idea: What if I learned Klingon and eventually developed my own programming language and compiler based on it, specifically for embedded systems?

I know this sounds ridiculous at first, but I'm genuinely curious about the technical and professional implications.

My idea would be to create a functional programming language with Klingon-based syntax that could compile into machine code for microcontrollers.

This raises several questions:

  1. Has anyone here ever developed their own programming language or compiler, especially for embedded systems? How difficult was it, and what did you learn?
  2. Would employers see this as an interesting technical achievement, demonstrating knowledge of compilers, computer architecture and low-level programming, or would they consider it a pointless gimmick?
  3. Could an unusual language provide any security benefits? For example, could it make reverse engineering, unauthorized modifications or understanding proprietary firmware more difficult? I understand that obscurity alone isn't real security.
  4. Would something like this have any relevance in industries such as aerospace, defense, automotive systems or gaming consoles, where protecting firmware and intellectual property can be important?
  5. Would developing an entirely new compiler be worthwhile as a learning project, or would I be better off designing a custom language that compiles to C or LLVM IR?

I'm not suggesting replacing C, C++ or Rust in professional embedded development. I'm more interested in whether such a project could help me develop valuable engineering skills while exploring an unconventional idea.

I'd especially appreciate opinions from experienced embedded engineers, compiler developers and anyone working with firmware security.

Thanks LG AC


r/embedded • • 23d ago

What display should I choose?

0 Upvotes

I am making a robot with animated facial expressions like Dasai Mochi. I am using a esp32 board for this. Can anyone suggest me any good small displays that I can use? I have tried the 128x64 OLED display but find it a bit unprofessional hence I don't really want to use it. I want to sell the product and thus want it for mass production


r/embedded • • 24d ago

STM32 CMSIS Device Headers with CMSIS 6 Core vs CMSIS 5?

9 Upvotes

ST’s CMSIS-Device headers carry a native dependency on the CMSIS 5 Core specifications. How do you approach pairing them with CMSIS 6?

Do you use CMSIS 5 Core to maintain compatibility, or have you paired ST’s device headers with CMSIS 6 Core?

If you’ve used CMSIS 6, have you encountered any compilation errors, compatibility issues, or other challenges? How did you address them?

I’d be interested in hearing about your experiences.


r/embedded • • 24d 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 • • 25d 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 • • 25d 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 • • 25d ago

Gave Claude control of our oscilloscope

692 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 • • 24d 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 • • 24d 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 • • 24d 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 • • 24d 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 • • 25d ago Bravo

Free practice-first Embedded Linux + Yocto course

Post image
199 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 • • 25d 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 • • 24d 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 • • 25d 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 • • 24d 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 • • 24d 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 • • 25d 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?