Hello folks .
I have this project in the works. It is currently using parts from my educational kit.
The project uses the tiny servo, the PIR and a couple of LEDs and will use, once acquired some type of sound . I have a functional sketch ( at least for now ). Of course there's no sound yet since I don't have the parts. I'm currently using the power supply module for extra 5v supply pins ( at this point I'm using a 9v battery for power) that came with the kit and the Mega 2560 board. I really don't want to use this board since I want to keep using it with the kit in order to learn more. It also "seems" like this board with all those pins would be wasted with this project. I've watched several videos about achieving sound . Many of which just use a micro SD card board. Audacity for file conversion and a transistor to boost the volume . Sound quality still sucks.
Final note about the project....The PIR is obviously a trigger . The servo, LEDS and sound card will all get triggered at the same time and can run for the same few seconds
Here's my questions
#1 which of the many boards out there would be sufficient to run this? Nano, Uno etc
#2 For sound Is the LM86 ok to power a 3" speaker with at least some volume since it will be outdoor? Of course one wonders is 4 ohms or 8 ohms best for the speaker?
#3 I have a bunch of 5v relays which can easily handle whatever current I draw but I was wondering if having all 5v devices running off just one is ok and a bit concerned about messing up the sketch. Should I just keep on using the power supply module that came with the kit since it is a regulated 5v.
Whatever help is offered is appreciated
Why not use DFplayer mini?
If the sound power is not sufficient, you can try a digital amplifier such as PAM8403 or PAM8610.
And if your 9 volt battery is a 6F22 it's best to get rid of it - it's very low power and not suitable for most projects.
You don't say much about your project, but it seems to me that an Arduino Nano will work for you.
Thanks .. looking into it. Amazon basics alkaline battery.. It's for a Halloween prop so it really only has to last one night
I 3d printed a skull which has a hinged jaw and mounted it on a box to hold all the goodies and the PIR. #d printed 2 hollow spheres for the eyes and put a single LED in each one.
The idea is to put it outside Halloween night (weather permitting) and as the kids approach the door the PIR will see them .. The eyes will glow, the jaw will start moving and the audio will just be some kind of evil laugh or moan or ... well I'm sure you get the picture now. I'm only looking for one speaker and mono amp. The mini servo makes more noise than I care for but I might be able to do something about that. If not then at least trun the audio up
I need 5vpin for servo
5v pin for PIR
5v for audio?
My mega 2560 only has one 5v pin. Not sure but i think this is normal for most boards. This is why I used the power supply module from my Elegoo kit but I'm wondering if I can just power the PIR off the board and use a relay for the audio and servo power since they run at the same time
I’m curious. If you posted that on 6th November, aren’t you a bit late?
Or just planning ahead?
I had another project which consumed me for awhile and since I’m very new to the Arduino world everything is still a struggle and very time consuming. I had the skull but the idea to animate it only came to me a week ago. I’m also in a small town Nova Scotia so shopping sucks. This project is moving much faster than the last one. The only thing missing now is sound. But still researching all the options available while trying to keep the cost realistic
So nearly a year to get it finished, yes?
I’d second @flashko’s suggestion to use a DFR MP3 Player for your audio. If you do so, when you get into coding I’d use the forum’s Search tool to browse the many users’ posts covering it. I posted a few myself about a month ago responding to Halloween projects. (2023!)
So an Arduino, an audio player possibly with an amplifier, PIR, LEDs and a servo. Definitely a 9 volt battery like the one in the picture won't do you any good.
And please remember - Arduino is NOT a power supply.
Spent some time on the phone with a guy at Digikey. He suggested an Adafruit Itsy Bitsy board. Along with that I'm currently thinking the Adafruit micro SD card reader along with the Adafruit PAM8302 board for some amplification, a basic 3"4 ohm speaker and a plug n 5v 10 watt power supply. What do you think?
They are called salesman. Their job is to sell you what they have. No-one on this forum is selling anything. So their advice is less biased.
I agree with the advice so far. Nano 3, DFplayer Mini.
The DFplayer Mini can drive a 5~6cm 4~8Ohm speaker directly and will be pretty loud.
suddenly occurred to me that i also have here a couple of ESP 32 boards.. will that work as apposed to a Nano? Sorry but I'm really new to all this
So I wouldn't need an amp board with this ? would any of these I find on Amazon work( there are many)
Yes, I guess an esp32 board should work. But remember that esp32 is a 3.3V board, so you may need to protect its inputs against 5V signals.
The only way to know if driving a speaker directly from DFplayer Mini will be loud enough for your project it is to try it. The speaker you choose can make allot of difference. I have tried a few different types. Small speakers like those used in laptops did not seem very loud to me. The loudest I have used are round 1W 8 ohm speakers with diameter of around 50~60mm like these:
Two 4 ohm 5W speakers, 40 mm in diameter, wired in series, deliver loud music from the DFR MP3 Player modules I've used.
I just ordered some speakers off Amazon a couple of hours ago.. 4 ohm but 3" (or about 75mm) plus the mini player. Not much going on for an enclosure. might only need one ....or2 .. I shall see when it gets here. The beauty of Amazon is free delivery and easy returns if I'm not happy. Also bought an Adafruit class D tiny amp board , which once again I'll know when it all gets here and I get it figured out. You went to town with all the pins and switches .. NICE JOB!!
I did take your advice and bought the Nano 3 boards and a DF mini player.. Just picked one with solid reviews off Amazon..2" speakers . Adafruit PAM8302 amp board in case i want it and a 5v power supply. Should be here in about a week so hopefully all goes well
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.