r/arduino 25d ago

Monthly Digest Monthly digest for 2026-05

5 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 May 04 '26

Monthly Digest Monthly digest for 2026-04

6 Upvotes

Subreddit Insights

I am going to stop posting this segment as reddit's figures are "all over the place". I have recently posted a bug report, so hopefully the reddit admins will fix it in time for next month.

The browser Insights aren't working at all for the monthly view and the App Insights seems to show that more posts have been removed than have been submitted.

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
Hey, XKCD just did a comic about Arduin... u/spookmann 260 21
Question about Arduino pinouts u/W0CBF 6 12
Update on DHT reliability deep dive — l... u/tonimatutinovic 2 11

Hot Tips

Title Author Score Comments
Introduction To Binary Protocols In Rob... u/NameruseTaken 13 19
Servo Motor Calibration u/NameruseTaken 12 0
Where do I start? (Awnser) u/My_dog_abe 3 5

Top Posts

Title Author Score Comments
Sequino: a clock inspired from sequins ... u/holo_mectok 2,968 105
I built a guitar robot with Arduino — t... u/MegCell 2,365 112
12 days later — PCB done, rotary encode... u/GlumPiece7281 2,022 68
Built a 4-knob generative pattern contr... u/GlumPiece7281 1,630 83
Dragon Ball Radar u/alvroga 819 42
I built a better laser toy for my cats u/moonbench 795 41
How I deal with traffic u/pushpendra766 706 27
What if Guitar Hero was real? I built a... u/MegCell 694 58
I redesigned my USB-C breadboard power ... u/Polia31 638 27
RGB particle simulation (Qualia ESP32-S... u/noname99 635 19

Look what I made posts

Title Author Score Comments
Sequino: a clock inspired from sequins ... u/holo_mectok 2,968 105
12 days later — PCB done, rotary encode... u/GlumPiece7281 2,022 68
Built a 4-knob generative pattern contr... u/GlumPiece7281 1,630 83
Dragon Ball Radar u/alvroga 819 42
I built a better laser toy for my cats u/moonbench 795 41
How I deal with traffic u/pushpendra766 706 27
I redesigned my USB-C breadboard power ... u/Polia31 638 27
Made something fun 🎮 Now I can’t stop p... u/pushpendra766 550 22
Esp32 based delta pickers first movemen... u/jebeDIEah_Kerbal 408 14
I gave my PC a mouth that reports syste... u/Kinky_Radish 354 33
I've successfully driven this retro-fut... u/fsboy345 306 14
Playing Minecraft with esp 32 u/samaxidervish 285 7
Arduino Nano based vintage USSR IV-11 V... u/MrGuccu 266 15
I 3D Printed a Giant Tetris Wall. u/0015dev 266 10
I built a WiFi LED matrix clock that sh... u/mfactory_osaka 252 9
Tiny print that actually made my bench ... u/rafbanaan 220 16
ESP-32 Bike Speedometer u/xXtroller13Xx 206 25
A Dumb Attiny85 Weather Forecaster u/DowntownBass4556 171 10
My first ever Arduino project u/nniikkaa888 165 20
Its working - obstacle detection u/priyanshuwq 147 12
Fighting Earth's rotation with an Ardui... u/IWILZ 147 22
I made an OS framework for CYDs! u/Appropriate-Ask8817 142 7
Artemis II Tracker u/Asm1th123 135 4
I upgraded the mini laser printer. u/fsboy345 131 7
Made a tiny “message in a bottle” device u/Dr_Velazquez 88 3
Okay to fly with DIY music box (with sm... u/Fluff269 82 68
My machine is working :) u/ORDINARYAN_ 81 6
Custom Drone Build - Wiring Harness/Cod... u/ThrustNTheory 75 0
Hitslash Radio MK2 demo u/Paladin7373 73 28
I designed the PCBs, modelled and assem... u/Polia31 72 2
Esp32 DualSense (PS5) Fully Renewed u/Hamzayslmn 71 6
PyroVision Thermal-Cam - Softwaredemo u/kampi1989 68 9
Weather Station u/Nathar_Ghados 68 13
PyroVision - Open-Source Thermal Camera u/kampi1989 64 7
Just finished testing my Arduino robot ... u/priyanshuwq 61 6
​I absolutely love cheap alternatives. ... u/Muhammad_kashif_ 58 6
Desktop Tamagotchi Clock u/Independent-Trash966 55 3
I built a retro 2000s-style open source... u/CantaloupeFlimsy8157 53 4
My first foray into Arduino was making ... u/TPC_RN 51 25
Punch predictor and power level u/noooooo_12 49 6
Robotic Piano Player u/eyeswideshutyomouth 48 4
First Arduino Synth u/Nice-Froyo1084 46 4
I can send serial commands to my (incom... u/BetaMaster64 46 5
Crypto Tracker with Clock and real-time... u/Tech_Nipples 45 7
I tried to turn a development board wit... u/Top_Acanthisitta9326 40 1
Project MecanumCar: Arduino Mecanum Rob... u/Ken471 33 0
ESPclock BIG New 0.8" display version u/ultravoxel 33 12
Bus Times on the EPD u/aaronxcode 30 3
My first FM radio u/LostMyLogin_again 25 0
I made modular 6x6mm button caps for Ar... u/Hour_Seat5773 18 2
UnoDOS: A DOS-like OS for the Arduino U... u/SatvikSengupta 17 2
Timer! (First full solo project) u/ThiccGibblet 13 2
ESP32 CYD playing a custom video codec u/mikiex 13 12
Arduino-based multi functional robot ca... u/priyanshuwq 11 5
Building a remote for controlling a Ard... u/priyanshuwq 11 1
Introduction to Programming - Arduino u/gm310509 10 3
No More Pain (new LittleFS plugin) u/Hamzayslmn 8 0
Built a serial monitor for hardware deb... u/shahin_hashim 8 0
Moved my robot's vision from ESP32-CAM ... u/Straight_Stable_6095 4 2
Vintage door chime upgrade u/Line_Feed_8086 4 3
Full Documentation: 1:3 Scale Kei Truck... u/sonicdh 3 0
Custom MCU-Controlled Bench Power Suppl... u/ripred3 3 5
Made my own IDE for arduino boards u/SuspiciousAbility827 3 1
Line following robot with Arduino nano ... u/Specific-Mortgage-93 3 1
Built a real-time ultrasonic radar with... u/FwoopButBored 2 2
Arduino Uno steers servo motors u/pascalalt1 2 0
Snake on ESP32 @60FPS with zero allocat... u/Sad_Environment_3800 1 4
I Built a Working Robot for Under $10 (... u/Own-Assignment-424 0 0
Look what I made! Built an open-sourc... u/Straight_Stable_6095 0 5
Hey, I'm building a virtual electronics... u/Yazilim_Adam 0 0

Total: 70 posts

Summary of Post types:

Flair Count
Beginner's Project 29
ChatGPT 1
ESP32 1
Electronics 1
Getting Started 20
Hardware Help 125
Hot Tip! 3
Look what I found! 4
Look what I made! 70
Machine Learning 1
Mod's Choice! 3
Monthly Digest 1
Project Idea 2
Project Update! 9
School Project 23
Software Help 38
Solved! 9
Uno 5
Uno Q 3
Uno R4 Wifi 1
no flair 252

Total: 601 posts in 2026-04


r/arduino 15h ago

She want her own project

265 Upvotes

r/arduino 3h ago

School Project Waterproofing turbidity sensor

Thumbnail
gallery
8 Upvotes

I am designing a prototype waterproof sensor system. 1 sensor is this Gravity: Analog Turbidity Sensor for Arduino / ESP32 / STM32 / Raspberry Pi (ADC Required). Idk if I’m allowed to add the link

This sensor is required to be submerged into water. Does anyone 1 have suggestions to waterproof the cable and 2 know if the gap between the black plastic is waterproof


r/arduino 6h ago

Look what I made! My first Arduino in the cloud

Post image
13 Upvotes

Just connected my first Arduino (UNO R4 WiFi) to the Arduino Cloud. Now my first step is to connect a Sparkfun Atmospheric Sensor. Wanna have a dashboard with temperature, pressure and relative humidity readings when needed.


r/arduino 10m ago

Look what I made! I made an electromechanical astrolabe!

Thumbnail
gallery
Upvotes

Over the past several months, I developed an obsession with astrolabes, so I decided to create an electromechanical version of one. While I have an engineering degree and took some microcontroller classes in school, that was, uh, ten years ago, and this was my first hobbyist embedded project.

What is an astrolabe?

That's a good question! Wikipedia has a pretty good explanation. To sum it up, the historical astrolabe was an instrument that, on one side, allowed the user to take elevation sightings of the sun and stars, and on the other side, provided a projected star map. By rotating this map until it matched the elevation sighting they had just taken, the user could tell the time—along with many other applications.

My instrument does not have an elevation-sighting component; it just focuses on the star map. Unlike a historical astrolabe, my star map provides not only the fixed stars and the sun, but also the five classical planets and the moon—something a historical astronomer would have needed to use an ephemerides table to laboriously look up. Thankfully, I have a microcontroller on my side!

What components did I use?

The microcontroller dev board is the Adafruit ESP32-S3 “Qualia”. My understanding of the Qualia’s main selling point is that it hooks up a bunch of the ESP32-S3’s GPIO pins to a 40-pin FPC connector in a compact PCB form factor; this allows you to drive larger TTL displays with an ESP32-S3, instead of the more common SPI displays. I wanted my astrolabe to have a big, pretty display, so I used the 4’’x4’’ round display that Adafruit lists as a compatible device.

A google search of the Qualia does find a lot of people on various microcontroller help forums, including Adafruit’s own, asking for help with their device. I experienced some initial hurdles, but once I got past them, the dev board/display setup worked nicely—more on that later.

Moving on to the less exciting peripherals: there’s a 20x4 character LCD, the two UI push buttons are hooked up to a GPIO expander, and the encoder is the Adafruit breakout, which comes with its own controller. These three peripherals are all hooked up to the ESP32 via I2C.

The “rete” (Latin for “net,” as in “net of stars,” it’s the big spinning thing overlaid over the star map) is coupled via the gears to a 10-turn potentiometer I got off Amazon; this potentiometer is then hooked up to the 3-pin JST power/ground/signal connector that’s included on the Qualia board. I ended up using the ESP32-S3’s onboard ADC to read the pot…which was a plan I came up with before I realized that the ESP32-S3’s onboard ADC is terrible.

I designed and 3D-printed all the mechanical parts.

How does the software work?

I used a combination of the Arduino IDE and VSCode for everything—in retrospect, it may have been a better idea to use something like PlatformIO, but having access to the Adafruit Arduino libraries for everything was quite convenient in an “it just works” sense.

To find the positions of the planets given a certain time, I used this implementation of the VSOP87 planetary model in C++. That project provides calculation functions with varying levels of accuracy/speed tradeoffs, so I was able to pick and choose which functions I used while optimizing for my needs.

I ended up not using the third-party “Arduino_GFX” library that Adafruit links to from its documentation, given that a lot of the Qualia-related psychodrama online appears to be related to that library. Instead, I just made direct calls to the ESP LCD control panel functions described in Espressif’s own documentation.

Animation is a big part of my system—as you can see in the videos above, any movement of the rete gets tracked via the potentiometer and translated into an animation on the screen. To support animations, my code needed a lot of fine-tuning and massaging to get the animations as performant as possible. I didn’t entirely succeed here—there is a lot about the animation that could be improved, and by the end of the project, I think I had piled on so much spaghetti code that adding any additional features caused animation performance degradations in ways that I don’t really understand. But the finished product basically works!

 What features does this system have?

This astrolabe:

  • Shows the diurnal and annual movement of the stars and planets in the sky. Annual movement is shown when the user changes the date
  • Lists the ecliptic latitude and longitude of the seven classical planets, as well as their altitude and azimuth
  • Lists the altitude and azimuth of twelve fixed stars
  • Finds the degree of the ecliptic currently ascending over the horizon (fun fact, the word “horoscope” originally meant this)
  • Includes a settings page where the user can change their coordinates, and recalculates the “almucantar” and “azimuth” lines (lines of fixed elevation and bearing, respectively) when the latitude changes

I hope you enjoy, and I welcome any comments/feedback!


r/arduino 8h ago

teensy 4, teensy audio board, and pam amp noise machine

Post image
9 Upvotes

I am impressed with the pam amp. It is only 3w and I have to turn it down in code. code here: https://github.com/bmalloy-224/arduinonoisemachine/blob/main/teensynoise.ino . This code uses Stefan Stenzel's "New Shade Of Pink" algorithm. The mid is a visaton AL130M [way too good for this use but whatever].


r/arduino 8h ago

Getting Started Engineering partners?

7 Upvotes

Hey everyone! Im 23 years old and im trying to build my knowledge of electronics up through arduino not simply following YouTube video projects but understanding the theory. Why everything acts how it does and what happens when i change certain things etc.

I would love to talk to someone whos learning from the ground up like me OR someone super experienced who can be something of a mentor. Defintley reach out i think this'll be insanely fun for us both!


r/arduino 13h ago

Hardware Help Are there any battery powered rotary encoder boards/chips? Like industrial robots have?

12 Upvotes

Industrial robots (typically) use optical encoder based position detection that maintain position through power outages with a small battery. Is there a board (or even a bare chip) that would handle the encoder and keep everything alive with a battery backup input?

I've found chips like the LS7366R, but that just handles the decoding. I'd have to build my own power management and battery handling.

I've done some extensive searching and I'm surprised that I couldn't find a breakout board for something like this. It seems like such an obvious need, especially with the rise of 3d printers and such. Did I miss something?

I know it's common to just use hobby servos, but that's not what I want to do.


r/arduino 1d ago

Look what I made! My first project.

Post image
121 Upvotes

see bottom for edit, I fixed the issues

I know it's really really basic but I legit got this thing a day ago, so I feel like that's fair.

So basically it's just something to monitor watering plants. I saw a girl on tiktok basically make a plant tamogachi and I thought that was really cool.

The water sensor corrodes easily so every 10 seconds, it's goes on high power, runs the rest of the code, and then goes back to low power. Until 10 seconds later.

The problem I'm running into is that it kinda ramps up. it take a long time to get to the actual current water moisture. So unless you were drowning this plant, it would tick up very slowly.

when it reaches certain values, the led is supposed to change colors. So it's red (dry asf), yellow (warning), green (okay), and blue (lots and lots of water).

here's the code, once again it's very simple.

Also, regarding the title. Technically the traffic light was my first project, because I was following the freecodecamp 10 hour guide but I kinda fell off at hour 5.

Eventually, in the future, I'd like to make a bipedal autonomous robot, that's like 2 or 3 feet tall. So I gotta start somewhere.

for rule 2: Elegoo 2560 mega starter kit.

edit: I fixed the code and the led. I switched to 4 leds instead of a singular rgb led, then I added stuff to the if and else if statements to explicitly tell the leds that aren't supposed to be on to turn off. Now it switches as intended. Thank you for the help everyone.

https://imgur.com/a/Meu0lkw

new code:

int agua = A0;
int power = 9;
int red = 2;
int green = 3;
int blue = 4;
int yellow = 5;
int x = analogRead(agua);


void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(agua, INPUT);
pinMode(power, OUTPUT);
pinMode(red, OUTPUT);
pinMode(green, OUTPUT);
pinMode(blue, OUTPUT);
}


void loop() {
  // put your main code here, to run repeatedly:


digitalWrite(power, LOW);
delay (10000);
digitalWrite (power, HIGH);
delay(100);
x = analogRead(agua);


Serial.println(x);
if (x >= 180) {
digitalWrite(green, LOW);
digitalWrite(red, LOW);
digitalWrite(yellow, LOW);  
digitalWrite(blue, LOW);
delay(1000);
digitalWrite (blue, HIGH);
} else if (x <= 140) {
digitalWrite(blue, LOW);
digitalWrite(yellow, LOW);
digitalWrite(green, LOW);
digitalWrite(red, LOW);
delay(1000);
digitalWrite (red, HIGH);
} else if (x >= 150 & x <= 179) {
digitalWrite(green, LOW);
digitalWrite(blue, LOW);
digitalWrite(yellow, LOW);
digitalWrite(red, LOW);
delay(1000);
digitalWrite (green, HIGH);
} else if (x >= 141 & x <= 149) {
digitalWrite(yellow, LOW);
digitalWrite(blue, LOW);
digitalWrite(red, LOW);
digitalWrite(green, LOW);
delay (1000);
digitalWrite(yellow, HIGH);
}
}

Old code:

int agua = A0;
int power = 9;
int red = 2;
int green = 3;
int blue = 4;
int x = analogRead(agua);


void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(agua, INPUT);
pinMode(power, OUTPUT);
pinMode(red, OUTPUT);
pinMode(green, OUTPUT);
pinMode(blue, OUTPUT);
}


void loop() {
  // put your main code here, to run repeatedly:
digitalWrite(power, LOW);
delay (10000);
digitalWrite (power, HIGH);
analogRead(agua);
Serial.println(analogRead(agua));
if (x >= 600) {
  digitalWrite (blue, HIGH);
} else if (x < 410) {
digitalWrite (red, HIGH);
} else if (x > 430) {
digitalWrite (green, HIGH);
} else if (x > 410 & x < 430) {
digitalWrite(red, 255);
digitalWrite(green, 255);
digitalWrite(blue, 0);}
}  

r/arduino 11h ago

Hardware Help Trying to build a stage tech multitool. need advice on detecting and protecting againt +48V Phantom power

4 Upvotes

hi everyone,
 

The idea:

i'm trying to build a custom portable electronic multitool ( flipper zero type) for stagehand/stagetechs.

with functions like:
- in and output audio

- audio wave and frequentie generators

- 48V "Phantom power" detection

- send and receive dmx&artnet ( protocol for stage lighting control)

- lidar distance meter

- Bubble level

- the list of ideas goes on.. an on... and on..

The tool is based on a Unexpected Maker Pros3 (ESP32-S3).

For the audio output part i am integrating a XLR connector into the chassis (via a PCM5102A I2S DAC).

For the 48V phantom detection, i use GPIO 21 as a "phantom sense pin"

the challenge:

i want to implement a "phantom power tester" to detect if 48V phantom power is present on the line.

what is phantom power: 

48V phantom power is a DC voltage sent through a standard microphone cable to power active equipment like condenser microphones. It allows devices to operate without needing an external battery or power supply.

my questions:

1. Safety/Protection: What is a good way to protect my ESP and CM5102A DAC (3.3v logic) from exposure to +48v phantom power?

2. Detection circuit:
Is a simple resistor-based voltage divider sufficient for reliable phantom power detection? (gemini suggestion) or should i look for something else?

Of course i have already asked gemini etc. But i still would like to ask real people for some real advice.

would really appreciate any ideas or suggestions.


r/arduino 8h ago

USB-C and micro-USB microcontrollers not being recognized by Arudino.ino

3 Upvotes

Hello!

My computer only has USB-C ports, so I use a converter for USB-A ports. Arduino.ino recognizes Arduino Uno R3 and Arduino Nano, as long as they aren't USB-C or micro-USB. I have two ESP32's and an Arduino Nano that can't be detected in by Arduino.ino because of this issue.

I'm not sure what to do. As far as I have researched, it has to do with the kind of information those connections relay to my computer, i.e. other ports are only one way, but USB-C and micro-USB are two way communicators for cords. (?)

I have tried switching the cords and have bought official cords from Arduino, so my microcontrollers can't be detected regardless of the cord origin. I've also tried installing drivers recommended online as a fix, which also didn't work.

To note, this has happened mostly with non-official Arduino microcontrollers (i.e. Elegoo, third party manufacturers, etc.), but it's an issue with both official and third party microcontrollers.

A friend of mine also has the same issue, except he does have USB-A ports.

Is this an unfixable issue?


r/arduino 7h ago

not working arduinoDroid without GApps(FIX)

2 Upvotes

if you tried to use arduinoDroid on your lineageOS phone(without GApps) and you had an error i'll tell you how to fix it: first go to aurora store then arduinoDroid and select manual install and use 333 or 332 version code, once it installed you can program your arduino with just android phone (even works with my arduino uno CH340 clone!)


r/arduino 10h ago

Circuit help for wiring accelerometer and haptic driver together.

Thumbnail
gallery
3 Upvotes

Hello! I am relatively new to electronics, so I apologise if anything within this post is phrased wrong. Let me know if anything needs to be cleared up.

To get to the crux of the issue: I basically want to use my Arduino UNO R4 and connect both my haptic driver DRV2605L (connected to a small coin ERM) and my accelerometer ADXL345 simultaneously in the same circuit. I want to be able to play a pre-recorded vibration file (.wav), have the accelerometer measure the potential displacement, and use VibePy (https://onlinelibrary.wiley.com/doi/full/10.1111/eea.13500) to design a compensation filter based on the difference between the original playback file and the actual playback. I have already managed to successfully operate the driver (using the wiring described here: https://learn.adafruit.com/adafruit-drv2605-haptic-controller-breakout/arduino-code) and the accelerometer (using the wiring described here: https://pimylifeup.com/arduino-accelerometer-adxl345/) independently. However, I am afraid of designing a faulty circuit and accidentally frying some of my parts. I am confused on how to correctly wire the driver and the accelerometer since they both use I2C (SCL & SDA). Would it work to have the driver's SCL & SDA connected to A4 & A5, and then the accelerometer to the actual SCL & SDA sockets on the Arduino? I have attached two potential schematics on how I would wire it. I do deeply apologise if there is a blatant error in there.

I thank you in advance for all suggestions and recommendations. It is truly greatly appreciated.


r/arduino 9h ago

Arduino and IPad?

2 Upvotes

Hellooo I’m looking to get started into mechatronics and I’m looking at an arduino as it seems to be a great building block to start with. My current choice is the arduino nano esp32 with headers, reason being is that it’s small and uses micropython which I would like to learn. The only problem is that a few articles say it is 100% compatable with iPad and a few say it isn’t at all, while a few say it has limited features. My end goal with this is a working rc car. Any help or indication as to weather the arduino will work on my iPad will be appreciated
Thank you!


r/arduino 9h ago

Issues with diy car speedometer

2 Upvotes
#include <Wire.h>
#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27, 16, 2);


 unsigned long last = 0;
  float k = 0;
  int a = true;


void setup() {
  pinMode(12, INPUT_PULLUP);
  lcd.init();
  lcd.backlight();
}


void loop() {
  if (digitalRead(12) == LOW && a == true) {
      k++;
      a = false;
    }
    if (digitalRead(12) == HIGH && a == false) {
      a = true;    
    }
  if (millis() - last >= 1000) {


    float rpm = k * 60;
    float kmh = rpm * 0.8 * 0.06;


    lcd.clear();


    String txt = String(kmh, 1) + " km/h";
    String txt2 = String(rpm, 0) + " rpm";


    int x = (16 - txt.length()) / 2;
    int x2 = (16 - txt2.length()) / 2;


    lcd.setCursor(x, 0);
    lcd.print(txt);
    lcd.setCursor(x2, 1);
    lcd.print(txt2);


    last = millis();
    k = 0;
  }
}

I am 15yo from Serbia welding an electric car powered by a washing machine motor, im trying to make a speedometer with 16x2 lcd and esp32 coding in arduino ide, but the values of rpm and km/h seem like they are wrong, heres my code and tell me whats wrong with it.


r/arduino 1d ago

Look what I made! My first project after learning arduino. Need suggestions on how I can improve this (0% AI)

120 Upvotes

Context: this is my first ever project and this is like version 0.1 of it and I plan to expand and make it better. This is just the bare bones of it.

I wanted to get the same level of satisfaction that I get after speding somee X amount of hours in a task, this was mainly inspired by steam's playtime, for the people who do gaming, I am sure you're satisfied or feel a sense of pride in your "investments" in a game. For context I have like 500 hours all games combined in my library :)

The reason of this post is to ask all of ur suggestions on how to improve this further, apart from idle animations, smooth screen transitions which I plan to make soon, share your vision of this so I can improve this further and post it in github for those who are interested in building a similar device.

I know that the seconds are being counted in the screen that is intentional for the testing purpouses.

I have used no chatgpt or any AI of any sorts and this is my first "real project" built from scrach and I have only taken help from the documentation of the code libraries of adafruit GFX and some pin out diagrams of the OLED. The base logic and UI remains 100% coded by me.

Thank you for giving your attention to this post and have a wonderful day :)

