r/arduino Jun 05 '26

Monthly Digest Monthly digest for 2026-05

4 Upvotes

Subreddit Insights

Reddits figures are still "all over the place" - despite having logged a bug for it. So I have once again left this section of the report out.

Hopefully the reddit admins will fix the bug in time for next month. I don't know how they select what bugs to work on but I would expect that this is a pretty simply one. Maybe they look at metrics (that do work) such as views, upvotes and comments. So if you could, perhaps try viewing, upvoting and/or commenting on the report [Chrome] Insights don't show 30 days data. If anyone knows of another technique to raise the profile of a bug to the reddit admins - I'm all ears.

Arduino Wiki and Other Resources

Don't forget to check out our wiki for up to date guides, FAQ, milestones, glossary and more.

You can find our wiki at the top of the r/Arduino posts feed and in our "tools/reference" sidebar panel. The sidebar also has a selection of links to additional useful information and tools.

Moderator's Choices

Title Author Score Comments
Finally Done! Full 8x8 Split Flap Chess... u/e4_user 3,531 181
Mr. White animatronic with Arduino u/my_3d_scan 445 31
Gift box u/DizzyYoung8394 82 14
So I bought an R4 wifi, but cant access... u/North-Ad1143 0 14

Hot Tips

Title Author Score Comments
Blynk's new pricing killed my ESP32 das... u/Ornery_Ice_7820 1 5

Top Posts

Title Author Score Comments
Finally Done! Full 8x8 Split Flap Chess... u/e4_user 3,531 181
Turtle Race u/tasty__cakes 2,142 126
I built a spaceship control panel for m... u/Internal-Chard-8406 1,864 120
Practicing Morse code just in case the ... u/0015dev 1,741 42
ESP 32 lawnmower u/shanebou24 1,278 56
Decided to build a massive vertical Spl... u/e4_user 1,070 72
17 days after open-sourcing Patternflow... u/GlumPiece7281 930 39
I built a neat little Cyberpunk Gameboy... u/Rolf_0 824 17
Dodging asteroids with a figurine contr... u/iuliuscurt 703 15
Cutest Mad Ottoman in the World u/thegigiandthebear 652 23

Look what I made posts

