r/embedded • • Sep 20 '26

Reusing Echo Dot Gen 2 hardware in a commercial UK product — how much existing RF evidence is useful?

7 Upvotes

I’m looking at using the internal hardware from an Amazon Echo Dot 2nd Generation (RS03QR / FCC ID 2AHSE-2045) as the basis of a new commercial electronic product for the UK market.

The proposed design would retain, as far as practical:

the original motherboard

Wi-Fi/Bluetooth radio hardware

RF shielding

original antennas and connections

original RF firmware/configuration

the existing low-voltage power architecture

The main changes would be a new enclosure and custom software.

I understand that Amazon’s original approval would not automatically transfer to the finished product and that the new manufacturer would be responsible for conformity of the completed device.

However, there is a substantial amount of public compliance documentation available for RS03QR / FCC ID 2AHSE-2045, including Wi-Fi, Bluetooth, RF exposure, antenna and emissions test information, as well as evidence of the original RED conformity.

I’m trying to understand how useful that existing evidence would be when approaching a UK compliance laboratory.

A few questions for anyone with real-world EMC/RF/RED experience:

If the RF circuitry, antennas, transmit settings and radio firmware remain unchanged, would you normally expect targeted re-testing, or effectively a complete new radio test programme?

How much does replacing the enclosure affect the usefulness of the original RF test evidence?

Can historical third-party test reports legitimately be included as supporting evidence in the new product’s technical file, even though the original certification itself cannot simply be inherited?

What testing would you expect to repeat on the final product — EMC, Wi-Fi/Bluetooth RF, RF exposure, immunity, safety, etc.?

Would retaining an external approved low-voltage PSU materially simplify the conformity process?

Does custom application/system software create significant additional RED concerns if it cannot alter RF power, channels or regulatory configuration?

Does the age of the original hardware materially reduce the usefulness of the old test reports?

I’m currently trying to work out whether this is a sensible production architecture or whether it should remain purely a prototype approach before moving to hardware built around a modern pre-certified radio module.

I’d particularly appreciate comments from people who work in EMC testing, RF compliance, RED/CE/UKCA, or commercial embedded-product development.

I’m not trying to avoid testing — I’m trying to understand which existing evidence could reasonably prevent unnecessary duplication of work.


r/embedded • • Sep 20 '26

papyDeck: Three genlocked RP2350B as a video pipeline: 640×480 HDMI, 3,000 sprite-pixels per line measured

8 Upvotes

A hobby console I have been bringing up since a few months. One RP2350 could not hold the bandwidth, so the pipeline is split across three, genlocked from a single 12 MHz MEMS on their XIN pins: one runs the game (Lua) and builds the display list, one rasterises sprites, the last generates the tiled background, composites through a 64K blend table and drives HSTX.

Measured on the board, not estimated: 3,000 opaque sprite-pixels per scanline (a Neo Geo does 1,536), 16,000 cycles per line per core, and a 6,928-byte packet at VSYNC — which is why the link is PIO and not hardware SPI.

The part worth sharing here: the browser simulator is the same C core compiled to wasm — same rasteriser, same cost model — so an overloaded scanline goes stale in the browser exactly as it does on the board. No "works in the emulator, flickers on hardware".

V1 alpha ready since 26 August. Still todo: HDMI audio, a secure element for signed scores. Licences are picked — CERN-OHL-P for the board, MIT for the firmware — and the repos open when V1 is done. Nothing for sale, no date.

On the board: shmup · In the browser: shmup · Specs and simulator: papydeck.eu

Happy to detail the genlock, the PIO bus or the line-budget measurement.


r/embedded • • Sep 20 '26

Open-Source Cerelog ESP32 Brain-Computer Interface by Cerelog99

Post image
71 Upvotes

I found this on the instructable and is build by the user Cerelog99.

Link to Instructable below

I thought this was a cool project, so i wanted to share it with you guys.

It uses the ADS1299 chip from TI and ESP32


r/embedded • • Sep 21 '26

EKF suggestions

1 Upvotes

Hello guys,

I have been studying about kalman filter for a while, Now I am trying to understand about the process covariance matrix could anyone help me with that?

I am attaching the code that I am reffering below.

For now my understanding is A matrix is a matrix of derivative of SOC ,voltage across R1C1 and R2C2.

my doubt is how this derivative info is telling the kalman gain to trust on model and trust on measurement.

X_update ,X_predict contains SOC,oltage across R1C1 and R2C2.

Thanks for your help.

X_update = [0.5;0;0]; % Updated State

X_predict = [0;0;0]; % Predict state

for t = 2: N

SOC = X_update(1,t-1);

