Small Life On A Character LCD

[Duality] just finished programming Conway’s Game of Life on a character LCD. The game is a great programming exercise that everyone should undertake at one point or another. It uses a very simple set of rules to evolve the playing area from a given starting state. In this case the game grid is only 64 pixels, one for each of the positions on this 16×2 character LCD screen. This makes for very quick games as the cells tend to quickly reach an equilibrium as they arrive at the outer borders. See for yourself in the clip after the break.

We could have sworn we’ve seen this before, but with four times the playing space thanks to some custom characters. We couldn’t find an example of that, but the idea is to use a larger grid (something more like what’s seen on this graphic LCD) by generating a set of custom characters that slices each 5×8 pixel character into four smaller discrete areas. Something along the lines of what is being done with this spectrum analyzer.

Continue reading “Small Life On A Character LCD”

Measuring Projectiles With OpenChronometer

[Spork] over on the Netduino forums wanted to push the limits of what his little board could do. He put together a chronometer to measure the velocity of rifle rounds and Nerf darts using an Arduino-compatable CPLD shield.

The project is built around a pair of commercial CED M2 chronograph sensors; because people have the tendency to shoot through these sensors, they’re available as replacement units for much less than the cost of a complete chronograph setup. [Spork] couldn’t figure out a way for his Arduino clone to read pins with a resolution of 1 microsecond, so a Amani GTX CLPD shield was added to the build. This programmable logic chip takes the output from a chronometer sensor, starts a timer, waits for the second sensor to trigger, and stops the timer. From that, the velocity of just about any projectile can be calculated.

Of course, [Spork] needed to test his new device, so he took it out to the range and fired 25 rifle rounds through his chronometer. The result was a very nice, normal distribution centered around 2400 feet per second, exactly as would be expected. Although [Spork] didn’t test out low-velocity projectiles such as Nerf darts, we expect the same reliable results.

via majolsurf

Mother’s Day Heart Chaser

[Robert Mibus] took on a project which his kids could present to Mom on Mother’s Day. It’s an LED heart built into a ring or necklace box. The series of white LEDs are animated in a chase pattern. The project let [Robert] push his comfort boundaries by moving past a stock Arduino board.

Inside you’ll find an ATtiny85. He picked up the chip to try running Arduino sketches on smaller hardware. But the total of five available I/O pins presented an issue with driving the LEDs. Ten LEDs are used here and even a standard multiplex display would need no less than seven to control them without additional chips or the need for Charlieplexing. His solution was to drive two opposite LEDs at once, which cuts the need down to his five available pins.

Once he got it all soldered together he realized that he had made a coding error. But a few soldered wires let him reflash it in place using ISP.

Continue reading “Mother’s Day Heart Chaser”

Garden Sensors Measure Soil Moisture And Greenhouse Temperature

[Andy] is getting his garden up and running. This year it’s been pretty cold so he decided to get small plastic domed tunnel which acts as a mini greenhouse. To help monitor that environment he built this sensor array which displays temperature and soil moisture readings.

Temperature is quite simple. He’s using a TMP36 sensor which is held a few inches above the soil. The moisture sensor is of his own design. It uses two building screws embedded in foam. These are pushed into the soil and a resistance reading indicates moisture level. By driving voltage on one screw, and measuring voltage on the other he gets some useful data. It’s not a standardized value, but observation over time will let him know how the scale relates to dry or wet soil.

During the build process he found that he needed a pull-down resistor on the probe used to take the moisture measurement. He also uses an I/O pin to drive the other screw. This gives him a way to shut off the juice when not taking a reading. We just hope he’s either got a current limiting resistor, or is using a transistor to drive it high.

More Pins And More Power With A DIY Sanguino

Not long after [CulinarilySpeaking] got into the Arduino game, he began to want more IO pins and a larger program space for more ambitious projects. This, of course, led him down the path towards the Sanguino, the ATMega644-based dev board with many more IO pins than Arduino boards based on the ATMega328. Instead of buying new, [CulinarilySpeaking] decided to make his own Sanguino, and the results look fantastic.

After coming across an ATMega644 while browsing for parts on line, [CulinarilySpeaking] found the micro that had enough power and pins to do some fairly complex stuff. A bunch of other people though about using this chip in the Arduino environment before, so all [CulinarilySpeaking] had to do was copy the circuit with the parts he had on hand.

After soldering all the components to the neat breadboard-style PCB, [CulinarilySpeaking] fired up the Arduino IDE and put the Blink example on the 644. Everything worked, so now there’s a board with much more power than a standard Arduino built with only $8 USD in parts.

via reddit

A Much Easier Take On An Android Garage Door Opener

[Andy] is taking the complexity of a smartphone-controlled garage door down a notch with this project. He’s not interested in checking on the state of the door (open or closed) using a video feed, or in controlling the thing from anywhere in the world. He just wants to use his Android as the remote control and we say amen to that.

The circuitry in the garage is pretty simple. A relay is used to simulate a button press on the in-garage wired opener. This relay is driven by an Arduino which uses a Bluetooth shield for connectivity. Since his Android phone has a Bluetooth modem the rest of the project is just app development. As you can see in the video, the app automatically connects to the Arduino when it is launched, then waits for the button press to send the electronic equivalent of ‘Open Sesame”.

The project covers a series of posts so if you want to see how he got the app up and running make sure to browse through his archives. The next iteration for this app needs to be a background widget that enables Bluetooth, connects to the Arduino, and send s the open command all with one press.

Continue reading “A Much Easier Take On An Android Garage Door Opener”

UnoJoy Makes Your Arduino Play Well With Xbox 360 Or PS3

We’ve seen Arduino-based game controllers before, but the UnoJoy project wants to make it easy for you to plug them into a gaming console.

The project is targeted at the Arduino UNO. Why only that hardware… isn’t Arduino universal? Well yes, but in this case the bootloader needs to be overwritten so that the Arduino will enumerate as an approved controller on your game system. Here the device is being put into DFU mode in preparation for flashing.

Once that part’s done it’s time to get to work on your own hardware interface. The UnoJoy library provides all of the hooks you need to push controller data to the game console, it’s up to you to use the Arduino IDE to decide when these events happen. This would be a great opportunity to make the Pinball Stop controllers work with the Xbox Live Arcade games. Or take a look after the break to see [Alan Chatham] using the library to control Gran Turismo as if it were an NES Power Pad game.

Continue reading “UnoJoy Makes Your Arduino Play Well With Xbox 360 Or PS3”