make a 20 sec radioshack recorder play/repeat when powered on?
markmcleod50
Posts: 27
I am trying to make a 20 sec radioshack recorder play the recorded message when power is supplied. I am using it with a basic stamp so when the sensor senses something, power goes to the recorder and plays the prerecorded message...due to size and money constraints, the recorder is what I have chosen. You press the record button, the speaker/microphone records for 20 seconds. You then press the play button and it will play the message and turn off. You cannot hold the play button down and get the message to repeat it will just stop, but once you let go of it it will play the message again and stop. Any ideas on going around the play button to make it repeat or play/repeat when power is supplied? Thanks. mark
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
tell me more about your sensor and I will duplicate it and I will post a pic and the code
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--==<{Chris}>==--
My micronta fet meter wouldn't even measure the small I value that the playback module was using at switch closure. Q1 may not even be needed at all. but I am new to the stamp and was interfacing a countdown timer to be triggered by the stamp , so Q1 and R1 were already on the board. The radio shack module that Mark and I both have are the same, but I don't have the data sheet or sch. so I chose that value to be on the safe side, its been quite some time now since I vaporized a transistor. perhap you can help us both with the code when you see mine to retriger Q1. I am still very week in programing, Old school industrial relay logic , you know. goes back to the kiss rule, ( keep is simple stupid )
Question-- when using counter = 1 to 15 , do any I/Os need to be adressed or will it just count to N and then preform next line of code
·· Arbitrary values are okay sometimes, especially if you're using high safe values.· But it would help you to know what a good nominal value would be for something like that.· 1K on that transistor will be fine.· To some on here, even that's a little high.· But using it as a switch, it's a safe value.
·· As for your counter code...that depends...Are you just trying to pass time?· If so, you could just use a PAUSE statement to get the 15 or 20 seconds.· If you're trying to read sensors in between, you will need another approach.· I'm not sure exactly what your desired operation is on this.
·· I know you want it to replay the message, but do you want it to only replay if the sensor is still triggered?· Or once triggered, continually replay the message?· How many times do you want it to replay?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--==<{Chris}>==--