r/arduino • • 4d ago

Automatic windows

Thumbnail
gallery
108 Upvotes

Ive always wanted automatic power windows in my MX5 (Miata). There was a japanese market option for auto down on drivers side only, but the vast majority were plain old buttons, and because the favtory switches carry the full current for the window motor, they need the contacts cleaned semi regularly.

So with 4 changeover relays, a couple of current sensors and a nano mega328 based board, i now have auto up/down on both sides. It all bolts in to the factory position and there are no permanent changes made to the car.

This is my 2nd finished project, and it would not have been possible without online pcb tools and cheap pcb mabufacturing!


r/arduino • • 3d ago

Hardware Help Help:Battery voltage measurement

Post image
20 Upvotes

I am building a battery powered project and I need it to be low power. I also need to measure the battery voltage. So the way it works is that the esp is in deep sleep by default, it wakes up to do a certain function then goes back to sleep. While it is performing that function, i want to read the battery voltage.

I want to use a voltage divider with a transistor to only measure the voltage when required (to save power). The transistor will be controlled by a GPIO pin.

My problem is that the battery can be charged to 4.2v and the esp pins can only handle 3.3v. If the battery is fully charged, will this damage the ADC pin?

Note- theres arrangement to avoid this by adding an extra transistor but my space is limited so I prefer the simplest option (if possible)


r/arduino • • 3d ago

Project Update! WireTrace 2.2: the serial monitor I posted here at 1.0, seven months and a lot of Reddit suggestions later

15 Upvotes

Seven months ago I posted WireTrace here as a serial monitor with tabs, coloured levels and CSV export, and live plotting was only a plan. Since then, most of what went in came from people in threads like this telling me what got in their way. Here's where it is now.

Watching a board

Three ports in their own tabs. Levels come from what the firmware already prints, and the log is written as it runs.

Each port gets its own tab, so a sensor node and a gateway can run side by side, at any baud rate from 50 to 4,000,000. Levels are picked up from what your firmware already prints: ESP-IDF's E/W/I, Zephyr's <err>, plain [ERROR] or [WARN], or just words like "failed" and "panic". The filter only changes what you see, never what's captured, and you can mark your own words with a colour and a mark in the margin so the line you're waiting for doesn't scroll past. Colours your firmware sends with escape codes can come through too.

Getting numbers out

Values found in the board's output and plotted live, with two cursors measuring a load step.

Values are found in what the board prints (name: value pairs, comma-separated numbers or JSON) and plotted live, in the window or in a separate one. If your output is in another shape, you can describe it with a pattern. Prefix your reading lines with plt: and the rest of your log stays out of the plot. A CSV with proper columns can be written while it runs.

When the board misbehaves

The cable came out. The tab waits for the same board to come back and carries on.

Pull the cable, and the tab waits and picks the board up again when it comes back, even on a different port. If it browns out or the watchdog resets it, the restart is marked in the log, and on an ESP32 you get the reset reason. There's a HEX view for when the bytes matter more than the text, and a command line with history for talking back to the device.

The boring but important part

It tells you when there's an update, and also lets you go back to the previous version if the new one doesn't suit you. Windows installer, AppImage and .deb for Linux; Mac from source are available through the Git repository. Free and open source.

Repo and download: https://github.com/TheNuanceProject/WireTrace/ (The Windows installer isn't signed yet, so Windows warns the first time.)

The exact rules for how it reads your lines are online now, with examples for Arduino, ESP-IDF, Zephyr and plain C, after someone asked where they were written down: https://thenuanceproject.com/projects/wiretrace/formats/

Two things people have asked for that I'm thinking about next:

  1. Reopening a saved log and plotting it again afterwards
  2. Several kinds of reading lines from one port, each plotted and exported on its own

If either would change how you work, tell me how you'd use it. And if there's something you keep reaching for that isn't here, I'd like to hear that too.


r/arduino • • 4d ago

My first arduino project. I built this Aurduino Uno project by my own as a 13 year old I am a beginner in Aurduino so is this good. It took me 3 hours to build and code this. I like electronics and building projects with them as its very very intresting for me I started it as a 8 year old.

86 Upvotes

r/arduino • • 3d ago

Look what I made! Embedded Systems For Everyone.

0 Upvotes

I built my own programming language called Mello. Its syntax is inspired by MicroPython, but instead of running on an interpreter, Mello transpiles code directly into C++ for embedded systems.

But there's much more to Mello than meets the eye. Don't judge it by its cover...

GitHub: https://github.com/v3lk777-collab/Mello-Programming-Language

Feel free to leave a star on GitHub or share your feedback!

Note: English isn't my native language, so I apologize if anything I say sounds a little unusual. I appreciate your understanding.


r/arduino • • 4d ago

A smartphone powered laser turret

19 Upvotes

