Sample Simpleui

Connect GPIO states with a graphical UI on Android Things
Alternatives To Sample Simpleui
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Cylon3,685339865 years ago47April 22, 201644otherJavaScript
JavaScript framework for robotics, drones, and the Internet of Things (IoT)
Rpi Rgb Led Matrix3,225
18 days ago514gpl-2.0C++
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
Alexapi1,273
4 years ago113mitPython
Alexa client for all your devices! # No active development. PRs welcome # consider https://github.com/respeaker/avs instead
Swiftygpio1,234
192 years agoJune 10, 202124mitSwift
A Swift library for hardware projects on Linux/ARM boards with support for GPIOs/SPI/I2C/PWM/UART/1Wire.
Embd1,21016125 years ago4March 06, 201746mitGo
Embedded Programming Framework in Go
Onoff1,0986932522 years ago57April 26, 20211mitJavaScript
GPIO access and interrupt detection with Node.js
Awesome Android Things927
10 months ago6Java
A curated list of awesome android things tutorials, libraries and much more at one place
Jetson Gpio76737a month ago25June 28, 20223mitPython
A Python library that enables the use of Jetson's GPIOs
Alexapideprecated598
5 years ago5mitPython
DEPRECATED - Use https://github.com/alexa-pi/AlexaPi instead ...Turn a Raspberry Pi into an Alexa Client
Python Periphery4751013 months ago10February 15, 20219mitPython
A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
Alternatives To Sample Simpleui
Select To Compare


Alternative Project Comparisons
Readme

Simple Peripheral UI

This utility exposes the GPIO of an Android Things device as switch widgets in a graphical UI. You review the state of inputs, and click the switches to control the state of outputs.

Note: The Android Things Console will be turned down for non-commercial use on January 5, 2022. For more details, see the FAQ page.

Introduction

This utility shows on the attached display Android Switch widgets for each GPIO pin exported by the board.

When you click or tap on the switch, the GPIO active status switch from HIGH to LOW according to the widget state.

You can attach LEDs or other digital output peripheral to your GPIO pins and toggle them on and off without changing a single line of code (if you connect LEDs: make sure you add 470 ohms current-limiting resistors in series to avoid damaging them).

Screenshots

Simple UI sample demo

(Watch the demo on YouTube)

Pre-requisites

  • Android Things compatible board
  • Display with touch input or external pointing device
  • Android Studio 2.2+
  • LEDs
  • resistors
  • Breadboard

Build and install

On Android Studio, click on the "Run" button.

If you prefer to run on the command line, type

./gradlew installDebug
adb shell am start com.example.androidthings.simpleui/.SimpleUiActivity

License

Copyright 2016 The Android Open Source Project, Inc.

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.

Popular Gpio Projects
Popular Led Projects
Popular Hardware Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Led
Switch
Gpio