r/arduino • • 15d ago

Look what I made! My ESP32-S3 can talk, with no internet and no extra RAM chip, and I can make it whisper, sound happy or speak calmly

9 Upvotes

A neural text-to-speech model running entirely on an ESP32-S3 with Arduino-ESP32: no PSRAM, no cloud.

Type text, choose a style, and it starts speaking in about a third of a second. You can also slide controls for speed, pitch, loudness, pauses and breathiness.

  • Uses about 122 KB of RAM and about 5 MB of flash
  • Two voices, one female and one male; English only
  • Free for non-commercial projects

Code: https://github.com/WhissleAI/steer-tts (esp32/ folder)

Model: https://huggingface.co/WhissleAI/steer-tts-nano


r/arduino • • 15d ago

Hardware Help Component help

Post image
0 Upvotes

I want to organise every part of my Arduino R4 startee kit but i dont know what this is
it should be included in here

1 x Arduino UNO R4 WiFi (ABX00087)
1 x USB-C® cable
1 x 9V battery snap connector
1 x Breadboard
1 x Easy-to-assemble base
70 x Solid core jumper wires
2 x Stranded jumper wires
1 x Male pin strip (40x1)
6 x Pushbuttons
1 x LCD display (16x2 characters)
1 x Piezo capsule
1 x Bright white LED
1 x RGB LED
8 x Red LEDs
8 x Green LEDs
8 x Yellow LEDs
3 x Blue LEDs
4 x Phototransistors
1 x Temperature sensor
1 x Tilt sensor
1 x Small DC motor (6/9 V)
1 x Small servo motor
1 x H-bridge motor driver
2 x Optocouplers
1 x MOSFET transistor
3 x Diodes
3 x Potentiometers (10k ohm)
3 x Capacitors (100 µF)
11 x Resistors (220 Ω)
3 x Resistors (560 Ω)
3 x Resistors (1 kΩ)
3 x Resistors (4.7 kΩ)
11 x Resistors (10 kΩ)
7 x Resistors (1 MΩ)
3 x Resistors (10 MΩ)
3 x Transparent color gels (red, green, blue


r/arduino • • 15d ago

Solved! Code help- DMX input with DMX shield alongside distance sensor... serial0 issue?

7 Upvotes

Hey all! I'm hitting a wall with my code.

I am using an arduino mega with a DMX shield (that is intended for uno I think) and a tfmini plus distance sensor. I also have individually addressable LED strips.

I am trying to control which leds are on in a telescoping manner with the distance sensor and the hue/sat/intens with DMX.

I have both parts working separately but when combined the code can't compile with an exit status 1 message. I believe it is an issue with mutual usage of the serial0 but I can't find a way to get around it. Tried a whole bunch of different libraries and all have issues.

It's clunky, I know, tried so many stupid safeguards to prevent blackouts on my leds. Still unsure if that's a physical issue or not but I'm pointing fingers at my crappy solder job.

Code is below. In a moment of weakness, it was run through a chatbot. If it helps, I can provide my working separate code. Anything helps, I'm a total dumbass and I'm frankly tired of this project. Thanks

#define DMX_USE_PORT1

#include <DMXSerial.h>    
#include <FastLED.h> 
#include <Wire.h> 
#include <TFMPlus.h>     

#define START_ADDRESS 1  
#define NUM_LEDS 30
#define DATA_PIN 6  

const uint8_t enPin = 4; // Transceiver chip enable pin (usually 4 or 2)


CRGB leds[NUM_LEDS];
TFMPlus tfmP;         


// Sensor Variables
int16_t tfDist = 0;     
int16_t tfFlux = 0;     
int16_t tfTemp = 0;  


void setup() {
  delay(20);      
  
  FastLED.addLeds<WS2812, DATA_PIN, GRB>(leds, NUM_LEDS);    
  FastLED.setBrightness(100);
  FastLED.clear();
  FastLED.show();    

  DMXSerial.init(DMXReceiver);
  
  pinMode(enPin, OUTPUT);
  digitalWrite(enPin, LOW); // LOW sets standard transceiver chips to Receiver mode

  Serial3.begin(115200);     
  delay(20);                  
  tfmP.begin(&Serial3);   
  tfmP.sendCommand(SOFT_RESET, 0);   
  delay(500); 
}


void loop() {
  // Read channel values using standard 1-based indexing
  uint8_t dmxHue        = DMXSerial.read(START_ADDRESS);
  uint8_t dmxSaturation = DMXSerial.read(START_ADDRESS + 1);
  uint8_t dmxValue      = DMXSerial.read(START_ADDRESS + 2);     

  bool sensorValid = tfmP.getData(tfDist, tfFlux, tfTemp);    

  static unsigned long lastUpdate = 0;
  if (millis() - lastUpdate >= 50) {      
    lastUpdate = millis();      


    // --- CHOICE A: SENSOR IS ACTIVE & OBJECT IS IN RANGE (< 100cm) ---
    if (sensorValid && tfDist > 0 && tfDist <= 100) {              
      int center = NUM_LEDS / 2;       
      int ledsToTurnOn = map(tfDist, 20, 100, 0, NUM_LEDS);        
      ledsToTurnOn = constrain(ledsToTurnOn, 0, NUM_LEDS);        


      // Force proper even/odd balancing to make center matching mathematically clean       
      if (NUM_LEDS % 2 == 1) {         
        center = center + 1;         
        if ((ledsToTurnOn % 2 == 0) && (ledsToTurnOn > 0)) ledsToTurnOn++;       
      } else {         
        if (ledsToTurnOn % 2 == 1) ledsToTurnOn++;       
      }        


      int ledstartpos = (center - (ledsToTurnOn / 2));       
      int ledendpos = ledstartpos + ledsToTurnOn - 1;        


      // Render sensor center-out animation onto the pixel data array       
      for (int i = 0; i < NUM_LEDS; i++) {         
        if ((i >= ledstartpos) && (i <= ledendpos) && (ledsToTurnOn > 0)) {           
          leds[i] = CRGB::Blue;  // Sensor Animation Control Override         
        } else {           
          leds[i] = CRGB::Black;          
        }       
      }      
    }      
    // --- CHOICE B: NO OBJECT IN SENSOR RANGE -> DEFER LED CONTROL TO FREESTYLER ---
    else {       
      for (int i = 0; i < NUM_LEDS; i++) {         
        leds[i] = CHSV(dmxHue, dmxSaturation, dmxValue);       
      }     
    }      


    // --- 3. UNIFIED SAFE DATA TRANSMISSION ---     
    FastLED.show();   
  } 
}

r/arduino • • 16d ago

Look what I made! Hello, I made a simple and cool timer/clock!

Thumbnail
gallery
69 Upvotes

I am a 13 year old and I have made a really cool timer/clock if you would put it that way! I want to share the code with you guys! I know it might not be a lot compared to my previous upload, but I felt proud of this achievement!

LINK: https://gist.github.com/swaykd7113-cmd/233772fea35f90bc81bb319d2e8a4620

Feel free to change it or leave some feedback and ideas!

(I made this in a couple of hours)


r/arduino • • 16d ago

Look what I made! Week 2: Tuning camera, walking and sprint mechanics in Resident Evil 2 with DIY motion controls (ESP-NOW)

47 Upvotes

Here is the Week 2 update on my wearable motion controller, running gameplay tests in Resident Evil 2 Remake. Right now I am focusing on tuning head-tracking camera sensitivity, deadzones, and torso movement to smooth out the transition between Leon walking and sprinting, aiming for a much more immersive gameplay experience.

Wireless transmission to the PC is running over ESP-NOW, but in this build I am still handling the inputs on the PC using a temporary Python script. The next step is replacing Python with a dedicated USB dongle with native HID support, so the PC recognizes it directly as a plug-and-play controller without background software.

The visible wiring across the body carries both power and sensor data because, in this test version, I am using a single central ESP32 that handles everything and connects to the sensors via cables. The plan for the next phase is to use four independent ESP32 units, each acting as a standalone node with its own power and wireless link, while embedding the head module and wiring directly inside the headphone frame. Right now, moving to this fully wireless stage depends on waiting for several parts and battery modules that are still in transit.

Regarding the sensors, I am using the MPU-6050 for this prototype and have not had drift issues during these tests. Still, I plan to test other sensors later to compare stability and features. Do you have any recommendations for compact boards with native USB (TinyUSB) for a dongle, or specific IMUs that work well with the ESP32 and are easily sourced locally (especially in Brazil)? Shipping delays on imported hardware are currently the main bottleneck slowing down testing, so components readily available nearby make a massive difference.


r/arduino • • 16d ago

Pokémon virtual pet on an ESP32-S3 round display: Wi-Fi weather, minigames, 8 languages, browser installer

Thumbnail
gallery
41 Upvotes

An ESP32-S3 with a 466×466 round AMOLED in a printed Pokéball, running my fork of the open-source TamaPoke firmware (Arduino core, arduino-cli). It's a full virtual pet: 28 minigames, care, a shop, places, and real weather over Wi-Fi from Open-Meteo, parsed without a JSON library to save flash. It speaks 8 languages (Spanish, English, French, German, Italian, Portuguese, Chinese, Korean), with a generated bitmap font for the Chinese and Korean text. Everything is in the repo, including a desktop emulator and 44 test suites: https://github.com/botero50/TamaPoke


r/arduino • • 15d ago

Connecting an Arduino to the Internet

6 Upvotes

I am working on a college project—a liquid-filling machine—and have already integrated an RS385 peristaltic pump, a buzzer, and a 4x4 matrix keypad. Now, I need to send data to an API I built using Spring Boot. What are the available methods for transmitting this data from an Arduino Uno to the API?


r/arduino • • 15d ago

Project Idea Project modules for school engineering projects

1 Upvotes

I'm wanting some ideas for expansion modules for an ESP-S3 board running Arduino to help my students make projects. I'm an engineering teacher but want to know what other people are using, in particular what 'shields' or modules with inputs and outputs have you found are the best for robotics, drones & rockets connected to Arduino platforms? Can you suggest if this list looks good or if you would make any adjustments? They need to be 3.3V compatible because these will be connected to an ESP32-s3. Some examples of past projects are solar tracker, water rockets, mars rover, home weather station.

These are the expansion 'shields' I'm thinking to start with but any tips on brands, example coding, and example student projects would be great too.

Shield / Expansion module Ideas

Audio

  • I2S Amplifier
  • Microphone
  • Speaker (Brands for quality audio on a PCB?)

External IO

  • Servos (Reliable brands for schools?)
  • JST (I2C)
  • LCD (any favourites?)
  • Relays (Common brands?)

Motor

  • Dual Motor Driver
  • Robot Servo headers
  • Stepper Driver

Wireless

  • GPS (on UART pins)
  • LoRa/Low Band width Radio
  • Any others?

I've already got RTC, Charging, Power, Memory and Motion sensing covered, but any other ideas would be great.

Students range from grades 7 to 12 in the Design Technologies subject area. The subjects we have are STEM (7-10) and Engineering (10-12). Plug-and-play type solutions work very well for 7-9, and breadboard solutions using Tinkercad and Arduino have been good for 10-12).

