Skip to content

Control a LED strip with your mobile device using a Galileo (NodeJs)

License

Notifications You must be signed in to change notification settings

muzzley/galileo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intel® Galileo Muzzley Demos

Control a led strip with your mobile device (iOS and Android) using an Intel® Galileo Board

This demos use Muzzley for the Mobile <-> Galileo signaling and mobile views development.

To try the demo you can git clone this repository or download the ready to run app package (links at the botttom of the page). This demo runs with the Intel® IoT Devkit 1.0 image with Nodejs.

About the demos

Two demos are available:

  • Galileo Pin Debugger

This demo allows the user to read and write to the galileo board pins. Allowed values are 0 and 1 and the allowed directions are In and Out. Beware that you can only change a value if the direction is set to Out. By default the galileo pins 4, 5, 6, 7, 8, 9 and the on-board LED were made available (GPIOs 28, 17, 24, 27, 26, 19, 3). Clicking on a pin will show you a popup which will allow you to do such operations. You can try for instance connecting a LED to a specific pin and use the mobile device to turn it on and off setting the direction to out and switching between values 0 and 1

Demo preview

http://www.youtube.com/watch?v=jFUH83UqZxQ

  • Digital RGB Ledstrip Control

This one allows the user to control a LED strip. You can fill it with colors or play some colorful animations. Picking the color, selecting an effect or adjusting brightness will trigger the animation with the selected parameters. The color palette is available on clicking the custom color button, you can try slowly dragging your finger in the color palette and watch the LED strip changing colors in real time.

Demo preview

http://www.youtube.com/watch?v=O7mNqinRV5s

Hardware Requirements

In order to run those demos it's required:

  • Intel Galileo Board
  • Micro SD card
  • Digital RGB Led Strip
  • External power supply for the led strip (If the ledstrip is long and require more amps)

Wiring diagram 1

Wiring diagram 2

Other Requirements

It is also required:

  • Intel® IoT Devkit1.0 image in the SD card
  • Muzzley account

Documentation

Download the Installation/usage guide here:

Project manual

Image File

If you already have the IoT Devkit or other image, a ready to run app with all the dependencies is availble for download here

In order to use it you just need to type "wget http://cdn.muzzley.com/intel/MuzzleyGalileoDemos_Devkit1.0.tar.gz -O -| tar -zxvf - " in the galileo shell, since the image doesn't contain the git package and it will be a struggle to npm install without it.

Edit the config.js file, check how to configure it in the manual. To start the app type "node galileo.js"

Screenshots

Ledstrip view

Pin debugger view

About

Control a LED strip with your mobile device using a Galileo (NodeJs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published