Home Creators Posts Import Register Favorites Logout

Content

 This post contains links to the patrons-only resources to accompany the "Valves" puzzle video at https://www.patreon.com/posts/16561292

Arduino Code

https://drive.google.com/open?id=1TsHxJbbSYqKCV5Bgtd_xBgGIUQcuk7Z4

Fritzing Project

https://drive.google.com/open?id=1peTUXhtadOhn1yjQguFB3MCAc9CabRAs

Wiring Diagram

https://drive.google.com/open?id=1TsifW_6ILrM8evDS0ckoPGCTnVPuuoTE

Additional Documentation

https://drive.google.com/open?id=1KmbMHMObG32exIiL_J7r6DLDNPikyaCo

Comments

Bizzaro.

What brand of voltage step down were you using in the video?

Nicholas Sharma

hi, im trying to do this, but with a multiturn potentiometer (<a href="https://www.amazon.com/WGCD-3590S-2-502L-Adjustable-Multi-turn-Potentiometer/dp/B01MQSJXHO/ref=sr_1_6?ie=UTF8&qid=1522858622&sr=8-6&keywords=multiturn+potentiometer)." rel="nofollow noopener" target="_blank">https://www.amazon.com/WGCD-3590S-2-502L-Adjustable-Multi-turn-Potentiometer/dp/B01MQSJXHO/ref=sr_1_6?ie=UTF8&qid=1522858622&sr=8-6&keywords=multiturn+potentiometer).</a> i have everything hooked up, but only bottom LED is lighting, and no reaction to the turning of multiturn potentiometer. Can you help me out please?

Jeff Danevich

Alastair, what code would you add in to reset this after it was solved? Using a Solenoid and it gets hot when left on, Thanks Jeff

Jeff Danevich

Just wondering if anyone would know how to add a reset code after a few seconds to this code? Using a solenoid and it will stay hot unless the power is shutoff.

Michel Bouchard

Hi, is it possible to do the same props with neopixel rings? (four terminals on it)

Christopher Bell

Hi Alistair, thank you for this project. I'm having trouble getting the LED's to light up. I noticed that the wiring diagram shows digital pins 8, 9, & 10 as the data line connections for the LED's, but the arduino code has them set to digitial pins 3, 4, & 5. So I moved my data lines down to 3, 4, & 5 and still didn't get any light. So I bypassed the resistor with a jumper and I can get the strip to light up... the problem is that the colors are random and change when I wiggle the jumper. Also I have no control over the LED's when i use the potentiometers. Do you know what I might be doing wrong that could cause this? Any help would be awesome.

Christopher Bell

When i put the 330k resistor in line, the LED's do not light up (unless they were already powered on) and I have no control with the pots. Remove the resistor, and I have all lights and control with pots. I used a soldering board. I am powering my LED's separately with a 5v 3amp supply and using the same amount of LED's as in your instructions (9 led's per strip). Is it possible these LED's have the resistors built in?

Aaron Friedmann

Hi Alistair. I'm an absolute Arduino noob but finding your channel on youtube has motivated me to dive in to upgrade some of our puzzles in our escape rooms. I've got two individually addressable LED strips (as a test) wired as you've instructed. I've tested each of the strips using the ColorPallete example included in the FastLEDs library. When I tweak (for 2 strips of 10 LED's not 3 strips of 9) your code, I can't get the LEDs to light up at all. I've confirmed both strips are getting 5V. I'm getting this compiler error if it helps.

Aaron Friedmann

"In file included from C:\Users\E7240\Documents\Arduino\Valve Puzzle\Valve_Code\Valve_Code.ino:18:0: C:\Users\E7240\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010

Aaron Friedmann

Sorry, one more comment: When I go into Serial Monitor I can twist the pots and physically watch their values change...so I'm very close! Just no LED's.

Aaron Friedmann

Hi Alistair. Well, again, this may be me being an absolute noob. Do I need to go in and edit FastLED.h to specify which datapins are being used to signal the LED strips? I just cut and paste your code in, and followed the wiring diagram. So I wasn't sure I needed to edit anything else. Thank you for your help!

Aaron Friedmann

Okay, I hope you're asleep and not reading this in the middle of the night in the UK! =) I didn't edit the FastLED.h file, but instead moved the connections on the Arduino until the LED's finally lit. On my board they are pins marked "-3, 4 -5". Sorry for the hassle!

David Wiles

Hi Alastair! I am working through this project with potentiometers, but don't need the LED's. Just going to have it trigger a relay. I am also using 4 pots, so I added a fourth pin, set the number of pots to 4, and added a solve value. The remainder of the code I did not change. I have only wired one of my pots to the arduino at this point, and pulled up the serial monitor to see if I would get any values. However, nothing is showing up. Do I need to drop some of the code related to the LED's? I just assumed the code could stay but it wouldn't actually light anything up. Thanks for putting this project together!

Ryan Toth

How easily could I substitute a Pulse Encoder for the pots?

Gary Adams

Hi! Your videos have been great to watch. I'm new to using LED strips. This is probably a simple question, but how would I make each LED strip be a different color. I really like the noise and variance that you have added to control the strips and the leading LED being white, but I would like to try and make every potentiometer control a different color LED strip. I have gotten your original code to work perfectly, but once I start trying to control each LED strip's color independently from the others it messes up the whole code.

Manuel Garcia

Hi alastair, is possible make the valves puzzle removing the Led only with potenciometer?

Manuel Garcia

yes, i think paint the dials and replace the LEDs for paint, in the code is easy change this? Thank for you job