Android things and Raspberry pi3

March 1, 2017 in Android, Devices, Hardware, Raspberry PI by Adrian Marius

For information on how to get started with Android Things and Rainbow HAT visit the official developer site for Android Things.

To put the latest Android Things image on your SD card, see the instructions here: https://developer.android.com/things/hardware/raspberrypi.html.

 

Rainbow HAT has a buffet of sensors, inputs and displays to explore Android ThingsTM. Use it as a weather station, a clock, a timer or stopwatch, a mood light, or endless other things.

We’ve worked with the Android Things team at Google to create this great add-on board that features displays, sensors, sound, and lots of LEDs! It’s the perfect introduction to developing Android Things applications on the Raspberry Pi.

Rainbow HAT also has a full Python API for use on Raspbian just like all of our other HATs that you know and love!

Rainbow HAT features:

  • Seven APA102 multicolour LEDs
  • Four 14-segment alphanumeric displays (green LEDs)
  • HT16K33 display driver chip
  • Three capacitive touch buttons
  • Atmel QT1070 capacitive touch driver chip
  • Blue, green and red LEDs
  • BMP280 temperature and pressure sensor
  • Piezo buzzer
  • Breakout pins for servo, I2C, SPI, and UART (all 3v3)

The board is designed specifically to show off the wide range of protocols available on the Raspberry Pi, including SPI (the APA102 LEDs), I2C (the BMP280 sensor and 14-segment displays), GPIO (the capacitive touch buttons and LEDs), and PWM (the piezo buzzer).

Raspberry Pi 3 Starter Kit for Android ThingsTM contains:

  • Raspberry Pi 3
  • Rainbow HAT
  • Pibow Coupé for Android Things
  • 2.5A official Raspberry Pi worldwide power supply
  • 8GB microSD card

by admin

Powerline – Adds Powerful Statuslines and Prompts to Vim Editor and Bash Terminal

October 4, 2015 in Programming, Python by admin

pythonvia techmint:

Powerline is a great statusline plugin for Vim editor, which is developed in Python and provides statuslines and prompts for many other applications such as bash, zsh, tmux and many more.

Features:

  1. It is written in Python, which makes it extensible and feature rich.
  2. Stable and testable code base, which works well with Python 2.6+ and Python 3.
  3. It also supports prompts and statuslines in several Linux utilities and tools.
  4. It has configurations and decorator colors developed using JSON.
  5. Fast and lightweight, with daemon support, which provides even more better performance.

For the entire article, screenshots and information about how to install and enable in terminal, follow this link.

PySide for Android – Build and Use Guide

March 12, 2013 in Android, Linux, Tips & Tricks, Tutorial by Adrian Marius

This guide describes:

  • how to build Shiboken & PySide for Android using the Necessitas SDK
  • how to use the resulting libraries
  • and how to bundle them with your Python program in a standalone APK

NOTE: If you just want to run you Python & PySide programs on Android, you can skip the Building PySide section and go directly to PySide for Android example application  & Example project for the Necessitas Qt Creator  .

See Links for source code  & pre-built binaries .

 
Skip to toolbar