Posts with «adk» label

Want a low-cost ARM platform? Grab a Prepaid Android Phone!

What would you pay for a 1.2Ghz dual-core ARM computer with 1GB RAM, 4GB onboard flash, 800×600 display, and 5 megapixel camera? Did we mention it also has WiFi, Bluetooth, and is a low power design, including a lithium battery which will run it for hours? Does $15 sound low enough? That’s what you can pay these days for an Android cell phone. The relentless march of economies of scale has finally given us cheap phones with great specs. These are prepaid “burner” phones, sold by carriers as a loss leader. Costs are recouped in the cellular plan, but that only happens if the buyer activates said plan. Unlike regular cell phones, you aren’t bound by a contract to activate the phone. That means you get all those features for $15-$20, depending on where you buy it.

The specs I’m quoting come from the LG Optimus Exceed 2, which is currently available from Amazon in the USA for $20. The same package has been available for as little as $10 from retail stores in recent weeks. The Exceed 2 is just one of several low-cost Android prepaid phones on the market now, and undoubtedly the list will change. How to keep up with the current deals? We found an unlikely place. Perk farmers. Perk is one of those “We pay you to watch advertisements” companies. We’re sure some people actually watch the ads, but most set up “farms” of drone phones which churn through the videos. The drones earn the farmer points which can be converted to cash. How does this all help us? In order to handle streaming video, Perk farmers want the most powerful phones they can get for the lowest investment. Subreddits like /r/perktv have weekly “best deals” posts covering prepaid phones. There are also tutorials on rooting and debloating current popular phones like the Whirl 2 and the Exceed 2.

Once you have your phone, the first order of business is to boot it up. Many prepaid phones try to force the user to go through an activation process. There is always a back door for installers to exit the process though. In the case of the Exceed 2, simply pressing volume up, volume down, back, and home quits out of the activation process.

Got root?

Some applications require root permissions. To achieve this, your best bet is to do a bit of Googling for your particular phone model. The XDA developers forums are a great resource for this. While prepaid phones don’t usually have communities behind them like flagship phones, you can often find at least some information on what it takes to root your particular device. The most well-known “root every device” application to date is towelroot, created by GeoHot. You might remember [George Hotz] aka GeoHot as the first person to jailbreak an iPhone. He also made the news by getting into a bit of hot water with Sony over some PlayStation 3 security holes. Towelroot uses a Linux kernel exploit (futex) to gain root permissions. Released in June of 2014, the futex exploit has been patched on most new phones. However, it hasn’t been patched on phones that receive relatively few updates – like prepaid phones. On the Exceed 2, Towelroot works perfectly, giving the user root without even requiring a reboot. Once the phone is rooted, a root privilege manager like SuperSU is needed to keep track of which applications should have root permissions. Once that is done, anything goes! We’ve found packages like BusyBox to be huge helps – especially when working at the console through Android Debug Bridge (ADB).

What do you want to hack today?

Between these low-cost phones and the used phones every family seems to have floating around now, there are a heck of a lot of devices out there waiting to be used. What can you do with a spare Android phone? Quite a lot. There has never been a better time to learn to code for the Android Platform. Android Studio is the current official development environment. If you know a bit of Java, it’s easy to jump in and start making apps. If you’re not a Java head but want to learn, there are tutorials all over the web to help get into the swing of things.

Not a coder? The swiss army knife of automating android devices has long been Tasker. Tasker allows you to set off simple scripts (called tasks) with triggers which can be anything from plugging in headphones to connecting to a particular WiFi access point, to pressing a button on the screen. Want your smart phone to announce your arrival home with your own theme music? Just set up a Tasker profile to play a song when it connects to your home WiFi router. Tasker supports plenty of actions natively, and can be extended with plugins. Scripting Layer For Android SL4A) even allows it to extended with Python scripts.

Moving into the hardware world, there are plenty of ways to get GPIOs from an Android phone. The Android Accessory Development Kit (ADK) is getting a bit long in the tooth, but it’s still a great way to interface an Arduino board like the Arduino Mega ADK with your device. Another option for getting into the hardware realm is the IOIO OTG board. As the name implies, this new version of the IOIO board supports the USB OTG standard. This allows it to connect a phone either as a host or as an accessory.  Need a simple wireless terminal for your project? Grab a terminal app and a Serial Port Profile (SPP) compatible Bluetooth module, and Bob’s your uncle. Interested in hacking with the ESP8266? There is an entire page of apps on the Google Play store dedicated to interfacing with everyone’s favorite low-cost WiFi module.

We’ve just covered the tip of the iceberg here. What kind of hacking would you do with a spare Android phone, or one of these low-cost prepaid devices. Let us know in the comments!


Filed under: Android Hacks, Featured
Hack a Day 10 Sep 18:01

Experience sound multi-sensorially with Ocho Tonos

Some of you may have noticed that words like rhythm, texture, pattern, can be used both to describe fabrics, as well as sound. Focused on building an interface as a whole, using mostly textiles, OCHO TONOS invites the user to interact through touch, and experience sound in a multi-sensorial way. Ocho Tonos is an interactive installation by EJTech duo (Esteban de la Torre and Judit Eszter Kárpáti) I met last July during etextile summer camp while they were working on this experimental textile interface for tactile/sonic interaction by means of tangibles:

Exploring the relation between sound and textile and experimenting with the boundaries of our senses whilst changing the way we perceive fabric, surfaces and their manifestation as sound. Recontextualizing our tactile interaction with textile acting as an interface, where each element triggers, affects and modifies the generated sound’s properties. Creating a soundscape through sensor technology enticing audiophiles to interact and explore with reactive textile elements.The nexus of the body, the senses and technology.
OCHO TONOS is a symbiosis of the unique hand-crafted traditional textile techniques and the immaterial digital media.

Thanks to Arduino Mega ADK , all inputs coming from the touch of the user on the soft sensors are translated into a digital platform, parsed and filtered through MaxMSP, in order to control the generation of a soundscape in Ableton Live.

Ocho Tonos was chopped, spiced and cooked at Kitchen Budapest. Sounds used are samples from the working machinery at  TextielLab.

Mobiton - Robotic Smartphone Shell

Primary image

What does it do?

Uses a smartphone to operate. It can be an assistant, pet, or a telepresence device. Can be anything depends on the mobile app you write.

Hey Guys,

I know, I didn't post for a while. Didn't have time to post some of the projects, sorry about it.

Alright, so here is our new project, we plan to go commercial with it. It is called Mobiton. It is a robotic shell for mobile devices (android currently). You can dock your phone on the device, an application written for the robot pops up and it brings the robot to life.


Cost to build

$150,00

Embedded video

Finished project

Complete

Number

Time to build

Type

URL to more information

Weight

read more

Android ADK2012 is here and is powered by Arduino technology

 

ADK2012 board

Google has unveiled at Google IO their new  Accessory Development Kit for Android mobile phones and tablets, the ADK2012

The ADK2012 is based on the upcoming Arduino Due platform and the new Arduino IDE that supports programming ARM targets.

Currently the IDE works only on the Google ADK board released at Google IO, while the official launch of the Arduino Due is due later in the year.

 

 

 

Arduino Blog 28 Jun 20:35
adk  arduino  

SMS Text Scroller Powered by Android and Arduino

follower posted a new project up on Labradoc: an <a href="“>LED matrix display connected to an Arduino Mega ADK and an Android phone:

I was working to get things working for the evening of Sat 19th (NZ time) but noticed an issue during the afternoon that stopped much in the way of new feature development.

Once I had the the display working okay I added a couple of features:

  • One permanent message (hardcoded into the sketch) to display.
  • Four “slots” used to store the last four SMS messages received. When a new message is received the oldest message is overwritten. (The display order doesn’t change however–i.e. the message in slot 1 is always displayed after the permanent message, even if it’s not the most recent/oldest.)

Project: SMS Text Scroller by follower


MAKE » Arduino 14 Jun 16:30
adk  android  arduino  sms  

Portable and cloud-based heart rate tracker

In his blog, Charalampos describes his experience with SeeedStudio’s Grove Ear-clip Heart Rate sensor and Cosm (former Pachube) cloud service. The employed sensor is quite cheap and can detect heart pulses from the ear lobe, by measuring the infra-red light reflected by the tissue and by checking for intensity variations.

By connecting this sensor with an ADK board and, in turn, with an Android smartphone, Charalampos implemented a portable heart-rate tracker, which is used to send the recorded data to Cosm cloud service.

For more information and sample code, see here.

[Via: Building Internet of Things]

 

 

Heart Rate Monitor using Android and Arduino

Last week I decided to buy some stuff from local reseller of Arduino. I bought a Kyto Heart Sensor that transmits heart pulses to a receiver via radio frequency. The RF receiver can then be interfaced to an arduino and then pass the results to an Android device for visualization.

[...]

A very geeky beer dispenser

The next time while organizing a barcamp you can display this cool hack for two great reasons: The obvious being to look cool, the other reason being well, there is Arduino and beer involved! Where both are cool.

Aptly named KegDroid, this beautiful beer dispenser was built by a google employee, Pall Carff, uses NFC reader to identify users and dispense beer.

It’s not just the beer dispensing that sounds awesome to us, oh no. KegDroid is packed to the brim with all sorts of clever tech, mostly from Google’s labs. The giant robot has a Motorola XOOM tablet running Android 4.0 Ice Cream Sandwich jammed into its belly, which runs a custom app designed by Paul.

An NFC reader sits between the two drip-catchers and interfaces with specially made NFC tokens, sending a message to an Arduino computer board that’s inside the case, which then controls the beer pouring from the taps situated in the arms of the Android robot.

So the next step can be a humanoid beer robot fetching us beer to our table when tweeted with an @RestaurantName with #tablenumber ?

Via:[GadgetHelpline]

Arduino Blog 01 May 20:01
adk  arduino  beer  

Fixing the ADK Library to work with Arduino 1.0

If you’ll try to create a sketch using the Android ADK library on  the latest version of Arduino (1.0 as of this writing), you will get several errors just like this:

This is because they renamed some header files and also changed the signature of some commonly used functions. Initially I thought it will take [...]

Android + Arduino 06 Apr 01:07

How to use a Tricolor LED and a Mini Buzzer


So I’ve made a little not-so-challenging game that uses a tricolor LED, mini buzzer, arduino and of course our Android device. The mechanics of the game is that you need to choose a color, red, green or blue from the Android app and then the accessory (arduino) will randomly pick a color after [...]