Bejeweled Blitz Bot Makes Your High Score Look Just Sad

Programmers don’t need to get good at a game to achieve a high score, they code a bot for that instead. Take [hypnotizd] for instance. He was learning to write in the C# language and decided to make a bot that plays Bejeweled Blitz on Facebook. He figures he took between 48 and 72 hours of coding over a couple of weeks, but remember, he was learning the language at the same time. We think you’d be hard pressed to achieve a 1.5 million range score by yourself, even with that amount of practice time.

We spoke with [hypnotizd] yesterday afternoon to get a bit of background on how he made this happen. His code (he’s not releasing it so you’ll have to write your own) scrapes the screen image as input. You can see at the beginning of the video after the break that he sizes his app to properly align each jewel in its grid. The program then identifies each game piece by finding the center of the cell and taking a 25 square-pixel average color. Many of the jewels are easily recognized in this first pass, but some are harder and require several different tests to identify. That’s the difficult part, choosing the best move is just a matter of coming up with your own rules on how the bot should play the game.

Continue reading “Bejeweled Blitz Bot Makes Your High Score Look Just Sad”

Making Structured Wiring Do Your Bidding

So you’ve just moved into a home that has cat5 running throughout. This is called structured wiring and is a great feature for a home. But what if the existing wiring doesn’t work the way you would prefer to setup your network? [Firestorm_v1] has a workaround that lets you reconfigure Ethernet without pulling new cables.

He’s making splitters out of patch cables. Often, Ethernet devices are not using all eight conductors in the cable. Unless you are using Gigabit Ethernet, or running Power over Ethernet, only four of the conductors in each run are being utilized. This means you can create twice as many connections without running new cable or using addition switches. Each splitter has three RJ-45 connectors on it. One of them hooks to the wired jack in the wall while the other two hook to two different devices. You’ll need a second splitter to use on the opposite end of the wall jack, usually this is where the router or switch is located, in order to separate the combined signals.

Improving Audio Output From An HD Radio Receiver

[Phil] picked up an HD radio receiver when Radio Shack was clearing them out at a 60% discount. But to his disappointment, when he hooked it up the sound left a lot to be desired with limited mid-range and flat bass. After some forum mining he discovered that the optical output didn’t have this problem, and came to the conclusion that the op-amp driving the analog audio-out jack needed some tweaking. He didn’t get his hands on a schematic for the board, but took the advice from some vintage equipment gurus and swapped the stock IC for a Burr-Brown OPA2604AP chip.

This fixed the problem without any other adjustments to the hardware. But while he was in there, he also secured the external antenna connector jack to the chassis for good measure.

If you’re wondering about the particulars of the equipment, [Phil] was hacking an Auvio HD Radio tuner. But he also mentions that Best Buy sells an Insignia NS-HDTUNE which may benefit from the same modification.

Adding Auto-off To A Cheap Multimeter

[Florin] picked up a cheap multimeter in order to make multiple measurements at one time. Unfortunately, he wasn’t very good at remembering to turn it off when he was finished so he burned through some batteries. Why an auto-off feature wasn’t the first thing coded into the firmware we’ll never know, but [Florin] developed his own hardware-based auto-off circuit.

It sounds like he had all of the components necessary for this on hand already. He grabbed an AVR ATtiny25 in a surface mount package. To keep the board small, he didn’t include an ISP header, but instead made long pads that could have wires soldered to them for flashing the firmware. The microcontroller drives an NPN transistor that can cut off the ground path between the multimeter and its battery. A tactile switch is connected to one of the external interrupt pins and, when pressed, gives you 15 minutes of time to use the meter. After that, the chip kills the power and goes into sleep mode. Simple, and small enough to fit inside the case.

[via Dangerous Prototypes]

Wooden Machine Belongs In Willy Wonka’s Factory

Behold the wooden machine (translated) that is used for… well it does… it was built because… Okay, this is a case where asking what it does or why it was built is the wrong question. [Erich Schatt] began building the piece that he calls “Wheels” back in 1995. It took just seven years to complete, and is made entirely of wood. The video after the break shows a multitude of moving parts.

The chains were modeled after bicycle chains, which are used to transfer motion from the “rider” throughout the machine. The gearing for each segment was meticulously calculated, then perfected through trial and error. The complexity even calls for a differential and universal joints. It’s mesmerizing to watch and for that reason it’s made appearances at conventions and been featured in art exhibitions.

It’s also worth mentioning that this comes from a very humble-looking shop. [Erich] posted some pictures of his studio and aside from the abundance of bar clamps, it’s just your average garage or basement setup.

Continue reading “Wooden Machine Belongs In Willy Wonka’s Factory”

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”

RC Car And Beagle Board Mate For A Versatile Robot Build

Here’s a rover project that has plenty of power (translated) to go places. This is true not only of its locomotive capability, but processing power as well.

The RC car used here (translated) is not overly expensive, but offers a lot of versatility. It’s got front and rear steering via two servo motors, as well as independent drive motors for each end. The frame also offers an advanced suspension system that lets the vehicle flex to keep as many wheels on the ground as possible. It’s a great find if you don’t want to start off your project bogged down in the hardware design.

On the control side of things a Beagle Board has been choosen. The demo after the break shows it controlling an added turret servo, as well as the drive mechanism controlled via a keyboard. These are driven through the embedded Ubuntu image running on the board. This should provide plenty of processing power to add obstacle avoidance and autonomy routines in future versions.

Continue reading “RC Car And Beagle Board Mate For A Versatile Robot Build”