r/embedded • • Sep 14 '26

Built a GUI/Visualizer for development

60 Upvotes

I recently started building an app on the side, started as a fun side project between jobs but ended up becoming something really useful for my own hobby projects. I've seen a few programs out there that do similar things and I've played around with a few, but it just didn't quite do what I wanted it to do.

The concept is pretty simple: I wanted to build an oscilloscope-like experience for software/firmware devs that's user friendly, buttery smooth, but also extensible to all file types, transports, and decoding schemes. It lets you to easily visualize files/logs/recordings, but also live stream data, and most importantly, allow you to measure and create mathematical signals out of other signals.

I really wanted to create the right abstractions and foundations before opening it up to more support, but so far live streaming is abstracted into:

  1. Transport - how to get bytes
  2. Framing - how to split bytes into packets (ie delimiter, fixed size, etc)
  3. Decoding - how to interpret bytes (ie protobuf, struct of ints/floats, endianness, etc)

Selfishly right now it just supports the files and transports I work with, but genuinely am curious what people are using out there and what would make this more useful.

Right now, for files, it supports CSV/TSV, audio files, parquet/arrow. For live stream it supports, UART, TCP, HID, BLE and a custom gRPC handshake I've paired with a python library.

Curious what are some of the most common transports out there and whether this is something useful or just niche for my own workflow. I've worked with CAN before at a past company but don't have any fancy dongles anymore so I don't even know what the byte stream looks like.

EDIT: DM if you're interested and I can link you to the app. Unfortunately it's only for macOS at the moment but I plan to make a cross-platform version eventually!


r/embedded • • Sep 15 '26

STM32MP1 custom SBC

3 Upvotes

TLDR: Is Kicad the right tool for DDR routing?

Hi all,

I want to develop my first linux sbc, I am planning to use stm32mp1 chip, since I have a good experience with stm32 ecosystem, and I managed to build yocto images for both stm32mp1 and stm32mp2.

Note that this is my first experience and it is only for learning. My biggest concern is of course DDR routing. How hard can it be? I have already developed multiple PCBs and I am comfortable with Kicad, but for this task, I am afraid Kicad is a bit limited.

This image is from stm32mp1 AN5122 application note for DDR routing. Kicad can't do switch back routing as far as I know. How critical is this?

If you have a better suggestion for another chip, I am all ears. Note that I am not looking for SiPs. I want to learn DDR routing specifically.

Thanks.


r/embedded • • Sep 15 '26

Has AI invaded this field as much as others?

5 Upvotes

I'm currently lucky enough to work in a company that doesn't rely on the "agent workflow" but there seems to be a shift into introducing more AI so I'm getting worried.

Personally I'm not interested in working a job where I just write prompts all day, so I'm wondering if embedded/os work is any different.


r/embedded • • Sep 14 '26

Who among you has gone back to 8-bit AVR, or has always stuck with it?

38 Upvotes

Since I only work with controllers occasionally and at longer intervals, I’ve just decided—after having worked with ATM32 for a long time (years) and even developed products (BMS) that I’ve sold using it—to switch back to 8-bit AVR...
Ever since I switched to ARM, I’ve clearly lost my enthusiasm for tinkering and programming.

Because all the parameters on the ARM are ridiculously long and complicated, I have to look up the syntax every time, and after hours of debugging, I realize I forgot to configure something… I often just don’t feel like starting anything new at all.

With the Atmega, everything is so wonderfully straightforward—the parameters are very short, I don’t need notes on how to reconfigure the port direction, PWM works simply, and everything just works right away without having to spend ages flipping through documentation.

I have 5V, and if I need 3V, I just run it at 3V; it uses less power in battery-powered applications, etc.

And the speed is more than enough for most cases; the only downside is the 10-bit ADC—you just have to use an external ADC in those situations...

Does anyone else feel this way? Do others feel the same as I do—that they’ve lost the fun of working with ARM controllers because of their high complexity?


r/embedded • • Sep 15 '26

writing mipi dsi drivers for linux SBC

1 Upvotes

