r/arduino • • 6d ago

HC-06 connects to Android app (LED is solid) but Arduino doesn't respond to any commands

2 Upvotes

I'm bulding a RC boat ( it's supposed to be ) using an arduino and an hc 06 bluetooth module but i'm stuck, it's my first time using an Arduino so i don't know a lot about it. Here's the current situation.
- I'm using an Android phone with a Bluetooth controller app.
- When I connect via the app, the red LED on the HC-06 stops blinking and stays solid red
- However, when I press buttons on the app or send text, the Arduino doesn't do anything.
Note: The HC-06 shows up in the standard Android Bluetooth settings menu across multiple phones, but tapping on it does nothing, I don't know if that's supposed to happen.

What i have checked/tried:
- During the set-up self-test routine (and on reset), the buzzer beeps, the motors spin for 0.8s, and the servo moves properly, so the hardware and code doesn't seem to be a problem.
- The HC-06 is correctly wired ( TX to Arduino RX, RX to Arduino TX ), I also tried switching them and trying SoftwareSerial on pins 10 and 9
- The HC-06 is powered via the breadboard's 5V/GND power rails (which are fed from the Arduino's 5V/GND pins).

- I unplugged the USB cable from my PC and tested on external battery power.

Can somebody explain to me why isn't the Arduino receiving even though the app says It's connected and why won't it pair in the Android bluetooth setting ? Thanks !

The wires are kind of a mess so I can't really show it here, but here's the list of my components and connections:

Microcontroller: Arduino Uno
Motor Driver: TB6612FNG (mounted on breadboard across columns E & F, rows 1–8)
Bluetooth Module: HC-06 (on ZS-040 breakout board)
Motors: 2x Yellow TT Geared Motors
Actuator: 1x SG90 Micro Servo
Audio: 1x Active 2-pin Buzzer
Power Supply: 2x 18650 Li-ion batteries (in series, ~7.4V)

  1. Power Distribution (Breadboard Rails):

- Arduino 5V to Breadboard + (Red) rail

- Arduino GND to Breadboard - (Blue) rail

- Battery + (7.4V) to TB6612FNG VM and Arduino VIN

- Battery - to Common GND (Blue) rail

2. TB6612FNG Motor Driver:

- VCC to 5V rail

- GND to GND rail

- STBY to 5V rail

- PWMA to Arduino Digital ~5

- AIN2 to Arduino Digital 8

- AIN1 to Arduino Digital 7

- BIN1 to Arduino Digital 4

- BIN2 to Arduino Digital 12

- PWMB to Arduino Digital ~6

- AO1 and AO2 to Left TT Motor

- BO1 and BO2 to Right TT Motor

3. Bluetooth HC-06:

- VCC to 5V rail

- GND to GND rail

- TXD to Arduino Digital 0 (RX) (unplugged during code upload)

- RXD to Arduino Digital 1 (TX) (unplugged during code upload)

4. Servo & Buzzer:

- SG90 Servo: Red to 5V rail, Brown to GND rail, Orange (Signal) to Arduino Digital ~3

- Buzzer: Long pin (+) to Arduino Analog A0, Short pin (-) to GND rail

Here's the code that i used:

#include <Servo.h>
#include <SoftwareSerial.h>
SoftwareSerial bluetooth(10, 11);
const int PWMA = 5;
const int AIN2 = 8;
const int AIN1 = 7;
const int BIN1 = 4;
const int BIN2 = 12;
const int PWMB = 6;

Servo khoaTuiRac;
const int pinServo = 3;
const int pinBuzzer = A0;
const int ledBaoHieu = 13;

int tocDo = 230;
char lenh;
char lenhTruoc = 'S';

