Skip to content

Control your led strip with RapsberryPi and python!

Notifications You must be signed in to change notification settings

nicofirst1/ledypi

Repository files navigation



Ledypi

Control you led strip with RaspberryPi, Python and Android.

Key FeaturesPatternsInstallationRunningContributing

Click video for tutorial



Key Features

Choose from more than 10 pre-made patterns and implement your own. The modular desing allows you to add the logic you wish by overriding a single method, then you can choose the pattern either trough ssh or on the android app.

Patterns

Each pattern inherits from a base class with its own logic. This allows anyone to implement his own pattern simply by overriding a method (see more on the readme).

Moreover each pattern can be customized by changing the values of its attributes, more ahead.

Fixed logic

There are more than 10 standard pattern to choose from with a steady logic, that is a fixed behavior.

Water

Bring the ocean home with the ocean pattern. You can choose the deepness with the parameters

water demo

Fire

If you're cold then try the fire pattern.

water demo

Interactive

On top of these fixed patters there are two interactive patters whose behavior can completely change based on the user input"

Music Reactive (click gif for video)

audio demo

This pattern uses a microphone to visualize the music on your led strip. There are three different type of visualization:

  • Spectrum: split the strip on subsequent frequency bands and visualize the amplitude as a mix of rgb values
  • Energy: use an energy function to plot the sound on the leds
  • Scroll: record the audio amplitude on a scrolling timeline.

Image

Designing a pattern can become hard and take some time, so why not using a pre-made pattern?

With Image you can use an URL pointing to an image and LedyPi will download it and display it for you.

image demo

Complete List

Check out the list of available patterns here

Installation

For the installation check out the related INSTALL file.

Running

Once you have installed the project on the RaspberryPi you can start it with the start script:

bash ledypi/scripts/app.sh start

For the web controller run it with ( more options are available in the ledyweb README):

python manage.py start

For testing see the USAGE file

Contributing

If you wish to support this project just fork it and add your pattern following the readme.

  

About

Control your led strip with RapsberryPi and python!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published