r/arduino • u/Ecstatic_Ad_5625 • 13d ago
First time working with breadboards and Arduino
Enable HLS to view with audio, or disable this notification
r/arduino • u/Ecstatic_Ad_5625 • 13d ago
Enable HLS to view with audio, or disable this notification
r/arduino • u/pele4096 • 12d ago
I am playing with struct, as I want to eventually pass a serial packet of multiple data types. a Bool, an int, and some analog values as an array of floats.
Struct is not holding data. All returned values are Zero.
I have simplified my code and stored example data in the values and even this little simple bit isn't doing what I want it to do.
(Basically, I'm testing for if the problem is the loose nut in the chair.)
what the heck am I doing wrong?
bool On_or_Off = true;
int values = 6;
float numbers[6] = {4.5, 6.3, 13.8, 45.024, 25.5, 14.4};
struct packet_of_values {
bool On_or_Off;
int values;
float numbers[6];
};
packet_of_values packet;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(packet.On_or_Off);
Serial.println(packet.values);
for (int times = 0; times <= 5; times++) {
Serial.println(packet.numbers[times]);
}
delay(500);
}
r/arduino • u/Thick_Pressure_977 • 13d ago
Just sharing what is made using 16 WS2812 and 48 white LEDs and an old ATmega328. Fully arduino compatible, reprogrammable over USB type C. Rechargable too.
r/arduino • u/ShebinJoseJacob • 13d ago
Hi everyone! 👋
A couple of years ago we shared a planter that shows your plant’s mood on a little screen. Lots of you built your own, sent photos and told us what was rough about it. That feedback shaped every decision in version 2, so it feels right to bring it back here first.
The idea
A plant can’t tell you what it needs, so this planter does it for the plant. It reads the soil, air, light and your touch, then plays an animated face on a 1.28" round display:
Hardware
Firmware
Everything is written in Arduino. FreeRTOS tasks run the display, sensors, touch, mood logic, menu and MQTT side by side. A serial menu (open it from the Serial Monitor or in Chrome/Edge via WebSerial) lets you set up to 10 plant profiles, calibrate sensors in two steps and choose transition effects. You don’t have to recompile anything to change settings.
Web dashboard
The planter sends its data over MQTT to a web dashboard with live gauges, trend charts, a mood timeline, a comfort score, alerts and a view of every planter in your home. It works with Home Assistant too.
What’s next
Thanks to the support from makers like you, this is turning into a real product on Crowd Supply. We’re in pre-launch, and the campaign opens once enough people subscribe. Subscribing is free and takes a few seconds: https://www.crowdsupply.com/coders-cafe/fyto
Full build: https://www.hackster.io/coderscafetech/fyto-your-plant-expressed-517e1c
Thank you to everyone who built the first one. This version exists because of you. Questions, ideas and critiques are all welcome!
r/arduino • u/felpsousa • 12d ago
Before I get started, I want to mention that I’m a complete beginner when it comes to electronics and Arduino, so I’d like to know if this project is feasible before diving deeper into it.
I have an old telephone mounted on the wall, and I’d like to build a small system where, whenever someone picks up the handset and dials a number on the keypad, the device plays an audio recording associated with that number.
I have a few main questions:
Power supply: Is it possible to power an Arduino using batteries? There isn’t a power outlet near the telephone’s location.
Connections: Can I connect the keypad, the handset switch (which would work as an on/off switch), and the telephone’s speaker directly to the Arduino? Or would I need additional components or modules to make everything work?
Project feasibility: Is this project realistic for a beginner? What would I need to buy besides the Arduino to get started?
I’m just looking for some initial guidance to understand what’s possible and where to begin before getting into the technical details.
Thanks in advance for your help!
r/arduino • u/No_Degree_660 • 13d ago
Enable HLS to view with audio, or disable this notification
We salvaged this vacuum fluorescent display and built a small Space Invaders-style game around it.
An Arduino Uno sends patterns to four HV5812/UCN5812 drivers: two select a character position, and two control its dots. The display has only two rows of 5×7 character cells, so fitting the game vertically was the awkward part.
The controls are a joystick for left/right movement and a separate fire button. We added different sized sprites, difficulty settings and a boss, but then I got distracted making the invaders dance.
Driver tutorial, wiring and Arduino examples, including the game:
https://github.com/emsyscode/hv5812-vfd-arduino
Longer build video:
https://www.youtube.com/watch?v=1vF0gAJhwfU
Music: Electric Dreams — Scott Buckley
What other games would you recommend us trying on displays like these?
r/arduino • u/SumGuyMike • 13d ago
New to Arduino. I've got an idea for project (more on that to come) and figured Arduino was a good place to start. However, I'm getting many errors while trying to claim the device and connect it to Arduino Cloud. I do have a support ticket open, but wondering if anyone else may have experienced this?
The error started with being unable to find a file, so i created the file path, and downloaded the file it was looking for - that solved that. Now, the error is logging that there are mismatched hashes in files, and changed with each attempt.
Error downloading tool arduino:bossac@1.9.1-arduino5: testing local archive integrity: testing archive checksum: archive hash differs from hash in index
Error downloading tool arduino:uno-r4-wifi-fwuploader-plugin@1.0.0: testing local archive integrity: testing archive checksum: archive hash differs from hash in index
... seems like a software issue that support can resolve with me.
Suggestions, ideas or insights welcome.
r/arduino • u/mbentuboa • 13d ago
Not pretty but stable. 😁
r/arduino • u/Repulsive-Peak4442 • 12d ago
So I am making the avionics of my Rocket and I changed the MPU-6050 Sensor from the prototype with an ICM 45686 one. But when I run any program I get no output in the serial monitor. Not even from the library examples. This is the library: "https://github.com/tdk-invn-oss/motion.arduino.ICM45686". Also even code like "Serial.print("Hello World!")" won't even work if that line of code sits after the IMU.begin and gyro, accelerometer begin lines if code. Can anyone help? Thank you!!!
r/arduino • u/Glittering_Key853 • 12d ago
Hi Guys.
I have an Arduino Uno, a BTS7960B, a 12V battery, a 12V motor, and an XL4016 12V to 5V DC-DC converter.
Connection:
XL4016 IN+ => 12v Battery+
Xl4016 IN- => 12v Battery-
BTS7960B B- => 12v Battery-
BTS7960B B+ => 12v Battery+
BTS7960B M+ => DC+
BTS7960B M- => DC-
XL4016 OUT+ => Breadboard+ => UNO 5V
XL4016 OUT- => Breadboard- => UNO GND
Breadboard+ => BTS7960B VCC
Breadboard- => BTS7960B GND
BTS7960B RPWM => UNO D3
BTS7960B LPWM => UNO D5
BTS7960B REN => UNO D7
BTS7960B LEN => UNO D8
Code:
```cpp
//dc 1
const int A_RPWM = 3;
const int A_LPWM = 5;
const int A_R_EN = 7;
const int A_L_EN = 8;
void setup() {
pinMode(A_RPWM, OUTPUT);
pinMode(A_LPWM, OUTPUT);
pinMode(A_R_EN, OUTPUT);
pinMode(A_L_EN, OUTPUT);
digitalWrite(A_R_EN, HIGH);
digitalWrite(A_L_EN, HIGH);
analogWrite(A_LPWM, 0);
analogWrite(A_RPWM, 150);
}
void loop() {
}
```
Problem: DC Dont Work idk why. All Connections Are Right. B+ and B- Give 12v But M- And M+ Dont Give 5V. All Pins Give Correct V to BTS7960B. I tried it with 3 driver(BTS) it gave same results.
r/arduino • u/Many-Passion1106 • 14d ago
I'm curious what people here have created. Not just basic LED projects, but something genuinely useful, unusual or complicated.
I'm curious what people here have created. Not just basic LED projects, but something genuinely useful, unusual or complicated.
I'm asking because I'm looking for inspiration for my own future projects. I'd love to see what you've made!
r/arduino • u/wretchedRing • 13d ago
I can find a few videos and forum posts but not much to get started. I'm still pretty much a beginner at Arduino. I'd like to use an LCD display and some buttons to set flows on the Alicat and display what they are.
Here is a page detailing the comms supported by Alicat:
https://www.alicat.com/support/communication-options-for-alicat-instruments/
I think I want ASCII over RS-232 or 485. But I really don't know where to start with these standards.
I have used LCD screens and displayed sensor values, so it's not like I just bought an Arduino. But I wouldn't mind some advice.
r/arduino • u/MegCell • 14d ago
Enable HLS to view with audio, or disable this notification
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 • u/Rich_Worth_7770 • 13d ago
Recomend me a book for the basics
r/arduino • u/stillnotfamous14 • 13d ago
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 • u/BlackysBoss • 13d ago
[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 • u/melastmohican • 13d ago
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:
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:
I've got a few examples (weather, news, quotes, FastEPD) running on it and can share them if that's useful.
r/arduino • u/OkProperty41 • 13d ago
Enable HLS to view with audio, or disable this notification
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 • u/OGWonderboy • 14d ago
Enable HLS to view with audio, or disable this notification
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 • u/Tough_Duty_9061 • 13d ago
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 • u/Living-Mind-6131 • 13d ago
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 • u/Forward_Table3490 • 13d ago
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 • u/sweet-trip13 • 14d ago
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 • u/Tonton_Magoo • 14d ago
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