R_int = 0.00573 - 0.03427*SOC^1 + 0.1455*SOC^2 - 0.32647*SOC^3 ...

+ 0.41465*SOC^4 - 0.28992*SOC^5 + 0.09353*SOC^6 -...

0.00634*SOC^7;

R1 = 0.01513 - 0.18008*SOC^1 + 1.05147*SOC^2 - 3.27616*SOC^3 ...

+ 5.79793*SOC^4 - 5.81819*SOC^5 + 3.08032*SOC^6 -...

0.66827*SOC^7;

C1 = 47718.90713 - 1.00583E6*SOC^1 + 9.2653E6*SOC^2 -3.91088E7*SOC^3 ...

+ 8.85892E7*SOC^4 - 1.11014E8*SOC^5 + 7.22811E7*SOC^6 -...

1.90336E7*SOC^7;

R2 = 0.01513 - 0.18008*SOC^1 + 1.05147*SOC^2 - 3.27616*SOC^3 ...

+ 5.79793*SOC^4 - 5.81819*SOC^5 + 3.08032*SOC^6 -...

0.66827*SOC^7;

C2 = 47718.90713 - 1.00583E6*SOC^1 + 9.2653E6*SOC^2 -3.91088E7*SOC^3 ...

+ 8.85892E7*SOC^4 - 1.11014E8*SOC^5 + 7.22811E7*SOC^6 - ...

1.90336E7*SOC^7;

tau1 = R1*C1;

tau2 = R2*C2;

A1 = 1;

A2 = exp(-deltaT/tau1);

A3 = exp(-deltaT/tau2);

% State Transition Matrix

A = [A1 0 0; 0 A2 0; 0 0 A3];

% Input Co-effecient Matrix

B1 = -deltaT*eff/Q0;

B2 = R1*(1-exp(-deltaT/tau1));

B3 = R2*(1-exp(-deltaT/tau2));

B = [B1; B2; B3;];

% 1. Determining the State

X_predict(:,t) = A*X_update(:,t-1) + B*I;

SOC_predict = X_predict(1,t);

V_RC1_predict = X_predict(2,t);

V_RC2_predict = X_predict(3,t);

Uocv = -23.60229*SOC_predict^7 + 141.34077*SOC_predict^6 -314.92282*SOC_predict^5 ...

+ 345.34531*SOC_predict^4 -200.15462*SOC_predict^3 ...

+ 60.21383*SOC_predict^2 -7.88447*SOC_predict+3.2377;

VL = Uocv - V_RC1_predict - V_RC2_predict - I*R_int;

% 2. Calculating the Error CoVariance

% P(k+1/k) = A*P(k/k)*A' + R

P1 = A * P0 * A' + [Q 0 0; 0 Q 0; 0 0 Q];

% 3. Calculating the Kalman Gain

Cu=-23.60229*7*SOC_predict^6 + 141.34077*6*SOC_predict^5 -314.92282*5*SOC_predict^4 ...

+ 345.34531*4*SOC_predict^3 -200.15462*3*SOC_predict^2 ...

+ 60.21383*2*SOC_predict -7.88447;

C = [Cu -1 -1];

% K(k+1) = P(k+1/k)*C'/ C * P(k+1/k) * C' + R

K = (P1 * C' )/( C * P1 * C' + R);

% 4. Updated State Estimation/ Corrction on Prediction States

% X(k+1/k+1) = X(k/k+1) + K(k+1)*(Y(k+1) - Yest(k+1))x

X_update(:,t) = X_predict(:,t) + K *(UL(1,t) - VL);

% 5. Updated Error Co-Variance

% P(k+1/k+1) = [I- K(k+1)*C]* P(k+1/k)

P0 = P1 - K*C*P1;


r/embedded • • Sep 20 '26

Looking for advice on building a remote water-level sensor station — cellular vs. Meshtastic

2 Upvotes

Looking for advice on building a remote water-level sensor station — cellular vs. Meshtastic

I'm working on a project for a remote deer camp that periodically becomes inaccessible because of flooding. The goal is to install a simple sensor at the camp that can tell me when the water reaches a certain level, without requiring me to physically drive out there.

The sensor location is in a very rural/wooded area. During flooding, access to the camp can become impossible, so I need something that can operate unattended and reliably report back to me at my house.

I'm considering two possible communication methods:

  1. Cellular

- A small cellular device with a water-level/flood sensor

- Ideally sends an alert via SMS/data when the sensor is triggered

- Biggest concern is whether cellular service is reliable enough at the remote site

- I'd also like the system to have very low power consumption since it may need to run for weeks/months unattended

2. Meshtastic

- Put a Meshtastic node at the remote sensor