I built a laser turret that points at wherever I tap on a camera view.

The turret is made of 2 SG90 servos and a low power red laser module KY-008, tied together by copper wire. They're controlled by Arduino Nona through the PCA9685 extension board, which is communicating with Arduino by I2C. The Arduino is controlled by my Samsung A52 with a USB-C cable. Laser is calibrated on the fly. Everything is vibe-coded and vibe-assembled, but at least I've learned how these things work.

The best part is that everything is powered by the smartphone, with no additional power sources, so I brought the device to my peers and showed them how I control the laser through the smartphone. To achieve it I reduced the voltage that goes to the PCA9685 to barely above the point when servos stop working, because otherwise the phone says that the USB device is too powerful.

I'm planning to use the setup to detect and show mosquitoes. I know that the detection is the hardest part, and I found many projects that tried it and failed, but I hope that modern smartphones got significantly better than whatever cameras were used in those projects, so I'll try it anyway.


r/arduino • • 4d ago

Look what I made! Remember those MHz Displays on 486 PCs?

Thumbnail
gallery
45 Upvotes

I wanted to build a 4 digit 7 segment display, like the old 20 MHz upto 120 MHz PC had.

I fell into the rabbit hole and didn't use jumper, but BCD-chips (4-bit). With Bcd you don't have to switch each of the 7 segments individually, like it was done in the old PC .

Enters the ESP32 and I ruined my project ;)

I have a script running, that reads out the lowest core clock and sends it to /ttyusb0...

It is working, but I am only semi proud. 😸


r/arduino • • 3d ago

My first hardware project: a Bluetooth key with a screen that approves AI coding requests (and the screen I killed along the way)

Thumbnail
gallery
0 Upvotes

Parts: Seeed XIAO nRF52840, Waveshare 1.47" ST7789 screen (172x320), a Kailh Choc low-profile switch, a 350 mAh LiPo, all in a 3D-printed case.

What it does: my computer sends permission requests from AI coding tools (Claude Code, git push) over Bluetooth. They show up on the screen as cards. Tap approves, double-tap denies, holding opens the full request on the computer.

Things I learned the hard way: I ripped the BAT+ pad off my first XIAO by holding the iron on it too long. Bending the screen's wires right at the plug is a bad idea, so bend them a few mm out. I pressed the screen into the case too hard and cracked something inside: backlight on, permanently gray. A slow 1 MHz test sketch confirmed it was the screen and not my wiring. I also found solder bridges between neighboring XIAO pads with a meter on the resistance setting. The firmware mirrors the screen over USB serial to a web page, which saved me when the screen died, because I could still read the Bluetooth pairing code.

Code and case files (MIT): https://github.com/h-ardy/nod

Any tips for mounting a small LCD so it doesn't get crushed? I'm on case v3 now.

Also, I'm doing this for a project, and I need to get 30 sign-ups (no commitment, just "hey, this is cool"), so consider helping a fellow hardware enthusiast out: https://docs.google.com/forms/d/e/1FAIpQLSfKp-Y8i4qN-OVD9S6_ORSReaYSJef7rT_LQQQaXqxfrq6VkA/viewform?usp=header


r/arduino • • 4d ago

School Project My Arduino Mega Worktray!

Thumbnail
gallery
17 Upvotes

As a student constantly moving between labs, my classmates and I were putting our prototypes into plastic containers and carrying them around. This often resulted in potentially damaging pins, ruining circuits in our backpacks, or shaking components loose.

To address this problem, I designed these containers, and they were a huge hit with my classmates! We ended up having a ton of them in the class, and the school even offered to print them for students who wanted them for future semesters.

For those interested in the project:

It was about communicating through 2 Megas, using Keypads for passwords, inputs and a ton of different sensors.


r/arduino • • 4d ago

(Newbie) LoZ Ocarina Soundboard Keychain

Thumbnail
gallery
85 Upvotes

Found a N64 controller keychain, and decided it'd be cool to rig it up to play ocarina notes. This would be my first time doing something like this, but I thought y'all might be good judges of if it's possible and what I'd need to do it.


r/arduino • • 4d ago

Beginner's Project Smart water tank water level monitor

3 Upvotes

I'm working on a project called "Smart Water Tank: Automatic Level Monitoring and Overflow Prevention." The goal is to measure the water level in an overhead tank, turn the pump on/off automatically, and prevent overflow.

My current plan:

• Microcontroller: [Arduino Uno / ESP32 / NodeMCU]

• Sensor: [HC-SR04 / JSN-SR04T waterproof ultrasonic / float switch]

• Pump control: relay module

• Display/alerts: [LCD / buzzer / mobile app / Blynk]

My doubts:

  1. Is an ultrasonic sensor reliable inside a humid tank, or should I use float switches or a pressure sensor instead?
  2. How do I avoid false readings from ripples and condensation? Is averaging or a median filter enough?
  3. What's the best way to add a fail-safe (e.g., a second float switch as a hardware backup) in case the sensor or code fails?
  4. How should I handle relay switching safely with an AC pump (optocoupler, flyback protection, contactor)?
  5. For remote monitoring, is Wi-Fi (ESP32 + MQTT/Blynk) the better option, or something simpler?
  6. Any tips on preventing pump short-cycling (hysteresis thresholds)?

I'm a student and this is for my College. Any advice, schematics, or lessons learned would be really appreciated.


r/arduino • • 4d ago

Hardware Help Help please

Post image
10 Upvotes

Hello everyone, I am currently working on a project for our school. I am new to arduino and I am wondering on how to connect these pins to the rs485 ttl converter? Do i need to buy something else?


r/arduino • • 4d ago

Hardware Help Can I harvest a bluetooth sensor form broken wireless headphones?

2 Upvotes

Im making a smart device manager with an arrduino pico (and my computer). I have a bunch of broken headphones and I thought maybe I can use the sensor from the driver. How can I do that?


r/arduino • • 4d ago

Hardware Help Looking for a socket for Arduino nano r3

6 Upvotes

So I need a socket for the Arduino nano r3 but I don't know how big the pins are.

On the datasheet for the Arduino there is only written the pitch but not the size of the individual pin.

Previously I bought a pin strip to make a socket, but while the pitch was correct, the holes were too small and pins did not fit

Any suggestions?


r/arduino • • 5d ago

ESP32 Built my own FM radio using an ESP32, OLED display and an RDA5807

72 Upvotes

I used an RDA5807 FM receiver module, an ESP32 NodeMCU as the microcontroller, and a 128x64 OLED display for the menu and frequency display. I also added a 10k potentiometer for volume control and 5 buttons to navigate the menu and control the radio.
Everything is working as intended, and it was a fun little project to put together. Wanted to share it here


r/arduino • • 5d ago

Games Fully working pong console on Arduino UNO

Thumbnail
gallery
46 Upvotes

​I made a fully working Pong console with Arduino UNO!

Based on the "70's TV game recreation with Arduino" project by Grant Searle, which only uses an ATMEGA328.

My project is slightly modified and can be improved, for example, the potentiometers required for the original project were linear 47K, but I used two linear 10k, and the resistor on the video line should be 470 Ω, but I used a 390 Ω. The original project also uses paddles, but I don't have them right now and I preferred not to use them (same thing for the potentiometers and the resistor)

Unfortunately, the website where I found the original project is no longer available, and I can't actually share it (the original author's name was Grant Searle)


r/arduino • • 5d ago

Hardware Help Can the ESP8266-01 be used as a WiFi adapter for arduino uno and Mega?

Post image
67 Upvotes

Hi there, non-expert hobbyist here.

I'm replacing all my escape room electronics with ESP32s to get them on an MQTT nodeRED backend, its been going great but some of the projects use a ridiculous amount of pins (Mega 2560s) and I have boxes of perfectly good Unos that I want to use, rather than throw away

Ive searched on reddit and most responses are just "buy more esp32s" but I like to use the stuff I already have. Ive seen posts saying esp8266-01s were made for this kind of stuff, I've seen posts saying its not worth the hassle.

Would I use UART? Does it use the pins? Whats people's experience of this?

When i google "arduino wifi module" it either suggests I buy WiFi compatible arduinos, or packs of 10 esp8266s!


r/arduino • • 6d ago Bravo

I Hid an ESP32 and 7 Hall Effect Sensors Inside a 3D Printed Pillbox to Check if Grandma Took Her Pills

4.7k Upvotes

My grandma takes a lot of medication throughout the day, and when everyone is at work nobody can double check whether she took the right pills at the right time. So I made a pillbox that looks like an ordinary plastic box, but knows when each of its lids has been opened.

There is no screen, no LEDs and no buttons on purpose, she shouldn't even know there are electronics inside. Each lid has a small magnet on it, and behind a thin plastic wall there is a long thin PCB with 7 hall effect sensors, one for each day of the week, and a XIAO ESP32-C3. The ESP32 hosts a small web dashboard on the local network where you can see the lids live, set up the schedule and check the history. In the video you can see the dashboard on the laptop behind picking up every lid I open.

The enclosure is 3D printed, and the clear lids are cut out of a 4 mm polycarbonate sheet. Funny enough, it ended up looking really close to the sketches I drew for it back in 2023.

It is a V0 and definitely not a medical device, it can only tell that a lid was opened, not that the pill was actually taken. That part is next on the list!

I documented the whole build, including the mistakes I made on the PCB, in a video for element14 presents: https://www.youtube.com/watch?v=0s0xqveTLLo

