Use 1000s of switches in ONE pin
Vložit
- čas přidán 25. 08. 2024
- This video shows how you can use multiple switches on a single pin
EDISON SCIENCE CORNER
This channel is all about electronics and tech videos.
You can find tutorials and projects of
IoT
Arduino
electronics
DIY stuff
blynk app
Robotics
Mechatronics
science
You can buy components from
www.esclabs.in
Join our community and explore
Whatsapp group
chat.whatsapp....
Instagram
/ edison_science_corner
Facebook
/ escpage
Telegram
t.me/edisonsci...
Nice and easy explanation
Thanks 🙏
Nice and easy explanation, will use in future projects
😊
Good idea
🙂
Thanks for sharing
can you help me to make circuit schematics and code
I want to read voltage with an isolated ground
Mine setup is 4x 12v battery with 4x solar controllers with 1x Esp32 and 2x ADS1115
Possible
Please help me with this @@EDISON_SCIENCE_CORNER
The problem with this method is when u press 2 switch in same time the analog value will completely change.. so it's a bad idea to use this type of method in a controller..
You can't normally use that. But in critical cases we can adapt this type of hacks without any problem . By the way if want want use two buttons at a time that is also possible by just reading the analog values at the time of two button push.
@@EDISON_SCIENCE_CORNER exactly, you can setup if statements for all the permutations
Yes a user can alter accordingly
@@EDISON_SCIENCE_CORNER
In this way you not only make the code complicated but also cause a noticeable delay , false reading etc.. this technique not good for a controller but for other such small applications it's a fantastic trick
Actually, if you use an R2R resistor ladder that should work fine… The each button would be a power of two resistance instead of a multiple of two and in that way, you can push two buttons at the same time and read the binary values in different statements. Although I am interested in the performance lag or the latency of reading the deck in real time.