r/arduino • • Sep 08 '26

Look what I made! Portable mmWave Radar

72 Upvotes

M5Stack AtomS3 Lite + RD-03D mmWave

So i have a bunch of friends who are into airsoft and have been slowly brainstorming on how to design a portable radar with an alarm for airsoft players.
So heres where im at.

The main Arduino libraries are:

#include <WiFi.h>
#include <WebServer.h>
#include <WebSocketsServer.h>
#include <DNSServer.h>
#include <RD03D.h>

WiFi.h handles the AtomS3 Lite access point.
WebServer.h hosts the captive portal.
WebSocketsServer.h continuously pushes target coordinates to the phonee
DNSServer.h redirects requests to the captive portal.
RD03D.h handles communication with the RD-03D radar.

Wiring:

AtomS3 Lite’s HY2.0 connector for UART:

RD-03D AtomS3 Lite

5V -------> 5V
GND -------> GND
TX -------> GPIO1
RX <------- GPIO2
UART initialization:
const int RAD_RX_PIN = 1;
const int RAD_TX_PIN = 2;

And im really curious if anyone else has any good ideas to add to this with the airsoft community in mind?


r/arduino • • Sep 09 '26

Getting Started Best arduino (or not) starter kit to buy

9 Upvotes

I have knowledge of circuits and a bunch of math, but I haven't built any of my own projects. I'm looking to buy some hardware to start building some projects. Any part recommendations?

Edit: I've ordered this from amazon https://www.amazon.com/ELEGOO-Project-Tutorial-Controller-Projects/dp/B01D8KOZF4?psc=1


r/arduino • • Sep 09 '26

Hardware Help I am making a robotic arm and need steppers

4 Upvotes

I’m wanting to buy around 4 steppers and i need them to be relatively cheap and small. I was wondering about using the Nema 17 but it’s a bit too big. Does anyone have any suggestions?


r/arduino • • Sep 08 '26

Look what I made! small weather house

Thumbnail
gallery
64 Upvotes

What do you think? You like it?

Specs of my project:

Esp32

BME680

Waveshare solar power manager

Waveshare 2.13inch E-Ink display

Photoresistor GL5506


r/arduino • • Sep 07 '26 Bravo

Look what I made! My first project - a year later!

1.4k Upvotes

