Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a16 as basis for a security system
#10
Ugh! I have to apologise in advance for asking something that's seemingly so simple. In my defence it's the first hands-on with anything ESP-based I've had...

My sensors are working exactly as they should, but I've literally spent an entire day trying to figure out why I can't seem to activate a siren and buzzer - and I'm bamboozled. If I'm correct, then when an output led lights up, then power should be flowing to that channel, yes? Everything seems to be hooked up correctly, but when activating the buzzers as switch components in esphome, there's no noise whatsoever!

I thought it should have been simple enough, but I'm at my wit's end trying to get what I'd believed to be the most simple part to work!

The code seems pretty self-explanitory...

switch:
- platform: gpio
name: "Buzzer 1"
pin:
pcf8574: outputs_1_8
number: 0
mode: OUTPUT
inverted: false


<sigh> I'm so embarrassed having to ask such a basic question, but because of the mosfet design there really aren't many good sources of information... :'(
Reply


Messages In This Thread
a16 as basis for a security system - by lcrisp - 09-16-2024, 12:50 AM
RE: a16 as basis for a security system - by admin - 09-16-2024, 01:13 AM
RE: a16 as basis for a security system - by admin - 09-16-2024, 05:12 AM
RE: a16 as basis for a security system - by admin - 09-18-2024, 11:57 PM
RE: a16 as basis for a security system - by admin - 09-18-2024, 11:58 PM
RE: a16 as basis for a security system - by lcrisp - 09-23-2024, 07:13 AM
RE: a16 as basis for a security system - by admin - 09-23-2024, 02:12 PM
RE: a16 as basis for a security system - by admin - 09-24-2024, 12:43 PM
RE: a16 as basis for a security system - by admin - 09-25-2024, 11:05 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)