A Few of Our Favorite Chips: 4051 Analog Mux

Raindrops on roses, and whiskers on kittens? They’re alright, I suppose. But when it comes down to it, I’d probably rather have a bunch of 4051, 4052, and 4053 analog multiplexers on the component shelf. Why? Because the ability to switch analog signals around, routing them at will, under control of a microcontroller is tremendously powerful.

Whether you want to read a capacitive-sensing keyboard or just switch among audio signals, nothing beats a mux! Read on and see if you agree.

Continue reading “A Few of Our Favorite Chips: 4051 Analog Mux”

Neopixels Light the Way in Pressure-Sensitive Floor

It’s got a little “Saturday Night Fever” vibe to it, but this pressure-sensitive LED floor was made for gaming, not for dancing.

Either way, [creed_bratton_]’s build looks pretty good. The floor is a 5×6 grid of thick HDPE cutting boards raised up on a 2×4 lumber frame. Each cell has a Neopixel ring and a single force-sensitive resistor to detect pressure on the pad. Two 16-channel multiplexers were needed to consolidate the inputs for the Arduino that’s running the show, and a whole bunch of wall warts power everything. The video below shows a little of the build and a look under the tiles. It’s not clear exactly what game this floor is for, but you can easily imagine a maze or some other puzzle that needs to be solved with footsteps.

Light-up floors are nothing new here, what with this swimming pool dance floor. But this interactive dance floor comes close to the gaming aspect of [creed_bratton_]’s build.

Continue reading “Neopixels Light the Way in Pressure-Sensitive Floor”

Pneumatic Multiplexer

This is a pretty cool project [Sebastian Morales] is working on – a 3D printed Pneumatic Multiplexer. Large interactive installations, kinetic art and many other applications require large numbers of actuators to be controlled. For these type of projects to work, a large number of actuators equals higher resolution and that allows the viewer to be captivated by the piece.

The larger the system becomes, the more complex it becomes to control all of those actuators. [Sebestian] wanted to move a large number of components with a relatively low number of inputs. He thought of creating a mechanical equivalent of the familiar electronic X-Y matrix that can control large quantities of outputs using only a few inputs – in a more descriptive form, Outputs=(Inputs/2)^2.

airlogic_01He looked at chemical reactions that change liquids in to gases, but that seemed pretty complicated. Refrigerants used in air conditioning looked promising, but their handling and safety aspects looked challenging.

Eventually, he decided to look at using “air logic“. Air logic uses pneumatic devices to create relays, limit switches, AND gates, NAND gates, OR gates, amplifiers, equivalent to electrical circuits. Electrical energy is replaced with compressed air. His plan was to build a multiplexer whose elements would open only if the combination of pressure between both lines was the right one. As in electronics, NAND logic is easy to implement. A moving element creates a seal and only allows air out if the bottom line was low and the top line was high.

He had access to a high resolution, resin based 3D printer which allowed him to create fully air-tight systems. He started with prototyping a small 4×4 matrix to test out his design, and had to work through 6 to 7 iterations before he could get it to work. The next step was to create a larger matrix of 100 elements controlled by 20 inputs (10×10 matrix). He created Omnifarious – a kinetic sculpture demonstrating the concept of shapeshifting objects. The Omnifarious is a hexecontahedron which would be able to transform its surface to render different geometries via 59 balloons on its surface. Below, you can check the videos of his progress building the various prototypes and another video showing the Omnifarious sculpture.

Continue reading “Pneumatic Multiplexer”

Arduino Tetris on a Multiplexed LED Matrix

[Alex] needed a project for his microcomputer circuits class. He wanted something that would challenge him on both the electronics side of things, as well as the programming side. He ended up designing an 8 by 16 grid of LED’s that was turned into a game of Tetris.

He arranged all 128 LED’s into the grid on a piece of perfboard. All of the anodes were bent over and connected together into rows of 8 LED’s. The cathodes were bent perpendicularly and forms columns of 16 LED’s. This way, if power is applied to one row and a single column is grounded, one LED will light up at the intersection. This method only works reliably to light up a single LED at a time. With that in mind, [Alex] needed to have a very high “refresh rate” for his display. He only ever lights up one LED at a time, but he scans through the 128 LED’s so fast that persistence of vision prevents you from noticing. To the human eye, it looks like multiple LED’s are lit up simultaneously.

[Alex] planned to use an Arduino to control this display, but it doesn’t have enough outputs on its own to control all of those lights. He ended up using multiple 74138 decoder/multiplexer IC’s to control the LED’s. Since the columns have inverted outputs, he couldn’t just hook them straight up to the LED’s. Instead he had to run the signals through a set of PNP transistors to flip the logic. This setup allowed [Alex] to control all 128 LED’s with just seven bits, but it was too slow for him.

His solution was to control the multiplexers with counter IC’s. The Arduino can just increment the counter up to the appropriate LED. The Arduino then controls the state of the LED using the active high enable line from the column multiplexer chip.

[Alex] wanted more than just a static image to show off on his new display, so he programmed in a version of Tetris. The controller is just a piece of perfboard with four push buttons. He had to work out all of the programming to ensure the game ran smoothly while properly updating the screen and simultaneously reading the controller for new input. All of this ran on the Arduino.

Can’t get enough Tetris hacks? Try these on for size.

FrankenKindle: building an alternate Kindle keyboard

If you’ve ever thought the Kindle keyboard was a bit cramped you’re not alone. [Glenn’s] been working on developing an external keyboard for the Kindle for quite some time. It may not make easier for everyone to use, but he’s motivated to improve usability for his sister who has Cerebral Palsy.

We see a lot of keyboard hacks that solder straight to the pads under the buttons, but for a compact device like the Kindle this would really mess things up. Instead of going that route, [Glenn] sourced a 20-pin Flexible Flat Cable and breakout board that match the internal Kindle connector. The prototype seen above uses a TS3A5017 serial multiplexer chip to simulate the keyboard button presses. That multiplexer is driven by a Teensy++ microcontroller board which is monitoring a larger set of buttons on the V.Reader seen above. Check out the video after the break for a brief demonstration, then look around at the rest of [Glenn’s] blog posts to view different steps of the development cycle.

Continue reading “FrankenKindle: building an alternate Kindle keyboard”

Arduinome with many pots

[Aggaz] added 16 potentiometers to his Arduinome.The Arduinome is a monome clone based around the Arduino as a microprocessor. We seen some Arduinome builds in the past but [Aggaz’s] work augments the physical interface.

Potentiometers used in circuit bending allow for manipulation of the sounds coming out of the circuits. In this case the pots are connected to the microcontroller instead of the sound generation circuitry which means you can do whatever you want with them depending on how creative you are with the code. So far he’s just starting to get the new set of interfaces to play nicely over the serial connection. This could end up being quite popular as it only requires the addition of a multiplexer IC, the potentiometers, and the knobs.