converting 12v to 5v
-
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?
-
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?
@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...
-
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?
@tbowmo no, its 67k so should be fine
-
What if you short circuit the input to GND, what voltage is there on the arduino pin then?
@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
-
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
@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? -
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
@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.