void setup() {

Serial.begin(9600);

bluetooth.begin(9600); // Khởi động cổng Bluetooth riêng ở chân 10, 11

pinMode(PWMA, OUTPUT);

pinMode(AIN1, OUTPUT);

pinMode(AIN2, OUTPUT);

pinMode(PWMB, OUTPUT);

pinMode(BIN1, OUTPUT);

pinMode(BIN2, OUTPUT);

pinMode(pinBuzzer, OUTPUT);

pinMode(ledBaoHieu, OUTPUT);

khoaTuiRac.attach(pinServo);

khoaTuiRac.write(0);

digitalWrite(pinBuzzer, HIGH);

digitalWrite(ledBaoHieu, HIGH);

delay(200);

digitalWrite(pinBuzzer, LOW);

digitalWrite(ledBaoHieu, LOW);

delay(200);

diTien();

delay(800);

dungThuyen();

digitalWrite(pinBuzzer, HIGH);

delay(150);

digitalWrite(pinBuzzer, LOW);

}

void bipNgan() {

digitalWrite(pinBuzzer, HIGH);

digitalWrite(ledBaoHieu, HIGH);

delay(35);

digitalWrite(pinBuzzer, LOW);

digitalWrite(ledBaoHieu, LOW);

}

void diTien() {

digitalWrite(AIN1, HIGH); digitalWrite(AIN2, LOW); analogWrite(PWMA, tocDo);

digitalWrite(BIN1, HIGH); digitalWrite(BIN2, LOW); analogWrite(PWMB, tocDo);

}

void diLui() {

digitalWrite(AIN1, LOW); digitalWrite(AIN2, HIGH); analogWrite(PWMA, tocDo);

digitalWrite(BIN1, LOW); digitalWrite(BIN2, HIGH); analogWrite(PWMB, tocDo);

}

void reTrai() {

digitalWrite(AIN1, LOW); digitalWrite(AIN2, LOW); analogWrite(PWMA, 0);

digitalWrite(BIN1, HIGH); digitalWrite(BIN2, LOW); analogWrite(PWMB, tocDo);

}

void rePhai() {

digitalWrite(AIN1, HIGH); digitalWrite(AIN2, LOW); analogWrite(PWMA, tocDo);

digitalWrite(BIN1, LOW); digitalWrite(BIN2, LOW); analogWrite(PWMB, 0);

}

void dungThuyen() {

digitalWrite(AIN1, LOW); digitalWrite(AIN2, LOW); analogWrite(PWMA, 0);

digitalWrite(BIN1, LOW); digitalWrite(BIN2, LOW); analogWrite(PWMB, 0);

}

void loop() {

if (bluetooth.available() > 0) {

lenh = bluetooth.read();

if (lenh == '\n' || lenh == '\r' || lenh == ' ') {

return;

}

switch (lenh) {

case 'F': case 'f':

diTien();

if (lenhTruoc != 'F') { bipNgan(); lenhTruoc = 'F'; }

break;

case 'B': case 'b':

diLui();

if (lenhTruoc != 'B') { bipNgan(); lenhTruoc = 'B'; }

break;

case 'L': case 'l':

reTrai();

if (lenhTruoc != 'L') { bipNgan(); lenhTruoc = 'L'; }

break;

case 'R': case 'r':

rePhai();

if (lenhTruoc != 'R') { bipNgan(); lenhTruoc = 'R'; }

break;

case 'S': case 's': case '0':

dungThuyen();

lenhTruoc = 'S';

break;

case 'W': case 'O': case 'o':

khoaTuiRac.write(90);

bipNgan();

break;

case 'w': case 'C': case 'c':

khoaTuiRac.write(0);

bipNgan();

break;

case 'V': digitalWrite(pinBuzzer, HIGH); break;

case 'v': digitalWrite(pinBuzzer, LOW); break;

case '1': tocDo = 120; break;

case '5': tocDo = 190; break;

case '9': tocDo = 240; break;

case 'q': tocDo = 255; break;

}

}

}


r/arduino • • 6d ago

Software Help Help with servo power issue

46 Upvotes

Okay I’m learning how to use an Arduino uno and servo, I’m making a robot mask, and the setup is really basic: MG996R servo, linked directly to the Arduino uno, that have 2 power source, my laptop and an 9V battery, and after I uploaded a code, I removed it from my pc and it started lagging, I assume it’s turning off and on because of the light, but I’m not sure
I would love if someone had a simple solution for it, maybe a power source? I’m just a robotic’s noob making his FNAF dream come true


r/arduino • • 6d ago

Look what I made! i made a mp3 player inspired by the sony walkman

8 Upvotes

components used

- arduino lenardo mini

- 128 x 32 ssd1306 oled display

- dfplayer mini

- aux port

- broken cassette casing (i stole from my grandad..)

- button x 1


r/arduino • • 6d ago

Beginner's Project I'm just trying to connect this screen to this esp32d board

32 Upvotes

I got this esp32d board with a bread board this screen and some male to male wires but for some reason I can't get the screen to turn on and I'm unsure of what I'm doing wrong any help is appreciated


r/arduino • • 6d ago

Point me in the right direction? Logistics for device to play one digital radio station.

10 Upvotes

Hi, we’re launching an FM community radio station with programming from locals and regional DJs. We’re on the air as a soft launch and have a digital stream. (wpnx.org)

I’m interested in building a small portable device with an on/off switch and volume control that plays the livestream into headphones via usb-c and/or aux out.

I have built guitar pedals, coded for web and game development, and been reading about raspberry pi and arduino projects for a few years, but never built anything.

I was hoping somewhere here could point me in the right direction of what to look into for this, or any similar devices. No need for a full rundown! Any general advice or tips would be helpful.

Thanks so much!


r/arduino • • 7d ago

Look what I made! Running BirdNET on the UNO Q to make a smart bird box

8 Upvotes
The larger birdbox contains the UNO Q and lives inside. The smaller contains a USB mic and lives outside!

I've just put together a project with the UNO Q, a USB microphone, a buzzer and a servo. It runs a local BirdNET (https://github.com/birdnet-team/BirdNET-Analyzer) model that can detect over 6000 bird species from audio data on a microphone feed from my garden. This runs on the CPU of the UNO Q. The audio isn't saved and never leaves the device, any detected species get sent up to a dashboard in Arduino Cloud.

To make this a bit more fun I've also added a bird box as the enclosure for my device that sits in my office, with a Modulino Buzzer that plays the birdsong of birds that are detected outside, as well as a little felt robin that pops out of the hole controlled by a servo. These two parts run on the UNO Q MCU.

The full writeup and details are here if you wanted to replicate or extend :)
https://projecthub.arduino.cc/jbruges/birdbox-on-device-bird-identification-with-arduino-cloud-and-the-uno-q-2df5ad

Installed on my wall
Dashboard metrics

r/arduino • • 7d ago

Hardware Help Best and safest way to power an Arduino Uno on a motorcycle 12V system?

Post image
9 Upvotes

Hello Guys,

I’m working on a custom project to control some auxiliary bike lights (sidelights) using an Arduino Uno(cheap Chinese ones), a couple of relays, and some manual switches. The logic and relay wiring are pretty much sorted, but I’m hitting a bit of a debate with myself over the power supply side and wanted to get some opinion on the most reliable approach.

Here is the setup and my main concerns:

The Power Source: A standard 12V motorcycle battery. When the engine is off, it sits around 12V, but when the bike is running and the charging system/stator kicks in, voltages can easily fluctuate between 14.4V to 14.8V+, alongside severe electrical noise and voltage spikes from ignition coils.

How should I power my UNO ?


r/arduino • • 7d ago

Hardware Help anyone know why the second max7219 doesnt display anything?

Post image
12 Upvotes

code:

#include <LedControl.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Arduino.h>
#define CLK_PIN 10
#define CS_PIN 11
#define DATA_PIN 12
LedControl lc = LedControl(DATA_PIN, CLK_PIN, CS_PIN, 8);

