Go Down

Topic: Hall sensor WCS1500 current module DC 200A! Non-invasive method! Works with  (Read 125 times) previous topic - next topic

xenofon

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

https://www.aliexpress.com/item/Free-shipping-Hall-sensor-WCS1500-current-sensor-detects-200A-short-circuit-overcurrent-protection-module/32812044922.html?spm=2114.01010208.3.24.L4sTc4&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10208_10065_10151_10068_10304_10136_10137_10060_10302_10155_10062_437_10154_10056_10055_10054_10059_303_100031_5300018_10099_10103_10102_10096_5320019_10052_10053_10142_10107_10050_10051_10084_10083_10119_10080_10082_10081_10177_10110_519_10111_10112_10113_10114_10182_10078_10079_10073_10123_10120_10189_142-10120,searchweb201603_16,ppcSwitch_5&btsid=0888f0ee-67a7-4285-8ca2-d30068770dbb&algo_expid=ff09ddfc-b820-4ea0-bfab-a6c21beb4633-3&algo_pvid=ff09ddfc-b820-4ea0-bfab-a6c21beb4633

xenofon

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

jremington


xenofon


jremington

It is so simple that no library is required.


jremington

This is all that is required to read DC current.

1. Connect the sensor output to A0, Vcc to 5V and GND to GND.
2. Code
Code: [Select]
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.

xenofon

This is all that is required to read DC current.

1. Connect the sensor output to A0, Vcc to 5V and GND to GND.
2. Code
Code: [Select]
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.

jremington

You can connect more than one wire to a pin, especially power and ground.

xenofon

Ok thank you. one more ask! If you see in the photo the WCS1500 module has 4pins, I'll only connect the three pins?

Go Up