Pokemon Artificial Intellegence

Pokemon Artificial Intelligence Is Smarter Than You

Who out there hasn’t angrily thrown a game controller across the room after continually getting killed by some stupid game-controlled villain? That is such a bummer! You probably wished there was some way to ‘just get past that point’. To take a step in that direction, [Ben] created an Artificial Intelligence program that will win at Pokemon Blue for Game Boy Advance.

The game is run in a Game Boy Advance emulator known as Visual Boy Tracer, which itself is a modified version of the most common GBA emulator, Visual Boy Advance. What sets Visual Boy Advance apart from the rest is that it has a memory dump feature which allows the user to send both the RAM and the ROM out of the emulator. The RAM holds all values currently needed by the emulator, this includes everything from text arrow flash times to details about currently battling Pokemon to the players position in the currently loaded map. The memory dump feature is key to allow the AI to understand what is happening in the game.

Continue reading “Pokemon Artificial Intelligence Is Smarter Than You”

Hacking An Old Parallel Port Webcam To Work With A Gameduino 2

connecting parallel port web camera to gameduino 2

[Andrew] couldn’t pass up a 20ish year old parallel port based webcam he saw on the shelf at a thrift store. It’s a Connectix QuickCam and was the first webcam that did not require a separate video input card to interface with your computer. Due to this feature, the webcam was extremely popular, so popular that Logitech ended up buying Connectix and marketing the camera for themselves.

It’s tough to find a newer computer that still has a parallel port, but using an old computer wasn’t [Andrew]’s plan anyways. After thinking about it, he decided to try to get the camera’s image to display on a Gameduino 2.

The hardware list is fairly minimal. The cam’s parallel connector is plugged straight into STM32 Nucleo development board by way of several jumpers. The Gameduino 2 is connected to the dev board and a USB to PS/2 adapter was made to power the camera.

Continue reading “Hacking An Old Parallel Port Webcam To Work With A Gameduino 2”

LED Clock Looks Cool AND Tells Time

LED Arduino Clock

Clocks have taken many forms of the years, starting with shadow clocks and sundials in Egypt around 3500 BC. Obviously, these could only tell the time while the sun was out. Water Clocks followed which could track time in the dark. Water Clocks are basically a bowl with a hole in the bottom. This bowl was set in a container filled with water. The water entered the bowl at a consistent rate and graduations on the inside of the bowl showed how much time had passed.

Mechanical clocks followed, as did quartz and the atomic clock. We have now entered a new era in time-telling, the Bamboo LED Clock. [Pascal] brings us this funky fresh chronometer all the way from Germany.

The front face is made from a bamboo pizza plate and gives the clock some modern minimalist pizzazz. A 1-meter long LED strip is attached to the circumference of the plate and contains 60 individually assignable RGB LED’s. An Arduino and Real Time Clock are responsible for the time keeping and coordination of the LED’s.

As you can see in the photo, 2 of the LED’s colors are used. The single red LED indicates the hour. The strip of blue LED’s show the minutes. If you’d like to build one of these [Pascal] has shared the Arduino code on his Instructables page.

Frankensteined X4 Quad Is Brought Back To Life

x4 quadcopter wood frame

As kids we’ve all let a friend use a toy only to have it returned broken. That was such a bummer! At least that was years ago though…. well not for [Tom]. He had a Hubsan X4 mini quadcopter that he had crashed into all sorts of things. The little quad held up good against all of the beatings so [Tom] didn’t think too much about letting his pal take it for a test drive. Thirty seconds later, several separate pieces of the quad were laying in the dirt.

A new X4 was ordered but there was some time to kill waiting for it to show up. Since the electronics seemed to be intact and only the frame was broken [Tom] decided to try his hand at making a new frame. Keeping costs under control is an important part of any project and this one was no different. The frame would be made of cheap and rigid 5mm plywood. The only potential problem would be the weight. [Tom] cut out a piece of the plywood and weighed it, then measured the volume and calculated the density of the wood. The wood’s density was used to estimate the final weight of new plywood frame designs and shapes. This worked so well that the newly built quad only weighed more than the original by 0.31 grams, less than 1% increase in the total weight!

Continue reading “Frankensteined X4 Quad Is Brought Back To Life”

Repairing A Damaged RC Rx Due To Reverse Polarity Power Input

Rx Receiver Repair

Once in a while all of us technocenti get a little complacent and do something that may be considered ‘dumb’ while working on a project…. like cutting the wrong side of a piece of wood or welding a bracket on in the wrong direction. [Santhosh] is human like everyone else and plugged in the power connector to his RC Receiver incorrectly, rendering the receiver useless. How will his Arduino-controlled Robot work without a functioning receiver?

[Santhosh] started by opening up the case to expose the circuit board and checking out the components inside. The first component in the power input path was a voltage regulator. Five volts DC was applied to the input side of the 3.3-volt regulator but only 1.21 came out the other end. Now that the problem was quickly identified the next step was to replace the faulty regulator. Purchasing an exact replacement would have been easy but cost both time and money. [Santhosh]’s parts bin contained a similar regulator, a little larger than the original but the pinout was the same.

Continue reading “Repairing A Damaged RC Rx Due To Reverse Polarity Power Input”

Counterfeit Apple Charger

More Counterfeit Apple Chargers Than You Can Shake An IPod At

Phones, MP3 players, designer bags, artwork, money…. anything with value will bring out the counterfeiters looking to make a quick buck. Sometimes the product being counterfeited isn’t even necessarily expensive. For example, an Apple iPad Charger. [Ken Shirriff] got a hold of a counterfeit iPad Charger, took it apart, and did some testing.

So why would someone buy a counterfeit product? To save some money! The counterfeits are usually cheaper to reel the potential buyer in thinking they are getting a deal. In this case, the Apple product costs $19 and the knock-off is $3, that’s a huge difference.

Continue reading “More Counterfeit Apple Chargers Than You Can Shake An IPod At”

BrickPi Bookreader 1 And 2 Read Tablets Or Books Aloud, You Choose

BrickPi Bookreader 2

Have you ever wanted to relax with a good book but couldn’t due to the hassle of having to actually read and turn pages? Well, now BrickPi offers 2 solutions to that problem. They have you covered regardless if your document is on a tablet or resides in a physical book.

The original Bookreader will read out loud the displayed text on a tablet. brickpi bookreaderThis is not an application that runs on the tablet, it is a completely separate device that ‘reads’ the tablet screen. As you could guess from the BrickPi name, the brains behind the operation is a Raspberry Pi. A camera takes a photograph of the displayed text and the Raspberry Pi converts that image file to text using Optical Character Recognition. A Text-to-Speech engine then speaks the text in a robotic sounding voice. In order to change the page the Raspberry Pi controls a Lego Mindstorms arm that swipes across the tablet screen and the entire process is repeated.

 

Continue reading “BrickPi Bookreader 1 And 2 Read Tablets Or Books Aloud, You Choose”