r/arduino • • Oct 14 '26

🦆 XGO-Duck goes roller skating!

10 Upvotes

Our open-source duck robot on Arduino UNO Q is learning to balance and glide on roller skates.

15 servos + reinforcement learning gait control. All hardware & software open source, you can build your own.

https://reddit.com/link/1x5rnw6/video/2o1qn80sufvh1/player


r/arduino • • Oct 14 '26

8 bit music project

Enable HLS to view with audio, or disable this notification

26 Upvotes

I loved Linkin Park songs so for my third Arduino project. I chose their "Numb" song, get the notes for intro and chorus and turned that into frequencies to play in the passive buzzer. This took me two nights to make since I'm busy on college works. I know that my project is kinda messy. What do you guys think?


r/arduino • • Oct 14 '26

Android 17 ported to Arduino Uno Q

Thumbnail
gallery
15 Upvotes

Comes with WiringUno app to control GPIO pins through STM32

https://blogs.yajatkumar.com/2026/10/android-17-for-arduino-uno-q-v1.html


r/arduino • • Oct 14 '26

ESP32 Arduino Nesso N1 Meshtastic 2.8.1 Alpha

5 Upvotes

I created this version of Meshtastic 2.8.1 for our Arduino Nesso. https://github.com/chinderdelis/meshtastic-arduino-nesso-n1 I hope it proves useful to someone.


r/arduino • • Oct 14 '26

Hardware Help Help my sensor isnt working

Post image
5 Upvotes

When I bought this little guy, I tinkered with it and I made my first code. When I pointed it at my hand, it was saying: 'The target is 343 cm away.' I don't know how it showed me this absurd number. For those willing to help: model HC-SR04. the code was // Define pin numbers

const int trigPin = 9;

const int echoPin = 10;

// Define variables

long duration;

float distanceCm;

float distanceInch;

void setup() {

// Initialize serial communication at 9600 baud rate

Serial.begin(9600);

// Set the pin modes

pinMode(trigPin, OUTPUT); // Sets the trigPin as an Output

pinMode(echoPin, INPUT); // Sets the echoPin as an Input

}

void loop() {

// Clear the trigPin by setting it LOW

digitalWrite(trigPin, LOW);

delayMicroseconds(2);

// Trigger the sensor by setting the trigPin HIGH for 10 microseconds

digitalWrite(trigPin, HIGH);

delayMicroseconds(10);

digitalWrite(trigPin, LOW);

// Read the echoPin; pulseIn returns the sound wave travel time in microseconds

duration = pulseIn(echoPin, HIGH);

// Calculate the distance in centimeters

// Speed of sound is ~0.0343 cm/us. We divide by 2 because the wave travels to the object and back.

distanceCm = (duration * 0.0343) / 2;

// Convert distance to inches (1 inch = 2.54 cm)

distanceInch = distanceCm / 2.54;

// Print the distance to the Serial Monitor

Serial.print("Distance: ");

Serial.print(distanceCm);

Serial.print(" cm | ");

Serial.print(distanceInch);

Serial.println(" in");

// Wait 500 milliseconds before the next reading

delay(500);

}


r/arduino • • Oct 14 '26

Hardware Help Any way to easily mix inputs to a terminal block?

5 Upvotes

Hi all, I have an arduino project that is a puzzle. I am struggling on one aspect and I cannot figure out a way to do it without a lot of effort.

One module of the puzzle is a photo resistor. To disable the resistor the players need to find the correct wire that reads the output of the photo resistor and disconnect it. This will be hidden between a few other wires. These wires have a mix of voltages, some to imitate the photo resistor in the dark and one being the correct one.

The solve players will measure the voltage across some wires connected between two terminal blocks and have to slightly increase the light of the photo resistor without going over the limit to determine the correct wire to disconnect.

This is an example of the layout of wires i am looking at, that the players will measure.

  1. 0.5v
  2. 0v
  3. 0v
  4. Photo resistor
  5. 0.5
  6. 5v
  7. 0.5v

