Thursday, December 29, 2011

Hanson Robokind

A walking robot with an expressive face!

Wednesday, December 14, 2011

Android USB Host Testing.


Since Android 3.1.x (API Level 12), Google introduced an USBManager which is actually a USB host API to talk to usb devices connected to your tablet or phone. It is different to the Android ADK, which requires the other sides have special hardwares and software protocol.

As now your tablet/phone is a complete USB host device, so you can theoretically connect to any USB devices avaliable on the market. But you have to write your own USB driver using USBManager (Java) to talk to the devices.

There is a one example provided by Google called ADB Test, so now you can connect your tablet/phone to another android devices via USB and start debugging. (i.e. adb logcat)

Source code: http://developer.android.com/resources/samples/USB/AdbTest/index.html

I got a Asus Transformer TF101, and a special USB kit which turns the external connector to a USB host connector, so now I can connect my phone to it with the USB cable! Let's see the demo video here:


If you want try it on your tablet/phone, you need to prepare a special usb host adapter if necessary and then download the following from the market:
https://market.android.com/details?id=com.bitartist.usbadb

it is a direct copy of the Google Adb Test,  I put on market just for people to play around.

I have started a little project of interfacing a USB2Serial adapter (based on SiLabs CP210x chipset), so far I can send / receive the data to/from the MCU UART. I hope can finish some basic functions (like setting baud rates) and release it to public later. It is a simple and cheap way to connect your Android devices to your MCU, the only drawback is that you will need a usb host and Android 3.1.x host device.





Sunday, December 4, 2011

Draw Schematic Online !

Found a website that allow you to draw schematic on your browser, so fast and easy.
link : http://www.dz863.com/

Thursday, December 1, 2011

Robotic Bear Pillow!

here we go, a new robot in Japan. It is a Pillow, if it hears you are snoring, it will turn your head to one side and hopefully you will store snoring. Check out the video here: