Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Interfacing SOMO 14D sound module
13-05-2013, 06:26 PM,
#1
Interfacing SOMO 14D sound module
I have started a new project which is using PIC18F2550 and interfacing with the SOMO 14D sound module.
4D System documentation
Does someone have done such adaptation ?

In my project, I use both the UART to connect to a 433MHz receiver (around 1600bps) and I would like also to use one servo. Could I use the SPI to interface with the SOMO 14D, or do I need to rewrite the "16 bit shifter".

In fact I would like to have (see schematic attached)
1. AnalogOut on Pin 11 and 12.
2. Servo on Pin 13.
3. Uart (1600bps) (on pin 17 and 18)
4. SOMO 14D clock and data on pin 22 and 21

Is it compatible or do I will have some limitations ? Could I use SPI ?

Any coment is welcome.

Does somebody is interested by a SOMO 14D library
a. SomoOpenFile(int num_file)
b. SomoPlayFile() // non blocking
c. SomoSetVolume(int vol)
d. SomoAbortFile()
e. SomoReset()
f. int SomoStatus() // return Buzy signal

Or does someone has already developped it ?


Attached Files
.bmp   fbd38_animatronic_00_low.bmp (Size: 102.19 KB / Downloads: 4)
Reply
16-05-2013, 02:39 PM,
#2
RE: Interfacing SOMO 14D sound module
Hi,
I guess you're the first one to use such a module with Pinguino Sad ...

Quote:1. AnalogOut on Pin 11 and 12.
2. Servo on Pin 13.
3. Uart (1600bps) (on pin 17 and 18)
4. SOMO 14D clock and data on pin 22 and 21
I think you made a confusion between Pinguino pin numbers and Microchip pin numbers. See here for equivalence info.
So, on Pinguino 2550 and with Pinguino pin numbers you should have :
1. AnalogOut on Pin 11 and 12
2. Servo on pin 13 (could be every IO pin)
3. UART : TX = pin 8, RX = pin 9
4. SPI : SDI = pin 0, SDO = pin 9, SCK = pin 1

Quote:Does somebody is interested by a SOMO 14D library ?
Yes, it would be nice to add a new library or at least some examples how to use this module.
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)