MemAxe game made using tiny processor

Technology
MemAxe game made using tiny processor
YouTube player

MAKE subscriber Brian writes in to point out MemAxe, a Simon-like game made with an 8-pin PicAxe microcontroller. It’s pretty simple, but i like how all the buttons are connected up using only one input pin. So how is this possible? Well, instead of reading the input pins using the digital input, they are instead connected up similar to a voltage divider, with resistor on each switch being twice that of the switch before it. Then, by measuring the voltage of the input pin and figuring out which combination of resistors corresponds to the value read, you can figure out which switches were pressed. Here is what the schematic looks like:

picaxe_simon_circuit.jpg

These are cool tricks, but before you go crazy optimizing your project, keep in mind that it might be cheaper/easier to just buy a processor with enough inputs, since they usually aren’t much more expensive.

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Ready to dive into the realm of hands-on innovation? This collection serves as your passport to an exhilarating journey of cutting-edge tinkering and technological marvels, encompassing 15 indispensable books tailored for budding creators.

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK