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/09 13:51] 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 40: | Line 41: | ||
| ^ID^Component^ebay search^price US$^comments| | ^ID^Component^ebay search^price US$^comments| | ||
| - | |**PCB_1** |4 * 3 hole prototype board| | + | |**PCB_1** |4 * 3 hole prototype board|10PCS Prototype PCB \\ \\ [[http:// |
| - | |**BUZ_1** |buzzer| | + | |**BUZ_1** |buzzer|10pcs 5V piezo Buzzer continous \\ \\ [[http:// |
| - | |**T_1** |Transistor NPN BJT (eg BC848C)| | + | |**T_1** |Transistor NPN BJT (eg BC848C)|100PCS BC848C SMD \\ \\ [[http:// |
| - | |**R_1** |1 kΩ resistor| | + | |**R_1** |1 kΩ resistor|100pcs smd 1k 1206 \\ \\ [[http:// |
| - | |**CON_1** |4 pin strip connector| | + | |**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 " | ||
| Line 51: | Line 52: | ||
| 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 59: | 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 == | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| \\ | \\ | ||