RGB Remote Control Lamp
Build a lamp or lighting system that changes its colours and/or brightness according to the time of day. Use a Neopixel strip connected to the Pico’s GPIO with PWM control. Include either a real-time clock or simulate the daily cycle in code.
Supplies
Equipment:
- Raspberry pi pico w
- Neopixel stick 8 or any other RGB LED strip light that only uses 5 volts.
- Wires (black for ground and other color for other wires.)
- circular wooden base
- lamp shade cloth.
- IR remote control module
Tools:
- soldering iron
- players/wire cutters.
- drill
Research
- https://www.instructables.com/Circadian-Lamp/
- This example shows a circadian lamp similar to the design that I intend to produce. This example has a lamp that changes color depending on the time of day. The intended purpose of this lamp is to mimic natural light to help sleep patterns.
- Components: Taken from resource
- Raspberry pi pico.
- Neopixel stick 8 or any other RGB LED strip light that only uses 5 volts.
- Wires (black for ground and other colour for other wires.)
- circular wooden base
- on/off switch
- lamp shade cloth.
- https://www.instructables.com/Circadian-Lighting-SystemLamp-Body-Clock-Light-Sun/
- This is another example of a circadian Lighting system, this example's specific purpose is to naturally wake up your body by mimicking sunlight to wake you up without an alarm.
- Components: Taken from resource
- Fado Lamp - This is the case to be able to enhance the projection of light
- Dimmable LED Bulb - This is to be able to dim and brighten the light
- WeMos D1 mini - This is to be able to connect to a device and change what time the lamp turns on
- Hi-Link 220v AC - 5v DC - This is a battery to be able to power and ensure the lamp works
- RobotDyn PWM Dimmer - This is to dim and brighten the LED Light
- Dupont Connectors - To connect the circuit together
- The 3D Printed Base - Allows the lamp to sit/balance on a base
- https://rdrn.me/wake-up-light/
- This design shows a rectangular tv like design with the intended purpose of waking you up by mimicking sunlight.
- Components - Taken from resource
- Raspberry Pi: any one that has WiFi built-in
- micro-SD card: above 8 GB or so (the OS and scripts go here)
- micro-USB power adapter: at least 2 A, preferably more
- RGB LED: I used something like this
- 3x MOSFETs: one for each colour channel, needed because you can’t drive a high-power LED directly from a logic pin; I used these
- resistors: a couple of 100 Ω and 10 kΩ logic-level (1/4 W) resistors are needed to go with the MOSFETs; you’ll also need some higher-power (2W or so) resistors for the LEDs, the value of which will depend on the LED voltage (this may be useful)
- button: any clicky momentary button
- heat-sink: a chunk of metal to help the LED dissipate heat
Ciruciut Design
My Circuit design contains the Pi Pico, connected with a header for ground and a header for power, with the info connected to the first few pins. The Neopixel ring, power supply and IR receiver all have their respective pins connected to the ground and power pins.
Building
- Start by soldering Neopixels in a 3x3 grid into board, connect rows from data in to data out and add right angle pins so you can connect it to the Pico.
- Wire IR receiver, power supply and Neopixels to the Pico.
- Upload code to customise button inputs.