A turbidity sensor runs on 5 V and outputs up to about 4.5 V, but an ESP32-C3’s pins only take 3.3 V. Here is why it needs a voltage divider, how to wire it, and the checks to do before you plug in USB.

Free weekly email with the week’s posts, videos and one tip: https://chartmann1590.github.io/homelab-the-right-way/newsletter/

Disclosure: this is a Homelab the Right Way article by Charles Hartmann, written with AI help and edited by him; the setup described is his own.

  • CameronDev@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    Even if it isn’t written by AI, it’s certainly written by someone with very little experience on the subject.

    Which is worse, because its polluting up the search results. Infuriating.