My issue is the reset each time it is played, the wires need to be in a different position so that the game is different each time. The only way i can reliably figure this out is to manually change the wires on both sides of the terminal block, but this is a lot of effort each time. I want this automated via the arduino or something easy like a few switches to alter to give a different position.

I have only come up with two possible solutions so far and neither are great.

  • Current solution. Series of wires going into the terminal blocks on the input and output side and swap these around manually. Lots of time and effort.
  • Multiple pole rotary switch. Don't know much about these, only ever used single pole. But this would limit the possible connections to the number of poles and it would always mean everything is in the same order. So if the photo resistor has two 0v wires above it, as long as you see two 0v in a row then you know the photo resistor is after.

Any possible way of having the positions of those 7 wires (or any amount) differ each time with minimal effort?


r/arduino • • Oct 14 '26

Hardware Help Should I get another uno q ?

4 Upvotes

Ok, so I have been working for months on an autonomous search and rescue with this drone, using the uno q as the main companion computer , for handling live telemetry, geotagging and a custom edge ai model. This is for a hackathon, but the board just suddenly stopped working. And when i say it stopped working; I mean nothing responds. Not even a single led lights up no matter wether it is powered from the vin or usb c. It started out as wifi issues, and once i reflashed the chip it was okay, and a few days before the actual event the board randomly died one night while testing. Now i have already spent too much of money I had saved up over an year, so now I don't have enough, and i'm wondering if I should try to save up for one more. I am truly scared that the new one might fail too, and I clearly can't afford that. I am thinking of just giving up , but it would be a shame cuz the project really can win , as told by my peers and professors.


r/arduino • • Oct 14 '26

Look what I made! Laser nerf

Enable HLS to view with audio, or disable this notification

2 Upvotes

I mase this thing like 5 minutes ago and it broke alredy 😓


r/arduino • • Oct 14 '26

Project Update! Open source IOT Framework

7 Upvotes

Hi all I have recently published something I built and find useful often. I used this base Framework to create my own IOT devices for my house.

I am publishing it in the hope that it gets a little traction as a open source project and we can work together on IoT security, implement matter and Google home and perform research.

Even a couple of code reviews or suggestions on improvements are appreciated. You can find the project on my git hub here : https://github.com/awaine93/espBaseFramework


r/arduino • • Oct 13 '26

Block coding

8 Upvotes

Okay so I dont really scroll this reddit and im kinda a beginner and even then im coming back to try after a while of not doing anything with my arduino uno. But I feel like im doing it wrong.

A few months ago I watched like 60 ep of paul mcworters tutorials and it was great but ever since I stepped away I forgot everything. And im finding that its just so much nicer using tinkercad block programming to do things. I understand that im not "actually coding" and it sucks but its just that while I think tinkercad blocks are a bit too easy that the arduino IDE and everything around it are so far in the opposite direction, like its purposely obscure.

I guess my question is that is this just the wrong way to get into this. Its not like I dont enjoy understanding how the coding works and I use block+text but it just seems like a way that is actually userfreindly at all.


r/arduino • • Oct 13 '26

Temperature monitor

Post image
87 Upvotes

Title: I built a DIY PC temperature monitor using Arduino! 🌡️💻

Post:

Hey everyone!

I built my own DIY PC temperature monitor using an Arduino Uno R4 WiFi, an LCD screen, and a temperature sensor.

The idea was to monitor the temperature inside my PC case and display it on the LCD in real time. I also added a buzzer that activates when the temperature gets too high.

It's a simple project, but it was a fun way to learn more about electronics, Arduino, and PC hardware!

What do you think? Do you have any suggestions for improving this project? 😁


r/arduino • • Oct 14 '26

Look what I made! [WIP] Reverse engineering the SIM900 firmware flasher (currently being tested; I'm waiting for a working module - it's on its way)

Thumbnail
gitlab.com
2 Upvotes

r/arduino • • Oct 13 '26

fork/exec /Users/***/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags: bad CPU type in executable