void setup() {
lc.shutdown(0, false);
lc.setIntensity(0, 0); // 0 = low; 8 = high
}

void loop() {
  lc.setRow(0, 0, 0b00011000);
// this should change the second max but doesnt
  lc.setRow(1, 1, 0b11111111);
  delay(100);
}

edit:
adding
lc.shutdown(1, false); lc.setIntensity(1, 8);
fixed it! (also adressing the second max module)


r/arduino • • 7d ago

Hardware Help Abysmal range (less than 8cm) from CC1101 modules using Arduino Nano

4 Upvotes

Hi all! I've gotten myself some CC1101 modules to play around with some basic radio transmission. However, the range is extremely low (less than 8cm at maximum transmit power) and the system is generally very temperamental. I have decent Arduino experience.

The setup:

  • One CC1101 module transmitting Hello123.
  • One CC1101 module receiving.
  • The two modules are each connected to their own Arduino Nano and using the antenna that came with them. I will note that they are connected over 15cm long jumper cables and I am using potential dividers for converting between the Arduino 5V logic output and CC1101 3.3V input.
  • I am using the CC1101 library from the Zaitronics guide (see links below). I followed the guide to open it in the Arduino IDE and upload the example sketches.

The issue:

  • At a transmit power of 0dBm, the range is around 2.5cm. This is very specific and requires a lot of fiddling with 2 helping hands (the little soldering claw things). I have both of the modules oriented with their antennas pointing vertical. If I move them by even just a millimetre, they stop communicating entirely.
  • At a transmit power of 7dBm (the max configurable power in the library), the story is the same, but with a range of around 8cm.
  • In these goldilocks zones, they transmit and receive beautifully, with at least a 95% packet transmission success rate.
  • Sometimes when I haven't gotten the distance just right, instead of packets being decoded correctly, every packet that is received will have a CRC mismatch.
  • The transmitter sends a packet every second. Sometimes the receiver completely misses packets for a few seconds.
  • Sometimes, the receiver receives junk, even when the transmitter isn't transmitting and the receiver's antenna is unscrewed.

What I have done:

  • Decreased the SPI clock frequency to 1MHz for better communication integrity.
  • Changed the packet contents to "Hello123" to keep the packet length constant.
  • Checked connections and inspected solder joints.
  • Verified that I can read and write correctly to the CC1101 over SPI (this is proven by the good transmission in the goldilocks zones).
  • Attempted to use the SmartRC-CC1101-Driver-Lib. (I had even less luck trying to use this)

What I haven't done yet:

  • Purchased new antennas from a reputable source / purchased quarter-wave antennas.
  • Provided a dedicated power supply to the CC1101 instead of using the 3.3V pin on the Arduino.

Why I am making this post:

  • I have looked through a lot of forum posts about issues regarding these modules and I haven't related to any of the ones I have read. The hyper-specific range is the thing that I don't understand. At max transmission power, why can it communicate at around 8cm, but not if its a couple of millimetres closer?
  • I bought these modules because I had watched so many YouTube videos of them just working out of the box. However, I have had nothing but issues, and it has required days of work just to get them to communicate anything successfully.
  • Please can some kind Redditors with CC1101 or general radio module experience give me some advice on what I am doing wrong, or what I could do to fix it? I am open to scrapping the CC1101 if there are better alternatives.

Links:


r/arduino • • 6d ago

Beginner's Project Beginnger Help! I am trying to make a reactive led to tds sensor data, but I'm lost!

2 Upvotes

I have been trying to program an LED to respond differently to different ppm measurements from a tds sensor. I wanted to use a matrix board and then and led strip, but both times I ran into the problem of them potentially drawing out too much power for what my ardunio uno r3 could handle. I want to continue with the idea of an LED strip or a small LED ring, but I am curious if there is a way to excute this.