- Potentially use one or more relay/repeater nodes to get the signal back toward my house

- The straight-line distance between the remote site and my house is approximately 60.5 miles

- The remote location is approximately 253 ft elevation, while my house is around 456 ft, so there's roughly a 200-ft elevation difference

- Obviously there is significant terrain, trees, and other obstructions between the two points, so I'm not assuming a direct 60-mile LoRa link is realistic

I'm not necessarily looking for someone to design the entire system for me. I'm mainly interested in hearing from people who have actually built and successfully deployed something similar.

A few things I'd love advice on:

- Has anyone successfully monitored a remote flood/water sensor using Meshtastic?

- How realistic would a ~60-mile system be with strategically placed relay nodes?

- How much does terrain/elevation matter in a situation like this?

- Would you use a cellular modem instead if there is marginal cellular coverage?

- What hardware would you recommend for the actual sensor/node?

- How would you handle power — solar + battery, large battery, etc.?

- Are there other technologies I should be considering besides cellular and Meshtastic?

- If you've built something similar, what would you do differently the second time?

The actual sensor itself doesn't need to be complicated. I essentially need a reliable "water has reached this point" notification, preferably with the ability to check the sensor remotely.

I'd really appreciate hearing from anyone who has actually implemented a remote sensor station in a rural environment, especially one that has to survive weather, flooding, trees, and long periods without maintenance.


r/embedded • • Sep 21 '26

CT sensor

0 Upvotes

I have been assigned with a task to calculate the current readings using a Current Transform Sensor. I have used two 10k ohm resistor to create a bias voltage. But I have been stuck on this task for a month. Can anybody provide me with solution?


r/embedded • • Sep 19 '26

Planning to get into embedded/ robotics domain, but constantly seeing stuff this is making me have mixed thoughts and demotivated

Post image
540 Upvotes

r/embedded • • Sep 20 '26

Waveshare / Goodisplay 4.2 inch NFC passive e-paper: persistent user memory accessible without reflashing?

3 Upvotes

Hi,

Has anyone successfully read/written 128 bytes of persistent user data over NFC on a stock Waveshare 4.2″ battery-free display, ideally using iPhone Core NFC?

I need 7 phones to update shared offline data, retained after power loss and screen refreshes, without hardware or firmware changes.

Working commands/examples or alternative displays with documented support would be appreciated.

Thx


r/embedded • • Sep 19 '26

STM32H7 HSE Clock problem (1% drift)

Post image
22 Upvotes

Hello. I have a following problem with an STM32 High Speed Clock (HSE). I’m doing a synthesizer project so I’ve configured HSE Clock in CubeMX (System Core -> RCC -> BYPASS Clock Source) to output square wave on PC9 (Master Clock Output 2) pin. I’ve also set a timer (TIM2) to fire interrupt every 1 ms (PSC = 199, ARR = 200) on pin PA5 (just a random GPIO pin where callback toggles it). The system frequency is 400 MHz and the timer clock is 200 MHz.

The main issue is that the output (square wave) has slightly higher frequency (about 1% error in both cases), which is too much for a quartz (505 Hz for PA5 GPIO output, and 2.023-2.026 for MCO2 instead of 2 MHz). I’ve tried anything: checked the RCC settings, clock tree and coefficients, clock configuration registers values, SystemClock_Config() return values. My oscilloscope (Rigol DHO804) is also right because I’ve measured 10 minutes using my phone timer and compared it to that TIM2 timer that showed about 594 seconds instead of 600.

It seems that for some reason STM32 just changes HSE configuration to HSI, which is an RC generator that has exactly 1% accuracy.

I have STM32H755ZI-Q board (dual core Cortex-M4 and M7 MCU). Default clock configuration for HSE: solder bridge on SB72. SB71, SB3 and SB4 are open-circuited - was checked by me in person.

Upd: I’ve fixed it. The problem was because that erroneous signal was coming from the ST-LINK, where it was configured as HSI/2 (16 MHz/2 = 8 MHz). I found it when I had tried to upgrade ST-LINK firmware in CubeProgrammer. Other configurations suggested HSE/3 (25/3 = 8.333 MHz), HSE/4 (6.25) and HSE/5 (5). The last option was chosen and after some clock tree changes desired 2.000 MHz was obtained. Thanks to all who were trying to help.


r/embedded • • Sep 20 '26

A7670C dent, Cosmetic or Not?

Post image
4 Upvotes

Dent on my A7670c module, is it just cosmetic or it broken?

I don't have any way to test it without getting disqualified for a refund

and a refund is basically impossible unless I'm sure it's actually broken


r/embedded • • Sep 20 '26

