Profile cover photo
Profile photo
Gautier Mechling
320 followers -
Software Craftsman
Software Craftsman

320 followers
About
Gautier's posts

Post has attachment
I wrote a counter device for Android Things using Bluetooth LE. It took me longer than expected, but works well (yet it's not really useful). Here's a sum up of all the steps I went through:

http://nilhcem.com/android-things/bluetooth-low-energy

Post has attachment
Now that Android Things DP3 has USB support, I tried to create a custom Arduino NFC reader that sends data over USB. How-to here: http://nilhcem.com/android-things/usb-communications

Post has attachment
An overview of some external displays you can use for your Android Things projects, with code samples

http://nilhcem.com/android-things/external-displays


Post has attachment
First attempt modifying an existing toy, adding Android Things inside, so that it can embed an HTTP server and be wirelessly controlled:

http://nilhcem.com/android-things/toy-hacking

Post has attachment
I've written an article explaining how we can use our own set of images to classify everything we want using TensorFlow for Android / Android Things

http://nilhcem.com/android/custom-tensorflow-classifier

Post has attachment
Now that Android Things Developer Preview 2 supports USB audio, it's the perfect way to start playing with Text-To-Speech and Audio Recognition.

Here's an article explaining how to integrate those in your projects.
Spoil: TTS integration is very easy. Audio Recognition will take you a little longer, depending on how you want to implement it.

http://nilhcem.com/android-things/control-your-devices-through-voice-with-usb-audio-support

Post has attachment
I've written a very simple MPR121 driver for Android Things, to start playing with capacitive sensors, and discover how to communicate via I2C.

The driver is available here:
https://github.com/Nilhcem/mpr121-androidthings

And here's a detailed article, if you want to get started porting Arduino libraries to Android Things:
http://nilhcem.com/android-things/discovering-the-I2C-api-creating-a-capacitive-sensor-driver


Post has attachment
You can create your own Android Things remote car easily.

For that, I bought myself a Mohoo Kit Chassis (any chassis is fine, you can also buy the components separately), and an L298N dual motor controller.
Then I followed this video to understand how to connect the wires.
https://www.youtube.com/watch?v=AZSiqj0NZgU

I used Nearby Connections API to send events via Wi-Fi from my phone to the raspberry pi, and then, in the Android Things project, when I receive some events, I set some boolean values to each GPIOs (1 gpio for the left motor to move forward, 1 to move backward, and 2 other gpios for the right motor). True to move the motor, false to stop it.

A really easy, fun, and interesting project, once you know how to blink a led (it's using the same gpio api). 

Post has attachment
Another fun thing you can do with Android Things and a piezo buzzer: an 8-bit music instrument. For that, buy yourself a UART cable (I bought the PL2303HX), connect the usb to your computer, and the TX, RX, Ground to your device, then open a terminal on your computer so you can send commands to AndroidThings via USB.

Source + howto here:
https://github.com/Nilhcem/uartfun-androidthings

Post has attachment
Fun things you can do with Android Things: use Bitmaps, Xfermode, Threads and Shaders to display a colorful text on an RGB LED matrix (8x8).

Sample project here if you are curious to see how it was implemented. https://github.com/Nilhcem/ledmatrixfun-androidthings
Wait while more posts are being loaded