發表文章

目前顯示的是 5月, 2021的文章

Current sensing WCS1700 with arduino 328P

圖片
 I have made one years ago with Allegro (ASC 750?) current sensor on a arduino  5V 328 with zigbee for wireless. it was a RC project for testing duck fan current in a safe distance. it was 2011.. This time I wish to make one for my electrical motorbike(Soco TC). the battery pack is 72V 30Ah, the motor is about 3Kw. But seeing the wiring and performance I don't think it would delivey 3Kw... This time, I use Winson WCS1700 current sensor It's a very similar sensor, you don't need to cut you wire but you have to find a way to pass the hole. if you look at the sheet, you may believe it will measure current like: A=1/2Vdd+(Vout-1/2Vdd)*1000/33 But above table lack of data of operating the sensor on other voltage. Winson provide 2 set of testing data, one for 5V operation and on e for 3.3V operation. This make thing more clear: 1. the zero current voltage is not exactly 1/2 Vdd, it's 2.4677 for 5V Vdd(a little bit less than 1/2 Vdd), and 1.7323 for 3.3Vdd(a little more than 1