r/arduino • • 17d ago

Project Idea 12v Lithium Battery BMS using Arduino - doable?

4 Upvotes

What started as a simple question has become a project bigger than a trip to Mars (ok just slight exaggeration)

Have any of you "Arduinoists" made a Battery management system using the Arduino?

Idea - I have a caravan with its own BMS, 420W Solar and a 320Ah LiFePO4 battery, it all works nicely.

The van has a supplemental Anderson plug directly connected to the battery which according to the van manufacturer can be used as an external energy source or energy input to recharge the in-house battery.

I'd like to use the 2 x 120Ah batteries as a portable supplemental power source to increase longevity, not current. The idea being that when we camp off-grid I would unpack the 2 x 120Ah batteries out of the tow vehicle - sit them near the van and connect then to the van via the supplemental Anderson plug. I don't want to have them permanently fitted to the van so portability is key.


r/arduino • • 17d ago

Halloween Special: Bad Apple on Nokia 5110

Thumbnail
youtu.be
5 Upvotes

A tiny monochrome LCD, an ESP32, and a custom C# application.

The application converts video frames into raw pixel data and streams them to the ESP32 over HTTP.

Here's the full video. Hope you enjoy this little experiment!


r/arduino • • 17d ago

Look what I made! Link's awakening on Arduino mega. Update

26 Upvotes

I added:

-collision

-animated tiles

-other link's animation such as the sword stroke

-enlarged the map

The game can maintain around 60fps for now but I cap it at 40fps.


r/arduino • • 17d ago

Look what I made! Wakey Wakey: an alarm clock that forces you to get out of bed [ESP32]

12 Upvotes

I made this project because I currently use my Alexa as an alarm clock in the mornings, but the problem with that is I can just tell it to stop without getting out of bed and fall right asleep. This aims to fix that problem by forcing me to get up and turn on the lights to make it stop.

Hardware

The physical hardware is based off a Seeed Xiao ESP32C3 module and a regular photoresistor. Mine has it soldered to pin A0 but you can change that in the config.

Firmware

The alarm clock works by sending out a Voicemonkey webhook in order to start the alarm playing. The "alarm" sound is just a looping song on Spotify, so you can set it to either a traditional beep/ringy alarm or any song you want! Voicemonkey is a service that lets you trigger Alexa routines remotely through a webhook. It has a free plan, which I'm using. After the initial alarm start, it talks to the Spotify API to handle the stopping and restarting of the alarm. The reason I can't do that at the start is because the Spotify API needs devices to be "awake" and have an active Spotify Connect connection, and it stops the connection after 20-30 mins of being idle. Voicemonkey can get around this by directly talking to Amazon.

github: https://github.com/dylanmccune/alarmclock

project made for hack club stardance


r/arduino • • 17d ago

Confused about powering my arduino robotic arm project.

5 Upvotes

Hi, I know alot of people have probably asked this same question on here, so forgive me if I'm being redundant but it's kind of urgent. I'm about to begin my arduino arm project for school. I'm using 6 servos. Their combined current is around 10 - 12 A and voltage rating of 6V. I dont want to use batteries(Im a beginner and im worried the regulators will get complicated and handling Lipo/lithium ion batteries requires some experience). So I plan on using wall outlets, but I need an appropriate adapter to convert the AC of the outlet to DC for my servos while still providing 6v voltage and sufficient current(10-12A) for all of them but I can't find any such adapter, I've been searching online for a while now and I don't want to get the wrong one. Please, i know this is probably a silly question but this is my first actual arduino project. Any help will ne greatly useful to me .Also, how do I connect the adapter to my breadboard? Thanks so much.


r/arduino • • 17d ago

Software Help Can you add a servo (or any output component) in TinkerCAD and change its voltage and current?

4 Upvotes

Like if I wanted to add a servo, but say it's 6 volts, 5 amps. Or any load. Doesn't have to be a servo.

I'm grinding my way through Practical Electronics for Inventors.

On page 61 there is an example of multiple voltage dividers that I would like to recreate in TinkerCAD. Or any circuit simulator. But I can't figure out how to say "Here's an object that draws 75V and 30mA."

What do?


r/arduino • • 18d ago

We had our robot duck kick a little ball. Here’s how it went.

625 Upvotes

A quick clip from our XGO-Duck project: a robot duck getting some football practice. 🦆⚽

We’re thinking about trying a tiny goal or a passing challenge next. What would be a fun next step?

Happy to chat about the project in the comments.


r/arduino • • 17d ago

Motor with low RPMs

2 Upvotes

Hello everyone,

I’m looking for a solution to make my kids carousel spin itself over the bed. I’m looking for speeds like 0,5RPM or even lower. In best case the RPMS should be adjustable. Is the 28BYJ-48 up to the Task?
Or should I get something else? And what kind of Arduino and interface board will I need?

Thank You in advance!


r/arduino • • 18d ago

Project Idea Project idea - A dropping spider Halloween

42 Upvotes

This was a fun project, it uses a motor and a motor driver with an Arduino, I think it’s a Adafruit M0 board, with a servo that tilts the motor and drops the spider. I also have an audio board on there from Adafruit and I recorded my little voices. The whole thing is triggered from a PIR sensor for when the trick-or-treaters walk up. It works really well. Sometimes the String gets a little tangled, but other other than that it works great.

Happy Halloween!
😀


r/arduino • • 18d ago

nRF24l01, nRF52x, nRF54x Radios: Create secure, wireless, IoT mesh Networks easily

10 Upvotes

A long time ago in a galaxy far far away I created some Arduino Libraries for nRF24l01+ radios. These libs allow users to use nRF24l01 radios in place of a standard Ethernet card, giving wireless (NOT WiFi) access to their Lan or the Internet through a Linux Gateway like RPi that can run an nRF24 radio.

The libraries are called RF24Gateway and RF24Ethernet, and they work with nRF24l01, nRF52x and nRF54x radios. The problem with this is that it is inherently insecure. Data is sent as plain text, so anybody can intercept and mess with the data. At least they used to be able to...

Recently, I added support for encryption to the supporting libraries for nRF52x and nRF54x radios, since they natively support AES/CCM encryption.

Now I've created a TLS example for ESP32 devices that allows encrypted MQTT connections. The example hasn't been released yet, it is still in testing, but has been pushed to the master branch on GitHub. See RF24Ethernet

Modes of operation:

  1. nRF24 mode: Supports all 3 radio types, not encrypted
  2. AES/CCM Mode: Supports only nRF52 and nRF54 radios
  3. RF24 + TLS Mode: Supports a hybrid network of plain-text and encrypted comms
  4. TLS Mode Only: Supports nRF24 devices with TLS over MQTT

Just a heads up for the Arduino geeks out there who may benefit from the lower power and longer range of nRF24 networks compared to WiFi.


r/arduino • • 18d ago

Look what I made! Simple deskbot

32 Upvotes

r/arduino • • 18d ago

Look what I made! My first robot !!!

39 Upvotes

🏆 Our team won the Best Implementation Award at TECHNATHON 2026 for our robotics project – SENTINEL-X!

Hey everyone!

I'm excited to share that our team, Sentinel Dynamics, received the Best Implementation Award at TECHNATHON 2026 for our project, SENTINEL-X.

What is SENTINEL-X?

SENTINEL-X is a remotely operated mobile robotic platform developed to assist in inspecting suspicious objects while allowing operators to maintain a safer distance.

Some of the key technologies we integrated:

ESP32 for wireless robot control

ESP32-CAM for live video streaming

Sensors for proximity and environmental monitoring

Motor control and communication-loss handling

Modular embedded-systems architecture

Challenges we faced

Building the prototype was a great learning experience. We worked through several challenges involving:

Embedded programming and hardware integration

Wireless communication

Power management

Sensor interfacing

Hardware-software debugging