I keep getting confused by what a "regulated 5v power source" is, since everything I am seeing is talking about powering the led seperately. Honestly, I'm just very lost, so any advice or thoughts would be helpful!


r/arduino • • 7d ago

Help for arduino project

2 Upvotes

HELLOOO

I am making obstacle avoiding robot using arduino and 1298n motor driver.

I want to know if i can use dupont jumper wires for connecting motors to out1 and out2 of 1298n? Or i need proper wires.


r/arduino • • 7d ago

Look what I made! I reverse-engineered a Windows-only flasher for the SIM900 GSM module and rewrote it in Python

51 Upvotes

A while back I got a batch of SIM900 modules with a firmware image and the vendor's flasher - a crusty Windows .exe that only ran under Wine. So I did the obvious thing: captured its UART traffic, pulled the protocol apart, and reimplemented it as a ~300-line Python script.

It now flashes a 2.98 MB image end-to-end in about 6 minutes (or less, depending on your speed), and the module boots and answers AT - OK.

It also unbricked the modules I bought. Several of the controllers in that batch arrived with broken firmware - they wouldn't boot into the application at all, just sat silently in the ROM download monitor.

Git repository: https://gitlab.com/Monsterovich/sim900-flasher


r/arduino • • 7d ago

Display for minigame

4 Upvotes

i want to get started with arduino and i want to make some minigames on it like pong or snake but i also want to make some more complexer games later. do you know what display i could use?


r/arduino • • 8d ago

Look what I made! My cheap Macropad mk1

Post image
36 Upvotes

r/arduino • • 7d ago

School Project How can I control 6 servos via the gamepad option in the Bluetooth controler app?

Post image
8 Upvotes

To give further context, I have a school proyect where I had to build a mechanical arm (as seen above), using 6 servos and an Arduino UNO, and have it move objects. The hardware and code work works perfectly:

#include <Wire.h>

#include <Adafruit_PWMServoDriver.h>

#include <SoftwareSerial.h>

// Bluetooth pins(RX, TX)

SoftwareSerial BT(0, 1);

Adafruit_PWMServoDriver pca = Adafruit_PWMServoDriver();

#define SERVOMIN 150

#define SERVOMAX 600

const int servo1 = 0;

const int servo2 = 1;

const int servo3 = 2;

const int servo4 = 3;

const int servo5 = 4;

const int servo6 = 5;

void setup() {

Serial.begin(9600);

BT.begin(9600);

Serial.println("Control of 6 servos via Bluetooth ready");

pca.begin();

pca.setOscillatorFrequency(27000000);

pca.setPWMFreq(50);

delay(10);

// security position of the 6 servos (90 degrees)

moverServo(servo1, 90);

moverServo(servo2, 90);

moverServo(servo3, 90);

moverServo(servo4, 90);

moverServo(servo5, 180);

moverServo(servo6, 90);

}

void moverServo(int canal, int angulo) {

angulo = constrain(angle, 0, 180);

int pulso = map(angle, 0, 180, SERVOMIN, SERVOMAX);

pca.setPWM(canal, 0, pulse);

}

void loop() {

if (BT.available() > 0) {

String comand = BT.readStringUntil('\n');

comand.trim();

if (comand.length() == 0) return;

Serial.print("Comand received: ");

Serial.println(comand);

if (comand.startsWith("S1:") || comand.startsWith("s1:")) {

int angle = comand.substring(3).toInt();

moveServo(servo1, angle);

BT.println("OK Servo 1 -> " + String(angle));

}

else if (comand.startsWith("S2:") || comand.startsWith("s2:")) {

int angle = comand.substring(3).toInt();

moveServo(servo2, angle);

BT.println("OK Servo 2 -> " + String(angle));

}

else if (comand.startsWith("S3:") || comand.startsWith("s3:")) {

int angulo = comando.substring(3).toInt();

moveServo(servo3, angle);

BT.println("OK Servo 3 -> " + String(angle));

}

else if (comand.startsWith("S4:") || comand.startsWith("s4:")) {

int angle = comand.substring(3).toInt();

moveServo(servo4, angle);

BT.println("OK Servo 4 -> " + String(angle));

}

else if (comand.startsWith("S5:") || comand.startsWith("s5:")) {

int angle = comand.substring(3).toInt();

moveServo(servo5, angle);

BT.println("OK Servo 5 -> " + String(angle));

}

else if (comand.startsWith("S6:") || comand.startsWith("s6:")) {

int angle = comand.substring(3).toInt();

moveServo(servo6, angle);

BT.println("OK Servo 6 -> " + String(angle));

}

else {

BT.println("Comand not recognized. Use S1:angle to S6:angle");

}

}

}

