Hey again, everyone!

I've actually been stalking the thread, but haven't been saying much because, truthfully, I had to keep looking up all the lingo and most of it is gibberish to me, haha.

The MineCraft idea would make life so much easier for me and also sounds like just a neat project in general, but our professor is pretty set on building a physical model.

In which case, I think the Arduino thing seems like the best way to go about it? Right..? I'm not too terrible with coding and logic. I at least understand the principles of the whole matrix correspondence between the lamps and push buttons, and could just familiarize with the language and write something that works, hopefully.

I remember like several years, back in high school, we worked with BoeBots for a little bit, and the Arduino looks pretty similar to that, so it seems like the less intimidating approach.
 
Thanks for getting back to us.
It all depends on what you like doing. I presume the Arduino is a bit like a Rasperry pi? Buy some bits and a bit of programming and job done..... I fancy getting into the Rasperry pi... (No funny comments now lads)
Shame about your professor not being open into new things and letting you do it on Minecraft. You should be able to use the same principles if you actually want to make it though.
 
Arduion is basically a PIC, i do own one and have done some programming (VERY DAM LITTLE) on them, it is a Theremin at the moment.

Raspberry Pi, i have one of the first ones (AND IVE GOT THE T-SHIRT), ive not logged on to it for such a long time it has some LINUX OS on it.

well best of luck then with the Buttons/LEDs or Light bulbs
 
It all depends on what you like doing.

Yes indeed. I do like a bit of hardware...

One afternoon back in the 1990s when I got in from university, one of my housemates who studied psychology was looking over some experimental results about human learning capacity, that needed testing with a particular algorithm. Two of us in the house were EE's so we always had assorted computers lying around in various states of hack. It would have taken all of five minutes to fire up the nearest micro and write a program to process the data, but being complete nutters we decided to build a circuit from scratch to do it.

The circuit design wasn't very elegant because it was done in an evening and could only use parts we already had on the shelf. IIRC it had about 20 chips and at first two of them were dud, then there were a couple of intermittent contacts in the breadboard, which wasted time faultfinding but by about 5am Steve and I had got it working. You punched in the data on a keypad and the results appeared on some LEDs. And that was it, a square foot of circuit board that wouldn't do anything else, you couldn't even alter the algorithm without major rewiring, but it did the job it was made to do. Very satisfying to see it work, knowing it was cobbled together from equations literally written out on smoke packets.

Fast wind to about 2008. I found the algorithm on a sheet of paper in an old text book. The next time I built a piece of kit that had a programmable microcontroller in it, I added the algorithm as an easter egg. There was a back door, I think you had to hold down three keys at once and it would kick into analysis mode. Total time taken to program - about 5 mins. Program memory used - about 256 bytes. Satisfaction level - about zero.

QED
 
You could if you realy wanted just make it out of 4000 series logic, some veroboard, leds and push buttons, simple and as cheap as chips.
 
Has anyone yet noticed that the original description of the problem doesn't say outright whether the device has sequential (i.e. state-machine) logic. You press a button, the lights change, do they stay changed when you let go?

4000 CMOS Vs TTL 74

I see your logic family contest and raise you my bag of NORBIT!
 
Last edited by a moderator:
Has anyone yet noticed that the original description of the problem doesn't say outright whether the device has sequential (i.e. state-machine) logic. You press a button, the lights change, do they stay changed when you let go?



I see your logic family contest and raise you my bag of NORBIT!

Yes I did. Hence 'Connection matrix' using 1s and 0s v ''State change matrix' using 0s and Ts.
 
Last edited:
I don't think you are allowed to get your bits out in a PUBLIC Forum.. Bag included

So lets keep your bits as a XorBit
 
Last edited by a moderator:
I did the project in Minecraft last night, it took about 30 mins. I did take a couple of screen shots but it's not letting me upload them. I think it's down to the works computer. I'll upload them when I get home.
 
These are the screen shots from Minecraft.
2015-10-08_17.42.55.png 2015-10-08_17.43.25.png
The wooden block have the buttons on. The yellow blocks, redstone lamps, pistons and blue block are the T-flip-flop. The green blocks are the outputs from the T-flip-flop. You and see the redstone lamps on top of the output blocks.
It could be neater but for 30 mins it's functioning correctly and looks ok.
 
These are the screen shots from Minecraft.
View attachment 30284 View attachment 30283
The wooden block have the buttons on. The yellow blocks, redstone lamps, pistons and blue block are the T-flip-flop. The green blocks are the outputs from the T-flip-flop. You and see the redstone lamps on top of the output blocks.
It could be neater but for 30 mins it's functioning correctly and looks ok.

Until now I have never seen such intelligent items of cutlery. You are wasted in the canteen.
 
We need to understand the logic better, as all seems vague so far......can i suggest a logic table to help us all out. X being on O being off. A = switch, A1 = led

A1 B1 C1 D1 E1
A x x 0 0 0
B
C
D
E

from this example A is pressed and A1 & B1 lite, if you fill out the rest we can see the truth table logic
 
Last edited by a moderator:
Hello, everyone!

I actually just needed some help on how to go about creating a circuit consisting of five light bulbs and five buttons.

The way it should operate is, when one of the buttons are pushed, the lightbulb directly across from it as well as the two adjacent lightbulbs should react in some way, and all other lightbulbs should remain unchanged.

So, for example, we'll have buttons A, B, C, D, & E correspond to light bulbs of the same letters.

Suppose lightbulbs A, B, & E are lit up.

Then, pressing button C, lightbulbs C & D turn on, B goes out, and A & E are unchanged (still lit).

Quite honestly, I don't really know anything about this kind of electrical wiring. We were simply tasked to create something like this for a math course, and I have no idea how to even begin.

The prompt is also very keen on using buttons instead of switches, which I presume would have been easier to work with.

Thank you very much, and I apologize if the solution is really obvious. I've just been searching the internet for the past couple of hours and haven't really come up with anything.
sounds like you are taking the AM2, you have diodes in circuit, follow the arrows.
 

OFFICIAL SPONSORS

Back
Top