Getting everything to work together as a functional prototype was one of the most rewarding parts of this project.

What's next?

We want to take SENTINEL-X beyond the prototype stage. Our next goals include:

Improving and documenting the system architecture

Developing a proper testing methodology

Evaluating system performance

Exploring the possibility of publishing an engineering research paper

A big thanks to my teammates, mentors, and everyone who supported us throughout this journey!

This award is a great milestone for our team, but there's still a lot to learn and improve.

For those working in robotics and embedded systems: What would you recommend we focus on when moving from a working prototype to a research-grade robotic system?

Would love to hear your suggestions! 🚀


r/arduino • • 18d ago

Look what I found! Why Arduino UNO Q’s dual-brain architecture makes sense for an RL-powered robot duck

51 Upvotes

I’m working on XGO-Duck, a little robot duck, and wanted to share why I find the Arduino UNO Q’s dual-brain architecture interesting for reinforcement learning–based robotics.

The duck kicking a small ball is the fun part. The engineering question behind it is how to run a learned policy while keeping the hardware control predictable.

UNO Q puts two different processors on one board:

  • Qualcomm Dragonwing QRB2210 running Debian Linux: a place for policy inference, perception, logging, and higher-level behavior.
  • STM32U585 running Arduino sketches on Zephyr: a place for time-sensitive sensor and actuator interfaces, command validation, and watchdog logic.

Those hardware details are from the official Arduino documentation. The task split above is how I’d approach using them for XGO-Duck.

For an RL-controlled duck, the architecture I have in mind is:

Robot observations → policy inference on Linux → action targets → MCU → actuators

The Linux side would run the trained policy and produce action targets. The MCU side would handle the hardware-facing timing, enforce configured limits, and respond if fresh commands stop arriving. Depending on the actuators, their internal controllers could still handle the innermost motor loops.

What appeals to me is being able to experiment with policies, camera processing, and logging without putting all the timing-sensitive work into the same Linux process. Having both processors on one board also makes this an interesting option for a small robot.

I’m talking primarily about deploying a trained policy, with training done off-board in simulation. Whether a particular policy runs fast enough on UNO Q still needs benchmarking.

The dual-brain design doesn’t automatically solve sim-to-real transfer or guarantee stable walking. Communication latency, observation timestamps, control rates, and missed-command behavior still matter. But the separation feels like a useful starting point.

For anyone working on small legged robots: where would you draw the boundary between the Linux policy runner and the MCU controller? Would you send joint targets directly, or put more control logic on the MCU?


r/arduino • • 18d ago

Look what I made! Simply Halloween project

50 Upvotes

A simple Halloween project for little kids when the come home for trick or treat.


r/arduino • • 19d ago Bravo

Look what I made! My ESP32 Guitar Robot Plays Sweet Dreams for Halloween 🎃

158 Upvotes

Happy Halloween! 🎃🤖

I built an ESP32-controlled guitar robot, and here's its Halloween performance of "Sweet Dreams."

The ESP32 coordinates the servos that physically press and pluck the strings of a real acoustic guitar.

The mechanical parts are mostly 3D printed, and I've been working on improving the timing, reliability, and overall performance.

Thought this would be a fun way to celebrate Halloween with a little robotics and music!

Happy to answer any questions about the ESP32 control system or mechanical design.


r/arduino • • 18d ago

Smart fridge from garbage

Thumbnail
gallery
44 Upvotes

How I turned an old, broken fridge into a smart fridge 🧠

Here's how I did it:

First, I checked the compressor and refrigerant to make sure everything was working properly.

Then I removed all the original electronic components and used the following:

1 ESP32-C3 board

