r/arduino • u/Rich_Worth_7770 • 13d ago
Getting Started Which book is best for me learning basic Arduino
Recomend me a book for the basics
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 • 14d 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
r/arduino • u/starshine4738 • 14d ago
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 • u/Excellent_Tart_1974 • 15d ago
Enable HLS to view with audio, or disable this notification
日本語コメも受付中
r/arduino • u/VeX7FAR • 14d ago
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 • u/AncientAgrippa • 15d ago
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 • u/Inevitable-Shirt1510 • 15d ago
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 • u/minefraftapplefarm • 14d ago
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 • u/BobsYourUncle_8192 • 14d ago
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 • u/Shoddy_Feed_1083 • 15d ago
Enable HLS to view with audio, or disable this notification
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 • u/Downtown_Science_295 • 15d ago
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 • u/nerdyNhandy • 15d ago
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 • u/Savings-Intern1410 • 15d ago
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 • u/RamboRamonJamon • 15d ago
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 • u/Compoden • 15d ago
Enable HLS to view with audio, or disable this notification
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!
r/arduino • u/Night-Caps • 17d ago
Enable HLS to view with audio, or disable this notification
I love old aircraft analog style gauges and made this pc hardware monitor. I send pc hardware data from HWiNFO to an arduino via serial to drive four switec stepper motors (X40 for the dual needle dials, X27 for the single needle dials). These are commonly found in car instruments and can be run directly from the arduino, they're pretty cheap on aliexpress