Giter VIP home page Giter VIP logo

ambiance's Introduction

ambiance

Usage

When the room is dark, the IR led turns on the led strip, the "mood lamp" is activated, and the music starts.

For the "mood lamp", see this Instructable: Mood Lamp with Arduino

Schematics

An Arduino Uno is connected to the USB port of a Raspberry Pi.

  • IR led connected to pin 3 (PWM);
  • light-dependent resistor (LDR) connected to pin A0 (analog);
  • 3 leds (red, green, blue) connected to pins 6, 9, 10 (PWM).

ambiance-schematics

Libraries

Led strip NEC codes

ColorCode
Brightness+F700FF
Static redF720DF
Static rose redF710EF
Static orangeF730CF
Static light yellowF708F7
Static yellowF728D7
Brightness-F7807F
Static greenF7A05F
Static light greenF7906F
Static green blueF7B04F
Static sky blueF78877
Static cyanF7A857
OFFF740BF
Static blueF7609F
Static sapphire blueF750AF
Static violet and greyF7708F
Static brown and purpleF748B7
Static purpleF76897
ONF7C03F
Static whiteF7E01F
3 colors jumpF7D02F
3 colors gradualF7F00F
7 colors gradualF7C837
7 colors jumpF7E817

ambiance's People

Contributors

bparmentier avatar

Watchers

 avatar

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.