Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. [SOLVED] How to detect power current with Arduino Pro Mini in a doorbell?

[SOLVED] How to detect power current with Arduino Pro Mini in a doorbell?

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 1.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ronnyandreR Offline
    ronnyandreR Offline
    ronnyandre
    wrote on last edited by ronnyandre
    #1

    I have a very simple wireless doorbell in my house, and I was thinking of making it notify me when someone rings in Domoticz.

    I have minimal with electronic components, but I do have the basics with resistors, wires, NRF24 etc.

    What I found out, is that when the doorbell button is clicked, it sends a wireless signal to the other unit, containing the speaker. This unit has a LED that lights up when it receives a signal, aka when someone rings the bell.

    I was thinking of connecting the Arduino to this LED, detecting when the LED is turned on. I connected the cathode on the LED to ground on the Pro Mini, and the LED's anode to an analog pin on the Pro Mini. Now I can read values around ~740 in standby mode, and around ~860 when the LED lights up.

    Is this a basic and "fail safe" method to check for power? Or is it varying too much? I want to use the door magnet sensor example to detect the doorbell, but not sure if I should use the Bounce library with analog signals.

    Thanks in advance!

    Newbie with RPi and Domoticz, trying to automate my home.

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      You could use the analog input and measure the voltage going to the led: if it goes over a certain value within 0-5v you send the ring to domoticz. If voltage is sufficiently high you can use a digital pin too instead of analog.

      1 Reply Last reply
      1
      • ronnyandreR Offline
        ronnyandreR Offline
        ronnyandre
        wrote on last edited by
        #3

        Thanks @gohan it works perfectly using a digital pin and the door sensor example.

        Newbie with RPi and Domoticz, trying to automate my home.

        1 Reply Last reply
        1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        16

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular