AppMod #29111 SoundModule
sonic_me
Posts: 2
Hi there,
I'm currently doing some testing using the AppMod sound module made by Parallax (http://www.parallax.com/detail.asp?product_id=29111), and so far I've been successful at making it work like I intend it to, apart for one thing - I can't seem to get it to loop when not connected to the stamp.
I've tried those two segments of code so far:
Loop_sound:
DO
PAUSE 15
SEROUT 4, 500+$8000, [noparse][[/noparse]"!SM0P", 0]
LOOP
And
reps VAR Word ' FOR...NEXT loop counter
Main:
FOR reps = 1 TO 65000
PAUSE 15
SEROUT 4, 500+$8000, [noparse][[/noparse]"!SM0P", 0]
NEXT
GOTO Main
This works when the module is connected with the Stamp (2sx), but as soon as I unhook it to make it work as a standalone piece, it stops looping. would anyone have a clue why this is happening?
Thanks so much,
f.
I'm currently doing some testing using the AppMod sound module made by Parallax (http://www.parallax.com/detail.asp?product_id=29111), and so far I've been successful at making it work like I intend it to, apart for one thing - I can't seem to get it to loop when not connected to the stamp.
I've tried those two segments of code so far:
Loop_sound:
DO
PAUSE 15
SEROUT 4, 500+$8000, [noparse][[/noparse]"!SM0P", 0]
LOOP
And
reps VAR Word ' FOR...NEXT loop counter
Main:
FOR reps = 1 TO 65000
PAUSE 15
SEROUT 4, 500+$8000, [noparse][[/noparse]"!SM0P", 0]
NEXT
GOTO Main
This works when the module is connected with the Stamp (2sx), but as soon as I unhook it to make it work as a standalone piece, it stops looping. would anyone have a clue why this is happening?
Thanks so much,
f.
Comments
Thanks for your help, I appreciate it!
f.
I'm having a trouble to get contact·to Sound Module. I have BS2SX & Board of Education.
Led is blinking red and green, can't make it recording mode.
Any suggestions to solve this???
·
·
·· Have you changed the baud rate in the code for your BS2sx?· The default sample code is for the BS2, which has different values for the baud rate.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thanks for reply. No I haven't change the baudrate,
In documentation it says :SEROUT 4, 84+$8000,[noparse][[/noparse]"!SM0N"]
What would be the correct value for BS2SX ?
Recordings with the internal microphone sound bit distorted. Is there any way to get it better?
I'm using 9V battery, documentation says best quality is ensured with 12V, can BS2SX handle 12V?