Shake Phone To Start Scooter

This scooter starts right up with a shake of your Android device. This shake must be done from front-to-back, because a side-to-side shake is reserved for unlocking the saddle ([Brad] stores his helmet within).

Connectivity is facilitated over Bluetooth, with a rocker switch near the left handle bar to disable the receiver so that you don’t run down the battery. You can see the locking panel hanging open on the front portion of the scooter. Inside he installed the driver board which patches into the ignition system and drives a solenoid for the seat latch. It sounds like the latching mechanism used a bowden cable whose handle was inside that locking panel. By adding a solenoid and generously lubricating the cable he  managed to get it functioning from the driver board.

Check out the video after the break for a proper demonstration. The phone is running a Python script via SL4A, which takes care of the user interface.

Continue reading “Shake Phone To Start Scooter”

Emulating Mac System 7 On An Android Device

Over on the 68kmla forums, a website dedicated to old Macs built before 1994, [zydeco] released his Android port of Mini vMac, a Macintosh Plus emulator that puts the power of a Motorola MC68000 processor and System 7 on any computer.

Unlike the original Macintosh, or the subsequent revision that bumped the RAM up to 512 kilobytes, the Mac Plus was actually useful. With the addition of a SCSI port and support for 4 Megabytes of RAM, it’s not only possible to browse the Internet, but also act as a server. There’s a reason [Sprite_tm] chose to rebuild one of these classic, all-in-one machines to act as a home server; they really do epitomize the elegant computers from a more civilized age.

68kmla user [FlyingToaster] even went so far as to put a Mac Plus in his nook touch. With this, he’s got a full-blown installation of System 7 running on an e-ink screen, complete with LemmingsGauntlet, and Tetris.

It should be possible to plug this emulated box into the Internet. Unfortunately, experience tells us it won’t be a very pleasant browsing experience outside Hackaday’s retro edition.

Android CNC Controller

[Matt] is the proud owner of a JGRO-based CNC router and he’s been working on a way to control it without a computer. What he came up with is a way to drive the CNC machine using this Android tablet.

A big part of the hack is the CNC controller that he’s using. The TinyG is a board that can take commands via USB and convert them to instructions for up to six axes. In the video after the break [Matt] shows off a direct USB connection as the control method. This is the most interesting part to us, but the system can also be run through the network with the assistance of a computer feeding commands to the TinyG. This second method means the Android controller would be wireless.

A trio of repositories host the code [Matt] is using. From the demo it looks like the Android app has no shortage of features.

Continue reading “Android CNC Controller”

Simplest Of SL4A Microbridge Examples

We’re familiar with the daunting task of sifting through mountains of code in hopes you can learn how something works. So when a simple example like this SL4A LED toggle comes along we’re thankful for the trimmed fat. If you’re looking to use an Android device to control your Arduino hardware this will be huge shove in the right direction.

The microbridge is used to get the Arduino talking with the Android phone. It involves a USB host shield that lets you connect the two devices via a USB cable. With the USB debugging enabled on the phone, you can use Scripting Layer for Android as a user interface. In this case, a set of Python scripts builds the button and readout seen on the screen above. They also handle sending and receiving commands based on user input. This means you don’t really need to know anything about Android development. We think it would be a great way to get your project through the development stages, and you could learn to write a traditional App later on.

Continue reading “Simplest Of SL4A Microbridge Examples”

Update: Androcade 2.0

[Chris] has been going about his business, letting his interest guide him as it will. But always in the back of his mind is his Androcade project, and he’s spent the last year making improvements. It’s an arcade controller for playing games on an Android tablet. It connects to the device via Bluetooth, and includes a built-in stand.

His original version was featured here last year. It was made from wood (with a nice Android green finish) and included three buttons and a joystick. This time around he moved to some black laser-cut acrylic for the case, and has doubled up on the buttons. It also now enumerates as an HID Bluetooth device, whereas before it was pushing serial data over the BT connection.

He’s had enough interest from his friends to also create an iPad version all in white. It connects and works just the same as the Android flavor. Check out a bit of Donkey Kong gameplay after the break.

Continue reading “Update: Androcade 2.0”

New IOIO In The Works

There’s a new version of the IOIO on the way and we think you’re going to like the goals this redesign aims to achieve. If you’re not familiar, the IOIO is an Android accessory board. It connects to the phone via USB and is aimed at making it easier to build your own hardware peripherals for the handhelds. Just look around here for a while and you’ll find a bunch of projects that are built around this board (for instance: adding MIDI control to your phone).

With [Ytai’s] announcement that the second generation IOIO is in the works he touches on price and functionality improvements. Certainly the $50 cost of the original board is pretty low, but if you’re just planning on hacking for giggles it’s a roadblock. Although no number has been quoted, the plan is to make the new rendition more affordable. As for functionality, the next generation will be a USB On-the-Go device. This means it can be a master when connected to the phone, or a slave when plugged into a computer. There are also a smattering of electrical design improvements.

APC Android Computer Isn’t A Raspberry Pi

VIA Technologies, ostensibly in an attempt to compete with the Raspberry Pi (if you can believe all those bloggers out there), is releasing a tiny single board computer called the APC Android PC. The VIA website for the APC is down, so just search Google News for all the details.

The specs are somewhat similar to the Raspberry Pi – HDMI out, Ethernet, SD card, and a few USB ports – but that’s about where the similarities end. The APC runs a version of Android 2.3 customized for mouse and keyboard input where the RasPi runs Linux. The APC can only display 720p video (compared to the RasPi’s 1080p), and doesn’t have GPIO pins that can be used with Arduino shields.

We’re pretty sure VIA is going after the media center PC market here with a low-power board that can easily stream movies or a season of TV shows over a network. At $50, we’re sure the APC will find a home in a few homebrew devices, MAME machines, and carputers.

If anything, this only portends a whole bunch of single-board ARM/Linux computers riding on the coat tails of the RasPi. That’s awesome no matter how you look at it.

If a $50 Android board doesn’t whet your whistle, VIA also released a Mini-ITX board with 12 hardware serial ports. Hardware serial ports are getting rare nowadays despite how useful they are for embedded applications. 12 (with riser cards, natch) serial ports seems overkill, but we’re sure some Hackaday reader has been looking for this board for a while now.