This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
adding_a_buzzer [2016/10/08 13:41] lostmyquad [Building your own using] |
adding_a_buzzer [2017/04/21 22:15] (current) jonnyphenomenon [Building your own using] |
||
---|---|---|---|
Line 13: | Line 13: | ||
</ | </ | ||
- | There are 3 other defines related to the buzzer functionality | + | There are 3 other defines related to the buzzer functionality |
< | < | ||
//#define BUZZER_PIN | //#define BUZZER_PIN | ||
Line 27: | Line 26: | ||
**Note:** the value you choose for the '' | **Note:** the value you choose for the '' | ||
+ | |||
+ | |||
===== Hardware ===== | ===== Hardware ===== | ||
Line 37: | Line 38: | ||
=== Components required === | === Components required === | ||
- | For ebay searches remember to sort results by "Price + Postage: lowest first" | + | For ebay searches remember to sort results by "Price + Postage: lowest first" |
^ID^Component^ebay search^price US$^comments| | ^ID^Component^ebay search^price US$^comments| | ||
- | |**PCB_1** |4 * 3 hole prototype board|10PCS Prototype PCB|$1.00|You' | + | |**PCB_1** |4 * 3 hole prototype board|10PCS Prototype PCB \\ \\ [[http:// |
- | |**BUZ_1** |buzzer|10pcs 5V piezo Buzzer continous|$1.20|taken from TX or sourced elsewhere| | + | |**BUZ_1** |buzzer|10pcs 5V piezo Buzzer continous |
- | |**T_1** |9012 transistor|smd 9012" 50pcs cost about|$1.00|taken from TX or sourced elsewhere| | + | |**T_1** |Transistor NPN BJT (eg BC848C)|100PCS BC848C SMD \\ \\ [[http:// |
- | |**R_1** |1 kΩ resistor|100pcs smd 1k 1206|$1.50|taken from TX or sourced elsewhere| | + | |**R_1** |1 kΩ resistor|100pcs smd 1k 1206 \\ \\ [[http:// |
- | |**CON_1** |4 pin strip connector|10pcs 40 Pin Strip color|$1.30|just snap the required portion off one| | + | |**CON_1** |4 pin strip connector|10pcs 40 Pin Strip color \\ \\ [[http:// |
//Note: for about $6 you'll have enough to build 10 buzzers + a lot of spare " | //Note: for about $6 you'll have enough to build 10 buzzers + a lot of spare " | ||
- | |||
=== Salvaging the parts from your controller === | === Salvaging the parts from your controller === | ||
I'm using a spare Floureon H101 TX to salvage parts so your actual items could differ. | I'm using a spare Floureon H101 TX to salvage parts so your actual items could differ. | ||
- | (incomplete) | + | The diagram below shows the location of the three components you need to salvage. This example shows the location inside a Flourean H101 TX. Click on the image for a larger version to see detail. |
+ | |||
+ | {{: | ||
=== Assembly === | === Assembly === | ||
Line 60: | Line 62: | ||
The finished item we're describing here will look something like: | The finished item we're describing here will look something like: | ||
- | {{: | + | {{: |
+ | |||
+ | == Overview == | ||
+ | |||
+ | * Assumed input voltage: 3.2 - 5v | ||
+ | * Buzzer + (positive) goes to Battery + (positive) | ||
+ | * Buzzer - (negative) goes to collector on T1 | ||
+ | * Signal (SWCLK or SWDAT) goes to base on T1 via R1 | ||
+ | * Battery - (negative) goes to emitter on T1 | ||
+ | |||
+ | == Circuit diagram == | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
\\ | \\ | ||
Line 69: | Line 85: | ||
There are a number of premade options available. | There are a number of premade options available. | ||
- | A premade item that matches Markus Gritsch' | + | A premade item that matches Markus Gritsch' |
Typically they will look like: | Typically they will look like: | ||
{{: | {{: | ||
+ | |||
===== Design notes ===== | ===== Design notes ===== | ||
Line 100: | Line 117: | ||
Info for using a continuous beep type buzzer (possibly useful): [[http:// | Info for using a continuous beep type buzzer (possibly useful): [[http:// | ||
+ | |||
+ | \\ | ||