voice kit ii hardware manual

Upload: leo

Post on 02-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Voice Kit II Hardware Manual

    1/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    VOICE KIT II

    T e c h n i c a l M a n u a l R e v 2 r 0

    T h e e - G i z m o V o i c e K i t I I m a k e s u s e o f t h e I S D 4 0 0

    v o i c e c h i p f o r r e c o r d i n g a n d p l a y i n g a u d i o . T h e k

    c a n r e c o r d a n a u d i o i n p u t w i t h a m a x i m u m o f

    m i n u t e s . E a c h r e c o r d e d a u d i o i s s t o r e d i n a

    a d d r e s s a b l e s e g m e n t t h a t c a n b e a c c e s s e d t h r o u g h

    t h e 6 4 r e c o r d i n g a d d r e s s e s .

    I t i n c l u e s a n o n - b o a r d m i c r o p h o n e f o r o n t h e s p o

    r e c o r d i n g w i t h a n a l t e r n a t i v e w a y o f p l u g g i n g i n a n

    e x t e r n a l m i c r o p h o n e i f h i g h e r q u a l i t y o f a u d i

    r e c o r d i n g i s d e s i r e d .

    O n e c a n a l s o r e c o r d m a n u a l l y u s i n g t h e o n - b o a r

    p o r t s t o s p e c i f y t h e a d d r e s s w h e r e t h e r e c o r d e

    a u d i o s h o u l d b e a s s i g n e d . T h e r e c o r d e d a u d i o c a

    a l s o b e a c c e s s e d u s i n g i t s U A R T c o m m u n i c a t i o n

    p o r t m a d e f o r m i c r o c o n t r o l l e r s a n d a l i k e .

    P a g e s 1 o f 1 0 p a g e s

    F e a t u r e s & S p e c i f i c a t i o n s :

    - U p t o 6 4 r e c o r d i n g a d d r e s s .

    - D u r a t i o n : m a x . 4 m i n u t e s ( S t a n d a r d )

    - H i g h - q u a l i t y n a t u r a l v o i c e / a u d i o .

    - C a n h a n d l e m u l t i p l e m e s s a g e s .

    - W i t h b u i l t - i n M i c r o p h o n e .

    - A n y s o u n d f o r m a t s .

    - A u t o m a t i c s t o r e d a d d r e s s c o n s e c u t i v e l y .

    G e n e r a l S p e c i f i c a t i o n s :

    Power Supply : 9 - 12VDCVoice Chip: ISD4003-04MController: Zilog Z8F042AControl I/F: Serial RS-232C

    Serial TTLAu di o Output: 500mW @ 9V, 8 ohms speaker

    250mW @ 9V, 16-ohms speaker

    Voice/Sound Recorder kit

  • 8/10/2019 Voice Kit II Hardware Manual

    2/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    M A J O R P A R T S P R E S E N T A T I O N

    Table 1. P3 Power Input

    Figure 1.VOICE KIT II terminals, connections and LED

    indicator.

    P a g e s 2 o f 1 0 p a g e s

    Table 2. P5 Speaker Connector

  • 8/10/2019 Voice Kit II Hardware Manual

    3/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    P A R T S & P I N D E S C R I P T I O N S

    P a g e s 3 o f 1 0 p a g e s

    Table 4. P1 Control port

    Table 3. P2 USB to UART Connection

    Figure 2.Illiustation for UART connection.

  • 8/10/2019 Voice Kit II Hardware Manual

    4/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    P A R T S & P I N D E S C R I P T I O N S

    P a g e s 4 o f 1 0 p a g e s

    Figure 3.Jumper settings for using on-boardmicrophone

    Figure 4.Jumper settings for using the externaaudio source

    Figure 5.Jumper settings for enablingchip recording mode

    R e f e r r i n g t o T a b l e 5 , t h e s e p i n s a r e u s e d f o r

    c h o o s i n g t h e e n a b l e d a u d i o s o u r c e . P i n s 1 a n d 2

    o f J P 2 a r e s h o r t e d u s i n g a 2 - p i n j u m p e r t o e n a b l e

    t h e o n - b o a r d m i c r o p h o n e . H o w e v e r , p i n s 2 a n d 3

    a r e s h o r t e d i f a n e x t e r n a l m i c r o p h o n e w i l l b e

    u s e d .

    Table 5.JP2 Microphone and External recording.

    Table 6.JP1 Record Input

    R e f e r r i n g t o T a b l e 6 , J P 1 i s s h o r t e d i f r e c o r d i n g

    m o d e i s e n a b l e d . P u l l i n g o u t t h e j u m p e r d i s a b l e s

    t h e r e c o r d i n g m o d e .

    C o m m o n p i n ( f o r a u d i o r e c e p t i o n )

  • 8/10/2019 Voice Kit II Hardware Manual

    5/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    MANUAL VOICE RECORDING

    P a g e s 5 o f 1 0 p a g e s

    Settings for mi crophone

    R e f e r r i n g t o F i g u r e 6 , t h e v o i c e k i t h a s t w o t y p e o f

    s o u r c e s t o c h o o s e f r o m : the Microphone andExternal source ( e . g . C o m p u t e r / l a p t o p , a n d o t h e r p o r t a b l e d e v i c e ) . I t i s c h o s e n u s i n g t h e s t e p s

    p r o v i d e d o n t h e p r e v i o u s p a g e o f t h i s h a r d w a r e

    m a n u a l .

    T o e n a b l e r e c o r d i n g , t h e R E C M O D E p i n s a r e

    s h o r t e d . T o p l a y t h e r e c o r d e d a u d i o , r e m o v e t h e

    j u m p e r i n R E C M O D E . H o w e v e r , i f t h e m e m o r y o f

    t h e c h i p i s f u l l , o n e m u s t r e s e t t h e v o i c e k i t t o e r a s e

    a l l s t o r e d a u d i o a v o i d i n g b a d a d d r e s s i n g e r r o r s .

    Resetting the voice kit

    1 . R e m o v e a l l p o w e r s o u r c e s c o n n e c t e d t o t h e

    v o i c e k i t .

    Figure 6. Wiring Diagram of Voice Kit II using theon-board microphone for recording.

    2 . H o l d t h e R E C / P L A Y b u t t o n t h e n c o n n e c t t h e

    p o w e r s o u r c e w h i l e h o l d i n g t h e b u t t o n . A f t e r a f e w

    s e c o n d s , r e l e a s e t h e R E C / P L A Y b u t t o n

    i m m e d i a t e l y w h e n D 1 a n d D 2 a r e o n ) .

    3 . P r e s s a g a i n t h e R E C / P L A Y b u t t o n , w a i t u n t i l D 1

    a n d D 2 t u r n s o n t h e n t u r n s o f f a g a i n e v e n t u a l l y . T h e

    i n d i c a t o r s s h o w w h e t h e r t h e r e m o v a l i s s u c c e s s f u l .

    W A R N I N G : O n c e y o u d o t h i s , a l l y o u r r e c o r d i n g s

    a r e g o n e . Y o u c a n n o t r e c o v e r y o u r s t o r e d d a t a

    o n c e y o u e r a s e i t .

  • 8/10/2019 Voice Kit II Hardware Manual

    6/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    P a g e s 6 o f 1 0 p a g e s

    APPLICATIONS

    H A R D W A R E B A S E D R E C O R D I N G :

    Start recording

    A f t e r y o u r e s e t t h e v o i c e k i t , i t i s r e a d y f o r

    r e c o r d i n g . P r e s s / h o l d t h e R E C / P L A Y b u t t o n

    w h e r e i n t h e t i m e o f r e c o r d i n g v a r i e s d e p e n d i n g o n

    h o w l o n g y o u p r e s s t h e b u t t o n . R e l e a s i n g t h e

    b u t t o n a u t o m a t i c a l l y s a v e s y o u r r e c o r d e d m e s s a g e .

    T h e m e s s a g e y o u r e c o r d e d s h a l l b e s t o r e d i n

    a d d r e s s 0 a n d w i l l b e a u t o m a t i c a l l y p l a y e d r i g h t

    a f t e r .

    Control port

    T h e c o n t r o l p o r t P 1 p r o v i d e s a s i m p l e w a y t o

    m a n u a l l y o p e r a t e t h e v o i c e k i t . P 1 i s u s e d t o

    i n d i c a t e t h e a d d r e s s l i n e s A 0 - A 5 . T h i s i s u s e d t o

    a v o i d o v e r l a p p i n g o f v o i c e r e c o r d i n g s i n c e u n a b l e

    t o c h a n g e t h e a d d r e s s l i n e o v e r w r i t e s t h e v o i c e

    r e c o r d i n g . T h i s i s a l s o o n e w a y t o c h o o s e t h a t v o i c e

    i n p u t w i l l b e p l a y e d .

    N O T E : I f t h e r e c o r d i n g e x c e e d s t o a s e g m e n t o f

    t i m e , i t w i l l a u t o m a t i c a l l y r e c o r d o v e r t h e n e x t

    s e g m e n t a d d r e s s .

    S O F T W A R E B A S E D R E C O R D I N G :

    Communication Settings:

    B a u d R a t e : 9 6 0 0

    D a t a : 8 b i t s

    S t o p b i t s : 1

    P a r i t y : n o n e

    H a n d s h a k e : N o n e

    Serial Communication Format:

    [ S T X ] C o m m a n d [ E T X ]

    w h e r e [ S T X ] = 0 x 0 2 ( h e x a s c i i )

    [ E X T ] = 0 x 0 3 ( h e x a s c i i )

    [ S T X

    Implemented Commands:

    V - V e r s i o n S t a m p

    F o r m a t : V

    E x a m p l e : I n q u i r e V o i c e R e c o r d e r s o f t w a r e r e v i s i o n

    [ S T X ] V [ E T X ]

    M - N u m b e r o f M e s s a g e s i n r e c o r d e r F o r m a t : M

    E x a m p l e : I n q u i r e N u m b e r o f m e s s a g e s

    [ S T X ] M [ E T X ]

    P - P l a y F o r m a t : P n n

    W h e r e n n = m e s s a g e n u m b e r ( 0 - 6 3 )

    E x a m p l e : P l a y m e s s a g e 4

    [ S T X ] P 4 [ E T X ]

    S - S t o p R e c o r d / P l a y F o r m a t : S

    E x a m p l e : S t o p P l a y i n g o r R e c o r d i n g m e s s a g e

    [ S T X ] S [ E T X ]

    R - R e c o r d a m e s s a g e F o r m a t : R

    R e c o r d s a n e w m e s s a g e o n t o p m o s t f r e e m e s s a g e

    s l o t .

    F o r m a t : R n n

    W h e r e n n = m e s s a g e n u m b e r ( 0 - 6 3 )

    R e c o r d s o v e r a n E x i s t i n g s l o t . I f t h e m e s s a g e i s

    l o n g e r t h a n t h e e x i s t i n g m e s s a g e , i t w i l l a l s o

    o v e r w r i t e n e x t e x i s t i n g s l o t ( s ) .

    E x a m p l e : R e c o r d a n e w m e s s a g e [ S T X ] R [ E T X ]

    E x a m p l e : R e c o r d n e w m e s s a g e o v e r ( a n d

    s t a r t i n g ) m e s s a g e n u m b e r 2 . [ S T X ] R 2 [ E T X ]

    X - R e s e t m e s s a g e c o u n t e r F o r m a t : X

    R e s e t v o i c e r e c o r d e r t o r e s t a r t n e w r e c o r d i n g s f o r m

    m e s s a g e n u m n e r 0 a n d r e s e t m e s s a g e c o u n t t o 0 .

  • 8/10/2019 Voice Kit II Hardware Manual

    7/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    S A M P L E E X T E R N A L S O U R C E R E C O R D I N G

    P a g e s 7 o f 1 0 p a g e s

    Settings for External source

    C o n t r u c t t h i s w i r i n g d i a g r a m i f y o u a r e u s i n g a n

    e x t e r n a l a u d i o s o u r c e . U s e a m a l e t o m a l e a u d i o

    c o r d c o n n e c t e d t o y o u r P C a u d i o o u t p u t . A l s o ,

    c o n n e c t a s p e a k e r t o y o u r v o i c e k i t ' s a u d i o o u t p u t .

    U s i n g a s e r i a l b r i d g e s u c h a s t h e U S B - U A R T k i t ,

    c o n n e c t t h e r e s p e c t i v e p i n s s h o w n i n F i g u r e 7 .

    C o n n e c t a j u m p e r t o t h e R E C M O D E p i n s a n d a l s o

    t o t h e E X T S O U R C E p i n s .

    Sample application ( s o u n d )

    O p e n y o u r e - G i z m o C D > e - g i z m o K I T S > " V o i c e k i t

    I I " > V B > I S D 4 0 0 3 > I S D 4 0 0 3 > d o u b l e - c l i c k

    " I S D 4 0 0 3 . v b " t o o p e n f i l e .

    Figure 7. Wiring Diagram of Voice Kit IIusing the External source for soundsrecording.

    Figure 8. The ISD4003.vb file, (VisualBasic application) for sounds recording.

  • 8/10/2019 Voice Kit II Hardware Manual

    8/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    P a g e s 8 o f 9 p a g e s

    OTHER APPLICATIONS

    O n c e y o u o p e n t h e I S D 4 0 0 3 . v b f i l e o n

    v i s u a l b a s i c . G o t o F i l e > O p e n p r o j e c t >

    I S D 4 0 0 3 > S e l e c t t h e " I S D 4 0 0 3 . s l n " t h e n

    c l i c k O p e n .

    C l i c k t h e t o S t a r t d e b u g g i n g . T h e

    I S D 4 0 0 3 V o i c e R e c o r d e r K i t D e m o

    w i n d o w s w i l l o p e n ( s e e b e l o w ) .

    C l i c k t h e d r o p d o w n b u t t o n t o

    s e l e c t t h e C O M P O R T n u m b e r .

    C l i c k ' A d d ' b u t t o n , t o a d d a n

    a u d i o f i l e , o n t h i s e x a m p l e

    " . m p 3 " . A n y f o r m a t i s a c c e p t e d .

    T h e n c h a n g e t h e " 1 " a d d r e s s

    t o " 0 " a d d r e s s f o r y o u r f i r s t

    r e c o r d i n g . N o w r e c o r d y o u r

    s o u n d b y C l i c k i n g t h e ' R e c o r d '

    b u t t o n o n c e . Y o u c a n s e e

    " R e c o r d i n g : C : \ U s e r s \ V \ . . . " t o

    a d d r e s s 0 . T o p l a y b a c k , C l i c k

    ' P l a y ' b u t t o n w i t h a d d r e s s s e t t o

    0 .

    Figure 9. Open ISD4003.sln file, (Visual Basicapplication) for sounds recording.

    Figure 10. ISD4003 Voice Recorder kitDemo project for sounds recording.

  • 8/10/2019 Voice Kit II Hardware Manual

    9/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    S C H E M A T I C D I A G R A M

    P a g e s 9 o f 1 0 p a g e s

    Fig

    ure

    11.Schematicdiagram

    ofVO

    ICEKITIIISD4003

  • 8/10/2019 Voice Kit II Hardware Manual

    10/10

    V o i c e K i t I I 2 0 1 4 b y e - G i z m o M e c h a t o n i x C e n t r a l

    P C B L A Y O U T

    P a g e s 1 0 o f 1 0 p a g e s

    Figure 12.PCB Layout for Voice Kit II ISD4003