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. Hardware
  3. converting 12v to 5v

converting 12v to 5v

Scheduled Pinned Locked Moved Hardware
49 Posts 7 Posters 26.6k 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.
  • tbowmoT Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by
    #31

    @Moshe-Livne

    Without knowing the details of the doorbell, I would think it is something like this.. That is, the doorbell get power, when the button is pressed, and makes a connection to GND. So this would be the circuit that I would create:

    doorbell1.png

    It's only the arduino part you should make, the rest is the existing doorbell.. The resistor should be high value, I've put in 56Kohm, but something in the order of 56-220K ohm, whatever you have in your parts bin :)

    Moshe LivneM 2 Replies Last reply
    0
    • tbowmoT tbowmo

      @Moshe-Livne

      Without knowing the details of the doorbell, I would think it is something like this.. That is, the doorbell get power, when the button is pressed, and makes a connection to GND. So this would be the circuit that I would create:

      doorbell1.png

      It's only the arduino part you should make, the rest is the existing doorbell.. The resistor should be high value, I've put in 56Kohm, but something in the order of 56-220K ohm, whatever you have in your parts bin :)

      Moshe LivneM Offline
      Moshe LivneM Offline
      Moshe Livne
      Hero Member
      wrote on last edited by
      #32

      @tbowmo I think its just about the same as my messy sketch. only thing is you assumes the grounds are the same, which should be ok. got a bridge rectifier as well but had to take the kids to watch minions. sigh....

      1 Reply Last reply
      0
      • tbowmoT Offline
        tbowmoT Offline
        tbowmo
        Admin
        wrote on last edited by
        #33

        @Moshe-Livne

        It seems that you have the doorbell switch attached accross the supply, so you short circuit it, when you press it.

        You also need a common ground signal, between the door bell, and the arduino.

        Moshe LivneM 2 Replies Last reply
        0
        • tbowmoT tbowmo

          @Moshe-Livne

          It seems that you have the doorbell switch attached accross the supply, so you short circuit it, when you press it.

          You also need a common ground signal, between the door bell, and the arduino.

          Moshe LivneM Offline
          Moshe LivneM Offline
          Moshe Livne
          Hero Member
          wrote on last edited by
          #34

          @tbowmo oh this power supply represents the bell circuit but i see what you mean. If the kids will give me 10 min today I'll give it a try. Door bell is one of those things you can't do after they go to sleep

          1 Reply Last reply
          0
          • tbowmoT tbowmo

            @Moshe-Livne

            It seems that you have the doorbell switch attached accross the supply, so you short circuit it, when you press it.

            You also need a common ground signal, between the door bell, and the arduino.

            Moshe LivneM Offline
            Moshe LivneM Offline
            Moshe Livne
            Hero Member
            wrote on last edited by
            #35

            @tbowmo so, to get a common ground i just connect the "-" from the bell to the gnd on the arduino?

            1 Reply Last reply
            0
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #36

              @Moshe-Livne

              Yes, I would think so.. again, without having any knowledge to how the door bell is functioning..

              Moshe LivneM 1 Reply Last reply
              0
              • tbowmoT tbowmo

                @Moshe-Livne

                Yes, I would think so.. again, without having any knowledge to how the door bell is functioning..

                Moshe LivneM Offline
                Moshe LivneM Offline
                Moshe Livne
                Hero Member
                wrote on last edited by
                #37

                @tbowmo Oh I wish I knew. I might just open it and look although it will be a big hard to put back. currently the power from the bridge seems to be not enough to drive the circuit which is strange. the power lights up but nothing much happens. I'll go over everything once again.

                1 Reply Last reply
                0
                • tbowmoT tbowmo

                  @Moshe-Livne

                  Without knowing the details of the doorbell, I would think it is something like this.. That is, the doorbell get power, when the button is pressed, and makes a connection to GND. So this would be the circuit that I would create:

                  doorbell1.png

                  It's only the arduino part you should make, the rest is the existing doorbell.. The resistor should be high value, I've put in 56Kohm, but something in the order of 56-220K ohm, whatever you have in your parts bin :)

                  Moshe LivneM Offline
                  Moshe LivneM Offline
                  Moshe Livne
                  Hero Member
                  wrote on last edited by
                  #38

                  @tbowmo I have double checked everything, used the arduino connected to the computer so have a stable 5v power supply to the nano. connected external power supply with 6.3v and 8ma to ground and the external leg of the resistor - nothing...
                  wouldn't it be simpler it I used npn transistor to close the circuit? I am on the verge of going the "safe" way - connecting the doorbell loop to the arduino so pressing the doorbell will short pin 3 to gnd and then activating a relay to close the doorbell circuit. this is far from being a good solution as if the sensor does not work the doorbell will not work as well, but this is stuff that I understand (to an extent :-) )

                  1 Reply Last reply
                  0
                  • tbowmoT Offline
                    tbowmoT Offline
                    tbowmo
                    Admin
                    wrote on last edited by
                    #39

                    @Moshe-Livne

                    what is the voltage at the arduino input, when you apply the external power supply?

                    Could you try and measure the voltage across the switch terminals in the door bell:

                    1. when button isn't pressed
                    2. when the button is pressed

                    You need to simulate these two input voltages on the input of the circuit..

                    Moshe LivneM 1 Reply Last reply
                    0
                    • tbowmoT tbowmo

                      @Moshe-Livne

                      what is the voltage at the arduino input, when you apply the external power supply?

                      Could you try and measure the voltage across the switch terminals in the door bell:

                      1. when button isn't pressed
                      2. when the button is pressed

                      You need to simulate these two input voltages on the input of the circuit..

                      Moshe LivneM Offline
                      Moshe LivneM Offline
                      Moshe Livne
                      Hero Member
                      wrote on last edited by
                      #40

                      @tbowmo this is not connected to the doorbell as I hate working in the air... so, its connected to my laptop for the 5v and debug and to a variable voltage power supply that i set to 6.3v (it shows 8ma are "used")

                      1 Reply Last reply
                      0
                      • tbowmoT Offline
                        tbowmoT Offline
                        tbowmo
                        Admin
                        wrote on last edited by
                        #41

                        @Moshe-Livne

                        Yes, but you need to simulate the doorbell, so take some measurements on the doorbell, and copy those to your circuit. That is, if the signal on the doorbell is 0V when the button is pressed, then you should be able to short the input to your signal to 0V.

                        Also, again, when applying 6.3V via your external powersupply, what is the voltage on the input pin on the arduino?

                        Moshe LivneM 2 Replies Last reply
                        0
                        • tbowmoT tbowmo

                          @Moshe-Livne

                          Yes, but you need to simulate the doorbell, so take some measurements on the doorbell, and copy those to your circuit. That is, if the signal on the doorbell is 0V when the button is pressed, then you should be able to short the input to your signal to 0V.

                          Also, again, when applying 6.3V via your external powersupply, what is the voltage on the input pin on the arduino?

                          Moshe LivneM Offline
                          Moshe LivneM Offline
                          Moshe Livne
                          Hero Member
                          wrote on last edited by
                          #42

                          @tbowmo i get 3.30v when power is off 4.7v when power is on. i think i used the wrong resistor... i am colour blind.... checking...

                          1 Reply Last reply
                          0
                          • tbowmoT tbowmo

                            @Moshe-Livne

                            Yes, but you need to simulate the doorbell, so take some measurements on the doorbell, and copy those to your circuit. That is, if the signal on the doorbell is 0V when the button is pressed, then you should be able to short the input to your signal to 0V.

                            Also, again, when applying 6.3V via your external powersupply, what is the voltage on the input pin on the arduino?

                            Moshe LivneM Offline
                            Moshe LivneM Offline
                            Moshe Livne
                            Hero Member
                            wrote on last edited by
                            #43

                            @tbowmo no, its 67k so should be fine

                            1 Reply Last reply
                            0
                            • tbowmoT Offline
                              tbowmoT Offline
                              tbowmo
                              Admin
                              wrote on last edited by
                              #44

                              @Moshe-Livne

                              What if you short circuit the input to GND, what voltage is there on the arduino pin then?

                              Moshe LivneM 1 Reply Last reply
                              0
                              • tbowmoT tbowmo

                                @Moshe-Livne

                                What if you short circuit the input to GND, what voltage is there on the arduino pin then?

                                Moshe LivneM Offline
                                Moshe LivneM Offline
                                Moshe Livne
                                Hero Member
                                wrote on last edited by
                                #45

                                @tbowmo When I connect the outside leg of the resistor to gnd i get 0 (both when the power supply is on or off) on the arduino pin

                                1 Reply Last reply
                                0
                                • tbowmoT Offline
                                  tbowmoT Offline
                                  tbowmo
                                  Admin
                                  wrote on last edited by
                                  #46

                                  @Moshe-Livne

                                  I think you are good to go, and try this on the actual doorbell :)

                                  This assumes that when you press the button to activate the doorbell, it shorts the input pin to GND.. otherwise it's ~ 6V

                                  Moshe LivneM 1 Reply Last reply
                                  0
                                  • tbowmoT tbowmo

                                    @Moshe-Livne

                                    I think you are good to go, and try this on the actual doorbell :)

                                    This assumes that when you press the button to activate the doorbell, it shorts the input pin to GND.. otherwise it's ~ 6V

                                    Moshe LivneM Offline
                                    Moshe LivneM Offline
                                    Moshe Livne
                                    Hero Member
                                    wrote on last edited by
                                    #47

                                    @tbowmo I'll give it another try - it didn't work before. anyway getting near midnight here so I better get some sleep. will try it again tomorrow. Thank you for your infinite patience...
                                    Just a question, why not use a transistor to "sense" the closing of the circuit? is the voltage too high?

                                    1 Reply Last reply
                                    0
                                    • tbowmoT Offline
                                      tbowmoT Offline
                                      tbowmo
                                      Admin
                                      wrote on last edited by
                                      #48

                                      you still need a couple of resistors and a transistor.. Here we have 2 diodes, and a resistor..

                                      But it could also be done with a transistor yes..

                                      / Thomas

                                      Moshe LivneM 1 Reply Last reply
                                      0
                                      • tbowmoT tbowmo

                                        you still need a couple of resistors and a transistor.. Here we have 2 diodes, and a resistor..

                                        But it could also be done with a transistor yes..

                                        / Thomas

                                        Moshe LivneM Offline
                                        Moshe LivneM Offline
                                        Moshe Livne
                                        Hero Member
                                        wrote on last edited by
                                        #49

                                        @tbowmo nope, still no go. strangely, when i disconnect the arduino from the computer (so it is not powered), it creates a short after a few seconds and the bell starts ringing continuously.

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        16

                                        Online

                                        11.7k

                                        Users

                                        11.2k

                                        Topics

                                        113.1k

                                        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