DIY Ring Doorbell Chime
Recently my Ring doorbell Chime stopped working and after testing the power supply and main board, I concluded the main board was the culprit. While I wait for my replacement chime, I decided to make my own!
Supplies
- Wemos D1 Mini Pro or NodeMCU ESP8266 microcontroller
- TP4056 battery charger and battery (Only needed if you are powering the microcontroller by the 5V pin). Its better to power it using the micro USB port)
- Speaker/Buzzer
CODE- https://docs.google.com/document/d/177R5XnKmC2-CJDvlcjR_WMdhLCoxuqXd9FRZ9wMphTo/edit?usp=sharing
Power Supply
The chimes existing power supply outputs 5V but it wasnt a constant output. Therefore I used a TP4056 and a small battery, which acts as a voltage regulator, supplying a constant voltage for the microcontroller when the power supply drops below 5V. If you power the board from the microusb port, then you can avoid this step.
Speaker
I used the existing speaker and WiFi antenna on the Chime.
Speaker is connected to pin D2
Code
Code - https://docs.google.com/document/d/177R5XnKmC2-CJDvlcjR_WMdhLCoxuqXd9FRZ9wMphTo/edit?usp=sharing
The code is based on adafruit io which is used to turn on an LED wirelessly.
I got the inspiration from this project, ( http://www.notespoint.com/esp8266-google-assistant/ ). Please follow this guide to setup an IFTTT and Adafruit IO account.
I modified the code to play a generic doorbell chime melody, when the Ring doorbell is triggered. Instead of google assistant actuating adafruit io, my ring doorbell will do so by linking my ring account to IFTTT.
Remeber to change the parts marked as "ADD YOUR OWN"
MQTT_Name - adafruit username
MQTT_PASS - Active Key
Testing
Possible improvements is to improve the chime tone. I could have played an MP3 file from an SD card, but I wouldn't have been able to fit it all in the chime housing.