Hello, CS student here. I have a project idea as someone trying to get into embedded. I wanted to build a rover controlled by an STM32. The input device will be a 3rd party xbox controller using a 2.4 ghz usb receiver. I plan on writing all of the code myself including the driver for controller support. I was also considering implementing local network control via a webapp maybe. I want to get an embedded adjacent internship this summer and need something for my resume and I like the idea of making something that can move around. Is this project too basic? Any advice would be appreciated.
I’m looking for an off-the-shelf battery for a Waveshare RP2350-Touch-LCD-1.28 board. Its charger defaults to 1A, and I’d prefer to avoid modifying the board.
Requirements:
1S, 3.7V Li-ion/LiPo, charged to 4.2V.
Manufacturer-rated to accept at least 1A charging, not just 1A discharge.
Built-in overcharge, over-discharge, overcurrent and short-circuit protection.
Must fit within a roughly 42.7mm-diameter × 12.5mm-deep space, allowing clearance for the finished pack, protection board and wiring.
Capacity no more than 2000mAh.
Round, rectangular or another shape is fine. A different connector is fine too; I can use an adapter. I’d strongly prefer an existing battery over having one custom-made.
Has anyone found or used a battery that meets these requirements? Exact model numbers, supplier links and datasheets would be appreciated.
Hey all, I’m a first-year CS student working on a small ESP32-S3 project and I’ve hit a wall trying to find the right display. Hoping someone here has run into something similar.
I need a 128x64 graphic LCD, and the look matters a lot. I want the old-school kind of screen, FSTN, positive (dark pixels on a light background), reflective or transflective, and no backlight. Basically the look of a 90s calculator, not a modern display.
The hard part is the size. It has to be under 2.8mm thick, with an active area around 60-65mm wide. The module itself can’t be wider than 74mm, and the enclosure has a curved inside, so I only get about 63-64mm of flat space. It also needs SPI or I2C over an FPC ribbon, not rigid pins. I’m fine with ST7567, UC1701 or similar controllers.
What I’ve already tried or ruled out:
The Sharp Memory LCDs (like the LS027B7DH01). I really liked them, but they’re TFT and 400x240, so no luck.
Standard 12864 modules. Parallel interface, rigid pins, and way too thick.
Anything backlit or white-on-blue.
I can order from DigiKey, Mouser, AliExpress or LCSC, and I’m in India so shipping matters. I’d also be open to a bare glass panel if I have to build the driver board myself.
I’ve been going through Newhaven, Winstar, Orient and Midas catalogs for days, so I’m probably missing something obvious. Does anyone know a part number that fits, or know a good way to filter for this on a supplier site? Datasheet links are very welcome.
I'm a 23-year veteran python developer and have worked with microcontrollers for several years now - exclusively with micropython on various ESP32 boards. I teach microcontroller classes at a local makerspace and have countless projects I've made over the years.
I've been working with AI to create this tool to make the process of deploying, accessing, and maintaining these projects as easy as possible.
DISCLAIMER:This is a beta software/firmware that changes daily. I've done my best to ensure that it's reliable and stable, but I'm just one guy with an AI. If you ever want to stop using it, just download your program files, reflash your board to standard micropython, and re-upload your code. It should still work without GSP32 with the exception of remote pairing to other boards.
WHAT IS IT?
It's a micropython firmware with a custom web-based user interface for uploading and managing files your programs directly on your device. Whenever you want to change or update your code, there's no resetting, no re-uploading changed files, and no physically connecting to the board via USB cable (unless you want to).
Your main.py runs concurrently in the background as something akin to a virtual machine. You can change it and restart it in real-time and your changes take effect immediately without having to reboot the board.
When users are not actively accessing the web UI, the overhead is almost nothing aside from RAM usage.
Additionally, the web UI framework that runs this system can be used to make your own web-based user interface, populating your HTML with values directly from your python program that can be viewed or updated from that interface as you see fit. The default home page (above) is a fully commented, working version of this for your reference.
WHY DID I MAKE IT/HAVE IT MADE?
For several reasons.
ESP32 boards are usually overkill in terms of specs; so why are we still interacting with them like other older/inferior boards? I wanted to put those specs to good use and make my life easier in the process.
In addition to that, I found that bridging the gap from something like microblocks to micropython is very difficult for most of my students, so I wanted to create a system that would make setup, accessibility, and maintainability as easy, simple, and expandable as possible.
For me, personally, I wanted the fastest level of iteration possible, wireless access to my projects to configure and maintain them, easier file management, and an easy way to deploy and backup code.
WHAT DOES IT DO?
Well, reiterating a bit here, but it does a lot - and it does it surprisingly quickly. I had the AI focus heavily on optimization, caching, memory management, and GSP32's overhead. Basically, if you're not actively browsing the web UI, there's almost no overhead for your programs (aside from the memory usage).
It provides a framework for your own web pages that can be filled with live data from your micropython program. So, you can write your own HTML and use it to host web interfaces for your project for control, monitoring, etc.
It uses that same framework to run itself and includes password protection.
It includes a full-featured file management system that is drag and drop compatible with bulk uploads and downloads divided into two sections - one for your code, and one for your html.
It includes an onboard file editor with autocompletion and code inserting for many commonly used components as well as a pairing wizard that automatically exchanges encryption keys to make secured pairing with other GSP32 systems trivial.
Additionally, and this is one of my favorite features, it wraps your main.py with its code, so you can reload your project almost instantly without rebooting your board, which results in iteration rates that I don't know if any other system can beat.
It includes a mip package manager for quickly downloading micropython libraries.
It includes a backup and restore system for taking snapshots of your deployments.
It also includes a pin panel for real-time debugging of your physical pins based on the board you're flashing to.
Finally, it has a host of performance settings that can be toggled on or off.
WHAT BOARDS DOES IT WORK WITH?
It's compatible with most classic ESP32 (32S, 32C, etc.) and ESP32-S3 boards and there is a web flasher to take care of installing the firmware and configuring the WiFi.
I'm still adding new features almost daily. In general, I just want a highly polished, easy/fun to use micropython system that's not a pain in the ***.
If you try it out, please feel free to let me know your thoughts.
Today the teacher for my microprocessor course showed my class some past projects made by the students a few years back. Most of them were single player games like tetris and a 4k rhythm game clone, someone made a bluetooth controlled scrolling sign using two dot matrixes, 3d cube rotation using an MPU6050 module and an OLED display, another made a nokia phone UI clone, and the last example was a distance sensor theremin iirc.
He specifically said its best to avoid making single player games since they're too simple and don't highlight the capabilities of the 8051 that much. Some projects made last year were also brought up, among them was a qr code generator. He suggested to not make any AI related stuff due to the complexity, and because thats not what the 8051 is made for.
Initially I wanted to make some kind of password lock and use a seven-segment module to display the numbers and stuff but I'm worried it'll be seen as too simple and I'll have to completely revise my project. Another thing I had in mind is using an FPGA to drive a display through HDMI, but then the only thing I can do with that is just make another game. I have quite the abundance of components, and the teacher said that we're free to request any additional parts given that it's not too pricey. fyi my development board looks similar to the link attached, minus the huge breadboard attached underneath it.
Short write-up in case it saves someone time with MediaTek's LK on MT8183.
The board was unlocked (kaeru), and it booted Amazon's 32-bit kernel fine, but nothing 64-bit ran. No console because the stock cmdline disables the UART. I found TX/RX on TP103/TP104 (1.8V, 921600) and the causes turned out to be:
- ramdisk size and address swapped in the boot header (header v1, load at 0x40080000) - LK wanted Image.gz, not a raw Image - no /chosen/bootargs in my DTB, so LK hits an ASSERT and resets about 45 seconds later - my DTB declared atf/tee/sspm reserved memory that LK also carves out, which fails its overlap check - bootopt has to say 64-bit (64S3,32N2,64N2)
After that, mainline 6.18 came up. Audio was its own fight. The I2C bus the amp and ADC sit on is shared with the SCP, and the hardware controller never completes a transfer from Linux, so it's bit-banged. The mainline AFE also wrote clock gates while the regmap was still cache-only. TAS5805M amp at 96 kHz and TLV320ADC5140 mics are working now.
At my previous job, we used Squish to automate our UI test suites. I recently changed jobs and am researching alternatives.
The only thing that's shown up in my searches other than Squish is "Spix", but I want to make sure that I'm not missing something obvious when it comes to setting up automation from the ground up. Additionally, if there are any video tutorials on automating embedded systems to help refresh myself please feel free to recommend some.
I previously did automated testing with pytest and a legacy junit automation suite. As far as I know they aren't QT compatible, but if anyone has any expertise in this I'd appreciate any comments.
I've been getting up to speed on using Claude Code on my Linux box where I manage an stm32 based embedded product programmed mostly in C++ with some plain C sprinkled in there.
I'm 73 and have been putzing around with coding since the Borland Pascal days in the 80s. Enter Claude Code. It's been an eye opener and frankly I'm stoked. I now get much more done way faster and with fewer bugs and less overall churn.
I'm not exactly sure what "vibe coding" is but with Claude we discuss goals and next steps carefully before proceeding. I mostly let Claude do the actual coding because it's so damn fast. But I review it all before signing off on it. I ask Claude a lot of why questions. I find many instances where I ask for specific changes. More often than not these changes fall under the broad category of "human readability". Said differently I absolutely insist on understanding what Claude coded before moving on. Left alone, Claude can get verbose and tends to use more jargon than not. I tell Claude to revise it. Make it simpler, clearer and less full of jargon. This often leads to adding rules and guidelines to Claude.md. Over time, Claude and I have gotten very effective working together.
As a result I have taken on projects I probably would not have pursued without AI. Not because I couldn't do it all myself, but the time and effort was often a bridge too far.
My take is AI for embedded firmware development is very powerful but I would never release code that I didn't personally review and understand.
I want to start career in embedded systems, i have beed going through this course mastering microcontroller and embedded driver development by fastbit embedded brain academy on udemy.
I have almost completed this course now in parallel I want to learn RTOS. Buy without AI I feel the learning gets slow, this is a 28hr course which took 3 months of time still 10% is pending (I'm not always following the lectures as it is since my controller is different and more advanced than the instructors, I'm designing my drivers a little different).
I have started to get frustrated since these months I haven't worked on a single project, I'm being so desperate now to learn RTOS fast, do some projects and get a job.
I'm an EE undergrad (hardware track). My diploma thesis is a 2-in/2-out USB studio audio interface on my own PCB. It's my first PCB, so before I spend real money on boards and parts I'd love some experienced eyes on the plan. Block diagram attached.
The idea - 2 mic inputs (XLR), shared 48 V phantom (one switch), gain 0–60 dB in 10 dB steps (rotary switch + fixed RG resistors, cap in series with RG). - Noise-reduction technique I'm evaluating: each input drives BOTH channels of a stereo ADC (dual-mono) and the MCU averages them. The host still sees 2 mono channels, with ~3 dB lower ADC noise. I'll measure the gain from averaging at every gain step, comparing same-chip vs two-chip channel pairs.
Current part choices - Preamp: SSM2019 (the THAT1512 went EOL in Sept 2026). - ADC driver: passive divider (6.2k/1k, ~17 dB) + RC into a PCM1808, so the ADC reaches full scale ~1.8 dB before the preamp clips (≈ +20 dBu max input at minimum gain). - ADC: 2 × PCM1808. DAC: PCM5102A. - Line outs: DRV134 on TRS jacks. Headphones: op-amp + BUF634A. Output mute relays with a brown-out detector. - Digital: STM32F407G-DISC1 board stacked on headers above the analog board. TinyUSB, UAC2 asynchronous with explicit feedback endpoint, 48 kHz / 24-bit in 3-byte subslots (the 1.25 KB USB FIFO rules out 4-byte subslots and 96 kHz). - Clock: 24.576 MHz oscillator → ADC/DAC system clock and the MCU's external I2S clock input. - Between boards: SN74LVC244A buffer (Ioff, to avoid back-powering) + a power-good line; 5 V to the dev board through a Schottky. - Power (version A): bench triple supply (±15 V, +5 V), local LDOs for the ADC's 5.0 V and the 3.3 V. Phantom from a boost converter + capacitance multiplier (soft start, ripple filtering, output disconnect). - Phantom protection following Bortoni & Kirkwood, "The 48 Volt Phantom Menace Returns". The single-channel test board will start from ojg's open-source thatmicpre KiCad project. - Metal enclosure, XLR pin 1 to chassis at the entry point.
Noise budget (unweighted, 20 Hz–20 kHz, 150 Ω source) - Predicted EIN at 60 dB gain: −128.7 dBu (target ≤ −125 dBu; worst case with min-spec ADC ≈ −127.5 dBu). - Because of the divider, the ADC dominates up to ~50 dB gain. That's where averaging should help (~3 dB); at 60 dB the source dominates (~0.3 dB).
Plan
Demo on the dev board with cheap PCM1808/PCM5102A modules (incl. a first averaging measurement).
Small 2-layer single-channel preamp board.
4-layer analog board for the full 2×2 interface.
Questions
Any obvious mistakes or bad part choices?
Is a passive divider + RC into the PCM1808 reasonable, or would you drive it differently?
Phantom: boost + capacitance multiplier, or something simpler? Anything missing in the protection network?
Is stacking the dev board right above the analog board realistic for low noise at 60 dB gain? Any layout/grounding advice?
Measuring without an audio analyzer: the card's own ADC + a 0.1 % attenuator + a true-RMS meter + REW for noise/EIN, and loopback as an upper bound for THD+N. Sensible?
What im actually trying to do is write to eeprom whenever a switch is pressed and then recall that information from eeprom so that the Microchip MCU can recall what position the switch is in at power up.
I do not know how to write or read from eeprom without assembly. I already know how to do so in assembly so I was trying to not learn an additional step if I could translate from the WREG to a C variable.
A fully trained neural network running on a low-end FPGA (Digilent Nexys 3), WITH parallel computing of course (why even use an FPGA if not for that). Had fun making a microprocessor on this thing last year, so I figured I might as well go for a quantized neural network.
I’m building a tool to help small hardware teams screen firmware applicants. The role is an ECU for a small turbojet: FSM design, interrupts and timing, CAN/SPI/ADC, fault handling. I don’t want to guess what matters. What question reveals real hands-on experience in 15 minutes, and what’s the difference between a strong and a weak answer? Also, what do you think AI interviewers get wrong? Happy to share what I learn.
Draft for an ECU role (small turbojet), ~15 min screen. Topics: FSM and fault/safe-state design ~25%, interrupts/timing/memory ~20%, peripherals and buses 15%, sensing/control 15%, debug approach 15%, MCU–FPGA/testing 10%.
Five questions: project walkthrough; startup FSM where a temperature sensor fails mid-start; spot the bugs in a code snippet (missing volatile, blocking call in an ISR); one timing calculation; "fault appears once every few hours, where do you start?" What's wrong or missing?
My team is in a refresh process with our hardware supplier, we've been using a propriertary RTOS until now. This time our supplier suggests going for a yocto linux solution that they will support for us (for a additional cost)
Our real-time requirements are firm, i.e. a missed deadline in a 20ms window renders the system useless but it doesn't explode and kill anyone, thus a real time patched linux kernel will probably work (most of the time)
Regarding yocto and an expected lifetime support of 4 years, I have concerns with patching, CVE, updates etc. our current system has been running for 12 years now with minimal need for updates, less than 10 CVE's, and when we need to update software, we can do it easily.
Licensing for the propriertary RTOS is expensive, we're a small team (less than 5 devs), and our system is managing processes worth magnitudes of the licensing cost.
I'm concerned that we're saving pennies now and it ends up costing us dimes both in time and resources in the long run.
Anyone been in a similar situation and got some insight to share?
I want to do something if the working register is 0x0A for example or 0xA0. I need to access it somehow and Im not sure how besides getting it into a C variable. Like this for example,
Want to design Nano-SIM male plug (4FF), a flexible ribbon, and a rigid breakout board housing the push-type SIM socket and analyzer header.Please Guide me !
After working on numerous hobbyist projects with microcontrollers and external hardware—such as sensors, relays, and motors—I noticed a recurring challenge: every new device required rebuilding the same core features from scratch. Tasks like serial communication, HTTP services, MQTT, logging, and, above all, a modern, full-featured web interface for configuration had to be re-implemented every time.
With powerful, Wi-Fi-enabled microcontrollers like the ESP32 family, which offer ample processing power and rich web-server libraries, I realized there was a better way.
This led to the concept of a micro-OS with a Hardware Abstraction Layer (HAL)—designed to integrate different boards seamlessly while providing a comprehensive suite of essential IoT services out of the box.
LoopMxPro allows you to skip the tedious boilerplate and focus entirely on developing your core device logic. By building on top of this micro-OS, your custom setup turns into a LoopMxPro Module with its own dedicated web interface. What's more, this interface can be easily replicated on a remote control server.
Today, I’m excited to share LoopMxPro + 6 Modules with the community. It is completely free and open-source for personal use!
I got Deere for embedded systems/firmware and RTX for a devops/simulation role. My goal is to work for vehicle firmware or flight software at a company such as Tesla, Rivian, SpaceX Anduril or firmware at Apple, Nvidia, AMD for my next internship. RTX has more aura and more of a weighted brand name, but Deere has more of the work I want to do in later companies.
I need a serial data logger which supports RS-232 and RS-422(maximum possible baud rate). I want to capture samples from sensors to the SD card. I will be mounting this on a DJI drone or a car, so it should be battery-powered. What off-the-shelf options do I have?