r/embedded • • 21h ago

Honest question about vibe coding in embedded

52 Upvotes

I know this sub is pretty skeptical of vibe coding, and I get why. But I'd like to hear the actual reasons, not just "it's garbage."

I work in embedded, and lately I've been using AI for quick side projects and prototypes, like ESP32 stuff and Zephyr configs. For that it's honestly saved me a lot of time. I wouldn't trust it with production firmware right now, but I don't think it's useless either, and it's not going away.

So where has it burned you? Made up registers, timing bugs, code nobody on the team understood?

And is there anything you do use it for?


r/embedded • • 2h ago

Not another square LED matrix! 👀

26 Upvotes

I've added a new horizontal LED bar to my setup alongside the usual square LED panel.

square matrices are everywhere, but I rarely see this kind of horizontal LED display. I think it opens up some interesting possibilities for animations and visual effects.

what do you think? Any cool ideas for what I should make it do?

will add some more shorts this weekend~~


r/embedded • • 13h ago

Ways to serialize and send data from device to host

7 Upvotes

How do people serialize/deserialize data coming from a microcontroller? I have a project with a Pi Pico that samples three force-sensing resistors 60 times per second. The Pico uses these readings to determine whether a given sensor is being pressed. I want to stream the raw samples and sensor status to my host over USB serial and have a web application read and display this data.

I'm wondering how to serialize this data. I'm thinking I that I can either send a bunch of values separated by spaces like  `[raw1 raw2 raw3 pressed1 pressed2 pressed3]` or send it as JSON, which would be easy to parse from the web application. However, representing this data in ASCII feels a little wasteful of space, so I was wondering if there are any alternative schemes/methods commonly used in embedded systems for sending data.


r/embedded • • 2h ago

ISO 15118-20 becomes mandatory for new and renovated EU charge points on January 1. What are you checking before then?

3 Upvotes

From 1 January 2027, AFIR requires newly installed and renovated charging points in the EU, public and private, to support ISO 15118-20, the standard for how a car and a charger talk to each other.

Things that seem worth checking before then:

- which of your chargers fall in scope, since the exact boundaries of the rule are still being debated
- whether your charge controllers support powerline communication, which ISO 15118 runs on
- whether your firmware can be updated remotely
- whether your CSMS can handle Plug & Charge certificates over OCPP 2.0.1, if you plan to offer it
- what test logs and reports you’ll keep as evidence, since official ISO 15118-20 test plans for AC chargers aren’t out yet

What’s missing from this list?


r/embedded • • 13h ago

Making an f-91w smartwatch mod, need advice on circuit design

3 Upvotes

Hi all,

I'm currently designing an F-91W smartwatch board to replace the original Casio module that comes with the watch. I've spent a lot of time selecting components, seeing what fits and what doesn't fit and settled on an MSPM0L2117 and the DA14535 for Bluetooth (and other IC's for other features). This is my first time designing my own custom PCB so it's taken me quite a lot of time and lots of failed attempts (realising all the components wont fit) to get to this point.

I just started placing the traces on the board, only to find out that it will absolutely not fit with my current configuration. I've tried many other configurations too but none seem to leave enough room, although I am very inexperienced in this subject so I figured I would ask here for some advice.

I'm planning on using JLCPCB to manufacture and assemble the board but I am open to other manufacturers if they are also cheap/good. I don't want to use HDI as that jumps the price from $40 AUD to $200 AUD, and I am not prepared to spend that kind of money, let alone for a prototype that I am not even sure will work in the first place.

I am happy to swap out components (ideally not the MSPM0 unless there is a more capable variant or MSP430 variant). I would like some form of wireless connectivity, ideally BLE but happy with anything else.

What I don't want to do is to copy something like the pluto watch and use IR (unless I have no other choice) or the olleewatch and use the same STM32 chip. I want this to be my own project and not a remake/copy of an existing one, even though I have taken inspiration from both projects.

Here is a link to the pcb files:
https://gitlab.com/unodeaj05/swagrat-f91w/-/tree/main/pcb/swagrat

