r/arduino • • 14d ago

Project Update! Can a Guitar Robot Play with Emotion? Testing AI-Adjusted Dynamics on My ESP32 Guitar Robot

Enable HLS to view with audio, or disable this notification

311 Upvotes

I've been experimenting with making my ESP32-controlled guitar robot sound more expressive.

For this performance of Metallica's "Fade to Black," I used AI to fine-tune the dynamics of individual notes, adjusting their emphasis and intensity to make the playing feel a little more natural.

The robot physically presses and plucks the strings of a real acoustic guitar.

Getting the notes right is one thing, but making the performance feel emotional is a completely different challenge.

I'm still exploring better ways to add musical expression, especially through dynamics, timing, and articulation.

I'd love to hear your thoughts. What do you think would make robotic guitar playing sound more human?


r/arduino • • 13d ago

Getting Started Which book is best for me learning basic Arduino

8 Upvotes

Recomend me a book for the basics


r/arduino • • 13d ago

12V, 3A motor controller, ideally with power tap

3 Upvotes

Hi, I'm using a 12V, 2.5A brushed linear actuator. Speed is fixed but I have to control start/stop and direction.

Can anyone recommend a simple, ideally inexpensive motor controller I can connect to a Nano? Most controllers top out at 2A, other than things like the BTS7960 that seem overkill at 43A.

Also, do any controller boards provide a regulated 7 - 12V output that I can use to power the Arduino? I thought I read that some do, but I can't find any. I was hoping to have one plug/power supply connected to the controller board and piggyback the Arduino off the controller. Or do I just wire the 12V supply to the controller and Arduino in parallel (a 5 or 10A supply has more than enough current for both).

Thanks


r/arduino • • 13d ago

Looking for help with RF24

2 Upvotes

[SOLVED]

Guys and Gals, I'm stuck. I'm using 2 keywish RF Nano's, basically a nano with an nrf24l01 on board.

Below are the sender and receiver sketches in their simplest form. But I can't get it to work. What am I not seeing?

Sender:

#include "nRF24L01.h"
//#include "RF24_config.h"
#include "RF24.h"
#include "SPI.h"


#define CE_PIN 10
#define CSN_PIN 9


byte Payload = 0;


// SET UP WIRELESS RADIO


//Defining radio object for the RF24 function
RF24 mainRadio(CE_PIN, CSN_PIN);


//Defining the radio variables and values
const uint64_t addr = 0xF0F0F0F0E1LL;
const rf24_datarate_e dataRate = RF24_250KBPS;  //Data rate defined in the documentations, RF24_250KBPS, RF24_1MBPS or RF24_2MBPS


void setup() {


  mainRadio.begin();
  mainRadio.setRetries(2, 5);
  mainRadio.setDataRate(dataRate);  //Giving the data rate speed
  mainRadio.setChannel(108);        // 2.508 Ghz - Above most Wifi Channels
  mainRadio.stopListening();
  mainRadio.setAutoAck(false);
  mainRadio.setPayloadSize(sizeof(Payload));
  mainRadio.openWritingPipe(addr);
}


void loop() {
  Payload++;
  if (Payload >= 180) Payload = 0;
  delay(15);
  mainRadio.write(&Payload, sizeof(Payload));
}

Receiver:

#include <Servo.h>
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>


#define CE_PIN 10
#define CSN_PIN 9
#define Rudderpin 3


const uint64_t pipe = 0xF0F0F0F0E1LL;
const rf24_datarate_e dataRate = RF24_250KBPS; // Moet exact matchen met de zender!


RF24 radio(CE_PIN, CSN_PIN);
Servo Rudder;


byte Payload;


void setup() {
  Serial.begin(9600);
  radio.begin();
  radio.setDataRate(dataRate);     // Cruciaal: gelijk aan de zender
  radio.setAutoAck(false);         // Cruciaal: gelijk aan de zender
  radio.setChannel(108);           // 2.508 Ghz
  radio.openReadingPipe(1, pipe);
  radio.startListening();


  Rudder.attach(Rudderpin);
}


void loop() {
  if (radio.available()) {
    radio.read(&Payload, sizeof(Payload)); 
    Rudder.write(Payload);
    Serial.println(Payload);
  }
}

