When the engine starts, sound will come from the mp3 card, and when the engine stops, sound will come from another mp3 card.

johansasa

Jun 19, 2024
16
Joined
Jun 19, 2024
Messages
16
When the engine starts, a sound will come from the mp3 card, and when the engine stops, a sound will come from another mp3 card. I want the DC 1.5 volt engine to hear a sound when it starts, and another sound when it stops.
I'm making this for my hearing impaired brother.
DY-SV17F-Pinout.jpg 130DC_motor.jpg
 

danadak

Feb 19, 2021
1,062
Joined
Feb 19, 2021
Messages
1,062
If you have a signal that gives you, for example, a rising edge when engine starts,
and falling when it stops, should be easy using a Arduino Nano board (cheap) or an
ATTINY85 to output a select/trigger/address to your speech board.

Using mBlock to create program here is a start :

1718793132690.png

mBlock takes you block configuration and generates Arduino code from it, and then
programs the board.

mBlock will program Nano board using Arduino programmer utility, or use a Nano board
to program an 8 pin ATTINY85. Web shows examples of doing this.


Regards, Dana.
 
Last edited:

bidrohini

Feb 1, 2023
213
Joined
Feb 1, 2023
Messages
213
You need an Arduino+Arduino music shield/module ( VS1053B)and necessary libraries to play audio files.
 

danadak

Feb 19, 2021
1,062
Joined
Feb 19, 2021
Messages
1,062
You can modify post #2 to add a simple melody to output on a pin by
adding a series of these blocks :

1718812629842.png



Regards, Dana.
 
Last edited:

johansasa

Jun 19, 2024
16
Joined
Jun 19, 2024
Messages
16
Welcome to maker.pro!
If your brother has impaired hearing wouldn't it be simpler/better to turn a light on/off when the motor is on/off?
Actually, there's a reason for this: she has a slight hearing impairment, she owns a skateboard
 

Bluejets

Oct 5, 2014
7,374
Joined
Oct 5, 2014
Messages
7,374
Actually, there's a reason for this: she has a slight hearing impairment, she owns a skateboard
He...she....?? I have been told scateboard riders have nothing between the ears but hearing imparement is a new one.....sounds like a scam.
 

johansasa

Jun 19, 2024
16
Joined
Jun 19, 2024
Messages
16
He...she....?? I have been told scateboard riders have nothing between the ears but hearing imparement is a new one.....sounds like a scam.
He rides it at home, it is an electric skateboard, he has a slight disability, so he can hear the sound coming from afar, but it is not much, I found a solution, I never thought about the light related to the sound, yes, that could be it too.
 
Top