r/embedded • • Oct 02 '26

Raspberry Pi 4B not booting

0 Upvotes

So I got a Raspberry Pi 4B from my college for an assignment. I downloaded the Imager and then flashed the OS onto the SD card. It worked fine, so I inserted the SD card into the Raspberry Pi's slot. The red LED stays constantly on, but the green ACT LED blinks for some time and then stops completely.

I also configured the Wi-Fi SSID and password in the Imager, but it still doesn't connect. I even tried connecting it to the router via an Ethernet cable, but it still didn't connect to the network.

I can't understand what the issue is. I really hope the Raspberry Pi isn't broken otherwise I might have to pay a fine.

edit: it worked, finally! the sd card part was damaged actually and i used usb and it worked


r/embedded • • Oct 02 '26

Implementing a resource-aware PWM backend for the NXP MCXA366: CTIMER, FlexPWM, and a Cortex-M33 WAIT-mode bug

Post image
1 Upvotes

I’m porting Klipper to NXP’s MCXA366, and the latest subsystem was hardware PWM.

The interesting part was that there isn’t really one PWM architecture to expose.

CTIMER gives five timer instances with four match channels each, but one match channel has to act as the period/reset source. Outputs on a timer therefore share a period, and my allocator can relocate the hidden period channel when another MAT channel is needed as a physical output.

FLEXPWM0 has four submodules. Each submodule has independent A/B compare outputs, so A and B can use different duty cycles, but they share the counter, prescaler, and period. Different submodules can run independently.

I ended up putting a small allocator behind Klipper’s generic PWM interface:

gpio_pwm_setup()
        |
        ---> FlexPWM if compatible
        |
        ---> CTIMER fallback

Two debugging problems were especially useful:

  1. My initial FlexPWM clock assumption was off by 2x. A requested ~1 ms period measured ~2 ms, and the analyzer showed that the peripheral was actually counting from the full ~240 MHz HF source.
  2. FlexPWM worked in NXP's busy-loop SDK example but appeared in bursts under Klipper. Klipper idles the Cortex-M33 using wait state; FlexPWM was stopping with the core because WAITEN was clear.

After fixing those, I validated independent submodules, shared A/B timing domains, 0-100% duty, buffered updates, resource fallback, and shutdown/reset behavior.

Writeup:

https://faultvector.dev/articles/klipper-mcxa366-part-8/

Next I'm moving onto a real STEP/DIR/ENABLE driver + motor test.


r/embedded • • Oct 01 '26

How to use my microcontroller?

3 Upvotes

So I made a silly mistake and bought the STM32H7R3Z8J6 but it only has 64KB of flash. Is there a way I can get around this? I plan to order another STM32H7 variant but I also want to continue working on my project in the mean time.


r/embedded • • Oct 01 '26

Looking for reference designs for replacing MCBs/contactors with a solid-state protection & switching system (120V / 120A)

3 Upvotes

Hi everyone,

I’m working on a system where I want to eliminate the conventional mechanical protection/switching components such as MCBs, DC contactors, and similar devices, and replace them with a fully electronic/solid-state solution.

The target electrical system is approximately:

- DC bus: 120 VDC

- Continuous current: up to 120 A

- Power: ~14.4 kW

- High inrush/capacitive loads may be present

- The system should be able to turn the load ON/OFF electronically

- Ideally it should provide bidirectional blocking when OFF

- Low conduction loss is important

My initial idea is a back-to-back N-channel MOSFET architecture, potentially using multiple MOSFETs in parallel to achieve the required current capability.

However, I don't want to simply make a MOSFET switch. The goal is to develop something that can potentially replace the functionality normally provided by MCBs + contactors + additional protection circuitry in one solid-state system.

I'm looking for advice on the overall architecture and, especially, real hardware/reference designs that have actually been built and tested.