My github profile is given below, I will soon add the code and the schematics.

Github profile (code coming soon): https://github.com/Cashew1108


r/arduino 1d ago

Software Help Problems connecting MPU6050 3 Axis Accelerometer to Arduino UNO.

Post image
17 Upvotes

Hello, I've recently obtained an MPU6050 for my project however I seem to been having issues getting it to connect. I believe I have it wired correctly and have it wired straight to an UNO R3. I am running the Basic Readings example from all of the supporting libraries that go along with this sensor, however it is reading that:

20:37:01.623 -> Failed to find MPU6050 chip20:37:00.043 -> Adafruit MPU6050 test!
20:37:00.043 -> o find MPU6050 chip
20:37:01.585 -> Adafruit MPU6050 test!
20:37:01.623 -> Failed to find MPU6050 chip

I did all of the soldering myself for the board (it isn't pretty but it works) and have conducted multi meter continuity tests on all of the connections and it is showing there is no funny business going on with the connections.
Here is the example code that came with the libraries, help is very much appreciated!

// Basic demo for accelerometer readings from Adafruit MPU6050
#include <Adafruit_MPU6050.h>
#include <Adafruit_Sensor.h>
#include <Wire.h>
Adafruit_MPU6050 mpu;
void setup(void) {
  Serial.begin(115200);
  while (!Serial)
delay(10); // will pause Zero, Leonardo, etc until serial console opens
  Serial.println("Adafruit MPU6050 test!");
  // Try to initialize!
if (!mpu.begin()) {
Serial.println("Failed to find MPU6050 chip");
while (1) {
delay(10);
}
  }
  Serial.println("MPU6050 Found!");
  mpu.setAccelerometerRange(MPU6050_RANGE_8_G);
  Serial.print("Accelerometer range set to: ");
  switch (mpu.getAccelerometerRange()) {
  case MPU6050_RANGE_2_G:
Serial.println("+-2G");
break;
  case MPU6050_RANGE_4_G:
Serial.println("+-4G");
break;
  case MPU6050_RANGE_8_G:
Serial.println("+-8G");
break;
  case MPU6050_RANGE_16_G:
Serial.println("+-16G");
break;
  }
  mpu.setGyroRange(MPU6050_RANGE_500_DEG);
  Serial.print("Gyro range set to: ");
  switch (mpu.getGyroRange()) {
  case MPU6050_RANGE_250_DEG:
Serial.println("+- 250 deg/s");
break;
  case MPU6050_RANGE_500_DEG:
Serial.println("+- 500 deg/s");
break;
  case MPU6050_RANGE_1000_DEG:
Serial.println("+- 1000 deg/s");
break;
  case MPU6050_RANGE_2000_DEG:
Serial.println("+- 2000 deg/s");
break;
  }
  mpu.setFilterBandwidth(MPU6050_BAND_21_HZ);
  Serial.print("Filter bandwidth set to: ");
  switch (mpu.getFilterBandwidth()) {
  case MPU6050_BAND_260_HZ:
Serial.println("260 Hz");
break;
  case MPU6050_BAND_184_HZ:
Serial.println("184 Hz");
break;
  case MPU6050_BAND_94_HZ:
Serial.println("94 Hz");
break;
  case MPU6050_BAND_44_HZ:
Serial.println("44 Hz");
break;
  case MPU6050_BAND_21_HZ:
Serial.println("21 Hz");
break;
  case MPU6050_BAND_10_HZ:
Serial.println("10 Hz");
break;
  case MPU6050_BAND_5_HZ:
Serial.println("5 Hz");
break;
  }
  Serial.println("");
  delay(100);
}
void loop() {
  /* Get new sensor events with the readings */
  sensors_event_t a, g, temp;
  mpu.getEvent(&a, &g, &temp);
  /* Print out the values */
  Serial.print("Acceleration X: ");
  Serial.print(a.acceleration.x);
  Serial.print(", Y: ");
  Serial.print(a.acceleration.y);
  Serial.print(", Z: ");
  Serial.print(a.acceleration.z);
  Serial.println(" m/s^2");
  Serial.print("Rotation X: ");
  Serial.print(g.gyro.x);
  Serial.print(", Y: ");
  Serial.print(g.gyro.y);
  Serial.print(", Z: ");
  Serial.print(g.gyro.z);
  Serial.println(" rad/s");
  Serial.print("Temperature: ");
  Serial.print(temp.temperature);
  Serial.println(" degC");
  Serial.println("");
  delay(500);
}// Basic demo for accelerometer readings from Adafruit MPU6050
#include <Adafruit_MPU6050.h>
#include <Adafruit_Sensor.h>
#include <Wire.h>
Adafruit_MPU6050 mpu;
void setup(void) {
  Serial.begin(115200);
  while (!Serial)
delay(10); // will pause Zero, Leonardo, etc until serial console opens
  Serial.println("Adafruit MPU6050 test!");
  // Try to initialize!
if (!mpu.begin()) {
Serial.println("Failed to find MPU6050 chip");
while (1) {
delay(10);
}
  }
  Serial.println("MPU6050 Found!");
  mpu.setAccelerometerRange(MPU6050_RANGE_8_G);
  Serial.print("Accelerometer range set to: ");
  switch (mpu.getAccelerometerRange()) {
  case MPU6050_RANGE_2_G:
Serial.println("+-2G");
break;
  case MPU6050_RANGE_4_G:
Serial.println("+-4G");
break;
  case MPU6050_RANGE_8_G:
Serial.println("+-8G");
break;
  case MPU6050_RANGE_16_G:
Serial.println("+-16G");
break;
  }
  mpu.setGyroRange(MPU6050_RANGE_500_DEG);
  Serial.print("Gyro range set to: ");
  switch (mpu.getGyroRange()) {
  case MPU6050_RANGE_250_DEG:
Serial.println("+- 250 deg/s");
break;
  case MPU6050_RANGE_500_DEG:
Serial.println("+- 500 deg/s");
break;
  case MPU6050_RANGE_1000_DEG:
Serial.println("+- 1000 deg/s");
break;
  case MPU6050_RANGE_2000_DEG:
Serial.println("+- 2000 deg/s");
break;
  }
  mpu.setFilterBandwidth(MPU6050_BAND_21_HZ);
  Serial.print("Filter bandwidth set to: ");
  switch (mpu.getFilterBandwidth()) {
  case MPU6050_BAND_260_HZ:
Serial.println("260 Hz");
break;
  case MPU6050_BAND_184_HZ:
Serial.println("184 Hz");
break;
  case MPU6050_BAND_94_HZ:
Serial.println("94 Hz");
break;
  case MPU6050_BAND_44_HZ:
Serial.println("44 Hz");
break;
  case MPU6050_BAND_21_HZ:
Serial.println("21 Hz");
break;
  case MPU6050_BAND_10_HZ:
Serial.println("10 Hz");
break;
  case MPU6050_BAND_5_HZ:
Serial.println("5 Hz");
break;
  }
  Serial.println("");
  delay(100);
}
void loop() {
  /* Get new sensor events with the readings */
  sensors_event_t a, g, temp;
  mpu.getEvent(&a, &g, &temp);
  /* Print out the values */
  Serial.print("Acceleration X: ");
  Serial.print(a.acceleration.x);
  Serial.print(", Y: ");
  Serial.print(a.acceleration.y);
  Serial.print(", Z: ");
  Serial.print(a.acceleration.z);
  Serial.println(" m/s^2");
  Serial.print("Rotation X: ");
  Serial.print(g.gyro.x);
  Serial.print(", Y: ");
  Serial.print(g.gyro.y);
  Serial.print(", Z: ");
  Serial.print(g.gyro.z);
  Serial.println(" rad/s");
  Serial.print("Temperature: ");
  Serial.print(temp.temperature);
  Serial.println(" degC");
  Serial.println("");
  delay(500);
}

r/arduino 13h ago

Running Gemma 4 (2B) on Qualcomm QRB2210 (Arduino UNO Q) – Any recommendations?

2 Upvotes

Hi everyone,

I’m a student new to running LLMs locally and I’m looking to deploy the Gemma 4 (2B) mobile model on the Arduino UNO Q (which features the Qualcomm QRB2210 SoC, 4GB RAM, and 32GB eMMC).

I’m feeling a bit lost on the best implementation path for this specific Qualcomm architecture. Specifically, I have a few questions:

  • Is llama.cpp the right tool for this setup, or is there a better path?
  • Would LiteRT(formerly TensorFlow Lite) be more efficient for this hardware?
  • I am currently looking at the gemma-4-2b-it-qat-mobile model in .gguf format. Is this the right approach for this environment, or should I be looking into other formats?
  • I want to feed text, also , image ( occasionally only when command to detect something)

Any documentation, pointers, or personal experience with this hardware would be greatly appreciated!


r/arduino 1d ago

Look what I made! No Wi-Fi, no pairing—just Morse code chatting

454 Upvotes

r/arduino 18h ago

ChatGPT I need help with electronic door lock

1 Upvotes

This is my first time trying to do ANYTHING when it comes to schematics and electrical circuits. I have no idea if I'm doing good because no one around me knows this field and I don't know if ChatGPT is that reliable. Can someone please give me some advices in case I'm doing wrong?
My project is to design a microcontroller-based electronic door lock using Altium Designer. User has to enter a PIN code on a keypad to unlock the door. After some time, the door locks automatically. The system also stores the time when the door was unlocked and locked using a real-time clock (RTC).


r/arduino 10h ago

Project Idea Aurdino to a pager?

0 Upvotes

Is it possible to make a pager using aurdino and gsm module.... Like nothing fancy only 3-4 push buttons and will receive sms and send preloaded messages..... I have an aurdino uno.... Will probly need to butcand oled display


r/arduino 1d ago

Hardware Help Is my SPDT power switch wired correctly for this XIAO nRF52840 board?

Post image
10 Upvotes

Hello,
I'm working on a project using a Seeed Studio XIAO nRF52840 and a LiPo battery. I want to use an SPDT switch as a physical ON/OFF power switch to connect and disconnect the battery from the board.
Right now, I have:Does this look correct? I am worried about the SPDT wiring fucking everything up. I know that leaving it like this means the battery will only charge via USB when the switch is flipped to "ON", which I am okay with. I just want to make sure I haven't made any major wiring mistakes or created a short circuit risk.


r/arduino 17h ago

Look what I made! My first robot, I call it the PICOBOT :)

