All Projects → mwolfson → Androidthings_rainbowhatdemo

mwolfson / Androidthings_rainbowhatdemo

Licence: apache-2.0
This Android Things project executes all the hardware that is on the Pimoroni Rainbow HAT for Android Things and Raspberry Pi 3

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Androidthings rainbowhatdemo

sample-lowpan
Discover and connect to Thread mesh networks on Android Things
Stars: ✭ 28 (+64.71%)
Mutual labels:  android-things
ThingsCommander
Things Commander System, based on Android Things developer preview 2
Stars: ✭ 13 (-23.53%)
Mutual labels:  android-things
Lantern
Transform any surface into mixed-reality using Raspberry Pi, a laser projector, and Android Things.
Stars: ✭ 403 (+2270.59%)
Mutual labels:  android-things
androidthings-mqtt-alarm-panel
Android Things Alarm Control Panel for Home Assistant
Stars: ✭ 69 (+305.88%)
Mutual labels:  android-things
androidthings-weatherstation
Codelab and solution for the Android Things Weatherstation
Stars: ✭ 16 (-5.88%)
Mutual labels:  android-things
sample-uartloopback
Echo received characters over a UART with Android Things
Stars: ✭ 71 (+317.65%)
Mutual labels:  android-things
photobooth
Cloud-connected talking photobooth using TensorFlow
Stars: ✭ 40 (+135.29%)
Mutual labels:  android-things
Sample Tensorflow Imageclassifier
Classify camera images locally using TensorFlow models
Stars: ✭ 623 (+3564.71%)
Mutual labels:  android-things
android-things-rc522
Android library to communicate with RFID Module RC522
Stars: ✭ 44 (+158.82%)
Mutual labels:  android-things
Doorbell
Cloud-based photo doorbell with companion app
Stars: ✭ 298 (+1652.94%)
Mutual labels:  android-things
edison-candle
Production sample using Android Things
Stars: ✭ 42 (+147.06%)
Mutual labels:  android-things
sensorhub-cloud-iot
Sensor-based data collection device publishing to Cloud IoT Core
Stars: ✭ 73 (+329.41%)
Mutual labels:  android-things
android-things-samples
Samples and projects for platforms running Android Things
Stars: ✭ 23 (+35.29%)
Mutual labels:  android-things
Fool
Simple Russian voice assistant based on Android Things and Raspberry Pi 3
Stars: ✭ 26 (+52.94%)
Mutual labels:  android-things
Sample Googleassistant
Google Assistant API sample for Android Things
Stars: ✭ 460 (+2605.88%)
Mutual labels:  android-things
FRILLER
FRILLER is a 3D printed compact robot that can change the radius of its wheels to overcome obstacles.
Stars: ✭ 15 (-11.76%)
Mutual labels:  android-things
native-libandroidthings
NDK library for exposing Peripheral I/O APIs in C/C++
Stars: ✭ 28 (+64.71%)
Mutual labels:  android-things
Libaums
Open source library to access USB Mass Storage devices on Android without rooting your device
Stars: ✭ 769 (+4423.53%)
Mutual labels:  android-things
Contrib Drivers
Open source peripheral drivers
Stars: ✭ 539 (+3070.59%)
Mutual labels:  android-things
New Project Template
Stars: ✭ 265 (+1458.82%)
Mutual labels:  android-things

Android Things - Rainbow HAT "Demo Everything" Project

This Android Things project executes all the hardware that is on the Pimoroni Rainbow HAT. This is a add-on board for the Raspberry Pi, and is designed to help with introduction to developing with Android Things.

Screen Flow Demo

Project Explanation

The project is designed to demonstrate the specific protocols available on the Raspberry Pi, including:

  • (SPI) - the APA102 LEDs
  • (I2C) - the BPM280 sensor and Alphanumeric displays
  • (GPIO) - the capacitive touch buttons and LEDs
  • (PWM) - the piezo buzzer

How the demo works

Button A

  • (SPI) - LEDs Rainbow color switches from left/tight
  • (I2C) - Temperature displayed from sensor readings
  • (GPIO) - Button press registered, and RED LED turned on
  • (PWM) - Buzzer makes certain sound

Button B

  • (SPI) - LEDs Rainbow color switches between random colors
  • (I2C) - Barometric Indicator (LOW/MED/HIGH) displayed
  • (GPIO) - Button press registered, and GREEN LED turned on
  • (PWM) - Buzzer makes certain sound

Button C

  • (SPI) - LEDs display clear
  • (I2C) - Alphanumeric display clear
  • (GPIO) - Button press registered, and BLUE LED turned on
  • (PWM) - Buzzer makes certain sound

HDMI Display (optional)

  • Current IP Assigned (time powered on)
  • Current Temperature (time reported)
  • Current Barometric Pressure (time reported)

About this project

This application will demonstrate all the hardware on the Rainbow HAT device in a single app.

I used the individual contrib drivers for this, but could have used the Rainbow Hat Contrib Driver if I wanted. This application should run on all supported Android Things hardware (including the Intel Edison or Joule for example), but hasn't been tested on any devices other then the Rasberry Pi 3.

I made extensive use of the drivers and examples on the Official Android Things Gitbub site - it is a great resource.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].