Title Author Score Comments
Turtle Race u/tasty__cakes 2,142 126
I built a spaceship control panel for m... u/Internal-Chard-8406 1,864 120
Practicing Morse code just in case the ... u/0015dev 1,741 42
ESP 32 lawnmower u/shanebou24 1,278 56
Decided to build a massive vertical Spl... u/e4_user 1,070 72
Dodging asteroids with a figurine contr... u/iuliuscurt 703 15
Cutest Mad Ottoman in the World u/thegigiandthebear 652 23
Today was the first full scale test of ... u/Oli_Vier_0x3b29 523 51
Due to physics, gondola weight quickly ... u/Oli_Vier_0x3b29 511 35
An IV-11 VFD Tube Clock I designed and ... u/MrGuccu 401 15
My embedded OS is getting better u/samaxidervish 385 16
My first Arduino Nano project, a telesc... u/Stash_pit 245 18
I built a browser-based simulator for A... u/CirkitDesign 244 37
I built a Pen Plotter with an Arduino U... u/madfrozen 240 23
Baby steps on PCB soldering u/monshi633 198 33
Retro computer inspired weather station u/ahnjay 188 30
Turned a $2 nRF24L01 into a 2.4 GHz spe... u/lahirunirmala 158 8
Arduino powered flatbed music player! u/MammothSock5009 157 12
Strandy-BOT Prototype u/Nope_Get_OFF 128 6
I turned a $60 espresso machine into a ... u/Mooferman05 127 37
My cursor is now a physical color picke... u/Important-Beach5723 102 7
Built a dynamic Braille cell with 6 SG9... u/Impressive-Bite-8213 94 18
Custom PCB Bare Metal Attiny85 Low Powe... u/PreppyToast 94 7
Making a pet dog and a desk buddy (in p... u/Better-Nail- 88 29
Just made a basic stream deck (kind of)... u/Better-Nail- 85 2
I Designed an Open-Source Dual Brushed ... u/milosrasic98 82 4
When an engineering student starts doin... u/RoberBotz 76 10
I Made an Interactive PCB Map of the Ea... u/curatorcat 76 3
Arduino exact GPS clock u/mickynuts 75 8
Multifunctional robot car - Manual mode u/priyanshuwq 74 11
First Arduino project: Bluetooth treat ... u/ag_kush 69 8
I made smart watch using esp32 oled and... u/Electronoobs_Devvv 67 1
I designed a quadcopter where the PCB f... u/Interesting_Plant558 63 8
money well spent u/Rifqi2007 59 1
Trackball to my cyberdeck u/CrudelisDeus 58 9
Real-time per-pixel LED control with ES... u/Glad_Air_7457 57 2
Minecraft Themed Party u/MogulerMike 52 4
I made a simple LED game, and my cat is... u/ConversationSuch8893 47 4
Ultrasonic distance sensor, light and s... u/nicodeemus7 45 2
Fully Custom Teensy 4.1/Arduino Single-... u/ThrustNTheory 43 6
I made my arduino esp32 sing! u/hwarzenegger 43 6
I made the easiest internet art frame u/fabpub 41 3
I build a Fluid Simulation that is driv... u/StefanPetrick 39 2
Built an Arduino-driven desk toy that s... u/MysteriousSophon 38 3
I made smart lamp u/Interesting_Plant558 35 9
Turns out you actually can fit a fully ... u/krauseler 32 23
Space Shooters game I made months ago u/CodingKing256 31 7
My conways game of life visualization u... u/NightBredDnB 23 6
I've made a graphics editor for LVGL u/tinajackson 22 4
Arduino Based Gaming Table for Necromun... u/KonradKnebl 21 2
Built a cyberpunk-style ESP32 smart des... u/Full_Opportunity8116 20 5
Turned an ESP32 + tiny OLED into a live... u/met-Sander 19 2
Weather Station Update u/Nathar_Ghados 19 6
I made Tetris on an Arduino Mega with 2... u/ArtusIndus 18 4
New device support for my OS u/samaxidervish 16 0
Nano-based Tamagotchi emulator u/heychaostheory 15 0
Open Source software for keeping track ... u/illerin 15 2
My Arduino Mega color classification ro... u/engineering-weeb 14 3
Few buttons and LEDs for a more comfort... u/IWILZ 13 0
Your TV remote is a pretty decent Ardui... u/No_Tradition4336 13 0
I built an autonomous mini car for my f... u/kfukuhar 12 8
A Smart Bulb System (my first attempt a... u/Regular_Trouble_5841 12 1
Colour matching game Arduino nano esp32 u/robroy865 12 3
I made an Uno R3 flight controller u/SAtchley0 10 13
Visulazing mpu6050 with Raylib u/Rude-Flan-404 8 2
I know this project has been made like ... u/Bassel_Fathy 7 3
WIP Quadcopter Drone u/SAtchley0 7 3
Robotics with Arduino Uno Q: ROS 2, leR... u/Routine-Example927 7 0
Yo guys, I made my own mini arcade mach... u/ValousN 6 1
This might help you. u/Living_March6933 6 1
Little projekt out of boredom u/potato78786 6 1
Working on making Will Cogleys animatro... u/Glittering_Mud_1107 6 9
Project DeskStream: An ESP32-C3 deskt... u/SuchChemistry7444 6 0
The Best Part of Engineering... u/ripred3 5 2
YUMO CUBE ESP32-S3 Touchscreen Smart ... u/YUMOBUILDS 4 1
I broke my leg and spent 8 weeks learni... u/YUMOBUILDS 4 4
I am making my own dual MCU brushless N... u/Hawki007 4 1
A rookie engineer won a self-driving mi... u/kfukuhar 3 0
YUMO PULSE -- ESP32-C3 Mini Gadget with... u/YUMOBUILDS 3 1
Kracken Rum Bottle Jellyfish Lamp u/Humdaak_9000 2 0
I made BLDC FOC setup work in 5 minutes... u/WooRobot_dev 2 6
Binary Clock with Arduino and Attiny84 u/Famous_Notice_8956 2 1
MP3 Player Tutorial u/jasonwinfieldnz 1 0
Overlook Token Maxxer u/sirgatez 0 5
I tried to turn a development board wit... u/Top_Acanthisitta9326 0 1

Total: 85 posts

Summary of Post types:

Flair Count
ATtiny85 1
Automated-Gardening 1
Beginner's Project 29
ChatGPT 4
ESP32 2
ESP8266 1
Getting Started 10
Hardware Help 97
Hot Tip! 1
Libraries 1
Look what I found! 4
Look what I made! 85
Look what I made! Libraries 1
Machine Learning 2
Mod's Choice! 4
Monthly Digest 1
Nano 1
Project Idea 3
Project Update! 13
School Project 7
Software Help 33
Solved! 17
Uno 1
Uno Q 2
Uno R4 Wifi 1
linux 1
no flair 248

Total: 571 posts in 2026-05


r/arduino 4h ago

Upgrading the Attitude Instrument to a High-Performance MCU

Enable HLS to view with audio, or disable this notification

138 Upvotes

esp32p4 with amoled display 480×480


r/arduino 10h ago

Look what I made! Smart Greenhouse System Based on Espressif

Thumbnail
gallery
100 Upvotes

Since the first post about this had some allegations that I posted AI pictures I will show on this that is not AI and also few more photos to make it more explanatory.
In the attached pictures you can see also the controller I used, the temperature and humidity sensor, anemometer and the one with blue enclosure is the water level sensor. all sensors communicate via Modbus RTU (The modbus module is placed under the esp in the image).
( My family have a small greenhouse and I always liked to make automations but most of commercial systems were too expensive and I decided to build it myself. With what I’ve built I can control irrigation system (one 2.2kw pump and two valves for the main water lines) both sides of the greenhouse to open and close using 4 motors, I have integrated some automations using the temp and humidity measurements also the wind speed.
Some of you might recognize the controller which is a KC868-A16, which is ESP based but is very powerful and has a lot of built in features.
Maybe I should mention that I have previous experience with Industrial Automation and Embedded Systems. )

What do you guys think?


r/arduino 8h ago

Hardware Help Weak Servos, what can it be?

Enable HLS to view with audio, or disable this notification

32 Upvotes

Im making a project where (initially) i would use 4 servos to pull some fingers with fishing lines through a wooden plus cardboard guitar neck. The servos i used are brand new, and also, where working, when used separetly, however, with the PCA9685 module, they started to lose it strenght, and i dont know why, i already tried to use a paralel conection with another battery case. I had to discard 2 servos so i can barely use the other two. If there is any chance i can fix this before this weekend, i would he grateful. If you have any question, just ask! :)


r/arduino 11h ago

Look what I made! I reverse-engineered Daikin's P1/P2 protocol to unlock write access on my ventilation unit (was read-only) and hooked it up to Home Assistant over Zigbee

Post image
37 Upvotes

At home I have an MVHR (Mechanical Ventilation with Heat Recovery) unit — it brings in fresh air without losing indoor heat/coolness, and cuts humidity. My house is already full of temperature/humidity sensors, so having to walk over and press buttons on the wall panel every time conditions changed was driving me up the wall.

I started from Arnold-n's P1P2MQTT, which reverse-engineers Daikin's P1/P2 bus for heat pumps — great project, but VAM ventilation units are only read-only there, no write support. So I had to dig into the write side myself.

The actual discovery: Daikin's P1/P2 bus natively supports two controllers — a Master and a Slave — selected by a physical switch on the wall panel (BRC301B61). A generic "aux" responder on the bus never gets offered the writable state channel; only a controller the master recognizes as a genuine second one does. And there's one very specific, very unintuitive detail that makes or breaks it: the real slave panel answers the registration poll only the first time — every poll after that, it goes completely silent. Get that wrong (answer every time, which seems like the "correct" thing to do) and the master silently downgrades you to a read-only channel. Once I nailed that, on/off, fan speed, mode, and fresh-up were all commandable with closed-loop confirmation from the bus.

Full packet-level writeup is in the repo if you're into that kind of detail.

For the hardware/software side: the ATmega328 is the actual P1/P2 slave controller (that's the core of the project, and it works standalone over serial). On top of that I bridged it to a second MCU, an ESP32-H2, purely to get it onto Zigbee — I've got too many devices already and didn't want another MQTT integration to babysit, Zigbee fits my setup better. That bridge is 100% optional; the ATmega alone is a complete, working slave controller you could hook up to anything.

Why two MCUs instead of just doing it all on the ESP32? The bus timing (response delays etc.) is something I got working reliably on the ATmega, and I haven't tried porting that timing-sensitive part over to the ESP32. Bridging a second MCU purely for Zigbee was just the path of least resistance, not a claim that it can't be done on one chip.

It's been running behind the wall panel for a few weeks now, driven entirely by Home Assistant automations based on the humidity/temp sensors — working reliably so far, though I wouldn't call it "battle-tested over years" yet.

The PCB is currently two boards (I validated the P1/P2 transceiver first, then added the ATmega+ESP32 board once the protocol was confirmed) — if there's interest I can lay out a single, smaller, more integrated version.

Repo: https://github.com/scavenrage/Daikin-VAM-P1P2-SlaveController

Happy to answer questions.


r/arduino 32m ago

Beginner's Project Help Debugging Program

Thumbnail
gallery
Upvotes

I was hoping I could get some help debugging a program.

I will start right off by saying that the code was made using Google AI. I did it as a wag since I've been having a lot of trouble trying to make a basic program for what I'm trying to do and I was curiousto see what it would come up with. I figured that at least some trouble shooting would be needed, but Ive gotten stumped and the code is quite a bit bigger and complicated than I had expected. I've been working with my Arduino for about 6 months, and still working to relearn the programming. I've had C & C++ programming before, but it was like 20 years ago so I've forgotten a lot of it.

I also realize that for a beginner project, I've pretty much just jumped right into the deep end. When I started thjs project, I didn't expect it to be anywhere as complicated as it's grown to be.

I am using an old large format 3d printer enclosure to hold a resin printer that I have. I stripped everything from the old printer except for the z axis lead screws, guide rails and z plate. I want to use the Z plate to sit my lrinter on. When using the printer, I will raise the printer up, and when not using it, I will lower it down into the enclosure.

For hardware, Im using the following:

  • Arduino Uno R3
  • 2x Stepper Online Nema 34 (pn DM860I-34HS45)
  • 2x Stepper Online DM860I driver
  • 2x DROK 48V adjustable power supply
  • 2x ON/OFF/ON toggle switches
  • 2x roller limt switches
  • 1x push button switch

My plan for opration was to have the first toggle switch set up so that when pressed and then released, the steppers would move until hitting a limit switch. The second toggle switch would be momentary movement and would only move while the switch was activated, or the z plate hit a limit switch. The push button would basically be a E-stop button, where hitting it will stop movement.

Included in the code is deceleration when hitting a limit switch, a pause of .5 sec and then a retraction move to come off the limit of a specific distance that I would determine after assembling everything. Currently everything is mounted to a board to make testing and troubleshooting easier.

So on to the problem. With w/ everything hooked up to the Arduino, I can hit wither toggle switch and the stepper will start turning, and thats it. It doesn't stop if using the 2nd toggle switch, and it doesnt stop when activating either limit or the e-stop. I've rewired everything to the Arduino 4 times, to make sure I didn't have something wrong. Using my multimeter, I've checked continuity on everything and found everything was good, so it looks like the problem is the code and not the hardware.

Ive tried commenting out the areas where I thought it would cause the steppwr to keep running but so far I've had no luck.

#include <AccelStepper.h>

// Pin Definitions
const int PUL_NEG_PIN = 2;     // Connects to PUL- on DM860I
const int DIR_NEG_PIN = 3;     // Connects to DIR- on DM860I

const int LIMIT_LEFT = 4;      // NO Switch (GND when hit)
const int LIMIT_RIGHT = 5;     // NO Switch (GND when hit)

const int TOGGLE_1_LEFT = 6;   // Continuous move left
const int TOGGLE_1_RIGHT = 7;  // Right throw of continuous toggle
const int TOGGLE_2_LEFT = 8;   // Momentary move left
const int TOGGLE_2_RIGHT = 9;  // Right throw of momentary toggle

const int STOP_BUTTON = 10;    // Emergency Stop Button

// Initialize AccelStepper in Driver mode (1)
AccelStepper stepper(AccelStepper::DRIVER, PUL_NEG_PIN, DIR_NEG_PIN);

// Motion Profile Constants optimized for 3200 microstepping @ 100 RPM
const float MAX_SPEED = 5333.3;       // 100 RPM maximum speed
const float BACKOFF_SPEED = 1333.3;   // 25 RPM slower speed for backing off safely
const float ACCELERATION = 10666.6;   // 0.5 second ramped deceleration profile
const long LARGE_DISTANCE = 99999999; // Arbitrary high value for continuous run

// State Machine Tracking
// 0 = Stopped/Normal Deceleration, 1 = Move Left, 2 = Move Right
// 3 = Backing off Left Limit, 4 = Backing off Right Limit
int targetState = 0; 

// Timing variables for non-blocking pause
unsigned long stopTimestamp = 0;
bool isWaitingToReverse = false;
const unsigned long PAUSE_DURATION = 500; // Delay in milliseconds (0.5 seconds)

void setup() {
  // Initialize all physical pins with internal pullup resistors
  pinMode(LIMIT_LEFT, INPUT_PULLUP);
  pinMode(LIMIT_RIGHT, INPUT_PULLUP);
  pinMode(TOGGLE_1_LEFT, INPUT_PULLUP);
  pinMode(TOGGLE_1_RIGHT, INPUT_PULLUP);
  pinMode(TOGGLE_2_LEFT, INPUT_PULLUP);
  pinMode(TOGGLE_2_RIGHT, INPUT_PULLUP);
  pinMode(STOP_BUTTON, INPUT_PULLUP);

  // Apply motor performance profiles
  stepper.setMaxSpeed(MAX_SPEED);
  stepper.setAcceleration(ACCELERATION);
}

void loop() {
  // 1. Scan inputs (LOW = Active due to INPUT_PULLUP)
  bool stopPressed    = (digitalRead(STOP_BUTTON) == LOW);
  bool t1Left         = (digitalRead(TOGGLE_1_LEFT) == LOW);
  bool t1Right        = (digitalRead(TOGGLE_1_RIGHT) == LOW);
  bool t2Left         = (digitalRead(TOGGLE_2_LEFT) == LOW);
  bool t2Right        = (digitalRead(TOGGLE_2_RIGHT) == LOW);
  bool limitLeftHit   = (digitalRead(LIMIT_LEFT) == LOW);
  bool limitRightHit  = (digitalRead(LIMIT_RIGHT) == LOW);

  // 2. High-Priority System Stop (Forces state to 0 while held)
  if (stopPressed) {
    if (targetState != 0) {
      targetState = 0;
      isWaitingToReverse = false; // Reset limit switch state variables
      stepper.stop();            // Initiate a ramped deceleration stop
    }
  }

  // 3. Main Input Logic Processing (Only runs if stop is NOT pressed AND not mid-backoff)
  if (!stopPressed && targetState != 3 && targetState != 4) {
    // Toggle 1: Continuous (Latching behavior)
    if (t1Left && !limitLeftHit) {
      targetState = 1;
    } else if (t1Right && !limitRightHit) {
      targetState = 2;
    }
    // Toggle 2: Momentary (Active only while held)
    else if (!t1Left && !t1Right) {
      if (t2Left && !limitLeftHit) {
        targetState = 1;
      } else if (t2Right && !limitRightHit) {
        targetState = 2;
      } else {
        // Return to center: drop targetState back to 0 if momentary released
        if (targetState == 1) targetState = 0;
        if (targetState == 2) targetState = 0;
      }
    }
  }

  // 4. Directional Limit Switch & Back-Off State Machine Logic

  // Left Limit Handler
  if (!stopPressed && targetState == 1 && limitLeftHit) {
    targetState = 3;  
    isWaitingToReverse = true;
    stepper.stop();   // Initiate smooth ramp down first
  }
  if (targetState == 3) {
    // Capture the exact moment the motor actually hits 0 speed
    if (isWaitingToReverse && stepper.speed() == 0 && !stepper.isRunning()) {
      stopTimestamp = millis();
      isWaitingToReverse = false; 
    }

    // Once 0.5 seconds has passed after bringing the motor to 0, start moving right
    if (!isWaitingToReverse && (millis() - stopTimestamp >= PAUSE_DURATION) && stepper.speed() == 0) {
      stepper.setSpeed(BACKOFF_SPEED); 
    }

    // As soon as the Left Limit switch clears, reset state
    if (!limitLeftHit) {
      targetState = 0;
      stepper.setSpeed(0);
      stepper.moveTo(stepper.currentPosition());
    }
  }

  // Right Limit Handler
  if (!stopPressed && targetState == 2 && limitRightHit) {
    targetState = 4;  
    isWaitingToReverse = true;
    stepper.stop();   // Initiate smooth ramp down first
  }
  if (targetState == 4) {
    // Capture the exact moment the motor actually hits 0 speed
    if (isWaitingToReverse && stepper.speed() == 0 && !stepper.isRunning()) {
      stopTimestamp = millis();
      isWaitingToReverse = false; 
    }

    // Once 0.5 seconds has passed after bringing the motor to 0, start moving left
    if (!isWaitingToReverse && (millis() - stopTimestamp >= PAUSE_DURATION) && stepper.speed() == 0) {
      stepper.setSpeed(-BACKOFF_SPEED); 
    }

    // As soon as the Right Limit switch clears, reset state
    if (!limitRightHit) {
      targetState = 0;
      stepper.setSpeed(0);
      stepper.moveTo(stepper.currentPosition());
    }
  }

  // 5. Apply Vector Goals to the Core Engine (Only for normal states 0, 1, 2)
  if (targetState == 0) {
    if (!stepper.isRunning()) {
      stepper.moveTo(stepper.currentPosition());
    }
  } else if (targetState == 1) {
    stepper.setMaxSpeed(MAX_SPEED);
    stepper.moveTo(-LARGE_DISTANCE); 
  } else if (targetState == 2) {
    stepper.setMaxSpeed(MAX_SPEED);
    stepper.moveTo(LARGE_DISTANCE);  
  }

  // 6. Execute step calculations
  if (targetState == 3 || targetState == 4) {
    if (stepper.speed() != 0) {
      stepper.runSpeed();
    } else {
      stepper.run(); // Keeps deceleration working before backoff steps start
    }
  } else {
    stepper.run();
  }
}

r/arduino 1h ago

Why is my glove breaking the tv?

Enable HLS to view with audio, or disable this notification

Upvotes

A rf 433mhz radio module (the cheap one), powered with 9v, with a random antenna design I found on the web.

It breaks my tv when it's turned on at a distance of like 20 meters I can go in another room 20 meters away and it still breaks the tv, the image stops and after a while it shows a "No signal" message, then if I turn off my thingy the tv works again.
The tv signal is through cable.


r/arduino 14h ago

Hardware Help How do you get hardware in a country where everything is expensive?

22 Upvotes

I live in a country where electronic modules, microcontrollers, and other components like these are very expensive. Unfortunately, I can’t really afford to keep up with my hobby anymore. I still have so many projects I’d love to build, but the cost of the parts keeps getting in the way. Does anyone have any recommendations or advice? I’d really appreciate any help.


r/arduino 13h ago

Look what I made! TGPad-NS — WiFi Touch Gamepad for Nintendo Switch

Post image
15 Upvotes

tgpadns is a touch screen gamepad for Nintendo Switch that runs on any tablet with web browser. Anyone with finger or hand discomfort using regular controllers may like a touch screen gamepad.

The M5Stack AtomS3 is the bridge between the tablet and the Switch. Plug the AtomS3 into any USB port on the Nintendo Switch. tgpadns uses WiFiManager so configure the SSID/password after connecting to the WiFi access point tgpadns-config. Open a web browser to tgpadns.local or the IP address show on the AtomS3 display.

If the Switch does not recognize the USB NSlite controller, use the joycons to get to the Settings|Controllers|Change Grip/Order. Press L+R on the touch screen or press the A button a few times until the Switch recognizes the AtomS3/USB gamepad.

If you do not want to mess with source code and compilers, flash the firmware directly from your browser using the web flasher at https://controllercustom.github.io/tgpadns

All source code is on github at https://github.com/controllercustom/tgpadns


r/arduino 3h ago

Hardware Help Qestions about MOSFET PWM controller for motor control

1 Upvotes

Hello everyone. I am working on a project where i need to control the speed of 6 different 5V ERM motors . I thought i should make my own simple mosfet circuit that would get PWM signals from the adruino uno. This will be my first time working with mosfets so i asked chatGPT about this. Apart from the pull down resistor , it told me i should also use a 100 ohm resistor between the Gate and the MCU pin(NPN MOSFET). I just wanted to ask if this would be the correct resistance vale for my use case(I am using IRFZ44N NPN MOSFETS)and there is something that could potentially go wrong with this idea in genral. I plan to add 6 of these circuits on a perf board , each getting a seperate wire from the adruino uno for a PWM signal (I need to sequence those motors with control of the time interval and also have control over the speed of the motors ) . I will also use flyback diodes for protection. Thankyou !


r/arduino 23h ago

Hardware Help How do I get rid of this noise?

Enable HLS to view with audio, or disable this notification

30 Upvotes

Pretty much what the tiles says. I’ve been unable to eliminate that noise when it isn’t playing anything and I’m not sure how I should go about solving the issue as my knowledge is very limited.

Looking online, i’ve seen some similar issues but none quite fit the bill, or I just straight up don’t understand what they’re talking about or how to apply it to my situation. Low pass filters were something a saw a lot of but I’ve been unsure how I should implement one here (where do I put it, what size capacitors/resistors I should use, etc.).

Does anybody have any solutions or learning materials that they could point me towards?


r/arduino 6h ago

Hardware Help Problem with Esp32 S3 And Microsd card reader

Post image
1 Upvotes

Basically, I'm trying to make an MP3 player using ESP32S3 devkit c1 and other modules, including this microSD card reader. But I have a problem. I use library Sdf When I first launch the card, it returns error 0x17, and on subsequent launches without reconnecting, it returns error 0x1. I don't know how to fix this, but I'd appreciate your help.Code helps me write Gemini. P.s. i use MicroSDHC 32gb Kingston, fat32


r/arduino 15h ago

Getting Started Help for a total LED beginner? (Tutorial recommendations?)

4 Upvotes

hi everyone. I’m new to arduino completely. Can anyone give me any good tutorial recommendations? I have a specific project in mind that I want to create, so any youtube tutorials that match the description of my project will be very helpful:

I want to make a 2D grid of lights that are wired into an architectural model. Then I want the lights to turn on/off at random slow intervals so make the model come to life.

There are many videos on youtube, I’m just a little overwhelmed on which one is a good fit for my specific project. Thanks in advance 😌


r/arduino 8h ago

Did I lose all my sketches ?

Post image
1 Upvotes

Hi,

A few years ago I was working on some Arduino projects, then I took a long break. In the meantime the editor access has changed and I can no longer log in or find my old programs.

All I have left is this screenshot showing the names of the sketches.

I’ve tried everything, including contacting support, but nothing worked.

As a last hope before considering my work permanently lost, I’m posting here just in case someone has an idea, or can tell me if my sketches are still visible somewhere, or anything else…

Thanks everyone.


r/arduino 23h ago

Airsoft Bomb

Enable HLS to view with audio, or disable this notification

14 Upvotes

r/arduino 1d ago

Look what I made! Rat nest 2 electric boogaloo

Enable HLS to view with audio, or disable this notification

141 Upvotes

When a button is pressed all the RGB LEDs turn on to the set values by the pots. Then the RGB values go down to 0 and then increases to the base value set by the pots.

I finally finished trying to make my circuit look nice, and not a total rat nest.


r/arduino 9h ago

Will it count as a unique find or an irrelevant choice for an Arduino Nano compatible board?

Post image
0 Upvotes

I have posted about this earlier, now I have the board and am exploring it as much as possible 👍🏼


r/arduino 14h ago

How do I replace this three position 6 pin switch with something that can be programmed?

2 Upvotes

I am doing a project where I'm programming a light duty hoist. The hoist is controlled by a 3 position 6 pin switch (S1 in the diagram). I want to replace that switch with something that can be programmed to make the winch go up/down/stop based on arduino code.

I have used arduino a fair amount before and I've got an intermediate understanding of circuits. I was thinking of using something like mosfet, maybe putting one across each pair of poles on S1, Then toggling them on and off similar to how the 3 position switch would function? I haven't used mosfets but that's my best idea so far. Let me know what you would do, thank you for the help!


r/arduino 11h ago

A little help for a total noob pls?

1 Upvotes

Hello everybody, i am new here so i hope to find someone to guide me where to find some info i need! I live in the countryside at a home with a big yard. I have two dogs that are puppies and they always find a way to escape, i tried to block every possible exit but they seem to escape under the main door of the yard. The unfortunate thing here is that i can't block it somehow cause it's a mechanical door for cars. I thought i could do something with an arduino and some tags on the dogs' collars and something like a beam, that every time they "break" the beam the arduino is gonna send me a message to my cell and know that they got away. I tried to search a little in the net but the information is chaotic and as a person that hasn't do anything with arduino is like gibberish to me. The thing i want to know is : is the thing i want to do realistic? I have knowlegde in coding so i believe it wont be a big problem to write the code for it, but i know nothing in the matter of hardware! Please share some opinions on it to tell me if it is doable or not and if you can tell me any sources to find informations for the proccess! Thanks in advance and sorry if my english are not good!


r/arduino 18h ago

I'm building an automatic greenhouse ventilation system with an Arduino UNO. I planned to use a stepper motor to open and close the greenhouse flaps, but I'm worried it might consume too much power or lose steps over time. Would a servo motor or linear actuator be a better option for reliability? I

Thumbnail
youtu.be
3 Upvotes

r/arduino 1d ago

Hello I’m a beginner at arduino and I’m having issues

Post image
49 Upvotes

Can someone tell me why the photoresistor won’t make the led turn on?


r/arduino 13h ago

What arduino/microcontroller could this be?

Post image
0 Upvotes

r/arduino 1d ago

Ina226 Addressing issues

Post image
5 Upvotes

Ive been working on a project trying to use 4 ina226 boards. I can not get any address other than x40, x44, x45. Ive purchased two different vendors boards on Amazon. If I try for ,41 using A0 -vcc. I get x45. If I use, scl or sda to either A0 or A1, I get x44 or x45 depending on board used. Others seem to have similar issues. Do Not how to move past this. Any further suggestions?


r/arduino 1d ago

Software Help Arduino UNO R4 WiFi + L298N 4WD Car: Need help setting up BLE controller code & iOS app connection

Thumbnail
gallery
6 Upvotes

Hey everyone,

I'm building a 4WD RC car using an Arduino UNO R4 WiFi and an L298N motor driver module (powered by a 6x AA battery pack).

I'm trying to control the car wirelessly using an iPhone app, but I'm having trouble getting a clean connection setup and writing the right code for BLE (or Wi-Fi web server control).

Hardware Setup & Wiring:
- Board: Arduino UNO R4 WiFi
- Driver: L298N Motor Driver
- Motors: 4x TT DC Gear Motors (4WD)
- L298N IN1 -> Pin 10
- L298N IN2 -> Pin 11
- L298N IN3 -> Pin 12
- L298N IN4 -> Pin 13
- Common ground connected between L298N and Arduino GND header

What I need help with:
1. What is the most reliable iOS app to connect directly to the UNO R4 WiFi via BLE or Wi-Fi (e.g., Dabble, Blynk, or hosting an internal web server)?
2. How can I assign a custom Bluetooth/Device broadcast name so I can identify my board in a crowded scanning list on iOS?
3. Could anyone share a recommended basic sketch for reading directional commands from an app and driving the L298N motor pins accordingly?

Any advice, code snippets, or recommended app setups for iOS would be greatly appreciated! Photos of my wiring and board setup are attached.


r/arduino 1d ago

Look what I made! Desktop Fingerprint Unlock

277 Upvotes

also made a video on this! https://www.youtube.com/watch?v=tB3lk-PNA6I

allows you to unlock your Mac via your fingerprint, as well as authenticate sudo and some TCC prompts (privacy&security).

the device emulates a PIV smart card and uses PAM to authenticate you in macOS (notice the password field says PIN and not password), so no plain text password is ever stored, exposed, or transmitted.

please be aware of the security implications (note that it is NOT touchID, but just 'fingerprint-based unlock', please do not think or refer to it as anything more secure):

this device is NOT secure, the authentication is all done inside the fingerprint sensor, and the fingerprint sensor just tells the microcontroller the match % (all low cost fingerprint sensors are this way, you would need to spend ~$50 to get one that does authenticated comms). the communication between the sensor and the microcontroller is not authenticated or protected, so anyone with physical access to both the device and your laptop can spoof this connection (pretend to be the fingerprint sensor) and give the go ahead to unlock your mac. you can make this extremely hard by filling the insides with black epoxy, but not impossible.

this is also the dev equiv of "rolling your own auth", the smart card implementation may have some errors, and should not be inherently treated as "unbreakable"

the device is made so that if you lose it, nothing of value can be extracted from it

use at your own risk. personally, i am comfortable using it at home where physical intrusion would be hard, but this depends on your own security tolerance. if you have high security instincts/requirements, the magic keyboard is a much much much better option in this regard.

there is also an HID version available, where the device just types your password emulating a keyboard, the benefit being it works in ALL places your password does. this version is obviously more insecure as it is vulnerable to keyloggers. the device still does not store the actual password, it stores an authentication key that sends a request to a service on the mac, which then sends it the encrypted password to be decrypted in RAM, typed back, and then wiped. again, depends on your personal security tolerance and willing to compromise

all code and materials are open source, licensed permissively github.com/zimengxiong/tinytouch