Profile cover photo
Profile photo
Gautier Mechling
Software Craftsman
Software Craftsman

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:

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:

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

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:

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

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.

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:

And here's a detailed article, if you want to get started porting Arduino libraries to Android Things:

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.

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:

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.
Wait while more posts are being loaded