Hi can i use this sensor with Arduino? I wan to use for overcurrent protection i need to stop the motor if the current it is over 65A. And some links. for sensor and module
http://www.winson.com.tw/Data%20Sheet/WCS1500.pdf
and module
Hi can i use this sensor with Arduino? I wan to use for overcurrent protection i need to stop the motor if the current it is over 65A. And some links. for sensor and module
http://www.winson.com.tw/Data%20Sheet/WCS1500.pdf
and module
Features WCS1700 From a smaller model Of the same company
a size: height 16.5mm long 37mmX wide 31mmX
Second, the main chip: LM393 op amp, WCS1700
three, working voltage: DC DC 5V
four characteristics:
1, with the signal output instructions;
2, the current wide detection range AC DC ± 70A: 50A;
3, the current detection resolution of 32mV / A;
4, output overcurrent signal indication;
5, overcurrent signal is set critical point adjustable settings Resolution 3A;
6, with mounting holes for easy firmware installation;
7, sampling current converting analog signal output, which can be accessed ADC, TTL level signal output, which can be accessed microcontroller IO port control.
8, the output signal is: the signal level of the analog signal.
Applications: Smart car motor overcurrent detection, stall protection current detection, short circuit protection testing, demonstration experiment teaching and other occasions, to facilitate the secondary development;
maximum detection current selectable: ± 2A / ± 5A / ± 7.5A / ± 20A / ± 30A / ± 35A / ± 60A / ± 75A / ± 100A / ± 150A / ± 200A, (Our most complete, you need to contact Want No
Yes, those sensors will work with Arduino.
jremington:
Yes, those sensors will work with Arduino.
There is a library for this sensor?
It is so simple that no library is required.
jremington:
It is so simple that no library is required.
simple not for me..
This is all that is required to read DC current.
float current = ((5.0/1024.)*AnalogRead(A0)-2.5)/scalefactor;
"scalefactor" comes from the data sheet = 0.011 for the WCS5100.
The above won't work for AC current. You will need to sample rapidly and calculate rms values over one AC cycle. Study this tutorial for guidance.
jremington:
This is all that is required to read DC current.
- Connect the sensor output to A0, Vcc to 5V and GND to GND.
- Code
float current = ((5.0/1024.)*AnalogRead(A0)-2.5)/scalefactor;
"scalefactor" comes from the data sheet = 0.011 for the WCS5100.
The above won't work for AC current. You will need to sample rapidly and calculate rms values over one AC cycle. Study this tutorial for guidance.
thank you. but i do not have Free ports i use already 5v and 3.3v A0 and all GND, can i put two wires to one pin? i have the uno. i want for DC not AC.
You can connect more than one wire to a pin, especially power and ground.
Ok thank you. one more ask! If you see in the photo the WCS1500 module has 4pins, I'll only connect the three pins?
do you have any code for WCS1500? I am using ESP32!
Thanks for the help