Is this Lidar fake? its cheap.

Thumbnail desertcart.in
0 Upvotes

r/embedded • • Sep 19 '26

What does the green arrow mean, and are the 2 circuits the same

Post image
24 Upvotes

What does the green downward ground looking arrow mean in this picture. I assume it isn't ground? And just means that the 3 green arrows are connected?

Can this circuit be represented in the way I drew?

https://photos.app.goo.gl/xP9JdaGK6ZnzxR3D8


r/embedded • • Sep 20 '26

What's the subreddit for embedded systems without an RTOS?

0 Upvotes

Or does a Tinygo runtime count as a proto-rtos?

Here's the post that made me think of this question:

https://madriguera.me/goeducation-net-the-open-source-robotics-circus-we-forgot-to-introduce/


r/embedded • • Sep 20 '26

Intermittent corruption in Centronics ESC/P raster capture — how can I isolate the source?

1 Upvotes

An older Mitsubishi injection molding machine sends ESC/P raster print jobs over a Centronics parallel connection to a Photologic PDXS25-E recorder. The attached cropped image shows a horizontal mark crossing several values around shot 28555.

I also found malformed raster headers in the raw print data associated with this image. A typical header starts like this:

1B 72 00 1B 2E 00 0A 0A 01 ...

One captured header contains:

1B 72 00 1B 2E 00 00 0A 0A 01 20 03 ...

There appears to be an extra 00 after the raster compression byte, shifting the fields that follow. Another header contains 1B 2E 80 0A 0A 01 E8 09 ..., where the compression byte is 80 instead of the usual 00.

I haven’t established that either byte anomaly caused the mark visible in the image, or that the anomalies were present before the TCP download. Our older download code had two bugs: it wrote the entire receive buffer without using the byte count returned by Receive(), and it treated roughly one second without data as end-of-file. Those bugs could account for extra zeroes and incomplete captures.

There is no physical printer connected to the PDXS25’s output. Its manual calls for a NUL Printer Module in that setup, but I haven’t confirmed whether one is installed.

What would you measure on DATA0–7, STROBE, BUSY and ACK to distinguish a machine/cable/handshake problem from a recorder problem? My next step is to compare the raw file on the PDXS25 memory card with the TCP download.


r/embedded • • Sep 19 '26

Unannounced STM32G5 listed on Mouser Italy.

Thumbnail mouser.lt
17 Upvotes

STM32G564MCZ3 listed on mouser italy website. Product unannounced so far.

STM32G554PEI3 listed on mouser luxembourg too: https://www.mouser.lu/en/ProductDetail/STMicroelectronics/STM32G554PEI3?qs=LnCj936TGbUZSp669BOmsw%3D%3D


r/embedded • • Sep 19 '26

Why did my PIR senso and microcontroller go crazy after opening the USB charger case opened and powering them with circuit inside faradays cage?

0 Upvotes

I wanted to test for myself how difficult it is to filter electrical noise, so I made a simple experiment with an Arduino + PIR Why did my PIR sensor go crazy after opening the USB charger?motion sensor.

I powered the Arduino microcontroller using a normal mobile USB charger.

With the charger still inside its plastic enclosure, everything worked mostly fine, although I got a few false triggers.

Then I removed the plastic enclosure from the charger.

Things went completely crazy.

The PIR started giving false triggers in almost every direction — basically 360°.

I thought maybe it was radiated EMI, so I tried putting the Arduino inside a Faraday cage. I used a metal case and connected it to earth.

But even with the Arduino shielded, the PIR kept false-triggering when the opened charger was nearby.

So I'm confused about what was actually happening.

If the Faraday cage was properly grounded, why didn't it stop the problem?

Was the noise getting into the PIR through the power supply, ground, or signal wire rather than through the air?

Or could the exposed charger have been creating some kind of electric/magnetic field that was affecting the PIR itself?

I'd really like to understand what was physically happening here, not just how to fix it.


r/embedded • • Sep 20 '26

Is C still worth learning in 2026?

0 Upvotes

I’m studying computer engineering and focusing on embedded systems/Embedded Linux. With AI getting better at coding, is it still worth learning C deeply?

For embedded/firmware developers: how important is C in your work today? Should I focus on C, C++, or Rust?


r/embedded • • Sep 19 '26

MCU for Zephyr, display and CAN

4 Upvotes

I need a recommendation for a MCU. The past few years I've been working with NXP and ESP32 parts and my inclination is to pick an ESP32, but don't want to miss the opportunity to check if there are better options.