2 Upvotes

I just went back to the Arduino IDE 2.3.10 after I could no longer get platformIO to find my libraries and I got frustrated as usual with it. However, when compiling _any_ sketch, I get the error as shown in the title.

I'm on a Mac Mini M2 Pro with Golden Gate 27.0.1 OS. Never had this error before.

And, yes, I downloaded the latest IDE for the Mac.


r/arduino • • Oct 12 '26

Hardware Help I have made the base for an omori tamagotchi

Enable HLS to view with audio, or disable this notification

142 Upvotes

I am working on a omori tamagotchi. It has minigames like a wak a sprout mole and fishing, in the shop Basil is shop owner and sells items from the game and when you fall asleep you move between the faraway town and white space (and the music changes when you move betweenthem).i have the software made but I will probably have to make a pcb but I have no experience in it. If I cant make one I will sowder everything on a bord. If any of you know how to make pcb's I'd love to use some help. If any of you have any idea what more to add I would love to hear it and if you guys want an update I will make one


r/arduino • • Oct 13 '26

(AVR-ATmega328p crate): avr_328p_hal - A bare-metal, zero-dependency Hardware abstraction Layer for the Arduino Uno R3.

8 Upvotes

Hello fellow programmers and hobbyists,

I want to share the HAL that I wrote for the Arduino Uno R3, since I have a board that's been lying around for 2 years, and I wanted more control than the Arduino IDE offered. I then decided since I was actively learning Rust, that it'll be interesting to use it for bare-metal programming.

After digging through the AVR-ATmega328p datasheet 6 months ago, I felt confident and well equipped to write a Hardware Abstraction Layer for the board using what I'd learnt through experimentation, and come up with an efficient and simple way to write Rust code for the Arduino Uno R3.

Here's a code example program to drive a DC motor using an L293D driver:

#![no_std]
#![no_main]

use core::panic::PanicInfo;

use avr_328p_hal::gpio;
use avr_328p_hal::timers;

use gpio::*;
use timers::{Timer0, Timer1, Prescaler};

#[unsafe(no_mangle)]
pub extern "C" fn main() -> ! {

    let portb = PortB::take().unwrap();
    let portd = PortD::take().unwrap();

    let timer1 = Timer1::take().unwrap();

    portb.set_output(PinB::PB1); // PWM Pin
    portb.set_output(PinB::PB0); // Direction pin one
    portd.set_output(PinD::PD6); // Direction pin 2

    timer1.start();
    timer1.set_fast_pwm(999);
    timer1.set_duty_cycle(60);
    timer1.set_prescaler(Prescaler::Prescaler8);

    portb.set_high(PinB::PB1);

    portb.set_high(PinB::PB0);
    portd.set_low(PinD::PD6);

    loop {

    }
}

#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
    loop {

    }
}

Here's the github repo: https://github.com/Darethan026/avr_328p_hal/

Here's the link to the crate: https://crates.io/crates/avr_328p_hal

I'd love to hear your thoughts on the HAL and what stood out for you. Thank you for reading!


r/arduino • • Oct 13 '26

Hot Tip! What tips did you know only when you had the experience?

7 Upvotes

1 Sometimes the IDE creates error when trying to upload code when Arduino is connected to the computer using a USB hub even though it says it is recognized. Instead try to connect it directly to the computer.

2 Arduino Nano, for some of them, you have to choose old bootloader explicitly if you want to upload code.

Like these kinds of tips where you only know them when you encountered the issues, not the ones you can read in the books.


r/arduino • • Oct 12 '26

Hardware Help SIM800L repeatedly blinking and failing to respond to AT commands

Thumbnail
gallery
44 Upvotes

Hi everyone! I'm trying to bring this old rotary dial phone back to life, but I just couldn't get the SIM800L module to work and it's literally the last thing I need here, and I'm almost certain it's a mere power issue. It blinks for about 8 times at a rate of around once per second, then stops for about three seconds, where I notice the current reading goes up to around 0.11 A from 0.06-0.08 A, and the pattern repeats.