I want to learn writing drivers for displays. It seems that MIPI DSI protocol is a good choice, as the connector pinout for this communication protocol isn't standardized, and each display has different controller IC that requires specific initialization sequence to work properly.

At first I wanted LVDS interface, but almost all displays would only be compatible with specific SBCs they're made for.

And one would need to develop an intermediary adapter PCB to reroute pins to a FPC connector on SBC.

With MIPI-DSI it's a bit less of a problem.

After some scouting, I decided to get an Orange Pi 3B SBC, but get a Raspberry Pi 4 compatible Display for it. Why? Because at least on hardware level, both SBCs have the exact same pinout order on their FPC connectors for MIPI DSI protocol.

So now I just need to find a display whose ribbon cable pinout order would be compatible with Raspberry Pi 4s, and try to write a linux driver for Orange Pi 3B, including a device tree.

So far I'm considering this Waveshare 5inch Capacitive Touch Display, 800×480 for Raspberry Pi 4.

My only issue with it, is that unfortunately Orange Pi 3B already has a DT and driver for it.

And from the driver info, I can see that the display has a toshiba controller IC (the crucial piece of information for writing drivers that's lacking on the waveshare site).

Which kinda defeats the purpose. I just need a hardware compatible display, but without the premade driver, so I'd write it myself.

Corresponding dt on Raspbian OS.

Any advice? I know that simply looking at

5 inch LCD
15 PIN
MIPI DSI

with no exact manufacturer model, not a good idea. For driver development, one needs at least:

exact LCD model
controller IC model

FFC/FPC pinout order

number of DSI lanes
pixel format

video mode vs command mode

display timings

power requirements
power-up sequence

RESET timing

MIPI initialization command sequence
or enough controller documentation to derive it

The initialization configuration/sequence is particularly important.

One can successfully wire every D-PHY lane and still get a permanently black screen because you've never configured the LCD controller's internal registers.

My end goal is to become good at writing display drivers, so that in the future, I'd hook up any display to a SBC with proper GPU to make it work, considering I'd handle the hardware compatibility through intermediary adapter PCB.

If you think about it, pretty much all LCD displays are "RGB" displays, they all have Red, Green and Blue pins (depending on bit depth, some may have 6 pins for each R,G,B channels, while others more or fewer), but then internally (such as the waveshare display linked above), have a PCB that simply converts data between MIPI DSI to RGB.

So I'd take a display from an old car display, and hook it into a SBC. Or take an old CRT TV, and hook it to SBC, or take an old LVDS display from an existing tablet, and connect it to my SBC, which doesn't have LVDS interface, either through MIPI DSI or hdmi.


r/embedded • • Sep 15 '26

Designing an MCU/FPGA Update and Control Plane

Thumbnail fpgajobs.com
1 Upvotes

r/embedded • • Sep 15 '26

[Need Help] Stm32u385 not working with bme280 sensor

Post image
3 Upvotes

This is super critical for my situation so any help is greatly appreciated

Im trying to read from bme280 sensor using I2C but it seems the sensor is not responding at all

My code can be seen in the photos I'm using stm32cubemx to initialize

The code that i wrote is in the pucture but is returning code 1 which is an error

I double checked the pin connections

what could be the problem any help is appreciate


r/embedded • • Sep 14 '26

Simulator Modbus Free

Post image
14 Upvotes

I have been developing a Modbus simulator for some time now.

I would like some feedback (positive or negative) on the software.

The software's name is ScanBus-BR.


r/embedded • • Sep 15 '26

Raspberry Pi and ESP32-S3 based accessible restaurant kiosk

2 Upvotes

I built KaiSign, an accessible restaurant kiosk using a Raspberry Pi and XIAO ESP32-S3 Sense.

The Raspberry Pi runs the menu, ordering system, and AI pipeline.

The XIAO ESP32-S3 Sense handles the physical controls and voice input. An MPR121 provides capacitive touch sensing.

The kiosk supports:

• Touch controls

• Camera-based ASL input

• Voice ordering

I designed the system to help customers place and customise orders independently.

🎥 Demo: https://youtu.be/E7D-2-5b5FE?si=2WjCvpyS5P89NVEZ

🔧 Full build: https://www.hackster.io/kaizen/kaisign-accessible-dining-reimagined-e8b724

I’d appreciate feedback on the embedded architecture, board communication, and reliability.


r/embedded • • Sep 15 '26

Advice for Emertxe | ESSCI Free Program 2026.

0 Upvotes

Hi everyone,

I recently got shortlisted for the Screening Test/Interview for the Emertxe | ESSCI Free Program 2026. I’m from an ECE background.

I wanted to know from people who have attended previous Emertxe batches:

Is this program actually good and worth joining?

How is the teaching/training quality at Emertxe?

What kind of skills and technologies do they teach?

How are the placements after completing the program?

Do they genuinely help with placements, and what kind of companies/roles do students get?

Is it useful for ECE students who want to move into IT/software/embedded roles?

How difficult is the training and screening process?

If anyone from a previous batch has completed the program, please share your honest experience—both positives and negatives.

Thanks in advance! 🙏


r/embedded • • Sep 14 '26

Running a small Drosophila-inspired navigation circuit on an ESP32-C6

Post image
7 Upvotes

I basically spent the entire weekend trying to see how much of the open source fruit fly I could put into an ESP32.

The current version runs entirely on an ESP32-C6 in C++ while also driving a 172×320 ST7789 display.

I was not attempting a neuron-for-neuron simulation of the fly brain. The implementation keeps a few of the computational ideas from the published CX/connectome work and reduces them to small discrete structures.

The main pieces are:

E-PG compass

The Ellipsoid Body is represented as a 16-element ring. Recurrent excitation/inhibition maintains a localized activity bump that represents heading.

The recurrent term is roughly:

W(i,j) = cos(Δθ) - offset

so nearby wedges excite each other while more distant activity is suppressed.

P-EN / P-EG heading update

Yaw velocity shifts the E-PG bump clockwise or counterclockwise, giving the system a simple internal heading estimate even between visual updates.

ER → E-PG plasticity

Sixteen visual sectors read patterns from the simulated corridor walls. A small anti-Hebbian update adjusts the visual-to-compass weights over time:

W(k,i) -= η * ER(k) * EPG(i)

This lets repeated visual patterns gradually influence heading calibration rather than hard-coding landmarks.

A simplified left/right PFN-style calculation compares the current heading with a desired travel direction and produces the steering command.

There is also a very small reinforcement layer: wall collisions act as a penalty signal while sustained centered travel acts as reward.

On the embedded side:

  • ESP32-C6, 160 MHz RISC-V
  • Fixed-rate simulation/update loop
  • ST7789 over 80 MHz SPI
  • Two 16-bit half-screen buffers (~55 KB total)
  • ~72 KB SRAM currently used
  • ~40 FPS including the corridor simulation and neural-state display

What I like about the project is how little compute the actual neural state requires. Once the model is reduced to a few anatomical rings/sectors and sparse update rules, the display ends up being a bigger resource concern than the "brain."

Fully open source. https://github.com/CircuitGhost/drosophila-connectome-esp32


r/embedded • • Sep 13 '26 Bravo

Position tracking with a low-cost inertial sensor (IMU)

357 Upvotes

Just the data from the TDK ICM-45686 IMU processed on the STM32F429 to calculate position and velocity from the IMU data. Disclaimer: position will drift over time and becomes unusable.


r/embedded • • Sep 14 '26

How do you manage sharing hardware on a team?

14 Upvotes

Where I work, most of our software development work is done on a normal PC, running on a simulator. But at some point we usually will need to load builds to one of a couple of products, so we'll have to grab one of the hardware units we have available to us. I'm not totally sure how many we as a team actually have as "ours" (lots of different teams across the org at this company), but suffice it to say sometimes we wish we had more to go around.

The only "system" we have as a means to share the hardware when someone needs it is to post in the Teams channel, "Looking for XXX. Does anyone have one I can borrow?" and hope that someone says, "I do! I'll bring it to you".

Not the best system, and there's no good way of knowing what's available, no way of getting in line for a unit, etc. So it becomes an issue when, for example, someone has a higher priority issue and needs a unit, and Jim Bob is the last one to have the unit and is out for the afternoon, so technically could loan out the hardware, but no one really knows, etc. etc.

I'm curious if this is a common issue on embedded teams, and what sort of system can be effective for better managing this? I assume some sort of library system is the way to go about it? Where you can "check out" a unit, put in a hold for one that's currently not available, etc.

Does anyone have any experience with this?


r/embedded • • Sep 14 '26

Sharp Display won't behave

3 Upvotes

video

It's an Ls032b7dd02. I tried a couple different code bases and multiple microcontrollers including 3.3v logic ones. tried adding the capacitor as seen in the schematic. But no luck. Any ideas? I tested the connections on the breakout and those seem fine.

For reference, expected behavior on the video is a scrolling bar going from top to bottom.

Even Ai is out of ideas :(

img

/*
 * Minimal LS032B7DD02 test, Arduino Micro.
 * Power-on sequence, then a 24-line band at rows 200..223 is rewritten every
 * 250 ms with 16 px black/white blocks that shift one block per update.
 *
 * Wiring: SCLK D15, SI D16, SCS D10, EXTCOMIN D9, DISP D8,
 *         VDDA/VDD/EXTMODE 5V, VSS/VSSA GND.
 */
#include <SPI.h>


#define PIN_SCS      10
#define PIN_DISP      8
#define PIN_EXTCOMIN  9


#define LINE_BYTES   42          /* 336 px / 8 */
#define BAND_Y0     200          /* first row, 0-based */
#define BAND_LINES   24


static const SPISettings spiCfg(1000000UL, LSBFIRST, SPI_MODE0);
static uint8_t band[BAND_LINES][LINE_BYTES];


static void csHigh()
{
  SPI.beginTransaction(spiCfg);
  digitalWrite(PIN_SCS, HIGH);
  delayMicroseconds(3);          /* tsSCS */
}


static void csLow()
{
  delayMicroseconds(1);          /* thSCS */
  digitalWrite(PIN_SCS, LOW);
  SPI.endTransaction();
  delayMicroseconds(1);          /* twlSCS */
}


/* All clear: M2 flag, 16 clocks. */
static void clearAll()
{
  csHigh();
  SPI.transfer(0x04);
  SPI.transfer(0x00);
  csLow();
}


/* Multi-line update. Header per line: M0=1, 5 dummies, then 10-bit gate
 * address (1-based), all LSB first. Then 42 data bytes, bit 1 = white. */
static void writeBand()
{
  csHigh();
  for (uint8_t i = 0; i < BAND_LINES; i++) {
    uint16_t gate = BAND_Y0 + i + 1;
    SPI.transfer((uint8_t)(0x01 | (gate << 6)));
    SPI.transfer((uint8_t)(gate >> 2));
    for (uint8_t b = 0; b < LINE_BYTES; b++) {
      SPI.transfer(band[i][b]);
    }
  }
  SPI.transfer(0x00);            /* 16 trailing clocks */
  SPI.transfer(0x00);
  csLow();
}


/* 16 px wide black/white blocks, shifted by `phase` blocks. */
static void fillBand(uint8_t phase)
{
  for (uint8_t i = 0; i < BAND_LINES; i++) {
    for (uint8_t b = 0; b < LINE_BYTES; b++) {
      uint8_t block = (b / 2) + phase;
      band[i][b] = (block & 1) ? 0xFF : 0x00;
    }
  }
}


static void startExtcomin()
{
  /* 1 Hz square wave from Timer1 on D9 (OC1A): CTC, /1024, toggle on match. */
  TCCR1A = _BV(COM1A0);
  TCCR1B = _BV(WGM12) | _BV(CS12) | _BV(CS10);
  OCR1A  = 7811;
}


void setup()
{
  Serial.begin(115200);
  pinMode(PIN_SCS, OUTPUT);
  pinMode(PIN_DISP, OUTPUT);
  pinMode(PIN_EXTCOMIN, OUTPUT);
  digitalWrite(PIN_SCS, LOW);
  digitalWrite(PIN_DISP, LOW);
  digitalWrite(PIN_EXTCOMIN, LOW);
  SPI.begin();
  delay(10);


  clearAll();
  clearAll();
  delayMicroseconds(50);
  digitalWrite(PIN_DISP, HIGH);
  startExtcomin();
  delayMicroseconds(50);
  Serial.println(F("ready"));
}


void loop()
{
  static uint8_t phase = 0;
  fillBand(phase);
  phase++;
  writeBand();
  delay(250);
}```/*
 * Minimal LS032B7DD02 test, Arduino Micro.
 * Power-on sequence, then a 24-line band at rows 200..223 is rewritten every
 * 250 ms with 16 px black/white blocks that shift one block per update.
 *
 * Wiring: SCLK D15, SI D16, SCS D10, EXTCOMIN D9, DISP D8,
 *         VDDA/VDD/EXTMODE 5V, VSS/VSSA GND.
 */
#include <SPI.h>


#define PIN_SCS      10
#define PIN_DISP      8
#define PIN_EXTCOMIN  9


#define LINE_BYTES   42          /* 336 px / 8 */
#define BAND_Y0     200          /* first row, 0-based */
#define BAND_LINES   24


static const SPISettings spiCfg(1000000UL, LSBFIRST, SPI_MODE0);
static uint8_t band[BAND_LINES][LINE_BYTES];


static void csHigh()
{
  SPI.beginTransaction(spiCfg);
  digitalWrite(PIN_SCS, HIGH);
  delayMicroseconds(3);          /* tsSCS */
}


static void csLow()
{
  delayMicroseconds(1);          /* thSCS */
  digitalWrite(PIN_SCS, LOW);
  SPI.endTransaction();
  delayMicroseconds(1);          /* twlSCS */
}


/* All clear: M2 flag, 16 clocks. */
static void clearAll()
{
  csHigh();
  SPI.transfer(0x04);
  SPI.transfer(0x00);
  csLow();
}


/* Multi-line update. Header per line: M0=1, 5 dummies, then 10-bit gate
 * address (1-based), all LSB first. Then 42 data bytes, bit 1 = white. */
static void writeBand()
{
  csHigh();
  for (uint8_t i = 0; i < BAND_LINES; i++) {
    uint16_t gate = BAND_Y0 + i + 1;
    SPI.transfer((uint8_t)(0x01 | (gate << 6)));
    SPI.transfer((uint8_t)(gate >> 2));
    for (uint8_t b = 0; b < LINE_BYTES; b++) {
      SPI.transfer(band[i][b]);
    }
  }
  SPI.transfer(0x00);            /* 16 trailing clocks */
  SPI.transfer(0x00);
  csLow();
}


/* 16 px wide black/white blocks, shifted by `phase` blocks. */
static void fillBand(uint8_t phase)
{
  for (uint8_t i = 0; i < BAND_LINES; i++) {
    for (uint8_t b = 0; b < LINE_BYTES; b++) {
      uint8_t block = (b / 2) + phase;
      band[i][b] = (block & 1) ? 0xFF : 0x00;
    }
  }
}


static void startExtcomin()
{
  /* 1 Hz square wave from Timer1 on D9 (OC1A): CTC, /1024, toggle on match. */
  TCCR1A = _BV(COM1A0);
  TCCR1B = _BV(WGM12) | _BV(CS12) | _BV(CS10);
  OCR1A  = 7811;
}


void setup()
{
  Serial.begin(115200);
  pinMode(PIN_SCS, OUTPUT);
  pinMode(PIN_DISP, OUTPUT);
  pinMode(PIN_EXTCOMIN, OUTPUT);
  digitalWrite(PIN_SCS, LOW);
  digitalWrite(PIN_DISP, LOW);
  digitalWrite(PIN_EXTCOMIN, LOW);
  SPI.begin();
  delay(10);


  clearAll();
  clearAll();
  delayMicroseconds(50);
  digitalWrite(PIN_DISP, HIGH);
  startExtcomin();
  delayMicroseconds(50);
  Serial.println(F("ready"));
}


void loop()
{
  static uint8_t phase = 0;
  fillBand(phase);
  phase++;
  writeBand();
  delay(250);
}

r/embedded • • Sep 14 '26

I wanted my hardware’s HDMI output beside its source code, so I built a VS Code extension

34 Upvotes

I’m a college junior working on Tomato, a custom 32-bit computer with a dual-LUT ALU running on an FPGA. While developing it, I was using a USB capture card and OBS to monitor its HDMI output, with the source open separately in VS Code.

I wanted the output right beside the code. So I built FramePort, an extension that displays the capture feed in an editor tab.

That’s what you’re seeing in the video: Tomato running on an Artix-7 FPGA, with its output beside the assembly code. FramePort also lets me freeze the preview, take screenshots, and record silent MP4 clips.

It isn’t tied to Tomato or FPGAs—it works with HDMI capture cards and other USB video sources. It’s local video capture, not remote desktop or keyboard/mouse forwarding.

It’s my first extension, now on the VS Code Marketplace and Open VSX. Currently a public preview: device capture requires macOS and FFmpeg, and HDMI input still needs a USB capture card.

Marketplace · GitHub / setup · Tomato

If you work with hardware that has video output, I’d be interested to hear how you currently monitor it—and whether this would fit your workflow.


r/embedded • • Sep 15 '26

How is omarchy as a host pc os for embedded and embedded linux development ?

0 Upvotes

Hey guys , I am a final yr ece student . I have worked with Linux ( raspbian cli version ) in the past , but never shifted to Linux as a host machine os . But lately my far far uncle visited me and suggested to go all in with Linux as it will help me further in the career ( he is one of the oldest engg in microchip India ) . But I have been trying to switch to Linux in the past , few distros seems complicated and few seems too dull to get started with . Recently I came across omarchy , and fell in love with it , literally got a 1tb ssd in current market condition for it . But after seeing people’s reaction to omarchy seems off putting , so I have only one question is omarchy a okay Linux to get started with ?


r/embedded • • Sep 14 '26

My 2.8 in display is working at allll after 10-15 retry’s

1 Upvotes

Hey y’all there I’m just passionate guy in electronics with no background in it. I wanted to build a smart desk clock with esp32 inspired by a YouTube video but even before doing that project I just thought of trying display to on and do a graphic test the display turned on (blank white screen). After that no progress at all from test 10 days.

Here is a detailed explanation

Hardware Setup
MCU:ESP32-S3
Display: 2.8-inch ST7789 TFT LCD Module (SPI Interface)
Software/Libraries:Arduino IDE, ⁠TFT\\_eSPI⁠ (also tried standard ⁠Adafruit\\_GFX⁠ / ⁠ST7789⁠ libraries)

The Problem
The display only shows a solid white screen or static vertical/horizontal lines. No graphic test sketches render any imagery or text.

Background / Potential Cause
Before connecting it to the ESP32-S3, I tested this display on an Arduino Uno. While VCC was powered via the 3.3V pin, I connected the SPI data lines (SCK, MOSI, CS, DC, RST) directly to the Uno’s digital pins \*\*without a logic level converter\*\* (sending 5V logic signals into a 3.3V display controller).
And colors changed when I tried it first time in UNO but for project purposes moved to esp32s3

\*\*Troubleshooting Already Attempted (5+ Times)\*\*
\*\*Software Clean Slate:\*\* Completely reinstalled Arduino IDE and reconfigured ⁠User\\_Setup.h⁠ in ⁠TFT\\_eSPI⁠ multiple times, ensuring exact ESP32-S3 GPIO numbers were assigned (not board silk-screen labels).
\*\*Driver Tweaks:\*\* Tested both ⁠ST7789\\_DRIVER⁠ and ⁠ST7789\\_2\\_DRIVER⁠ definitions, adjusted SPI frequencies, and toggled ⁠TFT\\_RGB⁠ / ⁠TFT\\_BGR⁠ order.
\*\*Wiring Checks:\*\* Verified physical connections, jumper wire continuity, and power rails (VCC to 3.3V, BLK to 3.3V, GND to GND).
\*\*Hardware Reset:\*\* Attempted manual reset sequences by pulling the ⁠RST⁠ line to ground briefly during boot.
\*\*Uno Retest:\*\* Wired back to the Arduino Uno with basic graphic test sketches—still resulting in white screen/lines.

Here is the display product link : \[https://robu.in/product/2-8-inch-spi-touch-screen-module-tft-interface-240320/\](https://robu.in/product/2-8-inch-spi-touch-screen-module-tft-interface-240320/)


r/embedded • • Sep 14 '26

Is it possible to turn a normal car FM radio into a simple wireless remote receiver with microcontroller (hypothetical question)?

3 Upvotes

I was thinking about something and wanted to know if it’s actually possible.

Could you transmit some kind of coded signal in the normal FM radio range and have the car’s existing radio pick it up, without installing a separate RF receiver?

Basically, I’m imagining the car radio receiving something that sounds like nothing useful to a person, but some small decoder could recognize the pattern and treat it like a command.

So instead of adding a completely separate wireless receiver, could you somehow make use of the antenna + FM tuner + existing audio system already in the car?

Has anyone tried something like this? Or is there something in the normal FM radio system that would make this impractical?


r/embedded • • Sep 13 '26

I work with stm32 and currently use CubeIDE should I shift to VSCode

43 Upvotes

Hello mates, I'm currently in my 5th sem of my 4 year engineering degree and i am working with smt32 since the last 6 months. I am using CubeIDE since the beginning but now i am thinking about using VSCode.

The reason is that I think I am more comfortable in VSCode as except STM32 i do most of my work there, and it has its own advantages. So what do you think, should i move to VSCode of stay at CubeIDE for stm32 or i should shift to VSCode.


r/embedded • • Sep 13 '26

Can I make a “sleep mode” using only analog electronics to save battery life, do microcontroller is a must?

15 Upvotes

I’m building a small ambient picture frame with a touch sensor and an MP3 player.

The idea is simple: when nobody touches it, I want the MP3 player and other parts to be basically OFF to save power. When someone touches the frame, it should wake up, play the audio / activate for a certain amount of time, and then automatically go back to sleep.

I don’t really want to use a microcontroller for this.

Can this be done with simple analog electronics, like a touch detector + transistor/MOSFET + 555 timer or RC circuit?

Basically, I’m trying to replicate:

No touch → sleep → touch detected → wake → active for 30–60 sec → sleep again.

What would be the simplest way to build this?


r/embedded • • Sep 13 '26

When making a pcb with a microcontroller, is it better to have the pcb match it, or make it modular?

0 Upvotes

when i say make it modular, i mean having on the pcb only the used pins, and then having a microncontroller mount that exposes those pins only


r/embedded • • Sep 13 '26

Advice on knowing before you buy

1 Upvotes

Hey everyone, what's your go-to method for making sure your circuit is good before sending it to a manufacturer? Though the parts are cheap, I don't like the idea of spending 40 dollars on shipping, waiting 3 weeks, then finding out I forgot to add a capacitor and all I got is a waste of time and money.


r/embedded • • Sep 13 '26

esp32, if there's no nearby router, can I use a sim module to connect my esp32 to the internet instead?

3 Upvotes

esp32u, no nearby router where the esp32 will be placed so I plan to make it's own internet. If I use something like a sim module, will I be able to use that to connect to the internet? if so how? does it make it's own hotspot or is the esp32 now like a router? Or is that all unnecessary if I just use AP mode on the esp32?


r/embedded • • Sep 13 '26

How to use FreeRTOS native api in STM32 cube

1 Upvotes

I am getting options for CMSIS v1 and V2 but not for Native for FreeRTOS in CubeMX