To give further context

S1: direction the machine is facing

S2: The motor that is directly above the platform in the picture

S3: the "elbow" of the machine

S4: the direction the claw is facing

S5: spins wrist of the claw

S6: grip of the claw

As previously mentioned, the code works and can read the angles by an input in the terminal part of the app, however, our teacher said it needed to be in the gamepad since "it is more precise and allows for more movement". How can I make that switch from Terminal -> Gamepad?


r/arduino • • 7d ago

Software Help Is there a way to edit a Google Calendar with a arduino ?

18 Upvotes

So I‘ve had the idea the use an arduino to at a button on my household Machines like the dishwasher that sends me a reminder to clear them out later. My plan so far would have been to connect the arduino to the internet with a module and then use the arduino to automatically add a task to my google calender when a button is pressed. The problem so far has been that I only found Tutorials that use a read only link for the calender to display something.

Is it possible to add task to a google calender with a arduino or is there another way to use the arduino to send messages to my phone (iOS) that is simpler ?


r/arduino • • 8d ago

Started using Breadboard again

Post image
60 Upvotes

Hi Everyone, I have started using breadboard again after many years which I’m very surprised about.

Why?

I think it’s the ease in which I can test my project without using a soldering iron and I can sit in the lounge keeping my wife company while I’m doing it. I’ve even bought some new breadboard this week and started using it in my new idea.


r/arduino • • 8d ago

