smxabi
Joined: 29 Apr 2006 Posts: 14 Location: Spain
|
It sound very low |
Posted: Wed May 31, 2006 10:08 am |
|
|
Hi
This is my favorite site to inquire all my troubles.
Well, I compiled and tested the exercise EX_SQWC from CCS examples: Code: |
#include <16F877A.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
I am using the proto 16F877A from CCS
void main() {
printf("Press any key to begin\n\r");
getc();
printf("1 khz signal activated\n\r");
while (TRUE) {
output_high(PIN_B0);
delay_us(500);
output_low(PIN_B0);
delay_us(500);
}
}
when I conect a loudspeaker from an old mobile phone sound, but very low. In the phone sound quite right. The loudspeaker is SD153B and finding the datasheet I see it has a impedance of 150 ohms (at 1Khz).
The loudspeaker is conected between Pin BO and ground through a condenser of 100k.
I supose is a problem of leveling impedances ¿ But How I do to sound the loudspeaker more strong ? |
Thank´s in advance |
|