Make HEAVY DUTY analog inputs for Arduino / ESP32 / RaspPi projects using.... plumbing valves?!

  Рет қаралды 12,819

Playful Technology

Playful Technology

Жыл бұрын

Hey, you! Are you....
- Disappointed by puny linear potentiometers or rotary knobs in your electronic projects?
- Looking for a big, sturdy input method, made of heavy-duty steel and cast iron?
- In need of a unique, customisable input for your Arduino / Raspberry Pi / ESP32 project?
In this video tutorial, I'll explain how to turn any regular plumbing valve into an analog input that can be read on a microcontroller, using just an LED and a Light Dependent Resistor (LDR).

Пікірлер: 33
@TheUnofficialMaker
@TheUnofficialMaker 8 ай бұрын
cool idea, I've seen a rotary encoder used inside a rotary valve but using light in a ball valve is genius.
@tverspeelt
@tverspeelt Жыл бұрын
If you don't have access to both sides of the valve (too many bends or whatever), you could also glue a magnet in the ball of the valve, and use a hall sensor instead of the LDR.
@TheUnofficialMaker
@TheUnofficialMaker 8 ай бұрын
??
@ChemicalArts
@ChemicalArts Жыл бұрын
I get so many good ideas from your videos. I'm making escape room type puzzles for my chemistry classes and this one could be potentially useful.
@PlayfulTechnology
@PlayfulTechnology Жыл бұрын
Awh, thanks for the comment, and I'm so glad that I'm able to share some ideas with you!
@mikeglide1292
@mikeglide1292 Жыл бұрын
Seriously, your one of the most clever persons I've ever come across. Do you have any idea how useful this is? You probably do, but this is so cool. Thank you so much for this!
@MGMT1000Videos
@MGMT1000Videos Жыл бұрын
Brilliant! I love this idea. My application is a management science class for MBA students and I've been doing "breakout box" type things - solve the linear program, use the objective function to open a combination lock - those sorts of things. This would have a "wow factor" that a toolbox with a hasp and six combo locks doesn't. Love the videos - thanks for sharing.
@suryaananth2744
@suryaananth2744 Жыл бұрын
You have effectively created an optocoupler but with fancy switching valves!
@SteliosPavlou
@SteliosPavlou Жыл бұрын
Great video. Another option would be to use plastic pipe to reduce the risk of a short circuit, but they'd need to be better supported with pipe clips.
@martinrydahlpedersen8884
@martinrydahlpedersen8884 Жыл бұрын
What a great idea 😊 Thanx for sharing all your phenomenal ideas and solutions 🙏🏻
@JeremyCook
@JeremyCook Жыл бұрын
I was not expecting you to use a light there. What a neat solution! BTW, if you haven't, would suggest you check out the Arduino IDE 2.0 - nice improvement.
@PlayfulTechnology
@PlayfulTechnology Жыл бұрын
Thanks! I do have the Arduino IDE v2.0 installed as well, and I could have used it for this particular project but I'm still in the habit of using v1.x since 2.0 doesn't yet support any plugins that I often rely on (exception decoder, SPIFFS uploaded etc.)
@JeremyCook
@JeremyCook Жыл бұрын
@@PlayfulTechnology Ah, makes sense. I hear VSCode/Platformio is even better, though I don't use it at this point.
@cezarywieczorkowski5642
@cezarywieczorkowski5642 Жыл бұрын
@@JeremyCook Vs code with platformio is waaay better than arduino ide
@JeremyCook
@JeremyCook Жыл бұрын
@@cezarywieczorkowski5642 So I hear. I tried it some time ago, not entirely sure why I didn't continue with it... Actually, sounds silly, but maybe it was that it didn't have the same set of examples to refer back to? Perhaps that seems silly, but I use them all the time.
@PlayfulTechnology
@PlayfulTechnology Жыл бұрын
@@cezarywieczorkowski5642 I use Visual Studio extensively, but I just never got on with VS Code - I think it's because I expect it to behave the same way as VS - they probably should have just marketed it as a completely different product.
@tomran247
@tomran247 Жыл бұрын
Brilliant idea!
@dlepierres
@dlepierres Жыл бұрын
great idea
@olivernovelles8609
@olivernovelles8609 Жыл бұрын
That's amazing , dude!!
@merrymonkey5172
@merrymonkey5172 Жыл бұрын
cool idea!
@GearClinkz
@GearClinkz Жыл бұрын
Absolutely amazing
@wqwwqwqqpoppopoo
@wqwwqwqqpoppopoo 2 ай бұрын
One issue i did run into with this, is that for whatever reason my LEDs started to dim over time, which changed the range of readings I got from the photo resistors.
@metinoheat
@metinoheat Жыл бұрын
Great video. Question - Why can't you just measure the voltage drop from the LDR directly? Why do you even need the second resistor?
@PlayfulTechnology
@PlayfulTechnology Жыл бұрын
The LDR changes its _resistance_ according to the amount of light falling on it. But the Arduino analog pins can't measure resistance directly - they can only measure voltage. So, we create a voltage divider circuit so we can measure change in voltage based on the change in resistance.
@metinoheat
@metinoheat Жыл бұрын
@@PlayfulTechnology got it! Thank you!
@kartikeyajp8294
@kartikeyajp8294 Жыл бұрын
Absolute Mad-lad❤
@shaneburke7728
@shaneburke7728 Жыл бұрын
I love your work do you offer and escape room build service? Many Thanks
@smay4finger
@smay4finger Жыл бұрын
Brilliant!
@JeffreyYan1986
@JeffreyYan1986 Жыл бұрын
goodjob
@puvvadisairam9392
@puvvadisairam9392 Жыл бұрын
What is use of it
@PlayfulTechnology
@PlayfulTechnology Жыл бұрын
What are the use of user inputs in a system?
@davechatting
@davechatting Жыл бұрын
Very canny!
Inductive Sensors for Escape Room puzzles
16:04
Playful Technology
Рет қаралды 3,7 М.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 119 МЛН
Ну Лилит))) прода в онк: завидные котики
00:51
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 122 МЛН
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 21 МЛН
GPIO Inputs and Outputs - an intermediate guide for Arduino and ESP projects
44:00
Make your own Retro Nixie Clock with an RTC!
10:54
GreatScott!
Рет қаралды 1 МЛН
"Puzzling Paintings" Escape Room Puzzle Tutorial
15:35
Playful Technology
Рет қаралды 1,6 М.
Using the ESP32 DAC - Voltages, Waveforms & Sounds
34:46
DroneBot Workshop
Рет қаралды 75 М.
Creating Dynamic Character Interactions for Escape Rooms
15:59
Playful Technology
Рет қаралды 4,5 М.
Escape Room Puzzle Tutorial - "Symbol Wheels"
37:49
Playful Technology
Рет қаралды 23 М.
How to Create an "Analog" Arduino Escape Room Puzzle
53:21
Playful Technology
Рет қаралды 8 М.
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,4 МЛН
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 654 М.