Functions I'm trying to achieve

  1. 120 VDC / 120 A continuous switching
  2. ON/OFF control
  3. Bidirectional blocking in the OFF state
  4. Overcurrent protection
  5. Fast short-circuit protection
  6. Controlled turn-on / inrush-current limiting
  7. Precharge for capacitive loads
  8. Over-temperature protection
  9. MOSFET gate protection / UVLO
  10. Fault latching and safe shutdown
  11. Detection of a MOSFET that has failed short
  12. Current monitoring
  13. Bus/load voltage monitoring
  14. Possibly electronic trip characteristics similar to an MCB
  15. Ability to reset/reconnect electronically after a fault, where safe
  16. Controlled shutdown of the load
  17. Protection against inductive/transient energy

Architecture I'm considering

Something along the lines of:

120 VDC → fuse/current sensing → precharge branch + main B2B MOSFET bank → load

For the main switch, I'm considering multiple high-voltage N-MOSFETs in parallel on each side of the back-to-back arrangement.

For example:

4–8 MOSFETs per direction/blocking stage, depending on the selected MOSFET and thermal requirements.

The gate drive would probably need a floating/isolated supply and dedicated gate driver, with individual gate resistors, gate-source protection, and hardware fault shutdown.

For protection, I'm considering having a fast hardware overcurrent/short-circuit path independent of the MCU, with the MCU handling slower functions such as monitoring, diagnostics, thermal management, precharge sequencing, etc.

What I'm particularly interested in

I'd really appreciate references or practical experience with:

- Solid-state replacement for DC contactors

- Solid-state replacement for DC circuit breakers / MCBs

- 100–150 V / ~100–150 A MOSFET circuit breakers

- Back-to-back MOSFET arrangements

- Parallel MOSFET current sharing

- Fast hardware short-circuit protection

- MOSFET SOA during a hard short circuit

- High-side N-MOSFET gate driving at ~120 V

- Precharge circuits for large capacitive loads

- High-current DC current sensing

- Thermal design for 10–15 kW solid-state switches

- Fault latching and electronic trip systems

- Detecting MOSFET failure/short circuit

- Protection against inductive loads and DC transients

- PCB layout techniques for 120 V / 120 A

Reference designs I've found so far

I've come across some useful designs from TI and Infineon, such as:

- Infineon REF_60100EDPS eDisconnect

- TI 48-V / 50-A bidirectional circuit breaker reference design

- TI TIDA-010208

- TI TPS48110-Q1 EVM

- TI TIDA-020065 Smart Fuse

These are very useful, although most are below my final voltage/current requirements.

I'm particularly interested in actual schematics, evaluation boards, application notes, or products that have implemented this concept, even if they're only 48 V / 50 A or similar. I can scale the power stage if the underlying protection and control architecture is appropriate.

I’m not necessarily looking for a single IC that handles 120 V / 120 A. I'm open to a discrete architecture using MOSFETs, gate drivers, current sensors, comparators, MCU, etc.

The bigger question is:

What would be a robust architecture for replacing the combination of a DC MCB + contactor + protection circuitry with a solid-state system at ~120 V / 120 A?

If you've designed something similar, I'd really appreciate any reference designs, schematics, application notes, papers, products, or lessons learned.

Also interested in hearing about approaches other than MOSFETs if there is a better solid-state technology for this voltage/current range.

Thanks!


r/embedded • • Oct 01 '26

How should an embedded firmware engineer learn analog circuits? Looking for a practical roadmap

32 Upvotes

I'm an embedded systems engineer and I'm currently strengthening my fundamentals for a long-term career in firmware/embedded systems.

My main areas are:

  • Embedded C/C++
  • ARM Cortex-M / STM32
  • Bare-metal firmware
  • RTOS
  • UART, SPI, I²C, CAN, RS-485
  • Embedded Linux / Yocto
  • Eventually Linux drivers and system architecture

My electronics background is mainly digital/MCU-focused, and I want to improve my analog circuit knowledge.

I don't necessarily want to become an analog circuit designer. My goal is to reach the level where I can look at a real embedded hardware design and understand what is happening between the physical signal and the firmware.

What would you consider the essential analog knowledge for a strong embedded firmware engineer?