Starting to get a little demotivated, but I want to see this through and prove to myself that I can do this. Also feel free to drop any other advice! I have experience using microcontrollers and designing stuff on breadboards, but never made my own pcb before so I have gone in blind here.

Happy to answer any questions you may have, or provide more info if needed.


r/embedded • • 12m ago

What is the current state of the Embedded job market in Europe? How to get the first job for a CS student from Ukraine?

1 Upvotes

Hey guys! I'd like to get some advice or context from people who are familiar with the Embedded job market in Europe. About me: 18 y.o. male, live in Ukraine, 2-nd year Computer Science student, have some experience building IoT devices on my own, currently working as a Full-Stack developer. I'm considering switching to Embedded Engineering because it seems more interesting than my current job, as most tasks in Web-Dev can be automated with AI.

So, I want to know: what are the chances of getting the first job in Embedded in Europe, and European Union in particular? Are there any entry- or mid-level jobs beyond internships available to people like me? Also, I was wandering about getting certifications or taking part in hackathons. Can it help me stand out among other candidates with little-to-no experience when applying to jobs? Since I'm on online education, it's not a problem for me to study and work on a full-time job at the same time.

I'd also like to hear some advice on what domains are the best to start in. I saw a comment from some guy on Reddit that defense/aerospace jobs can pay high. However, I also heard that to work on this kind of positions you usually need a security clearance. It must be quite hard to get though, maybe even as hard as getting a citizenship. That being said, are there any companies I can get hired in with just a work VISA and ongoing university degree?

Another thing that interests me is how many startups need Embedded engineers nowadays? It seems like startup products that are based on embedded systems are substantially more rare than any other kinds of startup products, since it's easier to vibe-code a SaaS than to work with physical devices. What platforms post more jobs in startup companies that operate with embedded systems beside regular software?

At last, what tools and technologies are worth learning to get prepared for work in Embedded? I heard about STM32 microcontrollers, single-board computers that support Embedded Linux, different communication protocols, testing frameworks, real-time operating systems, sensors, etc, but I'm not sure what of these are used on what types of jobs. It seems like you probably need to know some fundamentals and be confident with the most popular tools, but you'll probably need to learn much more after getting hired for a specific commercial project.


r/embedded • • 9h ago

How does SJW actually work in CAN bit timing? Is the correction always SJW, or just the measured phase error?

1 Upvotes

In CAN soft synchronization, we shorten or lengthen Phase Segment 1 and Phase Segment 2 depending on whether the edge arrives early or late. What I’m wondering is this: does the shortening or lengthening always have to be exactly SJW, or is it equal to however large the delay actually is? Let’s say we set SJW to 2 tq and each tq lasts 50 ns, and one node’s clock runs faster than the other’s. How does synchronization work in that case? I don’t really understand how SJW works.

Also, in this case, can the corrections only be 50 ns or 100 ns? Or if, say, a 10 ns drift has built up after 10 bits, is the bit timing adjusted by exactly 10 ns to match it?


r/embedded • • 16h ago

Anyone here actually used OSM or SMARC modules in production?

1 Upvotes

Been looking at OSM and SMARC for a couple of projects instead of a fully custom board. Curious if anyone here has actually shipped something with either.

  • Did it actually save dev time, or did you still fight the carrier board design?
  • OSM is soldered, SMARC is pluggable — how's rework/replacement in practice?
  • How easy is it really to swap vendors or upgrade the module without respinning the carrier?

Low-to-mid volume here (hundreds to low thousands/year), so long-term availability matters more than raw performance. Would love to hear good or bad experiences.


r/embedded • • 21h ago

Help looking for a camera module please

1 Upvotes

I’m looking for a cheap camera module that can also be used to detect motion. Not ESP32 though. I’m not hire at the technical level to find one but was hoping online here might know. Also….nothing too expensive. I assume I can’t find one for $7 but as close as possible?


r/embedded • • 2h ago

Is it possible to get pigeonholed from working in one layer of the Embedded software stack for too long?

0 Upvotes

To me, it seems like the engineers who work on all the layer (whether simultaneously or just over their years of experience) are some of the most competent devs I've met. However, I've been working only on the application layer (bridging high level functionality to requirements) for close to 7 years now...it makes me very nervous seeing how I really have not done more work on low-level code. I don't have opportunities to do it at my job but I'm wondering if theres a way for me to transition more to BSP / HAL development.


