Skip to content

Files

Latest commit

author
Tsehsuan Wang
Oct 11, 2016
d1a1776 · Oct 11, 2016

History

History
45 lines (23 loc) · 1.34 KB

README.md

File metadata and controls

45 lines (23 loc) · 1.34 KB

LightIntel

Introduction

This repo is the software part of an intelligent lighting system for family use, which was run on an arm development board with Android 4.4.

Here is a simple demo:

Demo

It was a Hybrid app based on Apache Cordova, which is a great platform with swift development ability and rich tool chains for debugging. It is also a practise of Google Angular framework with Ionic.

As for the hardware part, I made a cute lampshade with the head of KoroSensei, one of my favorite anime character.

Inside the lamp are three 300mA-1W LED in the colors of RGB, respectively, and three PT4115 chips to supply the current and are controled by the PWM signal sent by an Arduino UNO R3. The Arduino was linked to the Android development board via bluetooth.

How to use

You must have the following dependency installed first:

  • Cordova $ npm install -g cordova

  • Ionic npm install -g ionic

  • ngCordova

and then install BluetoothSerial plugin with:

$ cordova plugin add cordova-plugin-bluetooth-serial

add a platform with:

$ ionic platform add android

and then test the result with:

$ ionic run android -device

or

$ ionic run browser

License

MIT License