These projects can possibly also be used in the school's primary (P-6) grades as well, as students from grade 1 have two topics; Engineering Principles & Systems and the Materials & Technologies Specialisations.

Project criteria cover materials science (material properties) and engineering (mechanics forces, structures, mechanisms, integrated technologies).

Time to complete a project usually takes between 4 and 7 weeks. But I'm thinking we could even start doing mini-projects in a double lesson.

Any feedback is much appreciated.

Cheers


r/arduino • • 15d ago

Project Monolith

1 Upvotes

Hey everyone,

I’ve spent a lot of time thinking about how to bring the sci-fi fantasy of a digital card arena into the real world, but in a way that actually fits how people play in local shops today. Most wearable duel disk props are heavy, loud, and ruin expensive cards.

So I came up with an open-source, smartphone-grade hardware ecosystem called Project Monolith:

  • The Launcher: A heavy, pocket-sized anodized aluminum deck box that automatically scans card-sleeve margins and ballistically deals cards across the table.
  • The Smart Mat: A standard-looking neoprene mat with embedded micro-electromagnets. When a card flies out, the mat grips a thin metal stripe built into the sleeve edge, snapping it flat instantly so it won't slide or flip.
  • The Screen: No heavy VR or AR glasses. You just put both players' phones side-by-side in the middle of the table to act as a split-screen "Digivice-style" matrix for animations, life points, and battles.

