Single-Pin Rotary Encoder

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 5

  • @nophead
    @nophead 4 роки тому +1

    I did a similar thing: interfaced four buttons with one analogue input. I considered using R-2R but decided that is only good for ICs where it is easier to make ratios of resistors than absolute values. Instead I used just 5 resistors, 1K, 2K, 3.9K and 8.2K from each switch and a single pull-up of 1K.

  • @RinksRides
    @RinksRides 4 роки тому +5

    Clever and smart. Subscribed.

  • @dmb0202
    @dmb0202 Рік тому

    This is an incredible idea. Has it been set up for Esphome? (For one dimmer and its push switch.)
    It would be great for people with 3 core wire going to their light switch as we could then use a rotary encoder in place of the light switch wired to an Esp32 running Esphome in the attic connected to a dimmer module to control the room light without any rewiring. (I'm new to all of this and don't have the programming ability.)

  • @EdFrench_uk
    @EdFrench_uk Рік тому

    Why not just multiplex them for fewer pins still and fewer discretes too?