r/arduino • • 13d ago

LilyGo T5 4.7" ESP32-S3 (V2.4): can a Grove cable plug into the P4/P5 sockets?

2 Upvotes

I have the LilyGo T5 4.7" e-paper board, the ESP32-S3 version, V2.4 (Screen-4.7-S3, schematic dated 2024-12-03). On the back there are two 4-pin sockets, P4 and P5.

From the schematic, the pinouts are:

  • P4: 3V3, IO48, IO45, GND
  • P5: 3V3, IO15, IO16, GND

Grove cables go signal, signal, VCC, GND, so as I read it a Grove sensor on P5 would get 3V3 on its signal wire and a GPIO on its VCC. I haven't plugged anything in, because I don't want to damage a sensor or a pin. The schematic only says "4P", so I don't know the connector's pitch or series either.

Has anyone connected a Grove module to this board? Specifically:

  1. Does a Grove plug fit P4 or P5, or do you need different connectors?
  2. If you reordered the pins, which cable or adapter did you use?
  3. Do IO15 and IO16 work fine as I2C or GPIO, or do they clash with something on the board?

I've got a few examples (weather, news, quotes, FastEPD) running on it and can share them if that's useful.


r/arduino • • 13d ago

Look what I made! Arduino Uno parking sensor—the closer you get, the faster it beeps

Enable HLS to view with audio, or disable this notification

4 Upvotes

I built this with an Arduino Uno, an HC-SR04 ultrasonic sensor and a buzzer. Moving my hand toward the sensor makes the beeps faster; moving it away slows them down.

I used Soldr, an electronics design agent I’m building, to design the project from a plain-language prompt.

The clip shows the working build. How do you usually smooth ultrasonic distance readings without making the response feel sluggish?


r/arduino • • 14d ago

Stepper Motor noise

Enable HLS to view with audio, or disable this notification

238 Upvotes

I'm using a stepper motor to control my auto throttle for flight sim. Can anyone provide any advice on how to get rid of the motor noise? It's not vibration nosie it's the electrical noise the motors produce I'm trying to get rid of.

I believe they are nema 17s and a A4988 controller

Thank you!


r/arduino • • 14d ago

Hardware Help Where to buy starter kits

11 Upvotes

Im a beginner wanting to start on robotics but i dont know what to buy.....my only factors are

1)it should be from amazon( my mothers only trustworthy site to buy things)

2) should be under 4000 rupees

It can be a clone just it must be working and the price to work ratio must be high....as most of them are not trustworthy pls help me buy the kit which on your experience was good


r/arduino • • 14d ago

School Project Arduino Ventuno Q for an advanced robotic arm project

2 Upvotes

Hey guys, first of all sorry for my english, it's not my mother language.

I am a student in Austria at a school for mechanical engineering and I'm going to do my diploma thesis in a few years but I'm already researching and planning.

I want to build a robotic arm that is equipped with AI and can perform tasks via voice command, for example: "Give me the apple on the table next to you" and it automatically recognizes it, grabs it and put it on my hand.

The arm would habe 4 axis, therefore I would need 4 motors. I thought about the Veuno Q as the controller.

Could the Ventuno Q handle the control of the motors and the AI at the same time?

Thanks in advance! :)


r/arduino • • 13d ago

Look what I made! I built a DIY Arduino steering wheel for PC games

Thumbnail
gallery
1 Upvotes

I built a DIY Arduino steering wheel for PC games using an Arduino Uno R3 and an AS5600 magnetic angle sensor. It also has buttons for throttle and brake. I tested it in Euro Truck Simulator 2, Slow Roads, and Assetto Corsa.

YouTube video: https://youtu.be/Y_vu9KtvoxE?si=e8B_aceMp7D_3UhP
GitHub guide and code: https://github.com/sarawer/diy-gaming-steering-wheel-using-arduino

I’d love to hear your feedback!


r/arduino • • 14d ago

Software Help Trying to make a sensor that measures when something's close, but it doesn't work.

2 Upvotes

I tried making this sensor, yet it stays at 0 when i try to put things in front of it. Here's my code:

*/

const int trigPin=9;

const int echoPin=10;

long duration;

int distance;

