LEGO stylus solves Ruzzle tablet game


This grid of letters is a puzzle game for tablet devices called Ruzzle. The contraption attached is an automated solver which uses LEGO Mindstorm parts to input the solutions on the screen. [Alberto Sarullo] is the mastermind behind the project. As you can seen in his demo video after the break he has a flair for the cinematic. But he makes you work a little bit to discover the details of his project.

His post gives a general overview of how this works. A Linux box takes a screenshot of the Ruzzle board. After processing the graphics with Imagemagick he uses Tesseract — an Optical Character Recognition program — to figure out which letter is on each square of the playing area. From there NodeJS is used to discover all possible words with the help of a dictionary file. The final solutions are pushed to the LEGO parts to be traced out on the touch screen with a stylus. The nice thing is that he published all of his code, so you can drill much deeper into the project by pawing through his repository.

Continue reading “LEGO stylus solves Ruzzle tablet game”

Touchscreen control for a Reprap


After you’ve got your Reprap running smoothly with acceptable resolution and good quality prints, the next order of business for any 3D printer hobbyist is headless printing. While the greatest and newest 3D printers come with controls to allow jogging, homing, temperature control, and printing from an SD card, the home-built versions will require an add-on attached to the electronics board. [Marco] has been spending his time improving the character LCD control panel projects we’ve seen for Repraps with an awesome graphical version that emulates the control interface found in the Pronterface control software.

The biggest problem with adding a control interface to a Reprap is the number of pins available on the electronics board. While an electronics board like RAMPS has enough spare I/O pins to drive a display, other boards such as the Sanguinololu and the Melzi are extremely limited in their expansibility. To get around this limitation, [Marco] used a 4D Systems serial touchscreen display.

This display only requires two pins to fully interact with a printer running the Marlin firmware; the graphical processing, communication, and SD card access is handled by the on-board PICASO micocontroller, leaving the ATMega on the electronics board free for important things like printing stuff out of plastic.

[Marco] has a git full of modified Marlin firmware and firmware for the 4D Systems display. There’s also a neat printed case for the display, making a very professional-looking standalone controller a weekend project instead of a months-long ordeal.

Thanks [Antonio] for sending this one in.

AVRphone is a barebones touchscreen cellphone

This little device is a prototype cellphone based on the ATmega128 microcontroller (translated). It boasts a 2.4″ touchscreen display which serves as the keypad, and uses the SIM100S module which takes care of the GSM radio communications. But the hardware isn’t the only attractive part. Judging from the screen shots a fair amount of time went into building the user interface too.

We seem to have a bounty of cellphone builds recently. This one is quite clean, and boasts a smaller footprint, and larger screen than this barebones example. There is a white paper available if you’re interested in digging a little deeper than the overview post. But it’s written in Czech and we didn’t see a way to provide a machine translation other than copying the text from the PDF file and pasting it into a translator.

Hackday Links: March 10, 2012

We’re throwing money at our monitor and nothing’s happening!

Sometimes we get hacks sent into our tip line that are outrageously awesome, but apart from a YouTube video we’ve got nothing else to write about. So begins the story of the flying Back to the Future DeLorean quadrocopter. Sadly, the story ends with the video as well. (If you’ve got any info, send it in!)

Fine, we’ll throw in another cool car

Mercedes covered a car with LEDs and made the James Bond’s invisible car from Die Another DayThe Mercedes video cost tens of thousands of dollars to produce, so of course there’s camera trickery; we’re just wondering how much credit Adobe After Effects gets for this build.

Microsoft touchscreen demo might be impossible

Yes, Microsoft does care about user experience. Just take a look at this video from their applied sciences group. They did user testing with touchscreens that updated every 1 millisecond, compared to the ~100ms our phones and tablets usually update. Of course the result was a better UX, but now we’re wondering how they built a touch screen that updates every millisecond? That’s a refresh rate of 1 kHz, and we’ve got no clue how they bodged that one together. We’re probably dealing with a Microsoft Surface projector/IR camera thing here, but that doesn’t answer any questions.

Edit: [Philip Rowney] sent in a tip that it could be this TI touch screen controller that can sample above 1 kHz. The only problem is this chip uses a resistive touch screen, instead of a multitouch-enabled capacitive screen. At least that solves one problem.

And now for something that can measure 1 kHz

[Paleotechnologist] posted an excellent guide to the care and feeding of an oscilloscope. Most of our readers probably already know the ins and outs of their awesome Techtronix and HP units, but that doesn’t mean the younglings won’t have to learn sooner or later.

Good idea, except the part about saving it for spring

In a moment of serendipity, [Valentin] figured out how to use touchscreens with wool gloves. The answer: rub thermal grease into the tip of the index finger. It works, and doesn’t look to be too much of a mess. We’ll remember this for next winter.

The last one didn’t have a picture, so here’s this

[Darrell] used a little bit of LaTeX and Ruby to make colored labels for his resistor collection. We’re struck with the idea of using test tubes to organize resistors. It’s cool and makes everything look all sciencey and stuff.

The basics of reading data from resistive touchscreens

[Chris] just posted his latest tutorial which shows you how to read position data from a resistive touchscreen. These devices are fairly simple, and since they’re used in a lot of consumer electronics you can pick one up for a few bucks. This looks like it is overstock for an old Palm device.

The interface is simple, there’s just four conductors on the tab at the top of the overlay. But connecting to these is a bit of an issue since you can’t really solder directly to them. [Chris] ended up using scotch-tape to hold wires in place, with a paperclip to keep them presses against the conductors. Those conductors are used in pairs, with a positive and negative lead for the X and Y axis. To take a measurement you use I/O pins to connect voltage and ground, then read the voltage that makes it to the gound side using an ADC. This works because the point that’s being pressed on the screen acts as a variable resistor for the circuit. Data for the two axes must be read in separate operations so that the positive voltages don’t interfere with each other.

The nice thing is that once you’ve got it working with a small screen it is easily scaled up. In fact, the 23″ touchscreen used on this Android hack is just another 4-wire resistive device.

You can see a video demonstration of [Chris’] test rig embedded after the break.

Continue reading “The basics of reading data from resistive touchscreens”

How to build a 23″ Android tablet

If you’re looking to build a really big Android tablet the trick is not to start from scratch. [Peter] pulled off a 23″ Android Tablet hack using a collection of easily acquired parts, leaving the hard work up to hardware that was designed to do it.

He didn’t really build a tablet, as much as he built a big touch-screen add-on for one. He already had a couple of inexpensive tablets on hand to play around with. One of them has an HDMI out port, which let him easily push the display onto a 23″ monitor. He knew the tablet was a 4-wire resistive touchscreen, but he didn’t know if other touchscreens with the same number of connectors and be directly swapped and still work. To test this, he cracked open a second tablet device and connected its touchscreen to the first one’s hardware. When he was met with success it was time to source a couple of 23″ touchscreen overlays to test with the external monitor. As you can see in the clip after the break, it works like a charm!

[Peter] was inspired to write about his experiences after seeing the 23″ Android tablet video in our recent links post.

Continue reading “How to build a 23″ Android tablet”