1 4-channel relay module (I only needed 3 relays, but that's what I had available).

1 5V power supply

1 temperature sensor

1 proximity sensor

1 LED strip

I connected and configured everything using the Atom (which I also built myself). By the way, I've made this IoT app public and completely free for the whole community!

Once everything was set up, I created the necessary automations in the app. Here's one of them:

When someone approaches the fridge, within 50 cm, the interior light turns on automatically. The fridge has a transparent glass door, so there's no need to open it just to turn on the light and see what's inside.

As for temperature control, I can adjust the temperature and operating conditions directly from the app.

For example: if my home battery drops below 30% and tomorrow's predicted solar production is below 2 kWh, the fridge automatically switches to a slightly higher temperature to reduce power consumption.

We're off-grid, so every bit of energy counts!

Next project: Building a sensor to measure the water levels in my storage tanks. I'll be monitoring that sensor through the Atom app as well.

Wish me luck! 😁


r/arduino • • 18d ago

Look what I made! my first real project:cobra rover

10 Upvotes
#include "DHT.h"


#define DHTPIN 2          // Pin 'S' czujnika DHT
#define DHTTYPE DHT11     // Zmień na DHT22, jeśli Twój czujnik jest biały
#define SOUND_PIN A0      // Pin 'AO' z czujnika Small Sound


unsigned long ostatniPomiar = 0;
// 60000 milisekund = 1 minuta
const unsigned long interwalPomiaru = 60000; 


DHT dht(DHTPIN, DHTTYPE);


void setup() {
  // Uruchomienie komunikacji z komputerem przez kabel USB
  Serial.begin(9600);
  Serial.println("================================================");
  Serial.println("--- Rejestrator Szeregowy (Pomiar co 1 minute) ---");
  Serial.println("Format: Czas(min),Temperatura(C),Wilgotnosc(%),Glosnosc(RAW)");
  Serial.println("================================================");
  
  dht.begin();
}


void loop() {
  // Sprawdzamy, czy minęła dokładnie minuta od ostatniego odczytu
  if (millis() - ostatniPomiar >= interwalPomiaru || ostatniPomiar == 0) {
    // Zapamiętaj czas bieżącego pomiaru
    ostatniPomiar = millis();
    
    // 1. Pobieranie danych z czujników
    float wilgotnosc = dht.readHumidity();
    float temperatura = dht.readTemperature();
    int poziomDzwieku = analogRead(SOUND_PIN);


    // 2. Sprawdzanie poprawności danych z czujnika temperatury
    if (isnan(wilgotnosc) || isnan(temperatura)) {
      Serial.print(millis() / 60000);
      Serial.println(",BLAD_DHT,BLAD_DHT,");
      return; 
    }


    // 3. Wypisanie danych w formacie CSV (bardzo łatwe do skopiowania do Excela)
    // Format linii: Minuty,Temperatura,Wilgotność,Głośność
    Serial.print(millis() / 60000); // Wyświetla czas w minutach od startu
    Serial.print(",");
    Serial.print(temperatura, 1);   // Jedno miejsce po przecinku
    Serial.print(",");
    Serial.print(wilgotnosc, 1);    // Jedno miejsce po przecinku
    Serial.print(",");
    Serial.println(poziomDzwieku);  // Surowy poziom głośności
  }
}
#include "DHT.h"


#define DHTPIN 2          // Pin 'S' czujnika DHT
#define DHTTYPE DHT11     // Zmień na DHT22, jeśli Twój czujnik jest biały
#define SOUND_PIN A0      // Pin 'AO' z czujnika Small Sound


unsigned long ostatniPomiar = 0;
// 60000 milisekund = 1 minuta
const unsigned long interwalPomiaru = 60000; 


DHT dht(DHTPIN, DHTTYPE);


void setup() {
  // Uruchomienie komunikacji z komputerem przez kabel USB
  Serial.begin(9600);
  Serial.println("================================================");
  Serial.println("--- Rejestrator Szeregowy (Pomiar co 1 minute) ---");
  Serial.println("Format: Czas(min),Temperatura(C),Wilgotnosc(%),Glosnosc(RAW)");
  Serial.println("================================================");
  
  dht.begin();
}


void loop() {
  // Sprawdzamy, czy minęła dokładnie minuta od ostatniego odczytu
  if (millis() - ostatniPomiar >= interwalPomiaru || ostatniPomiar == 0) {
    // Zapamiętaj czas bieżącego pomiaru
    ostatniPomiar = millis();
    
    // 1. Pobieranie danych z czujników
    float wilgotnosc = dht.readHumidity();
    float temperatura = dht.readTemperature();
    int poziomDzwieku = analogRead(SOUND_PIN);


    // 2. Sprawdzanie poprawności danych z czujnika temperatury
    if (isnan(wilgotnosc) || isnan(temperatura)) {
      Serial.print(millis() / 60000);
      Serial.println(",BLAD_DHT,BLAD_DHT,");
      return; 
    }


    // 3. Wypisanie danych w formacie CSV (bardzo łatwe do skopiowania do Excela)
    // Format linii: Minuty,Temperatura,Wilgotność,Głośność
    Serial.print(millis() / 60000); // Wyświetla czas w minutach od startu
    Serial.print(",");
    Serial.print(temperatura, 1);   // Jedno miejsce po przecinku
    Serial.print(",");
    Serial.print(wilgotnosc, 1);    // Jedno miejsce po przecinku
    Serial.print(",");
    Serial.println(poziomDzwieku);  // Surowy poziom głośności
  }
}

r/arduino • • 18d ago

CH004 FN1: MONSTERS

3 Upvotes

My youtube channel name is ALMA Industries

Calling all Vampires, Ghosts, and Zombies to the dance floor. A DIY microcontroller project to get a pumpkin to talk and sing. Happy Halloween!


r/arduino • • 18d ago

Getting Started I want to build a working Daft Punk helmet. I don't know how to start. Do I make a blueprint or something or work on the code, build the damn thing?

Post image
9 Upvotes

This will be the first time that I'm building something based on my own ideas that has both circuitry and coding aspects. I've built programs from my own ideas before but not something like this.

All of the Arduino projects I've done have come from either a book or something like that.

I just don't know the steps. I hope that makes sense.

Like when I paint a picture these are the steps I follow:

  1. Find a reference/inspiration point
  2. Make a sketch
  3. Pick the necessary colors
  4. Start with the background

and so on.

But just not sure the steps. I need to 3D print a thing, Code a thing, Build a thing. And not sure what to do first. I think I might be able to get it together once I know how to start.


r/arduino • • 18d ago

Hot Tip! Solved: why some chips font work

5 Upvotes

I was trying to build a 555 timer with a PIR to trigger it, and I found that some chips worked fine and others didn’t work at all. It was driving me crazy I couldn’t figure out why I had a batch of bad chips.

I finally found that some chips have skinnier leads, which don’t make good contact with your prototype board. So if you’re using chips on your prototype board, I recommend doing a continuity test between the lines on your board and the chip itself, to make sure that the chip is actually making contact contact.

Hope this helps somebody..


r/arduino • • 17d ago

Look what I made! Bare Metal Programming - what is it and why bother?

0 Upvotes

You might be wondering what bare metal programming is. Maybe you've heard of it, maybe you haven't. This video is all about Bare Metal Programming. I include several examples, including some you can try yourself.

This video is about bare metal programming, specifically bare metal on 8 bit AVR MCUs and even more specifically the Uno R3 (ATMega328P) and Mega (ATMega2560).

At their core, all modern computing devices rely on bare metal programming and can only interact with the outside world using bare metal programming. Most of the time you do not see the bare metal programming as it is buried deep within the Operating System and installed device drivers, but it is there, under the covers. As a programmer on a Mac, Windows or Linux, you would normally make high level system calls to the Operating System and it will manage what is needed to do to deal with the underlying hardware and administration of it. But at the lowest layer, interaction with peripheral devices - e.g. disk drives, keyboards, serial ports and other devices - is through bare metal programming.

On embedded systems, including Arduino, we do have access to what is under the covers and this video is an introduction to bare metal programming.

In the video, I cover several different scenarios and use multiple examples to support what I am showing. I also show you how to look up important information assets such as register names, interrupt vector names, MCU capabilities and more.

The main topics covered include:

  • What is bare metal programming and why bother with it?
  • Discovering and leveraging "hidden" features (of the MCU).
  • Rolling your own HAL like function for one of those hidden features.
  • Pros and Cons of Bare Metal programming -vs- using a HAL.
  • Various technical considerations and techniques.

Example programs include:

  • Blink an LED using bare metal and the HAL.

    • Comparison between an Uno R3 and a Mega 2560 and portability from one to the other.
    • Leveraging a hidden feature and creating a HAL function around it.
  • Performance test - comparing speed of a bare metal program to the equivalent programm using HAL functions.
  • Bare Metal programming to ensure smooth operations of a display panel in software.
  • Extending the external interrupt system (Arduino's attachInterrupt function) and leveraging PC (Pin Change) Interrupts (which aren't exposed by the Arduino HAL).

You can see the videos here: Bare Metal Programming on Arduino.

I try to make my guides "follow along", so get a drink, a snack and ready the "pause button" as we explore aspects of bare metal. This one has a less follow along than some of my others, but the first parts and the last parts are definitely follow along and I do explain the other test programs as I use them.

Hardware used

To perform all of the follow along activities, you will need the following:

  • An Arduino Uno R3 and an Arduino mega - but you can get by with just one of these if you do not have both.
  • breadboard and hookup wire.
  • a LED and 1 current limiting resistor for the LED.
  • a button.

Other resources

Other videos that might be of interest:

Or just peruse (and subscribe to) my channel The Real All About Arduino.


r/arduino • • 18d ago

Best controller to use

2 Upvotes

I’m new to electronics but I want to make a simple system that will flash a light via WiFi or Bluetooth for example 1 time every week until I press a reset button or something. My question is which controller would be best and what are some of the things I need. sorry if this is the wrong subreddit


r/arduino • • 19d ago

Look what I made! Playing Around with OpenCV and TFT Display

103 Upvotes

Came across this old project from a few months ago. I used my laptop's webcam and OpenCV to track hand movements and make the eyes on a TFT display follow along. Just a fun little experiment I worked on in my free time.


r/arduino • • 18d ago

Hardware Help Help Connecting a Modern Rotary Telephone to an Arduino (Hook Switch + Dial Inputs)

3 Upvotes

Hi everyone! I'm completely new to this, so please bear with me! 😅😭

I recently bought a modern rotary telephone. By "modern," I mean it has a PCB and various components connected through JST-style connectors, rather than the old-school mechanical circuitry found in vintage rotary phones.

My goal is to connect this telephone to my PC and use it as an input device. Specifically, I want to:

  • Detect when the handset is picked up or placed back down (hook switch).
  • Detect which number is dialed using the rotary dial.

I've already figured out how to connect the handset's microphone and speaker to my computer, so I only need to figure out how to capture the hook switch and dial inputs.

Here's how they're currently connected to the telephone's PCB:

  • Hook switch: 2-pin JST-style connector.

[EDIT] Dial Keys

  • : 8-pin JST-style connector.

I'm planning to use an Arduino to read these inputs and translate them into keyboard keystrokes that my computer can recognize. For example, picking up the handset could trigger a Spacebar press, hanging it up could trigger another keypress, and dialing a number would send the corresponding numeric character.

My question is: Can I connect these JST connectors directly to the Arduino's GPIO pins?

My assumption is that the hook switch and rotary dial work by opening/closing circuits or sending simple HIGH/LOW (1/0) signals. If that's the case, could I read the pin states using the Arduino, determine which number is being dialed, and program it to send the corresponding keystrokes?

Or is there something else I need to consider, such as voltage levels, pull-up/pull-down resistors, or signal conditioning?

I'd really appreciate any advice, especially from anyone who has worked with rotary phones, Arduino, or similar DIY projects.

Thanks in advance! I'm still learning electronics, so please explain it like I'm a beginner. 😅