By splitting one line, so for the intercom the black cable to the module, then a cable from the module to the connector where the black cable was connected.
Same for the lamp.
By splitting one line, so for the intercom the black cable to the module, then a cable from the module to the connector where the black cable was connected.
Same for the lamp.
Can't seem to get a good readout from the module yet.
Tried the following code
/*
Measuring Current Using ACS712
*/
const int analogIn = A0;
int mVperAmp = 185; // use 100 for 20A Module and 66 for 30A Module
int RawValue= 0;
int ACSoffset = 2500;
double Voltage = 0;
double Amps = 0;
void setup(){
Serial.begin(9600);
}
void loop(){
RawValue = analogRead(analogIn);
Voltage = (RawValue / 1023.0) * 5000; // Gets you mV
Amps = ((Voltage - ACSoffset) / mVperAmp);
Serial.print("Raw Value = " ); // shows pre-scaled value
Serial.print(RawValue);
Serial.print("\t mV = "); // shows the voltage measured
Serial.print(Voltage,3); // the '3' after voltage allows you to display 3 digits after decimal point
Serial.print("\t Amps = "); // shows the voltage measured
Serial.println(Amps,3); // the '3' after voltage allows you to display 3 digits after decimal point
delay(2500);
}```
It gives me the following readout, tried the multi meter on signal and also a lamp on ac. It shows these values even if nothing is connected. Connected the module to pin 0 on the arduino and provided it with 5v from the arduino.
Raw Value = 876 mV = 4281.525 Amps = 9.630
Raw Value = 877 mV = 4286.413 Amps = 9.656
Raw Value = 878 mV = 4291.300 Amps = 9.683
Raw Value = 877 mV = 4286.413 Amps = 9.656
Raw Value = 877 mV = 4286.413 Amps = 9.656
Raw Value = 875 mV = 4276.637 Amps = 9.603
What would be the formula to just show Voltage?, when the door is ringed the voltage changes from 20v to 23~24v, when the button is pressed to open the door it drops to 17v.
The ACS712 should arive today, however I couldn't find the sketch to send over the voltage measurements, maybe I'm overlooking but which sketch can I use?
Could I also use a ACS712 30A Module to see if there is a change in voltage with a script in domoticz?
Hi Sparkman,
Used the multimeter and it gives a reading of 20v dc. when the button for the door is pushed two metal parts touch each other and will send a signal to open the door.
Soldered 2 wires to those connections and it seems to work with the relay, the only thing I need to figure out now is how to get a signal when someone rings.
Yes, this is the inside box in my appartment, I think the green wire is for opening the door. When I get home I will try to solder a wire to the button and use a relay. That sould work I think, then I need to create a blocky in domoticz that when I push the virtual button inside domoticz it turns the relay off again.
There is indeed no separate power line, I have a multimeter, could you help me which setting I need to "detect" a signal on one of the cables when I push the button?
Hello,
I don't know if this is the right place to ask for help for my project.
I live in an apartment building, so I have an intercom to open the door downstairs if someone rings my doorbell. I want to use mysensors to get a notification via domoticz on my phone trough pushover, and be able to open the door via domoticz.
I just started with mysensors, and I'm also new to the electrical stuff so hopefully I will learn how to this kind of stuff.
My intercom is a SSS Siedle, it has 2 wires going in a black one and a green one. one is probably for opening the door and the other for the voice.
I would really appreciate some help how to wire this up to an arduino, but still be able to use the horn and button on the intercom itself.