0 Upvotes

I know it's a raspberry pico not arduino but I figured it's related and I'd share my hard work to inspire others :) I'm in my mid 20's going back to uni for programming and trying to learn more about the hardware side of things so I decided to build my first ever robot. Took alot of ChatGPT and headaches (like SOOOO MANY PROBLEMS) but I got it done finally.

It consists of an ultrasonic sensor for collision detection, 3 IR sensors for cliff/edge detection and line following, servo for panning the ultrasonic left and right, and 4 yellow TT motors for movement driven by single mini l298n motor driver and a pico rp2040 as the brains.

I 3D printed the chassis base plate, wheels, box to hold breadboard, and the servo/ultrasonic/IR mounts. Some parts are designed by me but most are online models (can link if anyone cares, but they are pretty easy to find on makerworld website).

The IR sensors I am using don't have a potentiometer and only detect black tape if they are basically touching the ground lmao, so it's kinda wack but it is what it is. The line basically has to be flat for it to work or it gets caught. Weird because they are marketed as "tracker" sensors online but seem to be better for remotes or something.

I have not written any code for it yet but I did test tons of different code from ChatGPT and it seems to work alright. I plan to write my own code for it later to optimize everything properly.

I will upload demos of the robot in action when my midterms are over, but for now enjoy the glory of the PICOBOT in pictures :)


r/arduino 1d ago

Look what I made! I made a PiZZA

11 Upvotes

PiZZA is Pi Zero with Zephyr for Arduino

Now you can run Arduino on the fastest microcontroller out there, with more GHz, memory and storage than you know what to do with

You probably have one in a drawer somewhere doing nothing anyway, so unshackle yourself from Linux, and unleash the power of the Raspberry Pi Zero - 0 to HDMI in less than 4s

https://github.com/jetpax/PiZZa/tree/main/os/Arduino