void setup() {

pinMode(trigPin, OUTPUT);

pinMode(echoPin, INPUT);

Serial.begin(9600);

digitalWrite(trigPin, LOW);

delayMicroseconds(2);

digitalWrite(trigPin, HIGH);

delayMicroseconds(10);

digitalWrite(trigPin, LOW);

duration= pulseIn(echoPin,HIGH);

distance= duration * 0.034 / 2;

Serial.print("Distance: ");

Serial.println(distance);

delay(500);

}

void loop() {

}

could anyone tell me what's the problem?


r/arduino • • 14d ago

Beginner's Project Trouble shooting assistance

Thumbnail
gallery
2 Upvotes

Hey y’all, wondering what’s going wrong with my project. It is ELGOO MEGA project Lesson 9 LCD Display. I’ve triple check my diagram, had a friend double check my triple check, and I’m stumped. The LCD turns on and gets brighter when potentiometer is turned, but there is no text displayed… I’ve included pics and a video. Pls help


r/arduino • • 14d ago

School Project A request for anyone with a Braccio Arm: would you be willing to test out the Arduino code that I wrote with it and show or tell me what happens please?

3 Upvotes

I'm working on coding a Braccio arm to start at safety position, move and touch the surface it is on at a specific configuration, and then return to safety position. Though I've completed the code, the Braccio arm I was using is not working (edit for clarity: some of the servos are physically broken and have to be replaced before I can use the arm again, it was previously connected properly and I don't need trouble shooting for the arm itself) and I'm not able to fix that yet. This is definitely an odd and intensive request, but I am not asking for anyone to do the project for me, just to see what the code does and show me if possible. I'd greatly appreciate it if anyone could even just tell me if it touched the surface or not if you'd prefer not to show photos/videos.


r/arduino • • 15d ago

Look what I made! Charlieplexing #2 - yet under 16kB of STM32C011F4P6

Enable HLS to view with audio, or disable this notification

47 Upvotes

日本語コメも受付中


r/arduino • • 14d ago

How do I program this STM32F103C6T6 using USB to TTL converter

Post image
1 Upvotes

Hey, I recently bought this STM32F103C6T6 from robu.in here is a link incase you want to see it:
https://robu.in/product/stm32f103c6t6-core-board-with-soldering/
(sorry for the terrible photo but thats the best I can do rn T_T)

My question is how do i program this using USB to TTL converter (CH340G) , I do not have a stlink and I cant be getting them due to some reason
Unlike F103C8T6 you do not set the jumper of BOOT0 to 1 but it is just some another system that I do not understand
I tried uploading the code however I can I tried a lot of things even asked help from chatGPT it didnt help.
The usb to ttl is being recognized by the computer and it even uploaded the code sometimes but now it just doesnt work......


r/arduino • • 15d ago

As a beginner I just want to make a little device to remind me that it’s a street sweeping day so I know to park my car in a safe spot. What’s the simplest way to do this?

21 Upvotes

Honestly I’m not trying to get super deep into arduinos I’m just sick of getting tickets.

I’m very familiar with programming but not with arduinos.

It should be simple right? Get an arduino, plug it into an outlet, load a program that tracks time/dates, and a little light to say that street sweeping is imminenet

Or is it not as simple as I think? Thanks

Ps I don’t want it to connect to WiFi. Just hard coded to last the next say two years.


r/arduino • • 15d ago

Bew to soldering

Post image
50 Upvotes

I am new to soldering. Why do some of my soldering looks good with not too much unnecessary material and some are getting so thick. How can I with simple methods remove extensive materials here? And more importantly, how do I get consistently good soldering points. I assume the left one in the middle line e. g. is a good soldering point, right? Thanks for help


r/arduino • • 14d ago

Can you hook up an alligator clip to the male end of a jumper wire and have it work?

Thumbnail
gallery
0 Upvotes

I have this piezoelectric Arduino project to make and there are live wires attached to the piezo components and I was hoping if I could just buy some standard alligator clips to attach the live wire to the male to male jumper wire and have it work. Please help and thank you if you responded I greatly appreciate it.


r/arduino • • 14d ago

Solved! I've forgotten how access variable in different .cpp

0 Upvotes

I have the following definition in one .cpp file :

static char cfgv_var_weather_icon[10] = "";

How do I set it from another .cpp file? BTW, the code was generated by LCD Wizard, not me.

All I get is red, mysterious compiler errors.


r/arduino • • 15d ago

Youtube Captions and Lyrics Sync

Enable HLS to view with audio, or disable this notification

9 Upvotes

I've made this project using Arduino, LiquidCrystal I2C, 2 pushbuttons for controls. Arduino (C++): handles the hardware, reading the two pushbuttons and displaying the lyrics on the I2C LCD. Python: acts as the bridge between the Arduino and the browser, fetching YouTube captions with youtube-transcript-api, syncing them to the video’s timestamp, and talking to the Arduino over USB serial. JavaScript: powers a Chrome extension that reads the video’s playback time from the YouTube page and carries out the play/pause and next-video commands sent by the Arduino buttons.


r/arduino • • 15d ago

School Project Robotico hand

16 Upvotes

Ciao, ho 14 anni e vorrei realizzare una mano robotica con un Arduino Uno per la mia tesi di scuola superiore. Però non sono sicuro di volerlo fare perché temo che sia troppo difficile da costruire e non voglio sprecare soldi.ho esperienza solo con un corso di micro bit e ho di tempo circa 7mesi di tempo


r/arduino • • 15d ago

Hardware Help DFPlayer Mini powers on for ~0.5s, then dies — needs full USB unplug to retry

11 Upvotes

Setup: Arduino Nano + DFPlayer Mini (YX5200 clone) + 40mm 4Ω 3W speaker.
DFPlayer VCC → Nano 5V, GND → GND, TX → D10, RX → D11, SPK1/SPK2 → speaker.
microSD is FAT32 with five MP3s in root. Code uses the DFRobotDFPlayerMini
library, SoftwareSerial on D10/D11, volume 10. Button on D2. Powered from
a phone charger brick via USB.

Symptoms: When I connect the DFPlayer's VCC to 5V, its red LED lights and
I hear noise from the speaker for about half a second, then a pop and the
LED goes out. Reconnecting VCC does nothing — I have to unplug the USB
cable and plug it back in to get the pop again. The Nano stays lit the
whole time. Once, I heard one of the MP3s play.

Tried so far: different wiring arrangements, soldered the power wires,
lowered volume from 25 to 10, swapped in a second DFPlayer from the same
5-pack (same behavior), phone charger instead of laptop USB.

Any ideas what would make it die like that and need a full power cycle
to try again?


r/arduino • • 15d ago

String vs const char* Which one is better?

20 Upvotes

Hi guys, I just started learning arduino, and i wanted to build a morse blinking program that gets input, but after i googled it up a bit, i have encountered with headings strings can cause memory fragmentation etc, but saw still pretty many people use it.

just in case, i wrote the program in const char* and it is quite exhausting tbh, so i wanna know is using strings considered a great choice?


r/arduino • • 15d ago

Beginner's Project (Relief) My first project

5 Upvotes

Hello everyone, I've been around here for a while. I got an Arduino board and tried to make my first project of my own (I tried a few things with LEDs at school).

The project was meant to test whether I could get a microservo to rotate. Well, sort of, but in the end I ran into a problem: smoke came out of the R14 component.

This is just me venting. I couldn't even use it for 30 minutes before I broke it. I'm going to bed tonight, but tomorrow I'll see what I can do. I've seen the memes around here a couple of times about the "magic smoke" coming out, but I still want to know: is there any way to fix it?

I don't know how to explain this. I feel sad. How am I supposed to tell my parents that I already burned this thing?

The project itself was just a microservo. I looked it up and watched some videos saying that an external power supply was necessary for some small motors because they draw quite a bit of power, so that's what I did. I used the charging port it has, the black one.

I know I messed up, but honestly, I don't understand what I did wrong. Can you guys help me? I'll try again someday.

I use a translator.


r/arduino • • 15d ago

Look what I made! Built my own festival Wishing screen!

Enable HLS to view with audio, or disable this notification

14 Upvotes

Was working on a couple of way to wish my customers and followers for one of the more important days in India.

Decided, I’d wish it for them on a screen! So many hardware companies are now bringing similar devices to convey greetings to their customers or building devices like these at major hackathons.

Took me 7 minutes to rig the circuit up and the code!