Skip to content

Change color temperature of a led strip based on the distance measured by a sonar.

License

Notifications You must be signed in to change notification settings

dynamick/colordistance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colordistance

Change color temperature of a led strip based on the distance measured by a sonar. Go to the project home page on hackster to discover the details.

Requirements

The project need pi-blaster daemon to be running. This guarantees us to send perfect PWM signals to our mosfets.

Installation

Install all the dependencies

npm install

and build the code

npm run build

Now you could launch the main script by typing:

sudo node lib/index.js

sudo is needed to send gpio commands.

Results

Watch che video Wirings

About

Change color temperature of a led strip based on the distance measured by a sonar.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published