XgamerAtMaker.pro
- Dec 18, 2023
- 12
- Joined
- Dec 18, 2023
- Messages
- 12
I am trying to figure out how to make and/or buy something similar to this.
Any Ideas/Answers'?
Thanks for the reply!I have used these in the past, record what you want, $1.98 Ebay.
ISD1820 Sound Voice Recording Playback Module With Mic Sound Audio Loud speaker
Uh, sorry. put my reply in the wrong spot!Best buy a sound module lik e.g. one of these.
They only record for about 10 secs, but you can record what sound you wish off of another source.Thanks for the reply!
It is wired so that when more power go's to the train it sounds louder or as if he engine is getting faster (see video).
In the end I could buy one of these and push the button manually, but It would be nice to have start automatedly.
Thanks again!
Ok thank you. I may go this route if no one else will respond.They only record for about 10 secs, but you can record what sound you wish off of another source.
Thanks.
Thank you so much!The module used in the YT video does seem to be 'pro' quality and, as such, was potentially available to the market so an extensive search (that I tried but to no good effect - potentially the wrong search words) would be required. Then again, if it was a DIY effort it was good one! and given you can have PCBs made professionally this may indeed be the case. Have you tried contacting the YT-er? You never know.
I do see your reasoning - the tone and frequency (repetition) varies with speed/load. This is probably fairly easily achieved in a small microcontroller that uses D-A sampling of the sound - the YT video, although not in close-up, seems to indicate an 8-pin controller and a separate D-A device (potentially just an audio amp with the D-A done in the controller too).
Without looking in to the DCC protocols I can't comment further but using the data (which sets speed?) you could easily use that code to control the sound.
Lol!I have seen 25mm square cube bluetooth amps which have been used in model trains such as this.
They are relatively cheap (maybe [imath]20-[/imath]30) and self contained with their own rechargable battery.
Communication with the amp is done via any phone and one can use any sound file as the file comes from the phone.
Mate of mine uses one in his model train for loco horn sounds.
Press button on the phone app and the bluetooth does the rest.
Yes, You are right, to a degree.Surely you can find an old phone with bluetooth..must be gazillions around you could get for next to nothing.
A sample of the sound is stored in memory that can be replayed at various speeds (matching the movement of the train). Detecting the speed of the train is (probably) done by reading the DCC code being sent to it. The 'tone' can be altered digitally to match the 'load' on the train - potentially by monitoring the motor current but also possible by monitoring the 'change' in acceleration.I do see your reasoning - the tone and frequency (repetition) varies with speed/load. This is probably fairly easily achieved in a small microcontroller that uses D-A sampling of the sound - the YT video, although not in close-up, seems to indicate an 8-pin controller and a separate D-A device (potentially just an audio amp with the D-A done in the controller too).
I found this diy project.
Then there is this video on installing a sound module in a diesel locomotive.
On Aliexpress I found this inexpensive module.
There is also the option to place the sound unit in a passenger car if there is insufficient space inside the locomotive. If space is an issue, you may also consider placing the sound module and the speaker in different units, e.g. the sound module in the first passenger car and only the speaker in the locomotive. There is a drawback, however: locomotive and passenger car need to be connected by a very flexible wire and cannot easily be separated.
A huge selection of sounds specific to the type of locomotive matched to different decoders and speakers is here (for Diesel scroll down the page).
OK Thanks.A sample of the sound is stored in memory that can be replayed at various speeds (matching the movement of the train). Detecting the speed of the train is (probably) done by reading the DCC code being sent to it. The 'tone' can be altered digitally to match the 'load' on the train - potentially by monitoring the motor current but also possible by monitoring the 'change' in acceleration.
Microcontrollers have sufficient memory to both store a sample of the sound and space for the code necessary to monitor the DCC signal and process the data accordingly - it's not 'difficult' in an electronic sense as many competent micro programmers on here would attest but certainly an uphill task for someone without the knowledge.
I've seen various sellers with sound modules for specific trains (types) but they don't show any more details about what it is you get so there is 'potentially' already a solution - you'll have to visit their sites and try to get more information from them.