December 07, 2019, 07:08:23 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


connecting buzzer to cubieboard

Started by JerryJ, August 14, 2014, 04:00:06 am

Previous topic - Next topic

JerryJ

Are there any examples of how to connect a buzzer to cubieboard? I've a had search search of forum but didn't find anything. 
Is there a certain kind of buzzer I need? Active?

Can I just use echo 1 > GPIO to have it make a sound?

I want cubieboard to make a sound when a task completes.  I tried with a buzzer a months ago but couldn't get it to work.


vivekgb

i guess its the same as controlling a buzzer when connected to a micro controller by using a PWM and connecting the buzzer with transistor and a resister

https://www.pantechsolutions.net/microcontroller-boards/buzzer-interfacing-with-pic16f877a-slicker

diogoc

Quote from: JerryJ on August 14, 2014, 04:00:06 am
Are there any examples of how to connect a buzzer to cubieboard? I've a had search search of forum but didn't find anything. 
Is there a certain kind of buzzer I need? Active?

Can I just use echo 1 > GPIO to have it make a sound?

I want cubieboard to make a sound when a task completes.  I tried with a buzzer a months ago but couldn't get it to work.


You can use something like that:
http://www.dx.com/p/meeeno-mn-eb-buzps-passive-buzzer-module-orange-black-202512#.VAgVOBZ0yM9

connect to any gpio pin and just use echo 1 > GPIO