You are reading a single comment by @MatB and its replies. Click here to read the full conversation.
  • Hi,

    I'm trying to interface my espruino with a ACS712 current detection board.

    I have the board sat between a source and a load, and have connected the out pin to C5 on my espruino. When using

    console.log(analogRead(c5));
    

    I get lots of values like this:

    0.49707789730
    pin
    C5
    0.49732204165
    pin
    C5
    0.49707789730
    pin
    C5
    0.49634546425
    pin
    C5
    0.49561303120
    

    But the values remain largely the same irrespective of whether the load is attached or not. I have read a couple of tutorials about using this board for arduino (here and here) but they seem to indicate that I just need to find some coefficient to multiply the values I'm reading by.

    Am I doing the right thing? Do I just have to find the "magic coefficient"?

About

Avatar for MatB @MatB started