Have a little fun...

Tha fios agaibh

Aug 11, 2014
2,253
Joined
Aug 11, 2014
Messages
2,253
Ok, I imagine it's possible to make the lenses addressable to have the switches follow, but how could it follow the rubber cap colors on the switches? Magnets?

My mind will be blown until I see a schematic or get an explanation.
 

Martaine2005

May 12, 2015
5,276
Joined
May 12, 2015
Messages
5,276
It’s all done with a microcontroller hidden in the battery holder.
The code is written to remember sequences. The ‘magic’ is the user has to remember those sequences and a time delay for a reset.

Martin
 

Tha fios agaibh

Aug 11, 2014
2,253
Joined
Aug 11, 2014
Messages
2,253
But it says observers can pick any order they wish. Therefore sequence isn't predetermined.
The order of colors has to be input to the controller somehow.
 

Martaine2005

May 12, 2015
5,276
Joined
May 12, 2015
Messages
5,276
That’s correct John, from what I was reading this morning, it depends what switch and direction (left to right or right to left) determines the controller output sequence. I couldn’t find anything specific online about this particular box but did find quite a few pages on the ‘Wellington’ light box.
And obviously, when the batteries are removed, it’s still powered by a hidden button cell.

Martin
 

Martaine2005

May 12, 2015
5,276
Joined
May 12, 2015
Messages
5,276
That’s correct John, from what I was reading this morning, it depends what switch and direction (left to right or right to left) determines the controller output sequence. I couldn’t find anything specific online about this particular box but did find quite a few pages on the ‘Wellington’ light box.
And obviously, when the batteries are removed, it’s still powered by a hidden button cell.

Martin

Here is a paragraph from (martinsmagic dot com)

This is truly one of the few electronic items I will work with these days and works perfectly every time. It does take a little more memory work than the Wellington one, but not by much and after a few rounds you’ll quickly get used to it.

Martin
 

Tha fios agaibh

Aug 11, 2014
2,253
Joined
Aug 11, 2014
Messages
2,253
I don't get it.
Even if you had an excellent memory, how would you input one of....what?, 40 Possibilities into the machine?
 

Martaine2005

May 12, 2015
5,276
Joined
May 12, 2015
Messages
5,276
I have to admit that I am still confused on the memory logic. 24 combinations?.
The deeper I delve the more complex it becomes. I am sure it’s easy when we know HOW!! But it definitely has to do with the switches. Left, right, first on and last off and timing of switches etc tell the controller what to output. Also the button cell can be replaced with a super cap. 1 Farad in the link on Picaxe forum.
I shall keep reading......

Martin
 

Tha fios agaibh

Aug 11, 2014
2,253
Joined
Aug 11, 2014
Messages
2,253
I'm not familiar with the programming language but it tooks like it learns a patern depending on the first light that comes on.
Then it learns by either dec or inc (decrease or increment?) the variable by one which determines what light comes on?

If that's true, the observer can't choose the order but the operator will know what pattern will come on next by watching the sequence that the lights come on. In other words, place the lens color in position for the next turn.
 

donkey

Feb 26, 2011
1,301
Joined
Feb 26, 2011
Messages
1,301
long time no see guys,
anyway I am making this project as we speak and the deal is as follows

if time past since any switch turns on exceeds lets say 5 seconds then reset switch places

after that 5 seconds you HAVE to turn switches on in pattern. the pattern is whatever the LED's are left to right

so hypothetically switch 1 corresponds with light A 2 to b 3 to c 4 to D

if the lights are rearranged then you turn on the switches in the right order

so for example if you put in the light sequence dbac then the switches have to be turned on in order 4213. the code then associates the switch with the LED until the timer passes the 5 second mark.

another variant is also to have it detect when the LED comes out of the holder.

there is code available for this and some wiring diagrams
 
Top