External Pinball Controls For An Android Tablet

android-pinball-controls

This hack, which adds external flipper controls to Android pinball, is a great way to cut your teeth at Android hardware hacking.

[Ruben] decided to go with the TI Launchpad for this project. The MSP430 dev board offers serial communications via a USB connection, but it’s not quite as easy as just finding the right cable. His tablet does support USB On the Go (OTG), but the board identifies itself as an ACM device which needs to be handled differently. In order to get the tablet talking to the Launchpad he compiled a CDC_ACM module for the Linux underpinnings that make up every Android OS. In this case the module is tailored for the Allwinner A10 chip inside his model of tablet, but it shouldn’t be too hard to adapt his guide for other processors.

Of course you could go a different route and use Bluetooth for connectivity. We’ve seen several gaming peripherals that use this technique with Android devices.

Continue reading “External Pinball Controls For An Android Tablet”

ODB-II Hacking Using An Android Tablet

What a strange message to read on the digital dashboard display of your car. This is proof that [Kristoffer Smith] was able to control the ODB-II bus on his Eagle Grand Cherokee.

He’s not just doing this for the heck of it. It stems from his goal of adding an Android tablet on the dashboard which has been a popular hack as of late. This left [Kristoffer] with steering wheel controls that did nothing. They originally operated the radio, so he set out to make them control the tablet.

He had seen an Arduino used to control the CAN bus, but decided to go a different route. He grabbed a USB CAN bus interface for around $25. The first order of business was to use it with his computer to sniff the data available. From there he was able to decode the traffic and figure out the commands he needed to monitor. The last piece of the puzzle was to write his own Android code to watch for and react to the steering wheel buttons. You can check out the code at his repository and see the demo after the break.

Continue reading “ODB-II Hacking Using An Android Tablet”

Ask Hackaday: Are We Close To Reinventing The Keyboard For Touchscreens?

minuum-keyboard

We mourn the loss of the physical keyboard with the advent of tablets. After all, we do a bit of typing getting all of these features posted throughout the week. And we kind of blame tablets for the decline of the netbook industry (we still use a Dell Vostro A90 when not at home). But we’re trying to keep an open mind that we may not need a physical keyboard anymore. If someone can come up with an innovative alternative to the Qwerty layout that we are able to learn and can use with speed and without physical strain we’ll be on board. Our question is,  do you think we are close to a screen typing breakthrough?

This question came to mind after seeing the Minuum keyboard shown above. It compresses all of the rows of a Qwerty into a single row, monopolizing less screen space than conventional smartphone input methods. The demo video (embedded after the break) even shows them hacking the concept into a distance sensor and using a graphite-on-paper resistor. Pretty cool. But what happens when you type a word not in the dictionary, like this author’s last name?

You can actually try out the Minuum style thanks to [Zack’s] in-browser demo hack. He’s not affiliated with Minuum, but has done quite a bit of alternative keyboard input work already with his ASETNIOP chorded typing project. It’s another contender for changing how we do things.

Continue reading “Ask Hackaday: Are We Close To Reinventing The Keyboard For Touchscreens?”

Android Controlled Minecraft Ores

[Ryan] has a friend with a birthday coming up, and being inspired by ever 12-year-olds favorite game, he decided to make a Minecraft ore block with RGB LEDs. The block can change from diamonds to emeralds via commands send from an Android phone.

After a few false starts, [Ryan] eventually had his ore cube laser cut at Acess Space, a hackerspace-ish group in Sheffield. The box was constructed out of 3mm MDF, while the windows were laser cut out of frosted acrylic, while the stone pattern on the cube is one giant custom-made sticker.

With the tedious part of the build out of the way, [Ryan] set to work on the electronics. He used a PIC attached to a few very large RGB LEDs, and a Bluetooth module that allows him to connect his phone to an ore block. Dialing in the right colors took some work, but eventually, [Ryan] had an Android-controlled Minecraft ore block, able to transmutate between gold, iron, diamond, emerald, lapis, and redstone.

You can check out a video of [Ryan]’s ore block in action after the break.

Continue reading “Android Controlled Minecraft Ores”

Bluetooth Headset Garage Door Opener Update

bluetooth-headset-garagedoor-opener-update

[Lou Prado] sent in a link to his new video on using a Bluetooth headset as a garage door opener for your Android device. This isn’t a new hack, and we’ve actually seen him pull it off once before back in 2011. But we’re running this as an update for a couple of reasons. First off, we had forgotten about the hack and it’s worth revisiting. Secondly, the headset which he used with the initial hack has gone out of production. He chose a new model, and the assembly video (embedded after the break) which he made is a treasure trove of best practices to use when hacking consumer electronics.

Here’s how the hardware part of the hack goes. He removes the speaker from the headset and solders the base of a transistor in-line with a resistor to the red wire. The emitter connects to the grounded frame of the USB charging cable which is plugged into an outlet next to your garage door opener. The collector of the transistor is then connected to the garage door opener, along with a common ground connection, allowing audio from the headset to trigger the transistor to open the door.

The systems is secure based on Bluetooth pairing, which was done with his phone before starting the hardware hack.

Continue reading “Bluetooth Headset Garage Door Opener Update”

Putting The Brains Of A Reverse Geocache On The Outside

ioio

A reverse geocache – a box that only opens in a specific geographical area – is a perennial favorite here at Hackaday. We see a ton of different implementations, but most of the time, the builds are reasonably similar. Of course dedicating a GPS receiver solely to a reverse geocache isn’t an inexpensive prospect, so [Eric] came up with a better solution. He’s using a smart phone as the brains of his geocache, allowing him to keep the GPS and display outside the locked box.

The build began by finding an old box and modifying it so it can be locked with a servo. The only other bits of electronics inside the box are an IOIO board, a battery pack, and an I2C EEPROM for storing a few settings. On the phone side of things, [Eric] wrote an Android app to serve as both the programming interface, UI, and GPS hardware for his reverse geocache. It’s exactly like all the other reverse geocaches we’ve seen, only this time the controls are wireless.

[Eric] put up a video demoing his reverse geocache. You can check that out after the break.

Continue reading “Putting The Brains Of A Reverse Geocache On The Outside”

Carry A Git Server In Your Pocket

android-git-server

We love using Git for its superior version control. We often host our more advanced projects in a public Github repository. But the bulk of our little experiments are simply local repos. This is fine if you’re always at home, but if we are away from home we find ourselves having to SSH into our server to copy over the Git files. [Andrew] found a way around this slightly awkward process. He used an old Android phone as a Git server.

This actually makes a lot of sense when you start to think about it. Most Android phone have a microSD card slot to provide a huge storage bin (the lack of this on the Nexus 4 is baffling) so you don’t need to worry about running out of space. All of these devices have WiFi, making it easy to use them as an AP when there isn’t any other WiFi around. And the web-connected nature of the device will make syncing your repo over the Internet a snap.

Most of the behind the scenes work is done using Debian packages. This provides a few issues which [Andrew] walks through one by one. We also like his pointers like using ‘noatime’ on your EXTx file systems to avoid wear on the SD card.