Simon Says Learn How To Program ARM Chips

barebones-simon-says

This breadboard version of a Simon Says game is a great way to try your skills on a new microcontroller platform. The eight-pin chip seen in the center of the board is an LPC810 microcontroller which [Hartmut Wendt] is just getting started with. It’s a rare example of a low-pin count DIP package for an ARM device (Cortext M0). The breadboard friendly footprint makes it easy to work with, but you could pull off the same build with a dev board like one of the STM discovery offerings or the Stellaris Launchpad boards.

Why is this a good way to learn? It involves input, output, and generating waveforms which we’d assume means timers (we didn’t dig through the source code which is available form the page linked above). Each colored button has a matching LED which blinks out the pattern which you must replicate to keep the game going; you know how Simon Says works, right?. At the same time a different pitch is played by the speaker on the right.

Another good exercise would be to take [Hartmut’s] code and port it for a different chip, be it ARM or otherwise.

Continue reading “Simon Says Learn How To Program ARM Chips”

Dimming LED Bulbs Designed To Replace Halogen Lamps

dimming-led-halogen-replacementsHalogen bulbs put out a lot of focused light but they do it at the expense of burning up a lot of Watts and generating a lot of heat. The cost for an LED replacement like the one seen disassembled above has come down quite a bit. This drove [Jonathan Foote] to purchase several units and he just couldn’t resist tearing them apart to try out a couple of hacks.

The one we find most interesting is a PWM based dimming hack he pulled off with an Arduino board and a FET. The bulbs are designed to be dimmable through the 12V supply that feeds the light fixture. But the relationship of dimmer position to light level is not linear and [Jonathan] figured he could do better. His solution is to add a FET in parallel with the LEDs. When activated it basically shunts the current around the diodes, resulting in a dimming. The video below shows this in action. We wonder if the flashing is a camera artifact or if you pick that up with your eye as well?

You may also be interested to read his post on Gelling the LED bulbs. Gels are colored filters for lights (or camera lenses). He cuts his preferred color down to size and inserts it between the LEDs and the lenses.

Continue reading “Dimming LED Bulbs Designed To Replace Halogen Lamps”

WALL-O-TRON, The Interactive Rock Climbing Wall

Last April, hackerspaces around the country received a gift from RedBull for their creation challenge. The hackerspace teams were charged with creating, ‘something with LEDs’ and let loose in their workshop for a chance to win a trip to NYC and build some cool stuff. Of course, RedBull couldn’t bring all the teams to the big apple and a few incredible projects were left by the wayside in their home hackerspace.

One such project was the WALL-O-TRON from Team Rabbit-Hole and home base for the Tymkrs. It’s a huge wall embedded with LEDs that turn an ordinary rock climbing wall into a game called WallSweeper – climb a path to the illuminated hold, but don’t touch the ‘hot rock’ or your game is over.

The hand holds are illuminated by over 300 of LEDs connected to a Linux PC. The sign above the wall is controlled by RedBull’s TurBULL Encabulator, and the giant ‘WALL-O-TRON’ letters are huge pieces of foam with five meters of RGB LEDs embedded inside.

A great project with the possibility of being upgraded in the future with more games. Perfect for the rock climbing playground it’s situated in.

Continue reading “WALL-O-TRON, The Interactive Rock Climbing Wall”

LED Tie Plays Tetris

tetris

[Bill] has been working with a gaggle of 8th graders this summer at a STEM camp, impressing them with his geeky attire such as an 8-bit and PCB ties, and an LED illuminated lab coat. The adolescent tinkerers asked him what he would be wearing on the last day. Not wanting to let the kids down, he whipped up an LED Tetris tie in an evening.

The Tetris board is a 20 x 4 grid of WS2811 based RGB LED strips, controlled by a Digispark dev board. Structurally, the tie is just two bits of card stock with the electronic bits sandwiched in between. and taped to a cheap clip-on. In the video below, the tie doesn’t have any sort of input to control the movement and rotation of blocks. [Bill] plans to update his tie with some rudimentary AI so it can play itself.

All the code is over on [Bill]’s git. It’s still a work in progress, but from the STEM student’s reaction, there’s a lot of potential in this tie.

Continue reading “LED Tie Plays Tetris”

Lots Of Seven Segment Displays With A Single ATtiny

7seg

These days they’ve been replaced with character LCD displays or even brightly colored graphical displays, but if you’re trying to display data on one of your projects, there’s nothing like the classic red glow of a red seven segment display. [five volts] got his hands on a few ancient segmented displays, but controlling even one took up more microcontroller pins than he was ready to spare. The solution to this problem was to use a shift register and control multiple segment displays with an 8 pin microcontroller.

[volts] is using an ATtiny13 to control six seven segment displays. Each display is mounted on a hand-etched board, with a shift register and a handful of resistors soldered to the back. By having the microcontroller shift bits down the line, [volts] created an extremely easy to interface 6-digit segment display, and the entire device can be expanded even more.

The board files and schematics are available on [volt]’s project page. A great project if you’re just starting out to etch your own boards.

Adding RGB Backlight To Arcade Buttons

backlit-arcade-buttons

These arcade buttons started out as illuminated buttons. But they were bulb-based which only allowed for one color. [Jon] and his friends at the Leeds Hackspace wanted to find a way to retro fit them with RGB LEDs, without changing the buttons themselves. The hack lets them replace the bulb with an addressable circuit board. The really interesting thing about it is that there is no separate interface for addressing. The communications happen on the voltage bus itself.

After deciding to include a microcontroller inside the button they built a test version using some protoboard to see if it would fit. Indeed there was enough room and the proof-of-concept led to the factory spun board which you see above. It has pads for two of the four LED module feet on either side, with the opposite end of the board fitting into the bulb receptacle. The voltage line is pulsed to send commands to the microcontroller. We’re interested in finding out exactly how that works but we’ll have to dig through the code before unlocking the secret.

Continue reading “Adding RGB Backlight To Arcade Buttons”

Water Tank Level Meter Prevents Overflow

roof-water-tank-level-meter

Most of the homes in the area where [Raikut] lives have tanks on the roof to hold water. Each is filled from a well using a pump, with gravity serving as a way to pressurize the home’s water supply. The system isn’t automatic and requires the home owner to manually switch the pump on and off. [Raikut] made this process a lot easier by designing an LED bar indicator to monitor the water level.

The sensor is very simple. Each LED is basically its own circuit controlled by a transistor and a few resistors. A 5V signal is fed from 7805 linear regulator into the tank. The base of each transitor is connected to an insulated wire, each extending different depths in the tank. As the water rises it completes the circuit, illuminating the LED.

[Raikut] is conservation minded and built a buzzer circuit which is activated by the LED indicating the highest water level. If someone walks away from the pump switch while it’s filling the alarm will sound as it gets to the top and they can turn it off before it wastes water.

[via Reddit]