[Original project from 1 year ago ](https://www.reddit.com/r/arduino/s/e4o4xJrx19)

Hello everyone, I'm here to give you updates on my first project. Here are all the things I've added/changed:

  1. I replaced the board with an Arduino nano model with a USB-C port
  2. I added LEDs to the missiles on the left arm.
  3. I replaced the power source with a 22.5W 20000mAh power bank.
  4. I replaced the shoulder-mounted missiles (they were malfunctioning a lot) with a "trio of mini missiles" (they're just really cool LEDs) on the right arm.
  5. I took it to a ton of events and the structural parts are pretty worn out, so there are a lot of minor patches and updates here.
  6. I integrated the eye LEDs into the code (before they were independent).
  7. I greatly increased the opening angle of the helmet.

I want to make a new suit of armor to replace this one, but I'll need to save up a lot of money. Stay tuned for future updates!


r/arduino • • Sep 09 '26

Mod's Choice! Interesting Arduino Behavior - Variables not in Context

Post image
4 Upvotes

I was doing a live debugging session and found an interesting behavior with variables. I'd declared this new structure, GameState, before I called it in any of my functions - standard C practice. However, Arduino C has a "helpful" feature where it will create a prototype of your function at the beginning of your file, right before the setup runs. So the structure ended up actually being defined /after/ it was called, which stopped the code from compiling. The solution was to move all my variable definitions to the beginning of the file.

This is kind of a pain, because I'm trying to build a template for an Arduino sketch that has a few MQTT topics built in, then you can build user code that makes use of those topics to communicate with an external device like your phone. I was intending for all the user code to end up at the end of the file in one place, but it looks like I'll have to chunk it out so that the end user can put their stuff in the right order. Of course, the real solution will be to put all this infrastructure into a header file and library, but one step at a time...

Anyway, if you're interested in the debugging session, it's here. You can also see how someone might use Claude to help them fix code. (And very importantly, that using Claude does not exempt you from needing to test your code!)

https://youtu.be/6yW2u79d7Ls?si=dRZP8xgChvEna6ok

If that sketch sounds handy, you can find a copy on this github. It's not finished yet, but I should be done testing it and updating it in a few days.

https://github.com/DocCarr/sproutsodyssey.git


r/arduino • • Sep 08 '26

Hardware Help Need help in DIY pc hardware monitor newbie here

Thumbnail
gallery
8 Upvotes

Hey guys,

i need a help bulid saw someone video on fb but he didnt mention any kind of details DIY PC Hardware Monitor using an ESP8266 kind of and data from Libre Hardware Monitor. Right now, I have a tiny smart weather clock display connected via USB, but honestly, it looks too basic and small. i have 0 idea how these thing work saw some github method i couldnt do that somehow lol so far i setup that clock for now it is connected with wifi and usb too

i want to set my display show these hardware on display

  • CPU Temperature & Usage (%)
  • GPU Temperature & Usage (%)
  • RAM Usage (%)

r/arduino • • Sep 09 '26

Smart irrigation project: designing for graceful failure rather than maximum automation

4 Upvotes

I'm developing the concept for a small smart-irrigation controller as part of a much larger community/farm project.

Rather than trying to make the first version as sophisticated as possible, I'm taking the opposite approach: deciding what the system should still be capable of doing when parts of the automation stop working.

The current project strategy is:

  • normal irrigation remains local rather than cloud-dependent;
  • there is a genuine physical/manual fallback;
  • moisture sensors influence decisions but are not treated as unquestionable truth;
  • weather information is optional optimisation rather than a requirement;
  • water flow can eventually be checked against what the controller thinks a valve is doing;
  • losing networking or higher-level automation should reduce capability, not stop irrigation altogether.

So the intended progression is roughly:

manual irrigation → reliable local automation → sensor-assisted decisions → optional higher-level optimisation

rather than beginning with a connected “smart” system and working backwards.

I'm interested in the project-level design philosophy rather than troubleshooting a particular component at this stage.

For people who have built automated watering or similar outdoor control projects:

Would you also design the project around graceful degradation from the beginning, or is this adding unnecessary complexity to what should initially be a simple irrigation controller?

I'm particularly interested in whether people who have lived with these systems for a while ended up valuing simplicity and manual fallback more or less than they expected.


r/arduino • • Sep 08 '26

Windows "Error: unable to open port COM4 for programmer wiring" when uploading code with Arduino IDE

1 Upvotes

This problem has been affecting me for months and I am already tired of it. I have used multiple versions of Arduino IDE and made sure that everything is closed, and it never worked.

The only thing I can do when uploading my code or opening the serial monitor (That gives the error Port bussy) is to upload multiple times until one of them doesn't give error, that doesn't guarantee that the next time it will work.

I have tried downloading different versions, made sure to not have anything else open that could block the port, made sure that the board information is correct, used different COMs and boards, having the serial monitor closed when uploading, reinstaling drivers...

I don't know if this information is required but:
-I use Windows 11

-I use either a MEGA or a UNO


r/arduino • • Sep 07 '26

Hardware Help Is there a way to connect my digispark attiny85 board to a usb 3.x port ?

Post image
63 Upvotes

r/arduino • • Sep 08 '26

What is the best way to learn Arduino code?

8 Upvotes

Hello, I was wondering what is the best way to learn arduino code? I made some arduino projects such as LED stuff and a sound board but I had a lot of help from chatgpt. I would like to be able to write arduino code myself while I build more projects and I would like to hear how others learn arduino code. Any advice would help, thank you


r/arduino • • Sep 07 '26

Arduino / ESP32-C6 - sealed with the battery and charging

3 Upvotes

The "project ":

One of my most favourite thing I have for sports, exercise etc is hand counter (https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSpSqnGN7uLmd2I1BlNgs-k92gc8nGvMrVM9z_IpER8Z4GeUAlNJVcZ2u4&s=10) it works amazingly for my purpose. Except one - water, it is rotting, it is not flowing etc.

So my idea is to do some device that will just count, and of course if I will use Arduino and display I will add additional functions as well. I am a software developer with AI etc, so I do not see a problem with that, I also can do CAD etc - so mechanically I will solve it too but I am weak in electronic.

The question.

Since I want to have it waterproof and fully enclosed (no screws, no o-rings), it needs to have power source INSIDE + I have to be able to CHARGE it.

As I understand it, if I go for Arduino / ESP32-C6 I cannot just connect 1S LIPO to it, but I need some boost/step-up to have 5V from 1S LIPO. Not sure about Arduino, seems some have some stabilizer. And on top of that I have two options :

Another circuit that will support charging LIPO while connected or alternatively I have to have it connected via reed switch (or something similar) and disconnect when charging and BMS will be outside.

Looking for some cheap and easy solution - preferably something that will work itself.

What I found : WPM403 [Step-up 2.5-5V till 5V 0.6A USB 2-pack]

Idea is

BATTERY 1S --> REED NOC -> WPM403 -> Arduino / ESP32-C6
BATTERY 1S --> REED NC -> wires to outside charger

Is that good or am I on a wrong path?

Thank you


r/arduino • • Sep 07 '26

Beginner's Project Just design my first arduino project

Post image
24 Upvotes

Hey guy's I just taken an intrest to arduino or stuff like that and just made my first circuit design and the revision by following a tutorial from "https://projecthub.arduino.cc/rinme/gas-leakage-detector-using-arduino-05c0c9"

It's a gas leakage detector and I'm thinking to swap the Arduino uno with a esp32 from my friend and I just bought a couple of things for my first project. I'm not a electrical student I'm and IT student so don't flame me guys. Is there any suggestion I should add into this project of mine?


r/arduino • • Sep 07 '26

Look what I made! Made this thingy and just turned it into a timer

66 Upvotes

I would share the code but its just bootlegged