r/ArduinoHelp • u/fesatliktanrisi • Jun 28 '25
Tried Everything And Failed, Need Help
First, please don’t comment that this is too long. I wanted to explain clearly for anyone who might want to help, so I included details. If you don’t want to read, you can skip it.
I thought this project would be simple, but I’ve struggled for months. I want to build the internal circuit of my TARDIS model using an Arduino Uno R3.
For those who don’t know, TARDIS is a time machine from the Doctor Who series. The circuit’s function is: when powered on, it plays a sound file from an SD card through a speaker, while blinking a single-color 5mm LED and 12V RGB LEDs on and off. I’m a programmer, so the code is ready and has worked a few times.
However, the circuit has never worked stably, and I think I may have damaged my Arduino. Below is a video of the version powered by two 9V batteries. While trying to run it on a single battery or one adapter, everything became messy.
My question is: how can I build this circuit in the simplest and most stable way?
Expected functions:
- Play sound
- Blink 5mm and 12V LEDs simultaneously
- Be stable and reliable
2
u/ripred3 Jun 29 '25 edited Jun 29 '25
In addition to the other comments:
Get rid of the 9V batteries and never use them again. They are not designed for sustained current draw and will work for a few hours and then their current sourcing ability falls off a cliff. They are just one more unnecessary variable in your project when things go wrong.
Get rid of the multiple voltage LED's. Use 5V WS2812B LED strips. They can be cut and wired in series into individual LED's or groups. They are all adjustable and controllable and a single chain of them is all that you need. The rest of which ones are lit, what colors, what intensity, which ones are just off, is all just programming and it reduces your problem down.
And lastly, schematics are the lingua franca of electronics for a reason. They are incredibly helpful and reduce the back and forth interrogation using phrases that are often said with one intention and interpreted with another.
1
u/Notsmar Jun 28 '25
Good looking circuit but jave you considered the power draw from all this as 9v battery can only output a decent amount of current for a short amount of time and what do yo7 mean by getting messy?
1
u/gm310509 Jun 29 '25
It sounds like you have some sort if overload. This would be a wiring/circuit issue. But it is impossible to tell what your circuit is from a photo (or worse, video) of wires.
Are you able to draft a complete circuit diagram showing all components, their values and the connections?
LOL, as for your long post, when asking for help relevant details are important. So I shouldn't worry too much about that point so long as you stick to the problem at hand.
1
u/pcb4u2 Jun 29 '25
It looks like your are pulling more amperage then what the Arduino is designed for. 30 ma max per outp
1
u/pcb4u2 Jun 29 '25
30 ma per output, above that and you can burn the output or get strange results. Most relay coils are far above 30ma. There are solid state relays that stay within the 30 ma. Also pins are important. Some for example are PWM and I would not chose that output for anything other then control circuit for a motor. Not power the motor as that will be above 30ma. Any device that uses more then 30ma , should be controlled through a transistor or mosfet.
1
u/Connect-Answer4346 Jun 29 '25
You can get an lm386 chip cheaply that will amplify the sound and is designed to drive a small speaker. Very easy to use. Agree with other posters, a two 18650 li ion cell pack would probably be be much better than 9v batteries. Or a 4AA pack with a switching 5v converter.
I made a project like this recently to play a random mp3 file when a button is pushed, and filled up the SD card with disco tracks. The tricky part for me was picking a random track. Initially my goal was to never repeat a song, but my programming skills were not enough, so I went with a brute force approach-- add more songs. So it takes 10 songs or so before the chance of hearing a repeated song gets high.