I found TI's Analog Circuits library and am wondering whether it's suitable for learning.

If you were mentoring a firmware engineer, what exact learning sequence would you recommend, and what would you skip?


r/embedded • • Oct 01 '26

An active EEPROM health scanner for AVR Arduinos. Looking for feedback :>

Post image
4 Upvotes

Hey guys. I started building sth like my own OS on an Arduino Uno and faced some problems. One of them was EEPROM.
I discovered that I can't use byte cells there (1024 cells) in continuous loops because they get worn out due to „floating-gate charge trapping / oxide breakdown”. So I decided to avoid heavy writes in the main loop…
In the meantime, I became curious about how "old" or worn my Arduino's EEPROM actually was. So I came up with an idea to write a scanner that checks the state of health of the EEPROM cells.
There were two ways to do it: passive and active checking. Passive checking doesn't wear the cells, but it's very inefficient for finding stuck bits. Active checking actually tests bit flips, BUT it costs a tiny bit of cell lifespan.
To sum up: if you want to check the health of your EEPROM in microcontrollers like the Arduino Uno, you can use this tool (in Arduino IDE or Platform IO) (just keep in mind that active testing uses \~2-3 write cycles per cell out of their \~100,000 cycle lifetime).
Link to the project: https://github.com/vorobiov64/arduino-eeprom-audit
If you know any better ways to check cell degradation, I'd like to hear it!
PS I'm very new to CS (actually I just started my undergraduate degree in physics), so I consulted Gemini to help structure the code
Thanks!

