moithepro / Ambilight-ws2812b-with-remote-control

ws2812b Ambilight + remote control for LEDs and PC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ambilight-ws2812b-with-remote-control

ws2812b Ambilight + remote control for LEDs and PC

This repository is dedicated to document this project I made for my PC setup.

Items used:

• Arduino Uno. (Can work with any Microcontroller.)
• 178 cm of 100 LEDs/m 5v ws2812b LED Strips (178 LEDs Total).
• 40A 5v Power Supply (to power the LEDs).
• KY-022 Infrared Reciever.
• 330 Ω Resistor
• And a lot of wires...

The project has 3 main targets:

Controlling the LEDs with a .NET program on the PC.
Controlling the PC with a remote control
Controlling the LEDs with a remote control.

Circuit Diagram:

Below is the circuit diagram:

Arduino-diagram image

The LED Strip data pin is connected to digital pin 5 with a 330 ohm Resistor.
The Infrared Reciever Signal pin is connected to digital pin 7.

Controlling the LEDs with a .NET program on the PC (Java port also avaliable but lacks some features.)

Using a .NET Framework WinForm Application to Control the Leds in many ways (not only Ambilight).
The LEDs are Controlled by Serial Communication with a Buad Rate of 250000 (500000 with esp32) with the Arduino via the PC in 5 main ways.
Individual Colors - Lets you Choose from a Color Palatte.
Rainbow - Changing Colors by continuously incrementing the hue property of the color.
Party - Continuously Changing Colors which is very cool lol :).
Ambilight - Taking screen pixel data to change the LEDs to colors displayed on the screen. (Best Mode).
Spectogram - Taking audio device audio level to update the LEDs Brightness According to the current Level (Reset sound device option).

Turbo - Lowering LEDs Update times so it will update faster. (May cause flickering due to hardware limitations)
There is also a Brightness slider Control

Controlling the PC with a remote control

The same .NET Application also checks for the Arduino Serial Port data and sends various keystrokes to the PC.

Controlling the LEDs with a remote control.

Pressing The "ON" button on the LED remote controls enables only the remote control to control the led.
Controls include brightness control and color setting.

Supporting me:

The best way you can support me is by checking for bugs and suggesting new features.

Photos

IMG_20211016_213444 The remote controls:
1637258300903 IMG_20211019_174302

About

ws2812b Ambilight + remote control for LEDs and PC


Languages

Language:C# 42.2%Language:C++ 39.4%Language:Java 18.4%