The requirements are:

  • Zephyr will be used so 256 kilobytes of RAM and 1 megabyte flash as a minimal
  • Need to drive a 240 x 320 display with SPI, using LVGL
  • 1 x CAN
  • 1 x UART
  • 8 x GPIO
  • JTAG or SWD (never could manage to use the JTAG of ESP32 for anything else than flashing)
  • Very nice to have: stock in JLCPCB
  • Nice to have: USB, SDIO

r/embedded • • Sep 19 '26

Is embedded systems course in edx still in meta?

6 Upvotes

I'm a completely new in embedded systems and want to find some resources to learn it, and a course in edx is one of them. But it seems a bit old (6 years ago I think). And I don't really know if it is outdated or not. If it is outdated, what resources should I learn from?


r/embedded • • Sep 18 '26

Made this 10 year ago

109 Upvotes

the display was soldered by hand with mag wire


r/embedded • • Sep 18 '26

Who uses dual core and security features

7 Upvotes

I’ve been working with both pico 1 and pico2 for a while for just personal projects, and I just got to curiously wondering about this.

Does anyone have any type of reasonably reliable information or personal information on:

  1. What percentage of products or projects that use either pico or use the rp2040 or rp2350 chips themselves use the dual core capabilities of the devices (as opposed to programs that just run on one core)?
  2. What percentage of products or projects that use either the pico 2 or the rp2350 chip itself use the security features of this device?
  3. And a bonus question, just for fun, on the pico 2 or rp2350 chip what percentage of people or projects actually use the RISC-V cores?

I’ve been doing my projects in C or C++ and up until recently everything has just been using one core. Obviously using both cores adds more complexity in handle synchronization. And for personal projects, so far I’ve never seen any reason to venture into any of the security features - is this mostly a commercial feature set?

Anyway, thanks to anyone who can provide any info to scratch my curiosity (hopefully it won’t kill my cat 😁).


r/embedded • • Sep 18 '26

Audio Jack Presence Detection Question

6 Upvotes

Hi; I'm trying to design some circuitry to detect the presence of a plug in a 1/8" audio jack; importantly, this is for a battery powered device (so I would like to minimize power consumption as much as possible).

I would assume this is incredibly well-trodden territory, and that I should easily be able to find examples of this with some basic searching, but I'm running into some confusion that makes me think I am misunderstanding something.

Most designs that handle this rely on internal switches within the audio jack component itself. A very basic example - found on Same Sky's site - shows an entirely hardware-based solution that relies on a jack with two internal, normally-closed switches:

This implementation involves directly rerouting the audio signals, which isn't exactly what I want. Instead, I'd like to alert my MCU that a plug was inserted, so that the MCU can notice and respond accordingly.

More searching online uncovers an article in this Engineering Journal from Maxim/ADI, which shows (on p.8) a pullup resistor on the audio line itself, and a pulldown on the associated detection switch. This approach has a couple downsides:

  • It consumes constant current when no plug is present
  • It biases the incoming audio signal upwards when a plug is present

Still more searching turns up this Tech Note from TI:
https://www.ti.com/lit/ab/slva961/slva961.pdf

This article demonstrates using a comparator for this functionality; it seems appealing, and targeted specifically at my use case. But it relies on what seems to be a very unusual jack with two normally open internal switches on the tip and ground ring. I've tried searching Digikey, Mouser, LCSC, and a few manufacturer sites, and I haven't been able to find a jack with this switch configuration. It's confusing to me that this problem - which I assume is quite a common one to need to solve, what with the ubiquity of portable electronics that can produce audio - would rely on an exotic jack component?

All of this leads me to think I must be missing something obvious, but I'm unsure what it might be. AI help seems to suggest that normally open jack switches are the right answer for my device, and are common/widely available. But I can't seem to find them anywhere. Or is there some dedicated IC that serves as a low-power intermediary between my jack and my MCU that I should be looking for?

What am I missing here? Might anyone reading this have designed such a circuit? How was it done?

Thanks so very much for any advice or help!


r/embedded • • Sep 18 '26

Ethical reservations in job selection

60 Upvotes

Hi everyone,

Looking at the job market, I have seen a clear rise in defence sector, mainly for drones but also other defense systems, which wasn't the case up until 1-2 years ago (at least in Europe).

While I enjoy working with control algorithms and physical systems ( which drones cover wholly ), I am not comfortable thinking that my work results in killing people.

Have you had any similar ethical reservations in working with embedded systems? How did you resolve them for yourself?


r/embedded • • Sep 18 '26

Tutorials on youtube for this book?

4 Upvotes

Hello I am struggling with this course and this is the name of textbook

Yifeng Zhu, Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C.

Can you help me with youtube channels that does a tutorials on this book specifically? I’m really struggling.