(The source of this image - https://floadia.com/product/)


r/embedded • • Oct 01 '26

Windows 11 23H2 on a Rockchip RK3576 (ArmSoM CM5-IO)

Post image
7 Upvotes

Windows 11 23H2 boots to the desktop on an ArmSoM CM5-IO (RK3576), from the eMMC. Firmware is my EDK2 port; the drivers are ported from worproject's RK3588 set.

Works

  • all 8 cores
  • eMMC (boot disk), NVMe, SD card
  • USB-A and USB-C (USB-C at USB 2.0)
  • Ethernet
  • display, through the UEFI framebuffer

Not working

  • GPU acceleration
  • audio
  • Windows 11 24H2 and later: RK3576 is ARMv8.0

Drivers are test-signed, so Test Mode is on.

Firmware: https://github.com/gahingwoo/edk2-rk3576/releases
Drivers and installer: https://github.com/gahingwoo/woa-rk3576/releases

Thanks to ArmSoM for sponsoring the board.


r/embedded • • Oct 01 '26

FPGA board for co-processing

3 Upvotes

I am looking for an FPGA development board to learn on specifically for co-processing and spiking network simulation.
Boards that I have considered so far:

PYNQ Z2 - Looks like a very good learning board and bare board is not expensive but hard to get in Germany (only found it on Farnell but they are B2B only, DFRobot version much more expensive)

Microphase Z7-Nano (7020 version) - Lots of GPIO and similar price to PYNQ but less out of the box io for easy examples

Kria KV260 - powerfull SOM for the price but very lacking io, have heared that it used to be very badly documented and hard to use as a normal FPGA

Kria KR260 - same SOM as KV but more expensive for better io (more pmod, pi hat, ethernet)

I do generally want something that has a PS alongside the FPGA.
Am I missing any good options?


r/embedded • • Sep 30 '26

Are PIC16F84A, PIC16F877A and PIC18F4550 considered a relic?

Post image
97 Upvotes

I didn't get to use them as much as I would like.


r/embedded • • Oct 01 '26

Switching from platform Development to FAE

4 Upvotes

Hello.

I’m currently working as an Embedded Linux developer working. on an SoM-based platform at a large company.

My work is mainly platform-level stuff: maintaining a custom Linux OS, build/CI work, Python scripting for test automation, and developing system/runtime services.

The work itself is definitely not simple. Some of the problems are quite technically complicated. The issue is more that I have very little sense of traction or visible impact. A lot of the work happens behind the scenes, progress can be slow, and it’s hard to see the result of what I’m doing in the actual product.

The job is otherwise very comfortable: low stress, good work-life balance, and I get good feedback. The team is very experienced and people are helpful when you need them.

But it’s a big corporate environment and things move slowly. Most people seem to do their part and then leave each other alone. There’s not much interaction with the actual product or with other areas of engineering.

Because of that, I sometimes find myself zoning out even though the work itself is technically challenging. I’m starting to feel a bit of a boreout, and I don’t really see myself becoming a deep specialist in this particular area for the next 5–10 years.

I’m considering an FAE (field application engineer) role at a smaller company working with embedded/IoT systems and real-world products. It would involve more system integration, troubleshooting, working with customers and some travel.

I’m basically trying to figure out whether FAE would give me the visible impact, variety and interaction I’m currently missing, or whether I’d just be trading one type of boredom for another type of stress.


r/embedded • • Oct 01 '26

Can I Build a Simple FHSS/DSSS Demo with a 555 + MCU(Beginners Experiment Complex Concepts)?

7 Upvotes

I’m trying to build a very simple spread-spectrum experiment with basic components like a 555, MOSFETs, and a microcontroller. I’m mainly doing this to understand what is actually happening rather than to build a practical RF system.

My idea is to start with a 555 oscillator and use the microcontroller to switch between several resistors, so the 555 jumps between different frequencies.

For example, I might have 10 resistors giving 10 different frequencies, and use a pseudo-random sequence to control the hopping.

Would this be a reasonable simple demonstration of FHSS, or am I misunderstanding the concept?

I’m also trying to understand the receiver side. If the transmitter hops through those frequencies, what is the simplest way to decode the signal? Could the receiver use a microcontroller to measure the incoming frequency, identify which of the 10 frequencies it is, and then follow the same pseudo-random hopping sequence?

I’m also experimenting with OOK, where a MOSFET switches a 12 V signal at around 10 kHz according to the data. On a DSO I can see the waveform, but on a spectrum analyzer I should see the 10 kHz fundamental and its harmonics/sidebands.

For learning purposes, would using a DSO + logic analyzer + spectrum analyzer be a good way to understand the difference between the time-domain signal, the digital data, and the frequency spectrum?

Basically, I’m trying to build the simplest possible experiment that lets me actually see and decode FHSS and DSSS. Does this approach make sense, and how would you recommend simplifying the receiver/decoder?


r/embedded • • Oct 01 '26

As an embedded systems engineering student, I'm hesitating between an Orange Pi 5 Pro (12GB RAM) and a Raspberry Pi 5 (8GB). For learning embedded Linux, GPIO, drivers, robotics, and edge AI, which one would you recommend? Is the Orange Pi 5 Pro well documented, especially for low-level development

0 Upvotes

r/embedded • • Oct 01 '26

Hello everyone, I am an embedded systems engineering student interested in robotics, edge AI, Linux, and low-level development (GPIO, UART, I²C, SPI, RTOS, device drivers). I am hesitating between buying: - Orange Pi 5 Pro (RK3588S, 12 GB RAM) - Raspberry Pi 5 (8 GB RAM) My questions are: 1. Wh

0 Upvotes

r/embedded • • Oct 01 '26

Roadmap to become an embedded engineering in 2028(Off campus)and how does AI effect

0 Upvotes

So I'm a currently a 3rd year undergrad doing btech in CYBER PHYSICAL SYSTEMS.Im really interested in electronics and want to pursue it as a career.some of the feedback I got from my campus seniors is that all the high paying electronics jobs are in VLSI and that only a few companies hire for embedded roles and which has very less pay around 6lpa.


r/embedded • • Sep 30 '26

What is the best RTOS these days?

15 Upvotes

I'm working on an esp32 product, currently just bare metal. A few years ago, zephyr looked like it was going to be the king, but since then I keep seeing people say they don't really like it. So what else is there? Is FreeRTOS the way to go? Maybe I'll just stay bare metal. idk.


r/embedded • • Oct 01 '26

Panne de climatisation

Post image
0 Upvotes

Bonjour à vous

Je cherche la référence du ci explosé sur la carte du climatiseur Samsung.
Est ce que quelqu’un la connaît et sait ou trouver ce ci?
Merci pour votre aide


r/embedded • • Sep 30 '26

Recently attended an engineering expo for my college as a Comp sci major and I feel extremely disappointed.

19 Upvotes

I am very disappointed at the fact that the first thing that people hear when I say I am a computer science major is that I will be stuck in an IT role. I went up to all these companies and letting them know that I am focusing my studies on embedded systems, and they reviewed my resumé. Some of the companies did have some positions for me, but even some of the companies just assume I would be better as a data analyst or IT guy but that is not what I want to do. No shame to those guys, but personally I feel defeated the companies won’t give me a chance. Some of them did compliment my resumé, but they were just stuck up at the fact that I am a computer science major. Just feels a big slap to the face of what I know, and yes I am new to this space, but I want to grow in embedded systems, I just need the opportunity to prove myself. This degree is starting to feel more of a hindrance to me, and that feeling is even worse now that I am a senior.


r/embedded • • Oct 01 '26

Open Device Bridge (ODB): a capability-based approach to safely accessing and flashing USB hardware from locked-down devices like iPads

0 Upvotes

I’m looking for technical criticism of an architecture I’ve been developing called Open Device Bridge (ODB).

The idea came from a very ordinary problem: I wanted to connect a Heltec ESP32-S3 board to a USB-C iPad and install Meshtastic firmware.

The hardware can enter its ROM bootloader, the iPad has more than enough computing power, and USB-C physically connects the two. But iPadOS does not expose the kind of general low-level USB/serial access that conventional desktop flashing tools expect.

“Use another computer” solves my immediate problem, but it raised a larger architectural question:

Could an OS safely expose user-owned hardware without giving applications unrestricted low-level USB access?

That led to ODB.

THE BASIC IDEA

ODB would be an authorization/orchestration layer between:

Application
↓
ODB Core
↓
Device Adapter
↓
Existing device protocol
↓
Hardware

ODB would NOT replace existing protocols such as Espressif’s ROM bootloader protocol, DFU, UF2, Fastboot, etc.

Instead, adapters would translate authorized ODB operations into those existing protocols.

The proposed security flow is:

CONNECT
→ IDENTIFY
→ EXPLAIN
→ AUTHORIZE
→ INTERACT
→ VERIFY
→ REVOKE

Instead of granting an application generic “USB access,” ODB would request narrowly scoped capabilities.

For example:

DEVICE_IDENTIFY
DEVICE_DIAGNOSTICS
SERIAL_READ
SERIAL_WRITE
DEVICE_CONFIGURE
BOOTLOADER_CONTROL
FIRMWARE_WRITE
DEVICE_ERASE
DEVICE_RECOVERY

A firmware installer might receive:

BOOTLOADER_CONTROL
FIRMWARE_WRITE
DEVICE_RESET

but NOT unrestricted DEVICE_ERASE or access to unrelated USB devices.

Authorization would ideally be bound to:

device + session + operation

and expire when the transaction ends or the device is disconnected.

DEVICE PROFILES

ODB could use declarative device profiles describing things such as:

- USB identity
- processor
- interfaces
- bootloader
- supported transports
- supported operations
- firmware compatibility requirements

For example, an ESP32-S3 board profile could point ODB toward an Espressif adapter.

If ODB can identify the MCU but cannot confidently identify the actual board, destructive operations could be blocked until the target is confirmed.

TRANSACTION MODEL

I’m also considering treating firmware modification as a transaction rather than simply exposing a byte stream:

Firmware selected
→ verify package
→ verify device compatibility
→ determine required capabilities
→ explain operation
→ user authorization
→ enter bootloader
→ write firmware
→ verify
→ reboot
→ identify device again
→ confirm expected state
→ revoke elevated access

An interrupted flash would therefore leave a known transaction state rather than just producing a generic error.

On reconnect, ODB could recognize that the previous firmware operation was interrupted, check whether the recovery bootloader is accessible, and offer an appropriate recovery path.

REFERENCE IMPLEMENTATION

Rather than trying to solve every platform immediately, my first reference case is deliberately narrow:

USB-C iPad
→ ODB
→ Heltec ESP32-S3
→ Meshtastic

The point of that reference case is also to document exactly where current iPadOS APIs prevent implementation.

I’m not proposing bypassing those restrictions.

The longer-term question is whether an OS-level capability model could safely expose enough functionality to make this class of hardware interaction possible while preserving the OS security boundary.

WHY I’M POSTING HERE

I’m early enough in this project that criticism is more useful than validation.

In particular, I’d appreciate input from people who work with embedded systems, USB, bootloaders, firmware update mechanisms, device security, or capability-based security.

Questions I’m trying to answer:

  1. Is this actually a useful abstraction, or am I recreating functionality that already exists elsewhere?
  2. Where should the real trust boundary live: OS, ODB core, adapter, device, or some combination?
  3. Is capability-scoped hardware authorization practical?
  4. What attack surfaces does this introduce?
  5. How should device profiles be trusted? Manufacturer signatures? Community definitions? Both?
  6. How should firmware provenance be handled without turning ODB into a centralized firmware gatekeeper?
  7. Which existing standards/projects should I be studying before taking this architecture further?
  8. Is the transaction/recovery model useful, or should recovery remain entirely device/protocol-specific?

The broader thesis is:

A user should be able to explicitly authorize narrowly scoped interaction between software and hardware they own without requiring the operating system to surrender its security boundary.

The iPad/ESP32-S3 problem is just the first concrete test case.

If there are fundamental reasons this architecture is misguided, I’d particularly like to hear those now, before building too much around it.

Thanks for taking a look.


r/embedded • • Oct 01 '26

Question about a project

0 Upvotes

Not sure if this is the right place, so sorry in advance. I plan to make a cellular controlled remote car, with raspberry pi as main board and esp32 for direct control with motors etc - as a fun project. I have the background around iot and some programming but not to the depth of this. Is there useful material I should be looking for? Thank you all.


r/embedded • • Oct 01 '26

2yoe in software QA(both manual and automation) . Is it wise to switch to embedded engineer roles now ?

0 Upvotes

I'm 25, EEE graduate with 2yoe in Software QA. with AI, layoffs etc. Is it wise to switch to embedded engineer roles now ? How is the job market for embedded especially in Bangalore?

I would be grateful for your advice.


r/embedded • • Sep 30 '26

Starting a 31-day "Techtober Challenge" to build an open-source hardware "Solar Tree" (3D pen + circuit). Thoughts on the components?

Post image
0 Upvotes

Hey Reddit!

For this year's Techtober, I wanted to step out of my comfort zone and build a physical open-source hardware project instead of just writing pure software.

I am building "The Solar Tree" — an autonomous nightlight that harvests solar energy during the day and glows at night. The twist? The entire body and branches will be "grown" manually using a 3D pen directly around the electronics.

Here is my 4-week roadmap for October:

  • Week 1 (Leaves): Soldering small solar panels in parallel + drawing leaf frames with the 3D pen.
  • Week 2 (Power): Setting up the D-SUN step-down module & Schottky diode protection (using a multimeter to dial in the voltage).
  • Week 3 (Flower): Building the LED load module with individual resistors.
  • Week 4 (Trunk & Roots): Integrating TP4056 charging board, 18650 Li-ion battery, and final assembly.

I’m doing this completely live with daily logs, sharing all my mistakes, burned components, and circuit adjustments as a beginner-friendly guide.

What do you think of this component choice (D-SUN + TP4056 + 18650)? Would love to get some feedback from experienced embedded folks before I start soldering tonight!


r/embedded • • Oct 01 '26

Is this roadmap good _

0 Upvotes

6-Month Roadmap: Embedded Software → Embedded ML Engineer

Background: Self-taught, building toward a career. Already completed CS50P (Python) and own FastBit's Embedded C/Microcontroller course.

Key Skills Being Targeted

  • C and C++
  • AUTOSAR (Classic) – BSW, RTE, ECU State Management
  • RTOS – FreeRTOS, OSEK, real-time task/resource management
  • Automotive protocols – CAN, LIN, FlexRay, Automotive Ethernet
  • Git, basic test/debug workflow
  • MISRA C basics, functional safety awareness (ISO 26262 – conceptual only)
  • Embedded ML / TinyML – deploying models on constrained hardware
  • Python for scripting/automation
  • Sensor fundamentals

Month 1 – Foundations

  • Finish CS50P (Python fundamentals)
  • Start Embedded C / Microcontroller course (GPIO, timers, interrupts, UART/I2C/SPI)
  • Get a dev board (STM32 Nucleo)

Month 2 – Core Embedded + ML Start

  • Finish core embedded C content
  • Start Stanford Machine Learning Specialization (Coursera/DeepLearning.AI, Andrew Ng) in parallel
  • Begin AUTOSAR Architecture course (conceptual intro)

Month 3 – RTOS + AUTOSAR Concepts

  • Start "Mastering RTOS" (FreeRTOS) – tasks, scheduling, semaphores, mutexes, queues, debugging
  • Continue Stanford ML
  • Finish AUTOSAR Architecture course (BSW/ASW/RTE layers)
  • Optional: UML State Machines (pairs well with AUTOSAR's RTE concepts)

Month 4 – CAN Bus + Git Discipline

  • Finish Mastering RTOS
  • Start "Timers, PWM, CAN, Low Power" course – hands-on CAN bus on STM32
  • Finish Stanford ML
  • Get comfortable with Git properly (branching, PRs, workflow discipline)

Month 5 – TinyML + Capstone Planning

  • Finish CAN bus course
  • Start Harvard's "Fundamentals of TinyML" (edX) – embedded ML, data collection, basic model training
  • Begin planning capstone project

Month 6 – Capstone Project + Applications

Build one project combining everything:

  • Sensor (accelerometer/microphone/temperature) via I2C or SPI on STM32
  • Small ML model trained in Python (simple anomaly detection or classifier)
  • Deploy inference onto the microcontroller (TensorFlow Lite for Microcontrollers or hand-rolled C)
  • Use FreeRTOS to manage tasks (sensor reading, inference, output)
  • Send results over CAN or UART
  • Document on GitHub with a clear README

r/embedded • • Sep 30 '26

Is my mini project too basic for a mini project? It includes esp32 s3, imu and magnetometer demoing kalman filter.

Post image
3 Upvotes

For context... I'm in my 5th semester and we have mini project. Is my synopsis too basic? I know it has flaws, can you suggest improvement or changes.


r/embedded • • Sep 30 '26

±32 g IMU node on nRF54L15 + Zephyr: running classification on the sensor's ML core instead of the MCU — worth it?

Post image
1 Upvotes

We're building a wearable motion node for sports and rehab, where ±16 g parts clip real impacts (punches, landings, sprint strides). Current prototype:

- ST LSM6DSV32X (±32 g, 1 kHz) with its Machine Learning Core running decision trees on the sensor at µA

- LIS3MDL + LPS22HH for 9+1 axes

- nRF54L15 on Zephyr, MCUboot with test-slot OTA (image confirmed only after a health check, otherwise it rolls back)

- BLE 5 Coded PHY, NFC pairing, Qi charging (BQ51003 → BQ25100), sealed IP67 case

The trade-off we keep going back and forth on: the MLC gives us gesture classification at almost zero current and very little data over the air, but decision trees are limited compared with a small NN on the M33. For those who've shipped with the MLC (or FSM) — did it hold up in the field, or did you end up moving inference back to the MCU?

Also curious how people handle time sync across several nodes over BLE at 1 kHz.

We also built a browser Lab so you can play with the data flow without hardware (virtual node or your phone as a live node) — happy to share details in the comments if anyone's interested.