Author Topic: pic port amplify  (Read 3528 times)

0 Members and 1 Guest are viewing this topic.

Offline gatoulisssTopic starter

  • Contributor
  • Posts: 30
pic port amplify
« on: February 05, 2015, 01:36:46 pm »
hello guys!!
i have a question.
im using pic 16f88 connected to some sensors and a buzzer its like an alarm, my question is can i amplify the output of the pin witch is connected to the buzzer so i can have much louder sound? (the sound driver is the pic so the buzzer is not making any sound if i just connect it to a battey) for example the port output is +5v can i make it +9 and how?

thank you very much!
 

Offline johm

  • Contributor
  • Posts: 42
  • Country: es
  • Really fond of Sines & Silicon.
Re: pic port amplify
« Reply #1 on: February 05, 2015, 02:29:47 pm »
One of your solutions is using an off the shelf NPN transistor (2n2222, 2n3904, BC548, etc.) wired like this:

An NPN Transistor behaves like a current switch / current amplifier. The higher current any output pin of the PIC16F88 can sink/source is 25mA, as in pg. 161 http://ww1.microchip.com/downloads/en/DeviceDoc/30487D.pdf so this will allow a higher current to flow from the collector to the emitter of the transistor resulting in louder sound.

In case you don't understand something, feel free to ask.

Regards,
Johm
Assembly is the high level programming for an ASIC design engineer (with no VHDL/Verilog).
 

Offline gatoulisssTopic starter

  • Contributor
  • Posts: 30
Re: pic port amplify
« Reply #2 on: February 05, 2015, 02:50:42 pm »
i tried with bc547 transistor and it works on some buzzers but in this type is not http://www.ebay.com/itm/231141835644?_trksid=p2060778.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT any idea?

and is there any way to amplify the buzzer using a transformer? and how i can make the connections?
« Last Edit: February 05, 2015, 03:10:39 pm by gatoulisss »
 

Offline johm

  • Contributor
  • Posts: 42
  • Country: es
  • Really fond of Sines & Silicon.
Re: pic port amplify
« Reply #3 on: February 05, 2015, 03:29:56 pm »
Using a transformer is an overkill, what's more, you'll have to add a DC voltage for the buzzer to work. Have you got the datasheet for this particular buzzer? Take a look at its impedance and operating voltage.
Assembly is the high level programming for an ASIC design engineer (with no VHDL/Verilog).
 

Offline gatoulisssTopic starter

  • Contributor
  • Posts: 30
Re: pic port amplify
« Reply #4 on: February 05, 2015, 04:17:20 pm »
i had the buzzer of the foto and is loud as i want to be and it use an transformer... so i think that using transformer in the ones i got would give me the loudness i want. so how i can make this?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->