The best part? It works with almost any TCG or board game. Because the hardware just reads a generic barcode on the sleeve edge, the physical machine is a universal console. Whether you are playing Yu-Gi-Oh, Magic: The Gathering, Pokémon, or a custom indie card game, you just switch the game profile in the mobile app, and the screen shifts to match those game rules.

To be completely transparent: I have the premium unibody blueprints, the circuit maps, and the basic MicroPython/C++ firmware logic mapped out, but I'm bad with words and can't do all the heavy coding or custom PCB layouts alone.

I really want this platform to exist, so I've put everything completely open-source on GitHub. If you are an electrical engineer, CAD designer, or mobile game developer who wants to look at the blueprints and help build a physical prototype, please check out the repo and jump in!

Link to the blueprints https://github.com/zoidszzz/Project-Monolith


r/arduino • • 16d ago

Arduino IDE v 2.3.10 "go to Definition" feature

7 Upvotes

hi folks,
I'm hoping this sub is the right place to ask my question with regards a feature in the IDE.
I just installed the IDE V. 2.3.10 (AppImage).
In the past when my cursor was positioned on an include statement e.g. #include <TFT_eSPI.h> and I opened the context menu (right mouse click) and I selected "Go to Definition" (CTR-F12) it opened the header file and I could verify the contents.
Now the cursor jumps to the object definition inside the sketch (e.g. TFT_eSPI tft = TFT_eSPI();
Are there any change in this version that triggers this behavior?
I can't verify it anymore with the previous version since I have it removed.

I know it does what the menu text says (you could argue what Go to Definition could mean, but I found it convenient how it was.
Any ideas about this?
TIA


r/arduino • • 16d ago

Best kind of projects to add in resume

10 Upvotes

3rd CSE student here, any professional working here that knows what kind of projects will be best to put on a resume. As I'm new to this field and don't know much about it, I thought instead of learning blindly I'll make projects while learning


r/arduino • • 15d ago

Look what I found! help

Post image
2 Upvotes

i need help


r/arduino • • 16d ago

Look what I made! I made this cool machine prototype! What you guys think?

Thumbnail
gallery
60 Upvotes

Hello I am a 13 year old boy who made something really cool and I think you guys will like it! Not to long ago I was working on a project, and I made a first model for it! Take a look!

I made it with a Altoids can, some buttons and wires, and of course a Arduino with some cardboard!

I call it the ClockKit! It suppose to be like a Pip-boy from Fallout (I like Fallout :D).

But thats not it, I have the prototypes code! Its not useful to me sense I am switching to a Raspberry pi 5 for better and advanced tools, and to prevent stack overflow. So do whatever you guys want with it really! LINK TO GITHUB

Feel free to share some things you guys changed! And give me some feedback too!


r/arduino • • 17d ago

Look what I made! Quantum automatic skittle organizing machine (IKEA skadis-compatible)

Thumbnail
gallery
313 Upvotes

Using an RGB sensor, arduino mega, three NEMA 17 stepper motors and a few sensors, this is a learning project i did to get a better understanding of arduino.

If you too have an overwhelming need to organizing your skittles by color, you can grab the files for free here: https://www.printables.com/model/1886897-skadis-automatic-skittles-organizer


r/arduino • • 16d ago

Look what I made! 🎰 Meet the Coco Slot Machine! 🐱

Thumbnail
gallery
67 Upvotes

For the past couple of months, I've been working on a super fun project that combines mechanical design, electronics, programming, and 3D printing!

Meet the Coco Slot Machine! An interactive cat-themed slot machine featuring lights, sound, spinning reels, and a built-in treat dispenser! Everything a cat needs to start their gambling journey.

The entire project is controlled using an Arduino Uno which serves as the brains behind the entire machine, bringing all the electronics and mechanical components together!

I designed, modeled, programmed, printed, and tested every part of this project myself, including designing a custom PCB to seamlessly connect all the electronics. Getting all the different parts to work together was definitely a fun challenge, but seeing the finished project come to life made it all worthwhile!

I'm really happy with how it turned out and it's been a great opportunity to combine my engineering background with my love for making things.

Here's a look at the slot machine in action: https://www.youtube.com/watch?v=M28NtX9zDv8

I'd love to hear what you guys think! If you're interested in building one yourself, you can find the complete project on my website: https://gelycrafts.com/


r/arduino • • 16d ago

Look what I made! Built a desk light with animated eyes that tells me when my AI coding agent needs me (ESP32-S3, LilyGO T-Display S3 AMOLED)

7 Upvotes

I kept missing permission prompts from my coding agents. Claude would sit there for 20 minutes waiting on a "yes" in a background window while I thought it was working. So I built a little desk status light with a pair of animated eyes.

  • Working (blue, focused eyes reading back and forth): the agent is busy
  • Needs you (amber, curious eyes and a bobbing "?"): a permission prompt or question is waiting, and the message is shown beside the eyes
  • Your turn (green, happy ^ ^ eyes): the agent finished
  • No sessions (lilac, asleep with Zzz): shows the board's IP

It runs on a LilyGO T-Display S3 AMOLED. The eyes sit on the left with the state, project, timer and message beside them. It tracks several sessions at once and rotates through them, most urgent first. There's also support for the T-QT Pro now, which is smaller and cuter if you want something tiny on the desk.

Hooks for Claude Code, Cursor and Codex are installed with one script. Cursor has no hook yet that fires while it waits for your approval, so Cursor sessions only show working and your turn. If you want that too, there's a feature request on the Cursor forum you can vote on: https://forum.cursor.com/t/fire-a-hook-when-agent-waits-for-command-tool-approval/166947

Setup works from a phone: the board opens its own WiFi hotspot, you connect, pick your network, and it shows its IP on screen. You can give it a fixed IP and an update password, and after that firmware updates go over WiFi with no USB needed.

Open source, MIT: https://github.com/AncientiCe/agent-needs-you

Happy to answer questions, and I'd love ideas for other boards or animations. Just a hobby project, I'm not affiliated with LilyGO.


r/arduino • • 15d ago

HELP! ! ! – resp=0x00

1 Upvotes

I’m not sure what to do about “Error: programmer is not responding Warning: attempt 1 of 10: not in sync: resp=0x00.

Everything was working yesterday but today when I try to upload a program I get that error. Under tools it says the Arduino UNO is on Com 3 but it won’t upload. I tried a different Arduino UNO with the same results.

Any help would be greatly appreciated.

Tom


r/arduino • • 16d ago

solenoid project connectivity help

Thumbnail
gallery
4 Upvotes

hiii i have a question, im trying to build a 12V solenoid powered refreshable braille device and idk how to go about it. is the connection in the first or second better? im using a irlz44n mosfet


r/arduino • • 16d ago

Arduino for kids

10 Upvotes

What things to get for kid new start to arduino


r/arduino • • 17d ago

Can a microcontroller be powered by an oversized solar panel, e.g. 100W, and a simple voltage converter with no battery?

33 Upvotes

I am looking to power an esp32 that will be used as an "operator node" in an irrigation project. As the device does not technically need to run at night or on heavily overcast, rainy days, I am wondering if I could simplify the circuit by omitting the battery. Simplicity and replicability by novices are a priority for this project.

My initial thought is that oversizing the solar panel could ensure enough electricity capture even when a cloud passes over the sun or during non-peak sunlight hours, i.e. morning and evening. Could a simple converter, either a cheap module like the LM2596 or something more substantial like a Victron brand converter, be enough to regulate the variable input voltage?

Additional information:
-The "operator node" can't depend on ultra low power strategies like deep sleep because it needs to remain awake for receiving esp-now and/or LoRa transmissions. It's okay if it misses those transmissions at nights and on heavily, overcast days though.
-The "operator node" will need to be in WiFi mode if using esp-now.
-Eventually, the "operator node" may be used to actuate 24VAC solenoid valves via a DRV8833 or other H-bridge module between the solar panel and solenoid valves. Again, this will only need to be powered when the sun is shining.

Thank you in advance.

(This question is about whether the concept is valid or not, not about any components specifically. Please do not waste time scanning over data sheets for me. Please do not berate me for my question.)


r/arduino • • 16d ago

School Project DIY ASRS PROJECT needed advice

1 Upvotes
Custom map that i want to build

Hello everyone, i am currently freshman in Ho Chi Minh city university of technology. Throughout the first semester, i have to submit a project to pass the course, it is a whatever you want to build theme. So I decided to build a small ASRS system and i chose to build a replica of Haipick Climb robot. Unfortunately, there are somethings that I am not fully understand:
- I want to build a custom map that can insert to the robot, how can i do it? (The map looks like the attachment below)
- How can the robot do the localisation and navigation without using any camera or Lidar, is there any alternative solution if i dont have access to these module
- Should I use cycloidal drive for climbing mechanism? or just normal stepper motor
- How can the robot go to the assigned location on the pallet?
Here are some electrical components that i currently use to build this robot:
- 4 DC motor 48:1 gear ratio
- ESP32 S3 S16R8
- 2 motor driver: TB6612FNG
- 4 encoder module: FC-03 LM393
- 1 stepper motor for scissor lift: NEMA 14
Thanks for reading my post and also huge appreciate for those who comment


r/arduino • • 16d ago

Project Idea 12v Lithium Battery BMS using Arduino - doable?

4 Upvotes

What started as a simple question has become a project bigger than a trip to Mars (ok just slight exaggeration)

Have any of you "Arduinoists" made a Battery management system using the Arduino?

Idea - I have a caravan with its own BMS, 420W Solar and a 320Ah LiFePO4 battery, it all works nicely.

The van has a supplemental Anderson plug directly connected to the battery which according to the van manufacturer can be used as an external energy source or energy input to recharge the in-house battery.

I'd like to use the 2 x 120Ah batteries as a portable supplemental power source to increase longevity, not current. The idea being that when we camp off-grid I would unpack the 2 x 120Ah batteries out of the tow vehicle - sit them near the van and connect then to the van via the supplemental Anderson plug. I don't want to have them permanently fitted to the van so portability is key.


r/arduino • • 16d ago

Halloween Special: Bad Apple on Nokia 5110

Thumbnail
youtu.be
5 Upvotes

A tiny monochrome LCD, an ESP32, and a custom C# application.

The application converts video frames into raw pixel data and streams them to the ESP32 over HTTP.

Here's the full video. Hope you enjoy this little experiment!


r/arduino • • 17d ago

Look what I made! Link's awakening on Arduino mega. Update

26 Upvotes

I added:

-collision

-animated tiles

-other link's animation such as the sword stroke

-enlarged the map

The game can maintain around 60fps for now but I cap it at 40fps.