DIY Door Bell Push Notification with ESP32 (trigBoard) Full Tutorial

  Рет қаралды 10,624

Kevin Darrah

Kevin Darrah

Күн бұрын

Part of a series of videos on monitoring everything with the trigBoard! The door bell is an obvious one to add IoT to and one of my favorites. Just note that this was installed in my house, which may be different from how your doorbell is wired... make sure you fully understand how everything works and only make connections when the power is off.
This project is documented here parts/schematics/etc:
trigboard-docs...
Tindie link to trigBoard - options to add boards to build exact cellular based system as shown in video: www.tindie.com...
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
/ kdarrah
Twitter: / kdcircuits
For inquiries or design services:
www.kdcircuits...

Пікірлер: 65
@FrankGraffagnino
@FrankGraffagnino 4 жыл бұрын
very cool. would like to see an update where you power the trigboard from the doorbell voltage to get rid of the battery!
@Kevindarrah
@Kevindarrah 4 жыл бұрын
yea, only problem is that case when the button is just tapped, you wouldn't have enough power to wake, connect to WiFi, and send the push notification.
@FrankGraffagnino
@FrankGraffagnino 4 жыл бұрын
@@Kevindarrah maybe the unit could be installed by the transformer instead and the circuit could detect a current flow instead. then you would always have power.
@szaszafaja
@szaszafaja 4 жыл бұрын
you could trickle charge the battery through the bell coil with a low enough current so the bell does not get energized. if the bell buttons wires are accesible it should be pretty easy.
@n1kkri
@n1kkri 3 жыл бұрын
@@Kevindarrah This is very close to what I was looking for. I don't have any programing experience and this doesn't require any. I was thinking of a current loop detecting current triggering a device to send the sms or email message. How often do you have to charge the battery? That's the only negative I see. The service you use to send the text message, would that be a free service or pay for?
@n1kkri
@n1kkri 3 жыл бұрын
@@szaszafaja Maybe a resistor across the doorbell button to allow some current flow??
@wadefallin
@wadefallin 4 жыл бұрын
Another awesome project Kevin! Great tutorial on how this works as well!
@atomikrobot300099
@atomikrobot300099 4 жыл бұрын
This will be my next ESPHome project! Thanks for the idea!
@Kevindarrah
@Kevindarrah 4 жыл бұрын
cool, let me know how it goes!
@Mathias1234
@Mathias1234 4 жыл бұрын
I used an voltage divider (with resistors), connected between my doorbell and my ESP8266. Works great, probably unsafe, but a 1000 times cheaper and super simple
@radnukespeoplesminds
@radnukespeoplesminds 4 жыл бұрын
This is what i thought of doing too. I thought maybe it would be worth using an op amp follower and fuse tho
@n1kkri
@n1kkri 3 жыл бұрын
Could you please go into a little more detail on how your voltage divider circuit connects to the circuit? Thanks
@Mathias1234
@Mathias1234 3 жыл бұрын
@@n1kkri Sure, here's what I use. VIN (from the button press, 7.2v) R1 in my case 1k VOUT (to ESP8266 12-E ADC pin in my case, now 0.978v) R2 157 (odd, I know, I combined 100+47+10 in series) GND (this is both the doorbell & ESP's GND). This gives me 0.978v out, on my 7.2v power source. But there are tools online for generating the R1 & R2 resistor values, so you can take the 16V as shown in this video down to something you can use (3v?), with whatever resistors you have laying around. Search for "voltage divider calculator". And if it's AC, as used in the video, you might want to add an diode bridge rectifier to be more safe (remember LED's are also diodes, so you probably already have all the parts needed). I have however sensed both AC and DC with my ESP, so I'm not sure if you REALLY need it rectified.
@relali2009
@relali2009 3 жыл бұрын
Good video, just wondering why did you use a single diode rectifier vs full bridge rectified signal. Since you are using 2 caps after diode you may not notice the ripple when missing the negative side of your AC signal.
@anthonytamalonis
@anthonytamalonis 4 жыл бұрын
‘Doorbell text message’ and ‘buy trigboard’ were added to my todo list last week. You just saved me a lot of work! Could you install this at the transformer instead of at the chime? I guess for your method you need to take your input from after the button and before the solenoid? Could you put an inductive coil around the 16V ac wire at the transformer and use the current measurement to activate the trigboard? Would potentially be non contact, but not sure if it would work or how reliable it would be
@Kevindarrah
@Kevindarrah 4 жыл бұрын
hmm, yea I was thinking about that as well... maybe I'll have to experiment with this
@n1kkri
@n1kkri 3 жыл бұрын
I was thinking of the same thing. I have seen small clamp on current sensors but they have been used to feed ESP32xx boards to send out the sms or email message.
@OkOtChA
@OkOtChA 2 жыл бұрын
Hey Kevin. How much will this project differ if the door bell its just a "buzzer" and not the "ding dong" thing. Thanks
@DarrahValentine
@DarrahValentine 3 жыл бұрын
This is very fascinating I wish I understood it all but great smart idea
@chrisw1462
@chrisw1462 2 жыл бұрын
@4:12 Your single diode is only a half-wave rectifier, so you only get one side of the AC, and half the voltage. In your case, a little over 11 volts is all your capacitors will see. Without a center-tapped transformer, you will not get the continuous pulses you drew. Every other pulse will be missing. If you had used a bridge rectifier (4 diodes), your numbers and drawing would be correct. And, of course, you'll never get 12 volts out. Your regulator will sit there doing nothing except passing the full 11.x volts on to the relay.
@nyckid
@nyckid 4 жыл бұрын
Why not just put a N/O door contact (or raw reed switch like you started with) on the solenoid of the doorbell and save the voltage regulation gear to power the project off the 16vac instead of a battery?
@Kevindarrah
@Kevindarrah 4 жыл бұрын
actually, I did try this, but didn't work as well.
@nyckid
@nyckid 4 жыл бұрын
@@Kevindarrah The sensor or power? An inexpensive accelerometer would also be able to feel the movement of the solenoid.
@tornadokat
@tornadokat 4 жыл бұрын
I'd think a 12VAC coil relay would be OK on a 16VAC transformer for the very short time it is actually energized... not enough time for the wire in the electromagnet to heat up and burn out.
@amcomma
@amcomma 4 жыл бұрын
That's awesome, but why use ESP32 for it and not cheaper ESP8266?
@ursmii_
@ursmii_ 4 жыл бұрын
because he sells the trigboard on tindie. get it?
@PhG1961
@PhG1961 4 жыл бұрын
Great ingenuity !
@billiejean3748
@billiejean3748 4 жыл бұрын
Have you noticed a relationship between solder flux left on boards and increase in sleep current, in your general experience
@Kevindarrah
@Kevindarrah 4 жыл бұрын
only one time, but not directly... I heard there were some board failures and that it was due to a "dirty board". I guess they cleaned it up and it worked. I have never seen this issue before though with anything I've done, but then again, I always clean my boards pretty good with alcohol. That might be a good experiment though
@billiejean3748
@billiejean3748 4 жыл бұрын
@@Kevindarrah i had battery powered boards in the field that underperformed the calculated battery life by a couple months. Then I learned that flux is conductive and that isopropyl alcohol was a thing.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
@@billiejean3748 yep, that's how I clean my boards! But might be cool to test this though
@neooooooooooon
@neooooooooooon 3 жыл бұрын
6:51 may i know what is this thing called? and 10:24 the gold thingy below also
@Kevindarrah
@Kevindarrah 3 жыл бұрын
yea see description for link to the project page - everything you need is there
@neooooooooooon
@neooooooooooon 3 жыл бұрын
@@Kevindarrah yeah im sorry i didnt see it first
@n1kkri
@n1kkri 3 жыл бұрын
Would a reed relay or the type they put on doors placed near the solenoid relay of the Chime close the relay to fire off the trigBoard? I tried this but the round relay I have could not fit in the area or the solenoid relay. The slim type would fit if I had one.
@Kevindarrah
@Kevindarrah 3 жыл бұрын
yea, I actually tried that and some success, but wasn't 100% reliable, so I moved on. If I had to do it again, I'd use an optocoupler circuit instead.
@n1kkri
@n1kkri 3 жыл бұрын
@@Kevindarrah what about a small current probe to detect current when the doorbell was pressed. You could also mount this anywhere you had access to one of the doorbell wires. My transformer is at the circuit panel. I also have a a.c. receptacle near by I could use a cell phone power supply to power the trigboard.
@smitcher
@smitcher 4 жыл бұрын
If you are going almost the full way in electronics then why not just stick a optoisolator after the smoothing caps with a resistor feeding it... Would the output of that not be sufficient? More compact circuit than having a relay... Also, wouldn't having it wake-on-open mean that if someone held in the button constantly then the trig board would never trigger and i suppose those annoying folk who hold it in for 10s then the trig wouldn't boot until the end of that 10s rather than the start...
@n1kkri
@n1kkri 3 жыл бұрын
Is there a free alternative to Pushover? Is it possible to send email instead of text?
@Kevindarrah
@Kevindarrah 3 жыл бұрын
yep, IFTTT, Push Safer, or even MQTT to your own setup. All supported by trigBoard in the base firmware
@n1kkri
@n1kkri 3 жыл бұрын
@@Kevindarrah I was under the impression that Pushover was a paid for service. I will have to look the others up. Thanks
@n1kkri
@n1kkri 3 жыл бұрын
@@Kevindarrah when you say "to your own setup" you mean just entering my router user name and password? Do you also offer a way to communicate to the trigBoard via a simple AP access point method like many other devices like Honey Well WiFi Theromostats and other DIY projects? Would having to have Windows 10 then not be so important and it all done via WiFi?
@FrezzaArmy
@FrezzaArmy 2 жыл бұрын
You could just use a sound sensor und place it when ever u need it near your door 🤔
@n1kkri
@n1kkri 3 жыл бұрын
Wow, I just looked up how much the cost is for the board. If this was a $5-$10 board it would be a good deal. At $30 plus the rest of the parts, might put you up at $50 at least with shipping I have been looking at projects using the ESP32xx boards which seem to be priced much lower but require programing. Has anyone converted a existing product like a water sampler with wifi sms or texting to work with a doorbel?
@Kevindarrah
@Kevindarrah 3 жыл бұрын
Yea, small batch manufacturing in the USA is not going to be cheap - not to mention the endless development time that goes into this sort of thing
@n1kkri
@n1kkri 3 жыл бұрын
can I use my cell phone for the bluetooth connection for configuration? If I use my laptop will it work with Windows 7?
@Kevindarrah
@Kevindarrah 3 жыл бұрын
mobile support not yet... working on that, but really need Windows 10 for the configuration - not tested under win7
@n1kkri
@n1kkri 3 жыл бұрын
@@Kevindarrah Well that kills the project for me. I don't have any plans in the near future to move to Windows 10 while everything I am doing now works fine with 7. Will check in once in a while for updates. Thanks,
@Kevindarrah
@Kevindarrah 3 жыл бұрын
@@n1kkri if you got a raspberry pi laying around, that works too
@n1kkri
@n1kkri 3 жыл бұрын
@@Kevindarrah I do have a spare Raspberry Pi. Do you have an image I can put on a SD card and a wiring diagram for it?
@Kevindarrah
@Kevindarrah 3 жыл бұрын
@@n1kkri oh I mean you just need that - use chromium to go to the configurator link: kevindarrah.com/configurator/
@yogeshitaliya473
@yogeshitaliya473 4 жыл бұрын
Nice onw
@harveyellis6758
@harveyellis6758 4 жыл бұрын
using an optocoupler would be simpler
@ffoska
@ffoska 4 жыл бұрын
yep. I don't like the relay solution either...
@electron-1979
@electron-1979 4 жыл бұрын
My first and last plan!
@Kevindarrah
@Kevindarrah 4 жыл бұрын
didn't have any optos handy, but I've got another project in mind that I'll have to try this method out on
@studiociodo
@studiociodo 4 жыл бұрын
Pc817... You can find It on ANY switching Power supply...
@normcaissie5598
@normcaissie5598 4 жыл бұрын
This channel is nothing but trigboard commercials. Don't get me wrong they are cool but not at those prices.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
yea I know, but lots of trigBoard projects here to share - you're probably not going to like the next couple vids.
@normcaissie5598
@normcaissie5598 4 жыл бұрын
@@Kevindarrah I was a new sub so this is all I've seen so far.
@kikmedown
@kikmedown 4 жыл бұрын
I'm really impressed with how your trigboard has progressed. Will this board work with push buttons to wake it up? I am curious to know if it would work to attach to an intercom call/buzz button. Or even multiple buttons.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
yes, this is possible, needs a little circuitry/programming, but no big deal - we can chat on Discord if you pick one up
@kikmedown
@kikmedown 4 жыл бұрын
@@Kevindarrah great! As soon as I get back home, I'll get to it. Thank you
@kikmedown
@kikmedown 4 жыл бұрын
@@Kevindarrah just bought one. About to join discord
A DIY Smart Doorbell based on ESP32
14:59
Smart Solutions for Home
Рет қаралды 51 М.
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 26 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 115 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 35 МЛН
Very Cheap $6 DIY Alexa Doorbell
7:31
Tech Stuff DIY
Рет қаралды 21 М.
Doorbell WiFi Upgrade [DIY, IoT, Node-RED, WLED]
10:18
bitluni
Рет қаралды 77 М.
Lowest Power (~3uA) MOTION Sensor - WiFi Connected with trigBoard
10:29
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 588 М.
ding dong. who's there? DIY homekit doorbell
6:04
Paul Straw
Рет қаралды 3,3 М.
Building a Digital Music Player with I2S?! What is I2S! EB#45
10:24
Make your Doorbell Smart using ESP8266
4:48
MrDIY
Рет қаралды 51 М.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Рет қаралды 179 М.
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 26 МЛН