r/arduino • • 18d ago

Monthly Digest Monthly digest for 2026-10

8 Upvotes

Arduino Staff Contributors

As mentioned in last month's digest, we have been working behind the scenes with Arduino Pty Ltd and are pleased to announce that some Arduino staff will be contributing to our subreddit using an "official" account.

Have a look at last month's digest for a description of what to look for to spot them.

There is also an introductory post from the Arduino staff where they Introduce themselves so be sure to check that out as well. A few r/Arduino people have added their welcome messages to that post, so feel free to "pile on" with your welcomes and thoughts.

In the few weeks that they have been active, I have noticed quite a few comments from them - which are well received - as well as some top level posts.

Starting this month, I have added a new "Arduino Staff Posts" section to the monthly digests. If you are interested in some insights into what might be happening over at Arduino HQ, be sure to check out the posts that they are sharing with us.

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

TitleAuthorScoreComments
I’m 13 and Designing My First Custom De...u/Waste_Peanut666968470
My daughter (14) made an automatic Pani...u/Zealousideal_Sleep4556859
Stuck on Arduino and not sure if I shou...u/ShawboWayne1324

Hot Tips

TitleAuthorScoreComments
Lesson Learnedu/parcallums10417
Tip: the rollover-safe way to write mil...u/n_sh_443811
What tips did you know only when you ha...u/StevenJac87
Pro Micro NRF52840 - Arduino IDE Setup...u/StormShockTV810

Arduino Staff Posts

TitleAuthorScoreComments
Hello from the official Arduino staff t...u/MikeFromArduino6413
This Fish Does Not Exist: E-Ink Display...u/JimFromArduino425
any cool spooky or Halloween projects?u/DavidFromArduino88
How about a Hallowuino half-dozen?u/DavidFromArduino21

Top Posts

TitleAuthorScoreComments
I made the smallest Arduino compatible ...u/pkuhar2,494172
The duck is evolving.u/BencyLiu2,13743
I made a smart watch with nanou/None_Revenge1,608180
I built a Rubik's Cube-solving robot us...u/Certain-Election57331,57660
I built a battery powered breadboardu/Wills_Workshop1,22135
It all started with a pro micro 🥲u/rayl8w1,03120
Made a little weekly weather overview t...u/NoU_1486438
LED Tower I made a while back but never...u/LxGNED79425
I’m 13 and Designing My First Custom De...u/Waste_Peanut666968470
My ESP32-S3 world radio: one button, a ...u/Smooth-Rice649464830

Look what I made posts

TitleAuthorScoreComments
I made a smart watch with nanou/None_Revenge1,608180
I built a Rubik's Cube-solving robot us...u/Certain-Election57331,57660
It all started with a pro micro 🥲u/rayl8w1,03120
Made a little weekly weather overview t...u/NoU_1486438
LED Tower I made a while back but never...u/LxGNED79425
My ESP32-S3 world radio: one button, a ...u/Smooth-Rice649464830
Made a library of pixel fonts with exte...u/MrNiceThings39215
Obstacle avoiding robot finished :)u/PresenceOld175428413
Everyone posts their wins, this is my f...u/RoberBotz28428
automatic servo driven OUIJA boardu/vapgames27529
CO2 Sensor with ESP32, MQTT, battery po...u/MrNiceThings26616
Video Playing on Oled display powered E...u/luminov126429
One of those rare projects that just wo...u/MrNiceThings25212
I made a DIN rail mount for the Arduino...u/Realistic_Spite_339523015
I built a breathalyzer for my phoneu/motionick22010
Trunk or Treatu/knsaber19913
I made a thing.u/RoberBotz18210
I built a hand exoskeleton on a Teensy ...u/sebasmtl1697
Kneaded help with my baking, this is wh...u/TinkeredOff16825
This Arduino desktop display showcases ...u/timex401497
RC transmitter PCB with touchscreen - A...u/xRoboMaker13411
My ESP32 Guitar Robot Plays Sweet Dream...u/MegCell13111
We made Snake run on a seven-segment di...u/No_Degree_66012313
My halloween project for this year (Sou...u/optikalefx12123
My first personnel projectu/copper123456_711115
fun project i didu/AdSenior2369982
Arduino Based 8 Step Sequencer with Pul...u/Puzzleheaded-Name538979
Playing Around with OpenCV and TFT Disp...u/electronics_maker962
My first CAD project - decimal electrom...u/TechniCraft935
My small orientation deviceu/DisciplineCurrent544916
Progress on my first Arduino projectu/RangerMach1895
Made A Ball Bouncing Machine I Call Hex...u/Nekojiru_8824
Down to 4 legs, 2 more to go!u/Xerd-R645
Getting independent text working on a s...u/No_Degree_6606412
Little robot on wheelsu/Alive-Leadership-6585914
Another CO2 sensor, yawn… but the pixel...u/MrNiceThings482
Breadboard for ESPsu/tipppo4812
Padel score tracker - first projectu/melon_crust484
Simply Halloween projectu/starshades1462
This Fish Does Not Exist: E-Ink Display...u/JimFromArduino425
My first ever Arduino project, back in ...u/OldButGold5404
My ATmega328p development board PCB pro...u/Waste_Peanut6669377
I built a desk pet that nags me to stan...u/Cycle_Broad352
Warhammer 40K Ork Pump Jack - Arduino B...u/KonradKnebl340
Arduino Robot Arm controlled by 2 joyst...u/CallmeLee1999325
Arduino Unusual Tamagotchiu/Beowulfus_universum316
Cosplay prop...u/roanokephotog263
First soldered project!u/No-Reach-9412248
Arduino and raspberry-pi based guitar m...u/ImpossibleDemand6778211
Arduino R4 WiFi — 4WD SLAM Radar 2D Rob...u/lucaeffe03215
Made a small radaru/DisciplineCurrent544204
Pacman Championship Edition on 8-bit Un...u/smashcat666197
Arduino ↔ Minecraft with SerialCraft — ...u/Michelin1927198
Help simplifying an Arduino Nano setup ...u/MrJose1985185
First project after a long time (and my...u/GrammaticalllErrors173
arduino arm using foam sheets and sg90s...u/flavalamp123142
Doohickey 1u/Sad_Chard8416133
ArduinoOS 3 - new version of my projectu/idontknow-hardware122
Hey everyone!I built a graphical progra...u/ich-bin-ein-kaelte104
I am making link's awakening on an Ardu...u/jean2348107
I created a website to calibrate magnet...u/Curious-Ad366682
UPDATE Talking Pumpkins, almost final f...u/optikalefx85
The Lighteru/fabricio_error73
TraumaGotchu Progressu/Traumagotchu73
An active EEPROM health scanner for AVR...u/Sparroww6460
Arduino Uno + NEMA 23 candy dispenser t...u/tom314159261
I made a sequencer!u/DULTRONtheDESTROYER66
Finally did a PC stats screen for my li...u/merlinux154
I made my own picture view device for d...u/eugeniykh54
Plant Care App! IoT projectu/Laggenti42
How I Built own DIY Digital Microscope ...u/ikilim41
Watching serial output is easy. Keeping...u/shahin_hashim320
First Autonomous Mobile Robotu/Itsleokarl31
I built animatronic eyes and a browser ...u/tramlo89022
WIP Reverse engineering the SIM900 fi...u/MonsterovichIsBack20
I put a tiny pixel creature on the UNO ...u/nitishagar20
Open-Source 16 Universe Pixel Artnet Re...u/anonOmattie22
My ESP32/DHT11 room monitor records tem...u/lsvtcommits21
Project Reviewu/FoxConstant835222
Laser nerfu/Sad_Chard8416112
I made a fake self-destruct button with...u/EmbedX10
Two ESP32 Muse gadgets, zero idea what ...u/Alternative_Ear572503
DIY Desk Pet V1. Robot Cat That Reacts ...u/YUMOBUILDS04
Navigator 1: our UNO R4 WiFi rover with...u/Robonaviagtors02

Total: 84 posts

Summary of Post types:

FlairCount
Algorithms1
Beginner's Project33
ChatGPT2
ESP324
Getting Started22
Hardware Help76
Hot Tip!4
Libraries2
Look what I found!5
Look what I made!84
Machine Learning1
Mod's Choice!3
Monthly Digest1
Nano2
Project Idea4
Project Update!1
School Project4
Software Help13
Solved!4
Uno1
no flair152

Total: 419 posts in 2026-10


r/arduino • • Oct 19 '26 Bravo

Hello from the official Arduino staff team, we're here at your service!

67 Upvotes

Hi everyone! We are a group of Arduino staff members who are excited to build a more direct presence here on r/arduino, to help answer questions, provide technical support, and celebrate the great projects that this community is building and sharing. We've been working with the mods on setting this up and are very excited to be up and running now.

Before introducing ourselves, I'd like to say that we're humbled at the incredible group that has grown here through the users and mods, all focused on the topic of Arduino. It's just incredible and our hats are off to you all. 

Moving forward, be on the lookout from comments and posts from the following Arduino staffers. We represent a cross section of the company, including devrel engineers, community and content editors, and even our Chief Product Officer. Here are introductions.

---------
u/DavidFromArduino — hi all, I'm DavidFromArduino, but you can call me David! I bought my first Arduino in 2007 as part of a Roomba hacking project, and have been obsessed with writing code that you can touch ever since!
---------
u/JimFromArduino — Jim here! I've recently joined Arduino as a DevRel engineer (dream job!) after 4 years working in TinyML and Edge AI. Outside of work I love fixing cars, silversmithing and I've just bought an embroidery machine.
---------
u/LeoFromArduino — I'm Leonardo, a DevRel Engineer at Arduino with 10 years of experience in firmware development, a dedicated cat lover, and a serial traveler always exploring the world in search of my next favorite local dish.
---------
u/JulianFromArduino — Hello all! Julián here!
I'm a Robotics and Electronics Engineer working as a Tech Evangelist for Arduino. Maker at heart, I love the Open Source Movements, the right to repair, the digital fabrication and nice dinners discussing what is the best soldering iron to buy. 

When I’m not creating something, I love to read, play basketball and videogames and take care of my beloved ones.
---------
u/PerFromArduino — I started out using Arduino as a hobby before finding myself working for Arduino as a support engineer. I manage Arduino Forum and the Arduino Library Registry. I help maintain the GitHub repositories of many of our open source firmware and tooling projects.
---------
u/MarcelloFromArduino — Hello folks, Marcello here! I started my career in the early 00s pushing registers in raw 8051 assembly, and now as Arduino’s CPO (Chief Product Officer), I’m responsible for what we build, how it works, and trying to make sure the user experience doesn’t make you want to throw your board across the room. When I step away from the keyboard, my main hobbies are fixing motorbikes and bookbinding, which like embedded systems, both give good fun, need lots of patience, and leave you with sticky residue everywhere…
---------
u/MikeFromArduino — Hi I'm Mike. I'm the head of content for Arduino, recently joining the team. The last few years I've been in charge of content for Edge Impulse; before that I was the executive editor of Make: magazine for nearly a decade. I like home automation, traveling, surfing, and being with my family. Excited to connect with everyone here!
---------

Look for us in this subreddit, jumping in to help wherever we can. Please say hello, we’re excited to meet you all. Cheers!


r/arduino • • 4h ago

Look what I made! Arduino stepper motor christmas music box

67 Upvotes

Hello everyone!

I've always be passionate about music and electronics so i decided to make a music box made by vibrating stepper motors. I made a custom software that sends speeds to the motors based on a midi file with 3 separated tracks: bass, harmony and melody.

I added some 3d printed christmas themed rotating miniatures to make it more funny.

What do you think about it?


r/arduino • • 8h ago

Look what I made! Wireless head node working up top while building the rig below (ESP32-C3 + MPU6050 + ESP32-S3)

14 Upvotes

Up top in the clip the headset is already running wireless, and down below I'm putting the rest of the setup together. All coded in the Arduino IDE: an ESP32-C3 with an MPU6050 sending wireless packets over ESP-NOW to an ESP32-S3 USB HID dongle.

​The goal is to keep body awareness and head reference tightly integrated with hand aiming/clutching and drift tuning in code. Open to tips from anyone else tinkering with ESP32, MPU6050, and HID!


r/arduino • • 1h ago

Hardware Help Can i reuse any of these parts?

3 Upvotes

Before i started learning arduino, i used to open broken devices and extract their pcbs. I noticed that some of the pcbs have some parts that seem like i could use them at some point in the future and i'm wondering if i can take them apart and whether they would be useful, thank you in advance.


r/arduino • • 18m ago

Rookie question about connecting an Arduino Uno to an TTP223 touch sensor

2 Upvotes

Hi! Very new to working with Arduino introduced by my study. Long story short, i have the TTP223 touch sensors, and some Dupont jumper wires, MM / MF and FF.

How can i connect them the best? I assume i need to strip the jumper wires, solder them onto each sensor?


r/arduino • • 6h ago

Project Update! Virtual breadboard update: you now wire a Nano and program it with blocks (radar, servo, LCD, IR remote)

Thumbnail
gallery
6 Upvotes

A while ago I posted the virtual breadboard I'm building for learning electronics step by step. The next part is Arduino, and I wanted to show it here before it opens in a few weeks.

What's in the pictures:

• Radar: SG90 servo on D4, HC-SR04 with Trig on D5 and Echo on D6. The servo sweeps 15–165°, the Nano prints "angle,distance." on serial at 9600, and the radar view next to the breadboard draws it, like the classic Processing sketch.

• Potentiometer on A0 mapped 0–1023 to 0–180° on the servo.

• 16×2 I2C LCD on A4/A5 with your own text.

• IR receiver + remote switching LEDs.

How it works:

• the Nano goes into the breadboard and everything is wired with jumper wires

• programs are built from blocks; "Written code" shows the same program as text

• each lesson goes circuit first, then program: predict what it does, change it, fix a broken version, then write it yourself

• 16 lessons, from a blinking LED to games on the LCD

I'd like to hear from people who teach Arduino: which project would you put first for a complete beginner?


r/arduino • • 1d ago

Software Help Which driver should we download for this esp32 for Arduino IDE?

Thumbnail
gallery
48 Upvotes

Ch9102X is written on the right sided black square behind the port. And also the port option is not available in our Arduino IDE.


r/arduino • • 15h ago

Hardware Help Can I use a BD139 to drive a small 12 V fan?

4 Upvotes

It's all I have available. Is it suitable to use with a 12 V, 65 mA fan? If so, what value resistor should I use on the base? I'd like to use PWM to run it at a low speed.


r/arduino • • 1d ago

Hey I'm new CE student need help

Thumbnail
gallery
40 Upvotes

How can i connect this battery to my arduino uno?


r/arduino • • 1d ago

Pimp My Battery Powered Lamp (SunRise/Set Edition)

Thumbnail
gallery
44 Upvotes

This was a small project I put together in between other projects. We have quite a few battery-powered LED lamps around the house, but for us there are two issues with them:

Either you forget to turn the lamp off, and the battery drains quickly, or you forget to turn it on in the first place.

So I removed the original PCB from the lamp and replaced it with an ESP32-C3 and a charging module. I used a resistor to power the existing LED directly from the IO (so no need for a MSFT and power consumption is also low). With a different controller (e.g., ESP32-S3), you could continue to use the touch button.

I configured the lamp to turn on at 6:30 AM and stay on until sunrise, and then turn on again at sunset and stay on until 9:00 PM.

Here’s how it works:

On first startup, the ESP32 gets the current time from the internet. It then calculates the number of seconds until the next event and goes into deep sleep for that duration. An RTC variable stores whether the lamp should be on or off when it wakes up. Whenever the ESP wakes up, it calculates the next event. I let it run for 2 weeks to determine the inaccuracy of the internal clock, and then I implemented a correction.

Battery life depends on the time of year. In autumn, with the original battery and the resistor in place, this single-LED lamp runs for weeks without needing a recharge, even when used for 4–6 hours a day.

Because of the simplicity of this project and the cozy light it produces, I wanted to buy a few more of the same lamps. Unfortunately, it seems that they are no longer available on AliExpress. In the past, there used to be plenty of listings for them at under €10.


r/arduino • • 1d ago

Powering 12 MG90s servos

7 Upvotes

I need to power 12, MG90s servos. From what I can tell, this will require 5V, and about 3A.

I tried using a MB102 breadboard power module connected to a power plug, but this wasnt enough, so what power supply board can i use, and what battery do i connect to the power supply board, since i want it to use a battery instead of a power plug


r/arduino • • 21h ago

Super Nintendo on Cyberpi

1 Upvotes

You can use Arduino ide to flash a SNES emulator on esp32-based Makeblock's CyberPi. Some people have been flashing things like doom recently. I have made some projects on Arduino ide for the Cyberpi. I also made a doom engine for the Cyberpi.

Here is the Github link: https://github.com/oshsen4262-art/CyberPi-Arduino-Projects

This is also my first github post and reddit. So I hope you enjoy my projects!


r/arduino • • 2d ago

Hardware Help Question

25 Upvotes

With an Arduino, Can I write a block of code to it and “mount it in an enclosure” and have it run the same code over and over again with no interaction to the board other than applying power until eternity?

I’m looking to develop a small toy and essentially looking for a “controller” to run some motors/servos.

If so, What is the cheapest/smallest Arduino to achieve this goal with?

Thank you.


r/arduino • • 1d ago

Software Help Stuck with ESP32-audioI2S crashing my program

4 Upvotes

Hello guys, I've been struggling with this problem for a few days already, and i just can't find the solution. I am using an ESP32-S3-WROOM-1 with platformIO and have written a simple program that uses the ESP32-audioI2S library to attempt to play a file from an SD card.

#include <Arduino.h>
#include <SD_MMC.h>
#include <Audio.h>
#include "pins.h"
#include <Wire.h>
#include "scan.h"
#include "amp.h"
#include "esp_heap_caps.h"

Audio audio;

void my_audio_info(Audio::msg_t m) {
  Serial.printf("%s: %s\n", m.s, m.msg);
}

void setup() {
  Serial.begin(9600);
  delay(1500);

  SD_MMC.setPins(PIN_SDIO_CLK, PIN_SDIO_CMD, PIN_SDIO_D0, PIN_SDIO_D1, PIN_SDIO_D2, PIN_SDIO_D3);

  if (!SD_MMC.begin("/sdcard", false, false, 5000)) {
    Serial.println("SD card init failed");
  } else {
    Serial.println("SD card init success");
  }

  Serial.printf("Total PSRAM: %d bytes\n", ESP.getPsramSize());
  Serial.printf("Free PSRAM:  %d bytes\n", ESP.getFreePsram());
  Serial.printf("Largest free block in PSRAM: %d bytes\n", heap_caps_get_largest_free_block(MALLOC_CAP_SPIRAM));

  Audio::audio_info_callback = my_audio_info;

  audio.setPinout(PIN_I2S_BCK, PIN_I2S_LRCK, PIN_I2S_DOUT);
  audio.setVolume(21);
  if (!audio.connecttoFS(SD_MMC, "/sample-3s.mp3")) {
    Serial.println("failed to connect to mp3");
  }

  delay(100);
}

void loop() {
  audio.loop();
  vTaskDelay(1);
}

When running the code, I get the following in the serial monitor:

SD card init success
Total PSRAM: 2097152 bytes
Free PSRAM:  2065324 bytes
Largest free block in PSRAM: 2064372 bytes
info: inputBufferSize: 655349 bytes
info: Reading file: "/sample-3s.mp3"
Disconnected (read failed: [Errno 6] Device not configured)
Reconnecting to /dev/cu.usbmodem7C0C5F964D501 .  Connected!

After the "info: Reading file:" line, the firmware crashes and reboots. At first I thought there was not enough memory, but i printed the available PSRAM and its way more than the buffer size. Maybe the library was not told to use PSRAM? But I couldn't find a way to do that. What in the world is this issue?


r/arduino • • 1d ago

Hardware Help what is the maximum amount of parts i could plug in my arduino board?

6 Upvotes

hello I'm a beginner in Arduino, and recently i started getting more intrigued by it. However, as I started testing various parts such as ultra sonic sensor, lcd screen, servo motor... I started having questions regarding mixing all these parts in one project and the limitations i would face. for instance, should i avoid connecting everything to one arduino board and use external power source? what if i ran out of digital pins, how to add more pins etc? should i start using my breadboard as i usually neglect it? I would really appreaciate insights on these questions.


r/arduino • • 1d ago

I built my own Arduino-based 180° radar system – Ali's Radar (custom code + active cooling)

0 Upvotes

Hey, I'm Mad Mohammad Ali! Custom ui and code

I wanted to share a project I've been building called Ali's Radar — an Arduino-based ultrasonic radar system with a 180° scanning mechanism and a live radar interface on PC.

This project is built around my own ideas, experiments and custom-written code.

⚙️ Main Features

- 180° servo-controlled radar scanning

- HC-SR04 ultrasonic object detection

- Real-time radar visualisation on PC using Processing

- Live object distance measurement

- Servo-based scanning mechanism

- Joystick controls for manual radar operation

- OLED display integration (planned)

- Active cooling system And On off switch and range selector with 100 cm to 400 cm range

- Custom Arduino and Processing code written by me

🎮 Controls

The system includes a joystick-based control setup:

- VRx: horizontal control

- VRy: vertical control

- SW: joystick button input

The radar also has an ON/OFF control and adjustable scanning behaviour.

❄️ Active Cooling System

I also worked on an active cooling system as part of the project. I wanted to make the setup more than just a basic radar demonstration.

💻 Programming

The Arduino handles the sensor, servo and control inputs, while Processing handles the radar-style PC visualisation.

The code is custom-written by me. I developed and modified the Arduino and Processing sides while testing the system.

🔧 Current Status

The project has had its share of failures and problems during development. Some parts work, while others still need troubleshooting and improvement.

I'm sharing it because I want to document the journey, learn from other makers, and keep improving Ali's Radar.

This is a personal DIY engineering project, and I'm still working on it.

Thanks for checking it out! 📡


r/arduino • • 2d ago

I wrote a free 8-lesson Arduino course for ages 11-14 that runs in Tinkercad, so kids don't need kits

17 Upvotes

When my local library's Arduino program shut down for lack of instructors and materials, a few teammates from my robotics team and I rebuilt it from scratch. It's now taught at five libraries and has reached 1,000+ kids, and a Canadian nonprofit, Digital Moment, adopted the French edition.

What's in it:

- 8 lessons, about 90 minutes each: blinking LED, series vs. parallel, buttons and pull-down resistors, potentiometers and analogRead, servos and map(), switch statements and loops (a 4-mode windshield wiper), and two open-ended capstones

- Every lesson works with real parts OR entirely in the Tinkercad simulator

- Code examples, wiring diagrams, teacher notes, timing, common wiring mistakes, and exit tickets

- Free and MIT-licensed

I'm a high school senior, so I'd really appreciate feedback from people who know this better than I do, especially on the explanations in Lesson 3 (pull-down resistors) and Lesson 7 (millis() vs. delay()). If you teach or mentor and end up using any of it, I'd love to hear how it went.

Link: https://github.com/RohanM1212/teaching-arduino


r/arduino • • 1d ago

Beginner project idea

2 Upvotes

Hello,

I have bought the starter kit with the uno r3, and I got an idea I would think would be really fun personally. I want to make a hub kinda like a hygrometer but also add a UV sensor for my lizard. Would that be a complex first project to start with?


r/arduino • • 2d ago

Look what I made! Arduino MEGA as a JTAG probe??

3 Upvotes

I'm not sure how many details to include, tried all possible googling for how to debug a MEGA and all I found was I had to buy an AVR ICE ?

took me a few weeks to figure this out, all vibe coded so YMMV, you can turn your spare MEGA in a JTAG probe to help debugging another MEGA .

pretty much all that you need is in the repo README

stars, sponsors, forks, comments, issues, feedbacks appreciated

https://github.com/lsdlsd88/mega-jtag-killer


r/arduino • • 2d ago

Uno Q Help with serial Arduino Uno Q

2 Upvotes

Hi. I got the Uno Q last spring but haven't gotten the serial to work which has led to me not using it.

I have found tips on the internett to use the monitor command instead and have coppied code from there. The Uno Q hasn't responded at all.

I know that there is a connection as I can upload all other code as normal. It is however difficult to start to use it without the serial.

I don't have a lot of experience having only used Arduino for one school year building one salinity sensor and a very simple car. Some please ask questions if you need more context and there is relevant information that I haven't given😊

It may be relevant to say that I code on a school Laptop which has applab blocked (as well as almost everything else🫠) so I use the Arduino IDE both the IDE and Uno Q module in the IDE is up to date.

Thanks in advance😊


r/arduino • • 2d ago

Hardware Help How should I connect an MG996R servo, MQ-2 sensor, and flame sensor to an Arduino Mega using an external power supply? (Preferably without soldering)

2 Upvotes

Currently working on a school prototype and I'm trying to figure out the best way to connect my components with proper wiring and tools to use.

I currently have:

  • Arduino Mega 2560
  • 2 flame sensors, MQ-2 gas/smoke sensor
  • MG996R servo motor, XL4016 DC-DC buck converter
  • 12V DC power adapter, 9V battery
  • M/F terminal blocks, Jumper wires, and a Breadboard.

What I'm trying to achieve:

I want to use one MG996R servo with two different operating modes:

  • If either flame sensor detects a fire in its direction, the servo rotates toward that specific area and holds its position.
  • If the MQ-2 detects smoke or gas but neither flame sensor provides a reliable direction, the servo continuously rotates back and forth within its 180° range until the detection clears.

The MQ-2 is intended as a backup trigger since it cannot identify the direction of a fire..

not tested with the sensors yet. It's just my intended arrangement, but you get the idea.

I've already tested the servo using a breadboard, and it works. However, it doesn't seem to reach its full movement potential. I suspect this is because the breadboard and USB power source aren't providing enough current for the MG996R, which can demand around 2A under heavy load. I also tested it using my computer's USB connection, but I only ran it briefly because I didn't want to overload the USB power source.

My questions:

  1. What's the best way to distribute power to these components in parallel? Can I use my 12V adapter with the XL4016 to provide the servo with its required voltage and current while powering the Arduino and sensors separately through properly regulated outputs?
  2. Should the Arduino and sensors have a separate power supply from the servo, or can they share the same 12V source through properly regulated outputs?
  3. How should I connect the grounds and signal wires between the Arduino, sensors, buck converter, and servo? Would terminal blocks or other connectors be suitable instead for making these wiring connections without soldering?
  4. Would you recommend keeping the breadboard for sensor connections only and using separate terminal blocks or another method for the servo's power connections?

I'd appreciate any wiring diagrams, suggestions/comments, or some advice from people who have worked with similar components. Thanks!


r/arduino • • 3d ago

I made my ESP32 play any song on the ocarina in Zelda

249 Upvotes

I built a small project that plays songs on the ocarina in Ocarina of Time on the Switch 2. The songs in the video are Clock Town (Day 2) from Majora's Mask and Littleroot Town from Pokémon Emerald.

The hardware is just an ESP32-WROOM-32 dev board, with an optional SSD1306 OLED. No other parts. It also works with a Raspberry Pi Pico / RP2040 over USB.

The ESP32 (Arduino core + ESP-IDF, built with PlatformIO) pairs with the Switch over classic Bluetooth and shows up as a Pro Controller. A web page running locally in Chrome turns an MP3 or MIDI file into a melody. For audio it uses Spotify's Basic Pitch to detect the notes, and for MIDI it finds the melody track. Then it fits the melody into the ocarina's range (B3 to F5) and maps each note to its button combo.

The page sends the song to the ESP32 over Web Serial, and the ESP32 presses the buttons with the right timing.

The hardest part was getting a clean melody out of full songs: when the accompaniment is as loud as the melody, the detection picks wrong notes. So there's an assisted mode where you drag over the right notes to fix a passage.

I used Claude (AI) to help write a lot of the code. The idea, the testing on real hardware and the design choices are mine.

Code and firmware (GPL-3.0):

https://github.com/Frigime/AutoOcarina

Happy to answer questions!


r/arduino • • 1d ago

How much i should integrate Ai in my workflow?

0 Upvotes

Hello everyone i have just started arduino and i have been playing around with different parts and mixing things up, however, in this process i mostly used ai for coding, like 90% of code is done by it, and i keep trying to understand what it have done. I'm wondering if my dependence on Ai would make a problem for me on the future? Should i work on reducing it? Or just stay this way and try to learn from what it writes the maximum possible? Thank you in advance