Giter VIP home page Giter VIP logo

pireworks's People

Contributors

anokhi26 avatar eswaminathan avatar feihou avatar hoffmannmatheus avatar ryancoppa avatar yawadu avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pireworks's Issues

Watchdog script for Audio module

The Watchdog should automatically (re)start the Audio module on Raspberry Pi startup.

Responsibilities:

  • Run Audio module on system startup;
  • In case the module crashes, the watchdog should try restarting it.

Create base Android application

This task is focused on building the base app for the Spike. This means only the app structure and visual elements are necessary. The structure (activities):

  1. SyncActivity: This is the main activity (startup), and should enable Pireworks bluetooth devices Listing and Pairing. Therefore, must contain the following visual elements:
    • Device list: Name of the device and a 'pair' button.
    • Pairing dialog: A popup dialog that will be shown while the devices are pairing.
  2. PireworksActivity: This activity should only be active if the phone is currently paired with a device. Must contain the following visual elements:
    • A TextView where the messages from the Pireworks backend will be displayed.
    • A button to send a test message to the backend.
    • A button to disconnect from the backend.

Light Module Spike: Implement Listener for color inputs

The Light Module spike should "listen" for the Audio Processing color inputs.
A few ways this could happen:

  • Tunneling (linux |). Creates scripts so python audio.py | python light.py is possible.
  • Sockets (tcp). Would require that both modules synchronize with it.
  • Write/Listen to file. "audio.py" would write to a file, while "light.ph" would observe it, similar to tail -f color.log.

Watchdog script for Pireworks bluetooth backend

The Watchdog should automatically (re)start the Pireworks Backend on Raspberry Pi startup.

Responsibilities:

  • Run Backend on system startup;
  • In case the Backend crashes, the watchdog should try restarting it.

Install script for Light module

An install script that allows for setting up the Light module on other devices.

  • Install dependencies (programs, python dependencies)
  • Creates/Copies files on the necessary paths
  • Sets up Watchdog script.

Watchdog script for Light module

The Watchdog should automatically (re)start the Light module on Raspberry Pi startup.

Responsibilities:

  • Run Light module on system startup;
  • In case the module crashes, the watchdog should try restarting it.

Light Module Spike: Implement GPIO output singalling

The Light Module will interpret the colors and translate them to GPIO outputs signals. This will require prior setup of a simple RBG Led circuit with the Raspberry Pi.

  1. LED circuit, with Raspberry Pi GPIOs.
  2. Color interpretation
  3. GPIO signal output

Some issues that will come next (worth exploring soon):

  • How to make Multiple leds work? Could we use multiple colors?
  • How to vary Intensity of the leds brightness?

Implement the Pireworks Bluetooth backend module

This module will be hosted in the Pireworks Raspberry Pi, and will be the bluetooth interface of the system.

It should:

  • publish the current device on bluetooth
  • Accept pairing from the Pireworks Android App.
  • echo the messages sent by the app.
  • allow disconnection.

Implement the Bluetooth communication in the App

These are the responsibilities on the two activities of the Spike application:

  1. SyncActivity.
    • Listing available bluetooth devices.
    • Pair with a Pireworks device.
  2. PireworksActivity.
    • Read and display the messages sent by the backend.
    • Send a simple message (like "ping") to the backend.
    • Disconnect button, that will disconnect from the backend.

Install script for Audio module

An install script that allows for setting up the Audio module on other devices.

  • Install dependencies (programs, python dependencies)
  • Creates/Copies files on the necessary paths
  • Sets up Watchdog script.

Install script for Backend module

An install script that allows for setting up the Backend module on other devices.

  • Install dependencies (programs, python dependencies)
  • Creates/Copies files on the necessary paths
  • Sets up Watchdog script.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.