/neopixel-aws-iot

Neopixel control using AWS IoT and Android App

Primary LanguageJavaOtherNOASSERTION

Mongoose OS & AWS IoT - Neopixel and Thing Shadow with Android Companion App

Overview

This app allows for easy neopixel control using AWS IoT and comes with an Android App.

How to install this app

Step 1: Import

  • Install and start mos tool
  • Switch to the Project page, find and import the "neopixel-aws-iot" app, build and flash it:

Step 2: Set up Wi-Fi

  • You can do this via mos tool ui or using command mos wifi WIFI_NAME WIFI_PASSWORD

Step 3: Set up and Provision AWS IoT thing, Policy

  • You can do this via mos tool ui or using command mos aws-iot-setup --aws-iot-policy mos-default
  • Create a thing in AWS IoT and you are done

Step 4: Configure the Android App with AWS Keys

  • Clone this repo git clone https://github.com/austinn/AWS-IoT-Neopixel-Android
  • Import project into Android Studio
  • Edit the file /utils/Constants.java
  • Add your device names to /res/strings.xml
  • Build and upload your .apk to a device

Step 5: Connect Neopixels

  • Connect your Neopixel data line to pin5 (default)

Note* You can edit the pin and/or numPixels in the init.js file in the mos tool ui

Screenshots

Android Companion App