r/embedded • • 3h ago

Built a Harry Potter-inspired game on an ESP32 to play with family

0 Upvotes

6.2 Astra came out yesterday, and I missed most of it because I was busy building LEGO :)). The HBO series coming on December 25 woke up my old Harry Potter love, so tonight was a LEGO night.

Once the set was done, we wanted to play a game too, and I also wanted to test 6.2 Astra. Getting the model to build a browser game would have been too easy, so I picked a tiny device instead.

The game is a small flying car game. You tap to fly and tilt the device to steer into gold rings. The video shows it running on the device.

The result was good and we enjoyed playing with it.

New hobby unlocked:

build lego
build game

Repo in case someone asks: https://github.com/baturyilmaz/flying-anglia


r/embedded • • 4h ago

Is a master on artificial intelligence worth it?

0 Upvotes

I don't know if I can really discover decent roles on all this ML engineering part of IT, or should I just say that specialization on ML/AI is not really safe having in mind LLMs advancements , and maybe I should pursue something more hardware oriented like Embedded systems? I want something where creativity is rewarded.


r/embedded • • 4h ago

Cooja-NG: The open-source simulator that runs real Zephyr, RIOT, OpenThread and Contiki-NG firmware in one 802.15.4 network (runs in your browser too)

0 Upvotes

Hi r/embedded, we've been working on Cooja-NG, a network simulator that runs the same firmware image you'd flash: unmodified Zephyr, RIOT, OpenThread and Contiki-NG builds on emulated nRF52840, CC2538, CC13x2 and MSP430 boards, from the CPU and peripherals up to the radio chip, all in one simulated IEEE 802.15.4 network.

Some things you can do:

- cngsim run build/zephyr/zephyr.elf: your own west build output; it reads the board from the build directory
- mix OSes: a Zephyr node answering a Contiki-NG node, or a RIOT node joining a Contiki-NG RPL network
- a Thread network of CC2538s from OpenThread's own ot-cli-ftd, typing state / router table into each node's console
- the same seed gives the same run, byte for byte, so it works as a test in CI (every run ends PASSED or FAILED, exit code 0 or 1)

Try it in the browser, no install: https://mikroverk.github.io/cooja-ng/
Code and releases (macOS and Linux): https://github.com/mikroverk/cooja-ng

A first read for Zephyr, RIOT and OpenThread users: https://github.com/mikroverk/cooja-ng/blob/main/docs/zephyr-riot-openthread.md

Short "commercial" video: https://www.youtube.com/watch?v=A9dHKvVhu1k (80 seconds)

Honest limits: Zephyr, RIOT and OpenThread support is newer than Contiki-NG's. It's 802.15.4 only, with no Bluetooth LE yet, and OpenThread on the nRF52840 runs at about real time or below, because its main loop never sleeps.

I'd love feedback, especially on what boards and samples you'd want next, and on anything that breaks with your own builds.


r/embedded • • 5h ago

I am building a visual MCU configurator, currently supporting STM32.

0 Upvotes

I am building an application that enables Model-Based Design to develop drivers and MCALs. The application takes your MCU documentation, processes it to completely build an MCU so that requirements like multiplexing or data caching do not make you go through the documentation for hours. We are integrating an autoconfigurator, a chess-engine-like system on this model, to help you find the best approach for your requirements.

We are still prototyping this, but as of now, we have built our application to construct this 3D interactive model of an MCU from documentation; we are integrating the autoconfigurator. The intention is to reduce the time we spend going through documentation to find that one bug that keeps us awake at night. The application should ideally construct any MCU if the documentation is provided.

I will soon upload a video of this application in action. In the meantime, if anyone has any questions or pointers I should keep in mind while building this application, please do share them. I am also looking for engineers who are open to testing this in their projects to give me feedback.


r/embedded • • 4h ago

Data engineering vs Embedded systems vs software architecture vs Compiler Engineering

0 Upvotes

Which one is the best from your perspective? For me, those options are somehow resistant in this AI context.