The whole thing is open-source, so the PCB files, CAD files, firmware and the dashboard are all on GitHub: https://github.com/MilosRasic98/EasyPillV0


r/arduino • • 5d ago

Hardware Help Is this Arduino Uno R3 genuine?

Thumbnail
gallery
44 Upvotes

So i bought this Arduino Uno R3 for 400 Turkish Liras around 7-8 US Dollars. and nee genuine ones are here around 1500-2000 Turkish Liras around 30-40 US dollars

Seller said to me its a genuine one and he sent me a video showing that it appeared directly without needing a driver.

Yesterday when i surfing the net i saw a Arduino Uno R3 dip clone and it was exactly looking like i bought so i started to suspect that i bought a clone one so I came here to help.

Its been 5 days since i bought it. I think i can still return it if i cant that no problem because i dont need to install the drivers at least

I included a photo of the USB port because the AI told me I could also check if it was genuine via the USB port.


r/arduino • • 5d ago

Look what I made! I Built a Guitar from 13 Open Sauce Badges (Arduino MKR Zero derivatives)

74 Upvotes

I turned 13 Open Sauce badges into a fully playable guitar for Defcon. Each badge has 6 capacitive touch sensor, and someone mentioned it looked like a guitar fret, so I had to do it. Was able to repurpose the SAO port I2C lines for communication between all of them, and all of their buzzers for polyphony.


r/arduino • • 5d ago

IP68 Servo Recommendations

3 Upvotes

I'm working on a design project with an Arduino, which requires a servo to be constantly submerged in water. My searches for IP68 servos have yielded very little so far, mainly IP67 servos or industrial servos that are way too large and too expensive. Does anyone have any recommendations for IP68 servos (or otherwise waterproof) servos that are of a reasonable size (and hopefully reasonable cost)?


r/arduino • • 5d ago

Look what I made! I used AI to bring back my old development board

10 Upvotes

Hi 😀
I hope it’s not against the rules to share and experiment, please let me know otherwise

I had a board, an lpc1768 development board from a Chinese brand called landtiger. I bought it many years ago. It’s not produced anymore, and it’s hard to find its documentation online.

I ran an experiment last night by connecting it to my laptop and a webcam on top of it so Claude can see it. Then I ask Claude to try to identify it and install any tools required to program it and to my surprise it did actually manage to do it.

Here is a video I made about it.
https://youtu.be/MugETALPPXw

Let me know what you think 😀


r/arduino • • 5d ago

Hardware Help can arduino nano handle 5 channel midi over trs?

5 Upvotes

so i’m building a 16 knob midi controller with midi out through trs for my sp404 effects over midi - i’ve read through the documentation and i’ve done a few tests with 4 potentiometers over 1 midi channel out and they work okay.

since my sp404mk2 takes midi in over 5 different channels for the effects, i just want to know if the arduino nano can handle sending out midi CC information over 5 midi channels at one time while waiting for parts to arrive - will it have latency issues / have mismatches over the different midi channels?

for more info i’ll be using the nanos with the atmega32 chips and also connecting the pots over a 16 channel multiplexer the CD4067


r/arduino • • 6d ago

I built a pixel art robot (P.A.R.) by flipping 666 square discs (squisks) one at a time (you can submit art!)

33 Upvotes

Submit art at par.zimmzimm.com/upload

More info at par.zimmzimm.com

P.A.R. was featured on the arduino blog! https://blog.arduino.cc/2026/08/31/p-a-r-is-a-flip-squisk-display-that-draws-your-pixel-art/

Some other outlets also featured this project. par.zimmzimm.com/news

Quick rundown of how it works:

CNC: Standard belts and pulleys, NEMA steppers, an arduino mega with a CNC shield for control

Frame: Electrical conduit because it's cheap and easy to get

Flipper: Just a small servo with a linearly moving pin on it.

Brains: an Arduino Nano esp32 which fetches the bitmaps from the server, does all of the calculations and such, and sends gcode to the CNC shield arduino mega.

Grid: 666 3D-printed square discs (squisks), cyan on one side and black on the other.

Color sensor: On the head along with the flipper, there is a TCS3200 color sensor. The color sensor is to detect which color it is. Its consistency and accuracy were big issues until I designed a mount for four switchable blue LEDs that point at a single squisk. It flashes them on and off 3 times and takes a measurement every time, then averages and on vs off scores and subtracts the off reading from the on one. This method cancels out all sunlight and provides much cleaner separation with practically 100% acc.

LiDAR: The toolhead also has a ToF LiDAR sensor that scans each squisk to see how far away they are at the start of every day. Then it models the squisk positions as points along a bent rod (which they are) to filter out noise from the LiDAR, and uses those distances to adjust how far out the flipper pin goes when flipping.

Questions about it are invited.