Skip to content

Playing a glockenspiel using Node.JS MQTT and a BeagleBone Blue

Notifications You must be signed in to change notification settings

Workshopshed/musicController

Repository files navigation

Beaglebone Blue Based Music

Overview

This demo project remote controls some servos from a web page

System Diagram

Client Components

  • Bootstrap - For styling
  • Knockout - To bind the data to the controls on the page
  • Socket.IO - To communicate with the sockets
  • Paho MQ Client - To communicate with the MQ

Server Components

  • Mosca - An MQTT broker
  • MQTT - The MQTT client for node

Install

Install Mosca https://github.com/mcollina/mosca/wiki/Mosca-as-a-standalone-service.

Install MQTT https://www.npmjs.com/package/mqtt#install

Copy the files to the board

Run Mosca with mosca -v --http-port 1884 --only-http

Run webserver with ./webServer.js

Run musicController with ./musicListener.js

Navigate to web page (don't use Edge) http://beaglebone.lan:9090/controller.html

Finished Glockenspiel

Finished Glockenspiel

About

Playing a glockenspiel using Node.JS MQTT and a BeagleBone Blue

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published