Kotlin Extension functions allow you to add behaviour (think methods/functions) to any other type on the platform or in your codebase. The idea being to allow for greater flexibility and less boiler plate code. Let’s…
[TUT] Creating a ByteString in Android
The protobuf library has a construct called ByteString. This is a immutable sequence of bytes, usually used to serialise a file or other piece of data. Recently when using the Google Cloud Speech to Text…
[TUT] How to use another power supply with your IoT device
When creating IoT systems, you’ll often want to use devices that run off another voltage of power supply than the normal 3.3v or 5v that your Raspberry Pi or other development board can give out.…
Read more of [TUT] How to use another power supply with your IoT device
[TUT] Android Things – Zx Gesture Sensor using UART
This blog post is going to show you how you can use the UART protocol to output from your AndroidThings application. We will attach a ZX Sensor and detect some movement hand gestures, minority report…
Read more of [TUT] Android Things – Zx Gesture Sensor using UART
[TUT] Android Things – Using the ADS1015 analog to digital converter driver library
This post is going to explain how to use the ADS1015 Analog to Digital converter with Android Things. The board can convert analog sensor signals to digital input for the android things board, as well…
Read more of [TUT] Android Things – Using the ADS1015 analog to digital converter driver library
[TUT] Android Things – APA102 7 LED Array, SPI on the Rainbow Hat
This blog post will explain how you can use the SPI protocol to shine an LED rainbow from your AndroidThings application. We’ll discuss the Raspberry Pi Rainbow hat and its actuators, in this case the…
Read more of [TUT] Android Things – APA102 7 LED Array, SPI on the Rainbow Hat
[TUT] Android Things – Alphanumeric Segment Display, I2C on the Rainbow Hat
This post will explain how you can use the I2C protocol to output from your AndroidThings application. We’ll discuss the Raspberry Pi Rainbow hat and its actuators, in this case the 4-digit Alphanumeric Character Display…
Read more of [TUT] Android Things – Alphanumeric Segment Display, I2C on the Rainbow Hat