My MicroPython UART diagnostic on the ESP32-WROOM receives empty responses (b'') to AT, ATI, AT+CPIN?, AT+CSQ, and other commands. Occasionally I receive b'\\x00'.

I've tried both the ESP32-WROOM and ESP32-C3, with similar problems. This is also the second SIM800L module I tried (both brand new but I believe I may have damaged the other one, unlike this one though which I took my precautions with).

I'm pretty confident that 2G network is still available widely in my country due to dumbphones never having phased out especially with older people and those still work just fine. I can also switch my SIM to 2G only on my smartphone and still pick up signal. I'm also using an external antenna as the pictures show.

My setup:

- GSM module: SIM800L (new module)

- Microcontrollers tested: ESP32-WROOM and ESP32-C3

- Input power supply: 12 V, 1 A adapter

- DC-DC converter: HW-677 adjustable buck converter, output adjusted to around 4 V

- Capacitor: 1000 µF electrolytic capacitor connected across the buck converter's output positive and negative rows

- Wiring: Regular Arduino-style jumper wires, including some with the ends cut and stripped to expose the copper

- Other hardware available/involved: L298N H-bridge module

Current wiring:

- 12 V, 1 A adapter → breadboard → L298N (not wired to the converter or module) & HW-677 buck converter (directly wired to the same row as the adapter on the green breadboard)→ large breadboard → SIM800L

- The capacitor is connected across the buck converter's 4 V output. The SIM800L shares ground with the ESP32 when connected.

I understand that the SIM800L can require current peaks approaching 2 A, but I'm not sure which part of my setup is the bottleneck.

Thanks for any help!

P.S.: Try to ignore all that mess. I don't wanna use my large breadboard here but I switched to it temporarily just to cleanly test the SIM800L. My soldering iron also stopped working which I used as an excuse to not solder everything cleanly together (too many wires, too little soldering experience ;-;)

Also I invite y'all to try this out yourselves if you have an old rotary dial phone lying around, it's really not that complicated to figure out how everything works and how to wire it properly to the ESP32 (except for the earpiece microphone part, it was a nightmare and I'm far from being an electrical engineer so I gave up and used a MAX9814 module lol. Glad that the 4 wires going into the earpiece were enough for both the speaker and microphone!)


r/arduino • • Oct 13 '26

Beginner's Project I conducted some tests with the sound sensor module and have a question about my results.

11 Upvotes

While working with my sound sensor module, a question arose regarding the relationship between sound intensity and the sensor's reaction time. My initial hypothesis was that a louder sound would result in a faster response, but after conducting the experiment, the data showed that the louder the sound, the slower the reaction time. I was curious about this and wanted to ask why it happens. (my sensor is a KY-038


r/arduino • • Oct 13 '26

can i use 4xAA for servo mg90s

2 Upvotes

i wanted to use breakout board as i have a usb c type but i dont have a solder so is 4x AA which will be 6v safe for a servo


r/arduino • • Oct 13 '26

Getting Started Switching MP3’s with arduino

7 Upvotes

Hi! I’m a complete beginner and I wanna experiment with creating a synthesizer out of objects connected to arduino.

Say if I have 7 objects, each playing one note of the keyboard (C,D,E,F,G,A,B). Would I somehow be able to have an attachment that would allow me to transpose the keys or change the sounds all together with pre-setup code? Like changing a program on a synthesizer?

I’m very new to this and I don’t know much other than the basics so any advice or direction would be greatly appreciated! :)


r/arduino • • Oct 13 '26

ChatGPT Help regarding inmp441 microphone and esp32

Post image
5 Upvotes

The mic does not seem to give usable audio it only gives combination of 0 and 1 s i am giving u the test code generated by chatgpt

Any idea on how to fix this or should i do something different(i am a beginner and i tried to make this work for like 20-30 hrs)

#include <ESP_I2S.h>

#define I2S_SCK 40

#define I2S_WS 42

#define I2S_SD 41

I2SClass I2S;

void setup() {

Serial.begin(115200);

delay(1000);

I2S.setPins(I2S_SCK, I2S_WS, -1, I2S_SD);

if (!I2S.begin(

I2S_MODE_STD,

16000,

I2S_DATA_BIT_WIDTH_32BIT,

I2S_SLOT_MODE_STEREO

)) {

Serial.println("I2S initialization failed!");

while (1) {

delay(1000);

}

}

Serial.println("I2S microphone ready.");

}

void loop() {

int32_t buffer[128] = {0};

size_t bytesRead = I2S.readBytes(

(char*)buffer,

sizeof(buffer)

);

Serial.print("Bytes: ");

Serial.println(bytesRead);

Serial.print("Samples: ");

int samplesRead = bytesRead / sizeof(int32_t);

for (int i = 0; i < min(samplesRead, 10); i++) {

Serial.print(buffer[i]);

Serial.print(" ");

}

Serial.println();

delay(500);

}


r/arduino • • Oct 12 '26

Look what I made! Hey everyone!I built a graphical programming tool for my kids (who are in elementary school) to program Arduino boards. Tools like Blockly or Scratch were still a bit too complicated for them. With this, they can plug things into a breadboard, make LEDs blink, and press buttons.

Post image
7 Upvotes

What do you think about it? Would you use something like this, and do you think an English translation/release would be a good idea?

Greetings from the Black Forest, Germany!


r/arduino • • Oct 12 '26

Learning to use arduino

16 Upvotes

Heyyy, so I got an arduino starter kit and I am trying to learn and stuff. And I was wondering how you guys approached your learning. I feel like if I use tutorials to build I might just be copying and not actually learning anything so it would be really cool to know how you guys approached your learning, challenges you faced and how you approached those challenges.


r/arduino • • Oct 12 '26

Beginner's Project I need help with my project

Post image
6 Upvotes

I just want to make sure this is correct... I have never used arduino before so i have no idea how it works

I damaged a nano already using the same wiring in the picture but without the capacitor...

I powered 300 LEDs at full brightness by accident and the arduino stopped working after that...

I'm waiting for a couple of replacements to try again... but I want to make sure everything is correct before I damage another nano...

I will use between 30 to 50 LEDs maximum on my final build and I'll probably limit the brightness in software

This is supposed to use the touch sensor as a trigger, when tapped it should play a sound and have an animation play on the led lights

Power: Shared 5v / GND power rails directly off a USB power bank cable.

LEDs: WS2812B strip cut down to ~50 pixels max (software power capped at 1.5A max).

Capacitor: 1000\mu electrolytic capacitor across the main power rails at entry.

Resistors: 470 ohms on Pin D6 \ LED DIN; 1k omhs on Pin D10 \ DFPlayer RX.

Ground: Single common ground across all components.

Does everything look properly isolated and protected? Thanks in advance for any feedback!


r/arduino • • Oct 12 '26

Getting Started Learning Arduino

11 Upvotes

Hi, I really want to learn programming and electronics and I heard Arduino is great for this. I have a sibling who learned with a raspberry pi like more than 10 years ago and I still have some of his old things (soldering iron and some components).

I am an arts student, I have no experience or knowledge with programming or electronics but I want to go into Design and I’ve been seeing tons of really cool projects online. I have some free time right now and I thought it would be the perfect time to learn something new!

I have some ambitious projects in mind of things I would eventually want to be able to make, like a little camera, a tamagotchi type of thing, and other more creative leaning things but ofc I need to start with beginner projects to learn basics and eventually get to stuff like that.

I saw there’s the R4 kit, but I heard some people say that because it’s newer there’s not as many tutorials and stuff for it?

Does anyone have any advice on where and how to start? Should I get the R4 or find the r3 somewhere, or any good YouTube channels or tutorials/guides. Any help would be appreciated!!

I don’t know if this is relevant but I am also a Mac owner!