You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- Thanks so much @goldilocks (+1) - I have a few questions regarding your statements about my buzzer wiring/setup. When you say "Realistically it looks a bit beefy to be controlled this way. You would be better off feeding it 5V toggled with a transistor." I'm not following you 100% here. Are you saying I need to use the 5V power pin, or are you saying that its a bit beefy/overkill to drive the buzzer from a GPIO pin and from the software? Thanks again!smeeb– smeeb2017-09-21 00:36:04 +00:00Commented Sep 21, 2017 at 0:36
- 1The other way around; the buzzer looks a bit beefy to attach to a GPIO. They aren't intended to power things, they're intended for signalling or sensing.goldilocks– goldilocks2017-09-21 12:17:24 +00:00Commented Sep 21, 2017 at 12:17
- Thanks @goldilocks (+1 again) but have a look at Page 2 of this CanJam EduKit tutorial...the buzzer is wired directly to a GPIO pin. So is the buzzer in that tutorial really just that different from the one in my question? Or is the tutorial total nonsense and unsafe?! I guess I'm looking for the path of least resistance here (no pun intended):smeeb– smeeb2017-09-21 17:13:10 +00:00Commented Sep 21, 2017 at 17:13
- 1That's a smaller piezo; they are common and inexpensive. I think I've done that before...I'm not an expert on electronics, BTW, my answer was mostly to correct you about the pull-up, pull-downs. So looking around a bit, I think they do have resistance, and can be damaged by overcurrent (you won't do that with a GPIO to your large buzzer), and conversely could draw too much. Unless you can find someone who's used a buzzer like that on the pi w/o a resistor, I still think you should use a resistor.goldilocks– goldilocks2017-09-21 18:18:16 +00:00Commented Sep 21, 2017 at 18:18
- 1Also, a buzzer and a piezo aren't necessarily the same thing. It may not work without more voltage; the thing I mentioned about using a transistor is you use the transistor as switch, controlled by the GPIO, to sink or source a separate power supply (e.g., the 5V rail on the pi) to the buzzer.goldilocks– goldilocks2017-09-21 18:22:39 +00:00Commented Sep 21, 2017 at 18:22
| Show 3 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. pi-3), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
default