Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Wanted - A simple way to generate sounds
Author | Message | ||||
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 191 |
Hi All, We have just purchased a new air seeder. It operates very differently to our old one, using a toggle switch to raise or lower the machine. There is NO audible sound when machine is lowered. A 2 wire plug is provided to drive an automotive relay so getting a signal is easy. So my question is how do I generate a suitable sound (using any sort of Mite)? I am not even sure I know what an up and down sound sounds like! Regards Rob White |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
Up and Down sound, no don't say it. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9308 |
Does it only need to sound when lowering, or does it also need a sound when raising or parked? If only needs to sound when lowering, I would just use a piezo sounder with a pulse mode. Jaycar sell a good one that is very loud, but their website it not loading for me just now. They might be doing site maintenance. When I can access the site again, I will link you to the sounder I am thinking of. (line reserved for link when Jaycar site is back online...) You could even use this same sounder and switch between continuous sound or pulsed sound for the two different modes if you wanted. No mite needed at all, simple wiring, easy to mount. Smoke makes things work. When the smoke gets out, it stops! |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1114 |
The easiest way to play sounds is to use the Play wav command. You can find suitable, royalty-free sounds from many websites that specialize in sound effects, download. Just Google for "royalty-free Riser FX" The other way is to use the Play sound or Play tone commands. 'no comment |
||||
NPHighview Senior Member Joined: 02/09/2020 Location: United StatesPosts: 200 |
You could record your own voice saying "Hey, YOU! Seeder is coming down. Pay attention!", or use mine (attached below) all rights waived in perpetuity :-). I just recorded this at my kitchen table using Windows Voice Recorder (in Windows 10). It outputs a .m4a file, which I converted to .WAV using one of any of a number of online file format conversion tools. Seeder-Down.zip Live in the Future. It's Just Starting Now! |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2129 |
audacity is fun vlc player can convert to flac |
||||
LucV Regular Member Joined: 19/02/2023 Location: NetherlandsPosts: 62 |
I did the same. I recorded my voice on Windows 10 direct in Audacity. Then converted it to Wav. Made a lot of files with the words one, two, three etc. And then the words: "it's now", "the temperature is", "degrees" etc etc. Files stored on an SD card. And now I have a talking clock and a talking thermometer Clock gets the time from an NTP server so has always the right time. Thermometer gets the temperature from a DS18B20 Combining them into one is next. Beware !!! I posted these ideas here first so you can not use them as an entry to the programming competition Edited 2023-05-19 04:14 by LucV Luc's tech Blog |
||||
Plasmamac Guru Joined: 31/01/2019 Location: GermanyPosts: 554 |
Use windows sound Plasma |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4250 |
Lets hope they change the rules. 5 kbyte limit will not support many xxx.wav files. Previous challenes 5k was the total size of all files. Volhout Edited 2023-05-20 00:23 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2129 |
Audacity is old but easy to use. It's nice to have the waveform on screen and pick start and end then save and mess with it. Lots of effects and free. NCH software has lots of free audio visual software and it's good stuff. |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2129 |
every program I write is a challenge but out of interest how would a serial mp3 player be considered as.. or not? |
||||
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 191 |
I must apologise for not responding sooner. Covid got in the way! @Grogser : a pizeo was my first thoughts. I will need to employ a Mite as only want the buzzer to sound for a short period. Jaycar's Dual Sound Piezo Buzzer 1-13V requires too much current. Can I paraell up two or even three pins? Rob White |
||||
JanVolk Senior Member Joined: 28/01/2023 Location: NetherlandsPosts: 145 |
Try MMB4W for which you should not need any additional hardware. Jan. |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1611 |
Bizzie, hope you are better. Perhaps if you give a better explanation of what you want. Do you need a micro? Will a 555 timer do the job? If you want just a short 'blip' then maybe a simple RC network will do. Have the capacitor normally charged though a resistor and when the relay contact closes, discharge the capacitor through the piezo. Bill Keep safe. Live long and prosper. |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2140 |
A NE555 timer wired as a mono-stable might do what you want. Output current - 200mA absolute Max., though up to 100mA it will last for ever. Simpler still, just a large electrolytic capacitor in series with the buzzer may give enough of a squalk. A high value resistor across the cap. will be needed to discharge it before the next operation. Edit Typing too slow! Edited 2023-05-23 10:45 by phil99 |
||||
JanVolk Senior Member Joined: 28/01/2023 Location: NetherlandsPosts: 145 |
Sorry gentlemen I had not read the text properly, so forget my previous comment. I happened to be working on the sound with the MMB4W software. Is this an agricultural implement with a control, probably a microcontroller or PLC that provides an external output control when lowering the lever? The outputs are often a transistor output that can handle a small load such as a control relay. The wish is that the output should be pulsating and drive a buzzer, which is possible with a monostable multifibrator and the buzzer mounted on an output, which has already been described above. The question is what voltage is coming from the output of the controller and is it only present when lowering with the switch on the control panel and what happens to the output when the limit switch of the lever is activated? If a control relay with the correct output voltage is used, you can continue embroidering with the voltage-free contacts and the choice for an external power supply is also free. You can build the circuit yourself on a hole print or purchase a separate module and do not forget to include a fuse. What pitch and frequency of pulses should you listen to in reverse with a truck or is there a certain standard? Nice day. |
||||
Print this page |