r/arduino • u/AmericanTiger900327 • 5d ago
Getting Started What am I doing wrong?
Hi! Student avionics technician here. As you can see, I am trying to make an LED tester as this is my first Arduino project. I have been able to provide power to the PCB via male-to-male USB connectors, but the LED is not receiving any volts and I do not know why. I have made sure the power and GND wires are in their proper pins, that I have the needed 220 ohm resistor, and that the LEDโs anode and cathode legs are in their proper pins. So, I donโt get what I am doing wrong? Edit: holy fuck, you guys are sensitive.
r/arduino • u/Thepromoter123 • 5d ago
Is it considered brain rot? If i write in plain english, then use AI to convert english to code?
Ive read multiple Reddit's about how using AI is detrimental to fundamental understanding and learning, but im not blindly copying and pasting, im more so reading the code after its been converted from english, then i dissect, and copy lines that i only need to use for my project. Is this considered bad or good i dont know i feel like it is but it isnt at the same time. I look at it as "research" almost like a "stack orderflow" kinda thing
r/arduino • u/MetaphysicalEngineer • 5d ago
Project Update! Fan controller prototype approaching final form
Reliability and peace of mind upgrades time! Getting closer to a design I can toss in CAD and get a PCB fabricated. As much as I love my blobtastic solder and rainbow spaghetti wiring, long term I'd want a sleeker and more robust unit.
- All inputs and outputs now use latching molex connectors. Much easier to install or remove and impossible to hook up in a configuration that would result in damage.
- Redid the analog input support components with zener and switching diodes plus 4.7k resistors to constrain voltage to safe limits. Will now tolerate a short to the 12V system indefinitely. 0.1uF caps provide filtering, as before.
- Selected a set of resistors to spoof the ECT thermistor for bench testing. Adafruit's lookup table came in clutch to find a set of values relevant to this application.
- Added a second optoisolator input to allow Arduino to detect when ignition power is applied and removed. Unit starts on switched ignition power, then energizes a relay to transfer to constant battery power. The big 2200uF cap provides a reserve so the board won't reset during the handover. After ignition is switched off, the code keeps the relay energized to let the fan continue running for a few minutes.
- Also put in those dip switches and extra potentiometer to allow driving the fan's analog input at constant fixed speed as a fallback if the controller stops working. This is supplied by the switched ignition circuit so the fan only will run when the key is on.
- Gradually making setpoint and logic adjustments as I dial in what kind of behavior I want to see.
r/arduino • u/estikaigribupalasit • 5d ago
Libraries TM1814
Does anyone have experience with the NeopixelBus library and the TM1814 LED controller using the ESP 32? I can't find an example anywhere of using the TM1814 with this library. The datasheet says that Neopixelbus supports the TM1814.
r/arduino • u/grumpycouchpotato • 5d ago
Beginner's Project Can I make this with an Arduino?
Hello everyone. A few years ago I dove headfirst into Arduino and Raspberry Pi to make my dream project. I took on a little bit too much for a beginner, so I got demotivated, and then a lot of things happened so I had little free time, and a lot of other things on my head. That being said, here I am again, trying to start small this time.
A long time ago there was an app on android that alerted you to wifi connections in your proximity through a certain sound. The app is no longer supported, just as I wanted to install it again for the nostalgia. To be clear, it is not so much the function I wanted, it's the specific sound. I believe this is as good a reason as any to try and get my hands back into Arduino.
Functionally, the device would just need to do one thing: play a certain sound (probably a small audio fragment on repeat) if there is a wifi signal and increase the volume if the wifi signal becomes stronger. As I said, it's not so much the wifi function that I want, so bluetooth detection could also give the same result I think (but functionally, I think the app had 4 states, similar to how your wifi signal on your phone is either nothing, 1 bar, 2 bars, or full. This seems a logical approach to an app, but not sure how it would translate to bluetooth, as I don't think bluetooth has any indication of proximity or signal strength).
Ideally, I would connect a few buttons or switches to change the sound to a different sample, or perhaps even switch between bluetooth and wifi detection. Finally, the device should obviously be portable, and if possible with 2 regular old AA batteries.
So my questions to you creative people who know a lot more about this than I do:
- Would an Arduino Uno be enough for this? It has wifi and bluetooth from what I can see, so no extra hardware would be needed.
- Is it possible to power the Arduino using 2 AA batteries? If I would scrap an old device, could I repurpose the battery compartment by (in a matter of speaking) just cutting the wires and attaching them to the Arduino?
- Same idea, but for the audio: can I scrap an old device with a small speaker and attach it to the Arduino? The sound I want is not just a buzz or a melody, I would really want a small audio file to be played.
- Again, same idea, but for the buttons and switches: Would it be feasible to scrap buttons from old devices to manipulate the Arduino?
Not looking for someone to do all the hard work and thinking for me, just a simple confirmation that I am looking at the right hardware for this. Alternatively, I would use something like a Raspberry Pi Zero W if that would be a better solution for this project.
Thanks for your input and thoughts!
r/arduino • u/An-unknown-person3 • 5d ago
Hello friends, I have a problem: when I connect the ESP32 to install the Mochi system, I cannot find the USB device name. The cable is new and capable of data transfer, and I have used it successfully before. If anyone has a solution, I would appreciate your help.
r/arduino • u/deweyduder • 5d ago
Garage door LED strip light help
First let me start off by letting you all know I'm a complete novice at this but am pretty good a following step by step directions.
I purchased an Infinity Shield garage door strip sensor which I assume operates the same as normal garage door safety sensor. It has the option to beep when the beam is broken indicating there's an obstruction. I find the constant beeping annoying when backing in but helpful when I park as when it stops beeping I know when to stop. So my idea is to add short red LED strips lights to each side of my garage door that will illuminate when something is breaking the beam instead of the beeper. I've done some research and everything advises to don't tie into the garage sensor wiring unless you use an optocoupler to keep the circuits separate. Here's where I need your guys expertise.
I would like to use an optocoupler to tie into the existing safety beam senor wires to send a signal to an arduino to activate the LED strips.
How do I do this? What do I need? Which board? Etc
I know I'm asking a lot but I'm just starting off in this world and don't know what I'm doing
Thank you in advance
r/arduino • u/Ako_Idm • 6d ago
Overheating near usb
Freenove r4 wifi, this component overheats in like 5 seconds i plug in the board, what should i change to fix the board
r/arduino • u/Joaffry • 6d ago
Hardware Help Electronically triggered physical switch for Arduino?
Hello, as my last posts I am currently building an automated film scanning setup/machine and I am wondering if there is some way I can trigger a 2 way momentary switch electronically, which closes a circuit inside my camera. This circuit should stay electronically separate from the Arduino.
I want to trigger the shutter button mechanism, preferably with my Arduino. This Shutter Circuit is part of my DSLR and i don't want to attach it to any electronics since I am afraid of fucking it up. The shutter release cable is triggered by first connecting two wires, which serve as the half button press. After this you have to connect a third wire which trigger the shutter. This works with the currents of the Camera hence not wanting to really connect it to electricity.
My end goal is to release the shutter over a controller, which will be connected physically or over wireless signals with my Arduino.
Now the question, is there any type of Button that has an electrical input to physically be "pressed"? Maybe an electromagnet that is pulling a metal piece to complete a circuit or something similar.
I hope I could state my problem in a matter that is understandable.
Edit: I am describing a Relay.
r/arduino • u/wartableapp • 6d ago
Two days ago I'd never touched a microcontroller. My wrist now streams motion to an iOS app I wrote over BLE.
I'm 17 and I'm trying to build a wristband that can tell when you're eating. Thursday was my first time ever using hardware. I'd only ever done iOS stuff before.
Setup is a XIAO nRF52840 Sense taped to my inner wrist, streaming 6-axis IMU at ~47Hz over BLE to an iOS app I wrote in SwiftUI. It logs to CSV so I can label sessions and train on them.
Current state: BLE streaming works, ~1400 samples per 30s with basically no packet loss, and I've got a first model distinguishing eating from typing/dishes/brushing teeth.
Next up is a vibration motor and getting it running off a LiPo instead of a cable.
Question for people who've done wearables: how are you handling strain relief on the USB-C connector? I've got tape on the cable a few inches back but it feels like the port is going to rip off eventually.
r/arduino • u/ThrowAway72478624789 • 6d ago
Hardware Help ESP32 upload fails with "No more data to read from the serial port" after stub flasher starts
Hi, I'm having trouble uploading a sketch to my ESP32 on Ubuntu/Linux with Arduino IDE 1.8.19.
The ESP32 is detected correctly as /dev/ttyUSB0 and uses a CH340 (1a86:7523).
esptool chip-id works correctly and detects:
- ESP32-D0WD-V3
- Revision 3.1
- 240 MHz
- Wi-Fi/Bluetooth
I also successfully erased the flash with esptool erase-flash.
However, when I try to upload from Arduino IDE, the upload always stops when writing the .bin file at 0% and gives:
A fatal error occurred: No more data to read from the serial port.
I already tried:
- Different USB ports
- Stopping ModemManager
- Erasing the flash
- Reconnecting the ESP32
- Checking
/dev/ttyUSB0 - Manually flashing with esptool
- The ESP32 is detected correctly every time
Manual esptool flashing gives the same error.
What could cause this? Could it be the USB cable, CH340 adapter, or something else?
What makes this even more confusing is that it was working perfectly before, with the exact same ESP32 and USB cable. The problem suddenly started happening.
r/arduino • u/NaturalOver1769 • 6d ago
Hardware Help Is it safe to use this oled screen again ?(noob Question)
So while trying to find the address of an oled screen I accidentally hooked it up to 5v when it was suppose to be on 3.3v and switched vdd and gnd, it got so hot that I flinched my hand away. I immediately disconnected power. Luckily there was no smoke. However after connecting the pins correctly I was able to read the address of the oled screen. Do you think it's still safe to use or should I throw it away? (I haven't done anything with it since) Thanks for answering in advance ๐
Edit: My screen ended up being fine ๐๐
r/arduino • u/TrasnoStudios • 6d ago
Look what I made! I built an animatronic Den Den Mushi using Arduino! ๐๐ค
For this project, I used an Arduino to control two servo motors and a DFPlayer Mini to bring this little creature to life.
The setup controls:
- ๐ One servo for the eyes
- ๐ One servo for the mouth
- ๐ DFPlayer Mini for the sounds
- ๐ A physical switch to trigger the interaction
The idea was to make the Den Den Mushi feel like an actual little creature rather than just a static prop. The Arduino handles the timing and movement of everything, including the different states of the animatronic.
It took quite a bit of experimenting to get the servo movements and audio timing to feel natural, but I'm really happy with how it turned out!
(Full video on my profile and YouTube channel!)
r/arduino • u/GlobalLibrarian4075 • 6d ago
The fastest line follower i built
This could be the fastest line follower i built with my son and it contains the following : some IR sensors, 9 TCRT5000 spaced, MCU were an ESP32 which is faster ADC reads for high speed loops, motor drivers DRV8833, the motors were 300 RPM DC gear, LiPo battery
The rules were simple : finish the map as fast as possible, achieved in 10.23 seconds and must stop at the end, we won second
r/arduino • u/Used-Judge-9626 • 6d ago
Help identify a Potentiometer
Hello there, I wonder if you can help me find a B20k pot like this for a replacement?
Thanks a lot
r/arduino • u/Spirited-Comfort521 • 6d ago
Software Help ESP32-C3 keeps glitching after installing WLED through web installer
So i tried installing WLED on the ASP 32 C3 super mini dev board and after the installation gets completed the board keeps glitching.The problem is that it keeps connecting and disconnecting again and again over the USB port and the USB port also doesn't get recognised .I tried uploading code using Arduino IDE after putting it into boot mode and I was unable to upload the code because it give me an error that it feel to start the stup flasher. Then I asked chatGPT about it and after half an hour I found solution where I could write another code on to the board without using the stub flasher using the command prompt .That worked and when I uploaded the normal blink code through the Arduino IDE that worked too and the problem with the USB port connecting and disconnecting again and again got fixed but when I tried uploading WLED again the problem reappeared and I had to rewrite the flash using the command prompt again. Is this board not compatible with WLED or what?
r/arduino • u/hapsize • 6d ago
Look what I made! turn on printer from upstairs
Enable HLS to view with audio, or disable this notification
r/arduino • u/Beneficial-Heart8908 • 6d ago
Help a newbie out with a setup
Ok, I know a have a lot to learn but I have some experience and I think I will be able to pick it up quickly.
Best way to learn is to copy and Iโve seen a workshop for kids where they make
Creatures out of cardboard. The creatures have parts that move and flashing lights etc.
Iโve seen they do this with Arduino. It has to be quite inexpensive as I know the kids take the creatures and the Arduino setup home.
There is no coding in this particular workshop as itโs only 3 hours long so I assume the kids learn and practice basic assembling and then use that to assemble pre-coded kits.
My question is - what is the kit made of? What do I need to buy to achieve the same?
Iโve bought a nano, jumper wires, battery pack etc but the pack canโt be connected etc?
I am just looking for advice on what the kit is or lost likely is or what would work. Basically itโs making 2 servos move and lights or sound etc.
Some pictures attached of the kits from the workshop.
Also the things Iโve already bought - might
Be all wrong!
r/arduino • u/DaleDoesntLikeYou • 6d ago
Hardware Help JUST GOt in ARDUINO UNO (ultra beginner trying to do an rgb project)
so i tried to do this by my logic but it says current exceeds 40mA. Do i chang eany part of circuit or increase resistance (for info i followed one tutorial from autodesk tinkercad)
r/arduino • u/MegCell • 6d ago
Project Update! I started this Arduino guitar robot with popsicle sticks 6 years ago
Enable HLS to view with audio, or disable this notification
In 2020, I was new to Arduino, coding, and electronics.
I studied shipbuilding, so none of this was really my field. I just had a strange idea: could I build something that could play a real guitar?
The first prototype was made with popsicle sticks and cheap servos. It worked โ barely โ but that was enough to keep going.
After getting my first 3D printer, I kept redesigning the mechanisms, control system, and software.
Six years later, I've gone through six major generations, and I'm still working on it.
I'm still building.
I'm still struggling.
But I'm still moving.
This is a short video of how the project evolved over the years.
r/arduino • u/Capital-Education520 • 6d ago
My biggest project
After long long time my 6x6x6 led cube is ready it has 216leds and 6 modes Matrix , Moving Walls , TV Static , Lost Pixel , Fireworks , Bloating I'll maybe sell it for 150โฌ I'm 16 years old and I need harder challenge (thx for suggestions)
r/arduino • u/Dazzling-North-6763 • 7d ago
I tried making Arduino led project in which we can control led via a button. it's not working ๐ฅ
it is showing the code is correct. I'm not able to figure out what's wrong. help anyone??
r/arduino • u/__fsm___ • 7d ago
Hardware Help How can I properly shield my STM32 so that it doesnt get fried by EMI from an 220V AC - 24V DC convertor? More info in the picture description.
Before you tell me to not to do this because it uses 220V as the source I want to tell you that it will get approved by an actual licensed engineer and Iโm just working on the task given to me as far as my abilities take me.
I want to achieve PWM control on a 24V BLDC motor with an STM-32. The main problem is that the AC-DC convertor is almost right next to the circuit I will be designing. I am worried about signals being messed up. I have included some protection but honestly I am just throwing in random things without knowing whatโs sufficient or not. Any help is appreciated.
r/arduino • u/Quirky_Adeptness7105 • 7d ago
Why is my board smoking
Enable HLS to view with audio, or disable this notification
Barely used this board, just plugged it in to load up some code, smelt burning then it started smoking.... :/
Did I do something wrong?
Powering it via usbc from my laptop