You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I'm not 100% sure I understand - usually you would do:

                ____                        ____
    -----------|____|--------------|-------|____|--------- 3.3v
     GND       Sensor              |       20 Ohm
                            Espruino Analog
    

    Is that what you had planned? The only things I would suggest are:

    • Use twisted pair cables to the sensors, to reduce noise
    • Put a resistor and large capacitor (10uF?) between GND and the analog input, near the Espruino board. The fuel sensor value won't move quickly, and the capacitor will help to stop noise being transferred to Espruino.

              ____                        ____
      -----------|____|--------------|-------|____|--------- 3.3v
      GND       Sensor             _|_      20 Ohm
                                | |
                                | | 
                                |_| 1k Ohm
               10uF              |
               | |               |
      -------------| |---------------|
      GND         | |               |
                          Espruino Analog
      
About

Avatar for Gordon @Gordon started