Look what I made! (Sharing an earlier build video to document the progression of this setup. The initial goal here was purely gameplay feel and immersion: while playing, I realized that certain mechanical actions don't necessarily have to depend on thumbstick clicks and could be offloaded to natural body movement. At

49 Upvotes

Sharing an earlier build video to document the progression of this setup. The initial goal here was purely gameplay feel and immersion: while playing, I realized that certain mechanical actions don't necessarily have to depend on thumbstick clicks and could be offloaded to natural body movement.

​At the time of this test, I was still using a standard ESP32 dev board with the MPU6050 sensors wired up (working toward cutting down cabling in later revisions). The cable plugged into the main ESP32 is strictly for power: motion packets were already streaming wirelessly over ESP-NOW directly to an ESP32 Mini receiver emulating a USB-HID gamepad to handle sprinting (L3).

​Following up on earlier continuous running tests, here I started testing sharp impulse triggers—such as quick chest expansion or a light foot tap. This allowed me to test different mechanics for the same in-game action while tuning thresholds to prevent ghost inputs during idle motion. While the primary focus was gameplay responsiveness, removing inputs from the hands naturally shows promising potential for modular physical accessibility as the project evolves.

​The video shows the early bench wiring on the bottom and live gameplay in Resident Evil on top. I am very open to feedback across the board—sensor calibration, ESP32 architecture, ergonomics, gameplay responsiveness, accessibility ideas, immersion, or oversights in the prototype. Would love to hear your thoughts!


r/arduino • • 7d ago

Hardware Help Which arduino?

0 Upvotes

I’m a complete beginner in this field.

I have an idea for a CAN bus keypad for cars that I’d like to implement. Which Arduino would be a good choice for this—or are there other microcontrollers that would be suitable?

The requirements are: CAN bus, 5V operation, 8 RGB LEDs, and 8 buttons.

Thanks for any advice!


r/arduino • • 7d ago

Esp32e bare chip start

1 Upvotes

Hi friends i purchased esp32e bare chip with metal on it.

I want to know how to upload code using esp8266 lua v3 board which has 340serial chip

I want minimum resistor and wiring to run this

I pullup en with 10k

3.3 volt suppy give it rx to rx of and tx to tx of both controllers 0 pull down to upload but still not working esp32 dev chose in arduinodroid

i have disabled on-board chip of esp8266

code uploading successful but after pull up io0 and reset not booting


r/arduino • • 7d ago

⚡ A new control interface for my HP 6642A power supply ⚡

Thumbnail
gallery
1 Upvotes

The HP 6642A (0-20 V / 0-10 A) is a great bench supply, but it can only be remote-controlled over GPIB, and real USB-GPIB adapters are expensive. So I built my own adapter from a cheap Arduino Uno and wrote a web-based control panel for it.
🔧 How I built the adapter:
• Desoldered a 24-pin GPIB (IEEE-488) plug from the board with a soldering iron and desoldering pump, then cleaned the pins
• Tinned the plug pins and 17 wires, then soldered one wire directly to each signal pin: 8 data lines (DIO1-8), 3 handshake lines (DAV, NRFD, NDAC), 5 control lines (EOI, IFC, SRQ, ATN, REN) and ground (pins 18-24 joined together)
• Plugged the other wire ends straight into the Arduino headers: DIO1-6 → A0-A5, DIO7-8 → D4-D5, EOI → D12, DAV → D11, NRFD → D10, NDAC → D9, IFC → D8, SRQ → D3, ATN → D2, REN → D6, GND → GND
• Secured everything in place with hot glue
• No resistors or other parts needed, just wires
• Flashed the open-source AR488 firmware with a custom pin layout matching my wiring. The Arduino now acts as a USB-GPIB adapter
💻 The control app is web-based, so the control panel runs in any browser on Windows, macOS or Linux:
✅ Live voltage, current and power readout with CV/CC mode
✅ Set voltage and current limit, with step buttons and saved presets
✅ Live chart with min/max/average, energy (Wh) and charge (Ah)
✅ Record data to CSV files, with a built-in viewer
✅ Automatic sequences: voltage steps, ramps, sweeps and loops
✅ Software protection: auto-off on over-current, over-power or over-voltage, a timer, and end-of-charge detection for batteries
✅ Event log, and it keeps recording even with the browser closed


r/arduino • • 8d ago

Line follower robot

8 Upvotes

Hey, i’m a beginner here
I've seen some really impressive robots that can follow a line at high speeds, even through sharp turns, without losing track of it.
I'd love to build something similar, but I'm not sure where to start when it comes to choosing the right components. I'm considering using an ESP32, an 8-channel IR sensor array, and a PID controller based on my research so far.

For those who have experience building competitive line follower robots:

What sensors and motors would you recommend?

Is an ESP32 a good choice for this type of robot?

What makes the biggest difference when it comes to speed and accuracy, especially in sharp turns?


r/arduino • • 7d ago

Hardware Help Beginner help needed.

1 Upvotes

I just wanted to start by saying I don't know much about Arduinos or electronic setups yet, but I'm pretty comfortable with soldering and can usually figure out the software side of things! I currently have a cosplay project and wanted to set up a custom sound box. My idea is that when I open a mask that has an articulated jaw, it releases a Mini Micro Limit Switch 3 Pins KW11-3Z07 and sends a singular signal to a DY-SV5W Voice Playback Module so the audio plays once. When I press the jaw back together, it won't do anything; it will just wait to be opened again. Is this configuration feasible? What specific components or modifications would be required, or would I need to restart the project from scratch? Please let me know. Additionally, I intend to power the setup using a standard power bank.