28825 Parallax Inc, 28825 Datasheet

MINI SOUND PLAYER SOUNDPAL

28825

Manufacturer Part Number
28825
Description
MINI SOUND PLAYER SOUNDPAL
Manufacturer
Parallax Inc
Datasheet

Specifications of 28825

Accessory Type
Sound Player
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
BASIC Stamp®
For Use With
28824 - SERVOPAL SERVO PULSER TIMER
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
SoundPAL (#28825): Miniature Sound Player
General Description
The SoundPAL is a tiny module that plays canned and custom sound sequences. It is completely self-
contained, including a microcontroller for generating the sounds and a small speaker for producing them.
The SoundPAL interfaces easily to a BASIC Stamp and can play sounds while the BASIC Stamp is busy
with other chores.
Features
What’s Included
What You Need to Provide
© Parallax, Inc. • SoundPAL (2007.10.29)
Plugs into servo headers, and works with protoboards.
Virtually goof-proof power sourcing makes it nearly impossible to connect wrong.
Single-pin interface uses a simple serial protocol to define and initiate sound production.
Canned tunes and sound effects can be played with simple commands.
Custom tunes and effects are simple to program using musical notation instead of frequencies.
Total audio range is 6½ octaves in four different tempos and four playing styles.
Onboard EEPROM permits saving custom sound sequences for later playback.
Autoplay feature permits playing a pre-designated EEPROM sequence with only a power supply.
Compact size: stackable side-to-side with additional modules on 0.1” servo headers.
BASIC Stamp 2 or better and a carrier board, such as Parallax’s Board of Education (BOE).
SoundPAL module
Web Site: www.parallax.com
Forums: forums.parallax.com
Sales: sales@parallax.com
Technical: support@parallax.com
Sonic Resonator
Office: (916) 624-8333
Fax: (916) 624-8003
Sales: (888) 512-1024
Tech Support: (888) 997-8267
Page 1 of 12

Related parts for 28825

28825 Summary of contents

Page 1

... SoundPAL (#28825): Miniature Sound Player General Description The SoundPAL is a tiny module that plays canned and custom sound sequences completely self- contained, including a microcontroller for generating the sounds and a small speaker for producing them. The SoundPAL interfaces easily to a BASIC Stamp and can play sounds while the BASIC Stamp is busy with other chores ...

Page 2

Installation Installation of the SoundPAL is a simple. If you’re using a system that incorporates three-pin servo headers (such as the BOE), just plug the SoundPAL into one of them. It has two three-conductor sockets to choose from for this ...

Page 3

By installing a 3-pin header (included with the BOE-Bot Full Kit, p/n 28132) in one of the SoundPAL’s connectors, you can also use it with a wireless breadboard, as the following diagram illustrates: In lieu of the three-pin header, you ...

Page 4

PIN 15 baud CON $8000 + 84 reset CON $8000 + 813 '----Reset the SoundPAL--------------------- DoReset: DO:LOOP UNTIL iopin SEROUT iopin, reset, [0] RETURN Playing Individual Notes Pitch and Duration Sounds are played by the SoundPAL as musical notes, ...

Page 5

That makes the shortest sixteenth note 14ms long and the longest dotted half note 677ms long. Although the fastest tempo is too fast for most music, it comes in handy for certain ...

Page 6

It is used most frequently to extend the length of a single note beyond the longest duration, which is the dotted half. In the following example, the first three notes of Taps ...

Page 7

To play a sequence in ROM or EEPROM, include the play command (defined in the template) in the calling sequence followed by the sequence’s address. For example, to play the Reveille bugle call, you would use the following PBASIC code: ...

Page 8

DO SEROUT iopin, baud, ["=",oct3,tmp3] FOR RANDOM W2 SEROUT iopin, baud, [ $81] NEXT SEROUT iopin, baud, [0, "!"] GOSUB WaitDone LOOP Saving Sequences to EEPROM Once a sequence is loaded into ...

Page 9

... Started... 2007.05.01 ' Updated... 2007.10. {$STAMP BS2} ' {$PBASIC 2. ========================================================================= ' -----[ Program Description ]--------------------------------------------- ' This is a blank template defining constants and subroutines that ' provide an interface to the Parallax SoundPAL (p/n 28825) Miniature ' Sound Player. ' -----[ I/O Definitions ]------------------------------------------------- iopin PIN 15 ' -----[ Constants ]------------------------------------------------------- baud CON $8000 + 84 reset CON $8000 + 813 'Commands ...

Page 10

CON $08 'Quarter note = tmp1 CON $09 'Quarter note = tmp2 CON $0A 'Quarter note = tmp3 CON $0B 'Quarter note = 1064 beats/min. 'Octaves oct0 CON $0C 'A_0 = 110Hz oct1 CON $0D 'A_0 = 220Hz oct2 ...

Page 11

Ds2 CON $9C 'High D sharp. Ef2 CON $9C 'High E flat. E_2 CON $9D 'High E natural. F_2 CON $9E 'High F natural. Fs2 CON $9F 'High F sharp. Gf2 CON $9F 'High G flat. 'Duration modifiers. Add value ...

Page 12

Command Summary Command Value “=” $3D Queue following bytes (up through zero byte) in RAM. “!” $21 Play sequence in RAM buffer. “#” $23 Save sequence in RAM buffer to EEPROM. “?” $3F Enquire whether SoundPAL is ready for new ...

Related keywords