You are on page 1of 13

4D SYSTEMS

SOMO-14D
Embedded Audio-Sound Module
Data Sheet
Document Date: 24th November 2009
Document Revision: 3.0
2009 4D Systems www.4dsystems.com.au Page 1 of 13
4D SYSTEMS
SOMO-14D
Embedded Audio Module
Data Sheet
Description
The SOMO-14D is a tiny Audio-Sound module that
can play back pre-stored audio files such as voice
and music from a micro-SD memory card. The
module supports 4-bit ADPCM audio files ith
sample rates from !"h# up to $%"h#. &y usin' the
freely available softare tool( any )A*+,.av- or
MP$,.mp$- file can be easily converted to the
ADPCM,.ad4- format hich can then be can be
saved to a micro-SD memory card. The compact
.4pin drop-in-module takes up very minimal
board space and is ideal for any application that
re/uires embedded audio.
The module offers to modes of operation(
S+01A2-M3D+ and the "+4-M3D+.
The S+01A2-M3D+ provides a simple %-ire
interface to any micro-controller via its DATA and
C2" lines. Audio operations such as P2A4( PA5S+(
ST3P and *325M+ control functions are all
available to the host micro via simple serial
commands.
The "+4-M3D+ provides a stand alone operation
here a host micro is not re/uired. )ith only $
push buttons( a $* battery and a speaker( an
e6tremely compact and lo component count
MP$-Player like system can be implemented.
1n short( the S3M3 offers a very fle6ible( compact
and lo cost embedded audio solution for many
applications.
Features
2o-cost module for all embedded Audio-
Sound applications.
Supports 4-bit ADPCM ,.ad4- file formats ith
samplin' rates from !"h# to $%"h#.
S+01A2 M3D+7 Supports a %-)ire ,Data( Clock-
interface to any micro-controller.
"+4-M3D+7 Supports a simple stand alone
operation ithout a host micro.
Differential % line P)M output for direct
speaker drive ,89.!9$% 3hm9:.%;)-.
Dedicated .!-bit DAC9P)M audio output to
use ith an e6ternal amplifier.
3n-board micro-SD memory card adaptor for
storin' of audio( voice and music files ,up to
;.% files-.
Supports up to %<i' micro-SD memory cards
,=AT9=AT.! format-.
Compact si#e measurin' only .8.$ 6 %:.8 mm.
%.>* to $.!* DC volta'e ran'e ,sin'le supply-.
0o?S Compliant.
Applications
<eneral purpose embedded audio and sound
applications.
All voice annunciator systems.
Automotive( Parkin' radar( <PS navi'ation
systems.
+levator( Security( Access-Control and )arnin'
devices.
1ntelli'ent home automation and domestic
appliances.
0obotics and 1ndustrial control.
Traffic facilities7 Toll 'ates( parkin' lots.
Toys( learnin' tools( talkin' books and all
'amin' sound effects.
MP$ player like simple devices.
2009 4D Systems www.4dsystems.com.au Page 2 of 13
SOMO-14D Embedded Audio Module Data Sheet
Table of Contents
1. Pin Configuration and Summar................................................................................................4
!. Pin Description..............................................................................................................................;
!.1 Micro-controller "nterface Pins ...............................................................................................;
C2" pin $ ,Serial Data Clock-7.....................................................................................................;
DATA pin 4 ,Serial Data 1n-7........................................................................................................;
!.! #e "nterface Pins ....................................................................................................................;
@+AT pin .7................................................................................................................................;
P2A49ST3P pin !7.......................................................................................................................;
P0+*135S pin >7........................................................................................................................;
!.$ Audio Output Pins ...................................................................................................................;
SP"B( SP"- pins ..( .%7..............................................................................................................;
A5D13 pin .47............................................................................................................................;
&5S4 pin ;7................................................................................................................................;
!.4 Sstem Pins...............................................................................................................................!
0+S+T pin .: ,Module Master 0eset-7.......................................................................................!
<@D pin C ,Module <round-7....................................................................................................!
*CC pin 8 ,Module Supply *olta'e 1nput-7................................................................................!
$. Operating Modes..........................................................................................................................!
$.1 S%&"A' MOD% ...........................................................................................................................!
Command Codes7......................................................................................................................!
$.! #%( MOD% ................................................................................................................................>
4. microSD Cards ) FAT1* Format..................................................................................................>
+. Mec,anical Dimensions..............................................................................................................8
*. De-elopment and Support Tools...............................................................................................8
!.. 32+D Display Modules..............................................................................................................8
!.% Development &oards................................................................................................................C
!.$ S3M3 Audio Converter D Softare Tool..................................................................................C
.. Timing Diagrams..........................................................................................................................:
>.. Serial Data Timin' and )aveform...........................................................................................:
/. Specifications and &atings..........................................................................................................
Proprietar "nformation..................................................................................................................%
Disclaimer of 0arranties 1 'imitation of 'iabilit......................................................................%
Contact "nformation.........................................................................................................................%
&e-ision 2istor................................................................................................................................$
2009 4D Systems www.4dsystems.com.au Page 3 of 13
SOMO-14D Embedded Audio Module Data Sheet
1. Pin Configuration and Summar
Pin Smbol "3O Description
. @+AT 1
Selects the @e6t Audio file from the memory card. Active 23)
tri''ered input. Connect to a push-button in stand alone "+4-M3D+.
% @C - @o Connect.
$ C2" 1 Serial Clock input from host micro-controller. S+01A2-M3D+ use only.
4 DATA 1 Serial DATA input from host micro-controller. S+01A2-M3D+ use only.
; &5S4 3
&5S4 si'nal. Active ?1<? output. This si'nal is hi'h hen the module is
playin' an audio file from the uSD memory card. This pin can be
connected to a 2+D via 4>: 3hm resistor to <@D.
! P2A49ST3P 1
Play9Stop to''le input. Active 23) tri''ered input. Connect to a push-
button in stand alone "+4-M3D+.
> P0+*135S 1
Selects the Previous Audio file from the memory card. Active 23)
tri''ered input. Connect to a push-button in stand alone "+4-M3D+.
8 *CC P
Main *olta'e Supply Bve input pin. )orkin' *olta'e ran'e is %.>* to
$.!*( nominal $.$*. Connect a capacitor in the ran'e of .::u= to 4>:u=
beteen this pin and supply 'round.
C <@D 1 Supply <round.
.: 0+S+T P
Master 0eset si'nal. Active 23) tri''ered input. 1nternally pulled up.
S+01A2-M3D+7 Can be controlled by e6ternal micro port or left open.
"+4-M3D+7 Can be connected to a push button or left open.
.. SP"B 3 SpeakerB drive output. Connect to 89.!9$%-3hm( %;:m) speaker Bve.
.% SP"- 3 Speaker- drive output. Connect to 89.!9$%-3hm( %;:m) speaker -ve.
.$ @C -- @o Connect.
.4 A5D13 3
.!-bit DAC9P)M output for e6ternal amplifier drive ,optional-. 5se the
&5S4 si'nal to enable the audio to eliminate clicks. See section %.$
2009 4D Systems www.4dsystems.com.au Page 4 of 13
SOMO-14D Embedded Audio Module Data Sheet
!. Pin Description
This section describes in detail the hardare
interface pins of the S3M3 ,SOund MOdule-.
!.1 Micro-controller "nterface Pins
C'# pin $ 4Serial Data Cloc567
Synchronous Clock 1nput. +ach serial data bit is
latched into the module on the risin' ed'e of the
clock. The idle state of the clock must be hi'h.
)hen communication is re/uired( the C2" is
brou'ht 23) for a period of %ms ,STA0T bit ait
time-. +ach individual data bit ,startin' ith the
MS& bit.;- is then clocked in se/uentially. The
data is latched on every risin' ed'e of the clock.
)hen the last data bit ,bit:- is clocked in the C2"
si'nal must be held hi'h for a period of %ms ,ST3P
bit ait time- before the ne6t command data is
sent. The clock ?1<? and 23) periods are .::us
minimum.
0efer to ESection .. Timing DiagramsE for more
detailed timin' and aveform information.
DATA pin 4 4Serial Data "n67
Synchronous Data 1nput. The data is presented to
the module by the host micro via this pin. +ach
command data is .! bits ide. Data is serially
clocked in to the module startin' ith the most
si'nificant bit ,MS& bit.;-. 0efer to ESection ..
Timing DiagramsE for more detailed timin' and
aveform information.
8OT%7 =or ;* systems( connect a series resistor
,.:: to 4>: 3hms ran'e- on the C2" and DATA
pins beteen the S3M3 and the tar'et micro-
controller.
!.! #e "nterface Pins
8%9T pin 17
Selects the @e6t Audio file from the micro-SD
memory card. Active 23) tri''ered input.
Connect this pin to a push-button in stand alone
"+4-M3D+.
P'A(3STOP pin *7
Play9Stop active 23) tri''er 1nput. Connect this
pin to a push-button in stand alone "+4-M3D+.
+ach active lo tri''er ill alternate beteen
P2A4 and ST3P operation.
P&%:"O;S pin .7
Selects the Previous Audio file from the micro-SD
memory card. Active 23) tri''ered input.
Connect this pin to a push-button in stand alone
"+4-M3D+.
!.$ Audio Output and Control Pins
SP#<= SP#- pins 11= 1!7
These pins provide a differential P)MB and P)M-
output to a speaker. Connect these pins to an
89.!9$% 3hm ,%;:m)- speaker.
A;D"O pin 147
+6ternal Amplifier 3utput pin. This pin provides a
.!-bit DAC9P)M audio output to use ith an
e6ternal audio amplifier. +6ample circuit belo
provides a lo cost implementation.
>;S( pin +7
Active hi'h hen S3M3 plays an audio file and
active lo hen no file is played or stopped. This
pin can be used ith a transistor arran'ement to
filter out audible clicks hen usin' the A5D13
output ith an e6ternal amplifier. 1t can also be
used to si'nal the host micro the end of the audio
file( in the serial mode.
2009 4D Systems www.4dsystems.com.au Page 5 of 13
Figure 1: Optional Power Audio Circuit
SOMO-14D Embedded Audio Module Data Sheet
!.4 Sstem Pins
&%S%T pin 1? 4Module Master &eset67
Module Master 0eset pin. Active 23) input.
1nternally pulled up. After . second of a reset( the
module ill 'o into lo poer standby mode
,8.:uA- if it detects no activity.
@8D pin A 4Module @round67
Module 'round pin. This pin must be connected
to 'round.
:CC pin / 4Module Suppl :oltage "nput67
Module supply volta'e input pin. This pin must be
connected to a re'ulated supply volta'e in the
ran'e of %.> to $.! *olts DC. @ominal operatin'
volta'e is $.$ *olts. Connect a capacitor in the
ran'e of .::u= to 4>:u= beteen this pin and
supply 'round. =i'ure % shos several poer
supply options.
$. Operating Modes
The S3M3 module offers to modes of operation(
S+01A2-M3D+ and the "+4-M3D+. This section
describes both modes in detail.
$.1 S%&"A' MOD%
The S+01A2-M3D+ provides a simple %-ire
interface to any micro-controller. The host micro
communicates ith the module via the DATA and
C2" lines. =i'ure %.. belo outlines a typical set
up.
All commands are composed of sin'le ord ,.!
bit- data that must be clocked into the module in
a serial fashion ,most si'nificant bit first-. The
clock rate is appro6imately ;"h# hich lends itself
to even the sloest micro bit-ban'in' to 193
ports to achieve this simple communication.
Command Codes7
The S3M3 audio operations such as =12+
ADD0+SS( P2A4( PA5S+ and *325M+ control are all
available to the host micro-controller as .!-bit
command codes. Table. and Table% belo lists the
available function codes and provides a brief
description.
2009 4D Systems www.4dsystems.com.au Page 6 of 13
Figure 3: Typical Host Micro Interface
Figure 2: Power upply Options
SOMO-14D Embedded Audio Module Data Sheet
COMMA8D COD% F;8CT"O8 D%SC&"PT"O8
::::h D :.==h A5D13 =12+ ADD0+SS
Selects one of the pre-stored audio9sound9voice files in the
microSD memory card ,up to ;.% files ma6-.
===:h D ===>h *325M+
*olume adFustment codes. Total of 8 levels. ===:h is the
minimum and ===> is the ma6imum ,also the default- volume
level. The volume can be adFusted durin' play or standby state.
===+h P2A49PA5S+ Plays or Pauses the current audio file.
====h ST3P
Stops playin' the current audio file and puts the module in the
o poer idle mode.
Ta!le 1: Co""and Code #escription
COMMA8D COD% F"'% ADD&%SS F"'% 8AM%
::::h ,::::dec- =ile Address . E::::.ad4G
:::.h ,:::.dec- =ile Address % E:::..ad4G
:::%h ,:::%dec- =ile Address $ E:::%.ad4G
.. .. ..
:.==h ,:;..dec- =ile Address ;.% E:;...ad4G
8ote17 The file names stored in the microSD card must be the ASC11 representation of the decimal
command code ith .ad4 e6tension7
E::::.ad4G( E:::..ad4G( H( E:;...ad4G
8ote!7 1t is recommended that the uSD card be reformatted hen ne audio files are stored.
Ta!le 2: Audio File Addresses
$.! #%( MOD%
The "+4-M3D+ provides a stand alone operation
here a host micro is not re/uired. )ith only $
push buttons( a $* battery and a speaker( an
e6tremely compact and lo component count
audio system can be implemented as seen in
=i'ure 4 belo.
4. microSD Cards ) FAT1* Format
As mentioned previously( the S3M3 uses off the
shelf microSD memory cards
ith up to %<& capacity.
&efore the memory card can
be used it must first be
formatted ith =AT.!
option. The formattin' of
the card can be done on any
PC system ith a card reader. Select the
appropriate drive and choose the =AT.! ,or Fust
=AT in some systems- option hen formattin'. The
card is no ready to be used in the S3M3.
8OT%7 7 Certain brands of uSD memory cards may
not ork properly. This is evident by some files
that maybe skipped and not played by the S3M3.
2009 4D Systems www.4dsystems.com.au Page 7 of 13
Figure $: tand Alone %&'(MO#&
SOMO-14D Embedded Audio Module Data Sheet
+. Mec,anical Dimensions *. De-elopment and Support Tools
*.1 O'%D Displa Modules
The folloin' display modules( available from 4D
Systems( can be used ith the S3M3 for a ide
ran'e of audio visual applications.
2009 4D Systems www.4dsystems.com.au Page 8 of 13
uO)&#(1*+(,1-,F./: 10123 1*+41253 *6% colour
$#,) Platfor" O)&# "odule
uO)&#(125(,1-,F./: 10623 12541253 *6% colour
$#,) Platfor" O)&# "odule
SOMO-14D Embedded Audio Module Data Sheet
*.! De-elopment >oards
D%:>OA&D-@1 is a compact and lo-cost all in
one development platform for the u32+D-.%8-
<.,<=A- and the u32+D-.!:-<.,<=A- display
modules. The development board also has a
solder-less breadboard to accommodate the
S3M3 here it can be easily connected to the
display module for variety of applications and
e6periments. This board is the ideal platform for
learnin' and e6perimentin' ith the S3M3 and
the display modules.
*.$ SOMO Audio Con-erter )
SoftBare Tool
This free softare tool provides a convenient ay
to convert all .av and .mp$ files to the .ad4
format. 1t is available for donload from the 4D
Systems ebsite .4dsystems.com.au
2009 4D Systems www.4dsystems.com.au Page 9 of 13
#&78OA9#(,1 #e:elop"ent 8oard
SOMO-14D Embedded Audio Module Data Sheet
.. Timing Diagrams
..1 Serial Data Timing and 0a-eforms
"tem Smbol Min. Tp. MaC. ;nit
0eset Pulse )idth t0P ; - - ms
0eset 1dle to Start &it t0+S+T $:: - - ms
Start &it 2o level pulse idth tSTA0T % - - ms
Stop &it ?i'h level pulse idth tST3P % - - ms
Clock ?i'h level pulse idth tC? .:: - - Is
Clock 2o level pulse idth tC2 .:: - - Is
Clock Cycle Total Period tCT %:: - - Is
)rite Data Setup tDS . - - Is
)rite Data ?old tD? ;: - - Is
&usy Active ?i'h from last data bit latch t&5S4 %: - - ms
2009 4D Systems www.4dsystems.com.au Page 10 of 13
SOMO-14D Embedded Audio Module Data Sheet
/. Specifications and &atings
Absolute Maximum Ratings
Operating ambient temperature .......................................................................... -20C to +75C
Storage temperature ............................................................................................. -40C +80C
Voltage on any digital input pin wit re!pe"t to #$% ................................................... -0.&V to '.0V
Voltage on S()*C+ pin wit re!pe"t to #$% ............................................................ -0.&V to '.0V
Voltage on VCC wit re!pe"t to #$% ......................................................................... -0.&V to '.0V
*otal power di!!ipation ....................................................................................................... ,.0(
NOTE- Stre!!e! abo.e to!e li!ted ere may "au!e permanent damage to te de.i"e. *i! i! a !tre!!
rating only and /un"tional operation o/ te de.i"e at to!e or any oter "ondition! abo.e to!e
indi"ated in te re"ommended operation li!ting! o/ ti! !pe"i/i"ation i! not implied. 01po!ure to
ma1imum rating "ondition! /or e1tended period! may a//e"t de.i"e reliability.
Recommended Operating Conditions
Parameter Conditions Min Typ Max Units
Supply Voltage 2VCC3 2.7 &.& &.' V
Operating *emperature -,0 -- +70 C
)nput 4ow Voltage 5ll pin! #$% -- 0.8 V
)nput +ig Voltage 5ll pin! 2.0 -- VCC V
6e!et 7ul!e 2t673 01ternal Open Colle"tor 5.0 -- -- m!
Global Characteristics based on Operating Conditions
Parameter Conditions Min Typ Max Units
Supply Current 2)CC3 VCC 8 &.&V9 5udio playing &' 4, 45 m5
Supply Current 2)C:3 VCC 8 &.&V9 )dle 8.0 ,0 ,5 I5
Output 4ow Voltage 2VO43 5ll pin!9 )O4 8 &.4m5 -- -- 0.4 V
Output +ig Voltage 2VO+3 5ll pin!9 )O4 8 -2.0m5 2.4 -- &.& V
Ordering n!ormation
Order Code" SO;O-,4%
Pac#age" ,50mm 1 <5mm 2=)> ?ag dimen!ion!3.
Pac#aging" ;odule !ealed in bubble bag in!ide a =)> bag9 bot 5nti!tati".
2009 4D Systems www.4dsystems.com.au Page 11 of 13
SOMO-14D Embedded Audio Module Data Sheet
Proprietar "nformation
The information contained in this document is the property of 4D Systems Pty. 2td. and may be the subFect
of patents pendin' or 'ranted( and must not be copied or disclosed ith out prior ritten permission.
4D Systems endeavours to ensure that the information in this document is correct and fairly stated but does
not accept liability for any error or omission. The development of 4D Systems products and services is
continuous and published information may not be up to date. 1t is important to check the current position
ith 4D Systems.
All trademarks belon' to their respective oners and are reco'nised and acknoled'ed.
Disclaimer of 0arranties 1 'imitation of 'iabilit
4D Systems makes no arranty( either e6press or implied ith respect to any product( and specifically
disclaims all other arranties( includin'( ithout limitation( arranties for merchantability( non-
infrin'ement and fitness for any particular purpose.
1nformation contained in this publication re'ardin' device applications and the like is provided only for your
convenience and may be superseded by updates. 1t is your responsibility to ensure that your application
meets ith your specifications.
1n no event shall 4D Systems be liable to the buyer or to any third party for any indirect( incidental( special(
conse/uential( punitive or e6emplary dama'es ,includin' ithout limitation lost profits( lost savin's( or loss
of business opportunity- arisin' out of or relatin' to any product or service provided or to be provided by
4D Systems( or the use or inability to use the same( even if 4D Systems has been advised of the possibility of
such dama'es.
5se of 4D SystemsJ devices in life support and9or safety applications is entirely at the buyerJs risk( and the
buyer a'rees to defend( indemnify and hold harmless 4D Systems from any and all dama'es( claims( suits(
or e6penses resultin' from such use. @o licenses are conveyed( implicitly or otherise( under any 4D
Systems intellectual property ri'hts.
Contact "nformation
=or Technical Support 7 supportK4dsystems.com.au
=or Sales Support 7 salesK4dsystems.com.au
)ebsite 7 .4dsystems.com.au
Coprig,t 4D Sstems Pt. 'td. !???-!??A.
2009 4D Systems www.4dsystems.com.au Page 12 of 13
SOMO-14D Embedded Audio Module Data Sheet
Re$ision %istory
Re$ision Number Re$ision Content Re$ision &ate
,.0
$ew
24
t
@uly 200<
2.0 '( Apdated S7B+CS7B- !upport /rom 8 Om! to
8C,'C&2 Om! 250m(.
)( 5dded note /or 5V !y!tem !upport u!ing !erie!
re!i!tor! /or C4B and %5*5 pin! 2page53.
,0
t
5ugu!t 200<
&.0 '( Canged &'BD !ampling rate to &2BD.
)( $0E* and 760V)OAS pin! now indi"ate "orre"t
po!ition.
*( 745FC75AS0 "anged to 745FCS*O7.
+( 5dded note and updated e1ample "ir"uit! /or
power !upply "apa"itor9 ,00u>-470u>.
,( 5dded ?ASF !ignal de!"ription. )n"luded ?ASF
!ignal in te timing diagram! a! well a! e1ample
"ir"uit /or e1ternal ampli/ier "ontrol.
-( 5dded note about re/ormatting te "ard wen
new audio /ile! need to be written.
24
t
$o.ember 200<
2009 4D Systems www.4dsystems.com.au Page 13 of 13

You might also like