Updated: Solved! I discovered that D13 on the Nano has the built-in LED that has a resistor through the LED to ground. I think this might be messing up the code. I updated code to use pin A0 instead of pin D13 and it works properly! I was led to the solution via the patreon site where another user had discovered D13 has the internal resistor that was messing up logic. Took his advice and modify the code. Thanks patreon users! Orig Text: I downloaded the code built up a wire connection box exactly per your specs, but used an Arduino Nano. When I play the game just as you did in the video everything works fine. Then, I removed all the wires and connected the first wire to pin 13 and then go down the line one by one. I noticed that when I connect 13 to pin 9, LEDs 4 and 3 light up... and serial monitor says the pins 9 and 10 are connected. Then as I continued to connect 13 to pin 8 LEDs 11 and 8 light up and the serial monitor says that pins 11 and 8 are connected. Have you experienced this anomaly? Do you think I have a bad Nano? Or something unique about the Nanos architecture that doesn't let me use your code? Here's a quick video showing the anomaly that I've discovered... kzbin.info/www/bejne/lWGTmKOendSZarM
@DanielHofer2 жыл бұрын
Thank you very much for the description - helped my a lot with my escape room box!
@louisestaciechester45443 жыл бұрын
This code works perfect....I adjusted it for my puzzle that I just made.....I made one led come on when the connection is made instead of two❤ I have 6 connections, 12 sockets using the arduino mega. I'm apart of your patreon family so I was able to get the code and copy it into my arduino easy peezy😁
@lol12390123 жыл бұрын
i'm a part of the family too, but it seems that the project does't exist anymore 🤣I really need this code. Can you maybe help me out? 🙏
@victorflores7908 Жыл бұрын
tank you for this awesome idea i jus want to confirm that works sweet and fine. so you´ve got a new fan. greetings from mexico.
@rica.rodrigue79910 ай бұрын
Can you share the link to the code that was created for AR interaction?
@lwo77362 жыл бұрын
Is there a way of doing this so that the correct wire needs to be put in, for example, you have to use a yellow cable to connect the yellow sockets together?
@pandre4294 жыл бұрын
Can this code still work if you didnt use the LEDs?
@AvocadoAtrocity5 жыл бұрын
Hey, I have the following. Is this right for 6 cables and a possible 20 sockets? Only 12 of the 20 sockets will be used as connections: const byte numSockets = 20; const byte ledPins[numSockets] = { 13, 12, 11, 10, 9, 8, 7, 6, 5 ,4 ,3 ,2 }; const byte signalPins[numSockets] = { 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14 }; const byte numConnections = 6; const byte connections[numConnections][2] = { {1,15}, {2,6}, {3,8}, {4,14}, {6,18}, {11,12} }; bool lastState[numConnections] = { false, false, false, false, false, false };
@СергейАнфёров-т2у4 жыл бұрын
Verry nice! Thanks! I like your channel a lot! I suppose it's possible to make quite same thing without arduino at all?
@music4note4 жыл бұрын
Where can I get those sockets and cables? Cant find sockets and nice cables
@PlayfulTechnology4 жыл бұрын
The cables are regular 6.4mm audio cables - used for connecting, e.g. an electric guitar to an amplifier. The corresponding sockets are available on Amazon, eBay, AliExpress, BangGood etc.
@buzzklicbuzz2 жыл бұрын
What happens when they connect two outputs together by accident?
@Zelebobaable6 жыл бұрын
Good job! Thx for your work!
@gamemaster12256 жыл бұрын
What is the best way to reset the code assuming it is a latching solve and cant be unsolved physically?
@AvocadoAtrocity5 жыл бұрын
I guess some kind of power cycle.
@RyanPaulMcCarthy4 жыл бұрын
Looks vaguely familiar! Haha hope youre well.
@tylerwatson993711 ай бұрын
You're a real one
@alexandermihalas99246 жыл бұрын
I'm just saying if I want to use it I have to copy it all not to bad but a minor inconvenience awesome tutorial by the way
@alexandermihalas99246 жыл бұрын
No free code sad face but I get why
@PlayfulTechnology6 жыл бұрын
Alexander Mihalas Did you watch the video? I literally show every line of it!
@Darkslide6326 жыл бұрын
That is true, but when double checking our code - assuming we made a mistake somewhere - it's difficult to skip back and forth through the video. It would be a lot easier to use to scroll, or use a find command.