RP2040 Zero
Mandatory component that runs the firmware and its built in LED is the light source for the night lamp.
A compact, customizable night lamp built around the RP2040 Zero and open-source firmware.
Please read this section carefully.
This project is provided for informational, educational, and hobbyist demonstration purposes only. It is not professional engineering, electrical, fire, or safety advice. You assume all risk for building, testing, powering, modifying, or using any design or component shown here, and you are solely responsible for verifying compatibility, safety, and compliance for your own use. By using this content, you agree to the terms of service and disclaimers. Not suitable for young children. Not suitable for anyone with strobing light sensitivity.
Affiliate link commissions disclosure
This page has Affiliate links; we may earn a small commission at no cost to you if you purchase through these links.
A quick visual tour of the lamp's finished form and build details.




This project is designed to feel both functional and personal. The enclosure is 3D printable, the firmware is easy to customize, and the output is tuned for mood lighting rather than just utility.
It is a great fit for makers who want a small, visually appealing build that is easy to tinker with and simple to adapt for different effects or color palettes.
The result is a small lamp with a premium feel, a flexible control scheme, and a highly customizable lighting engine.
Explore the interactive 3D previews. All 3D models are freely downloadable from the Actions menu.
Loading 3D model...
The viewer will appear here once the model is ready.
These parts are necessary to support the functionality of this project. The links are Affiliate links. If you buy thru these links, we may earn a small commission at no cost to you.
Mandatory component that runs the firmware and its built in LED is the light source for the night lamp.
Mandatory component needed to supply power to the RP2040 Zero.
Helps connect the RP2040 Zero to the USB C Power Connector. Though the power connector comes with a wire, it may not be long enough to reach the board via the 3D Printed mount. These wires come bundled with electrical shrink wrap.
These parts are optional. Some project features may not be available. The links are Affiliate links. If you buy thru these links, we may earn a small commission at no cost to you.
Push button to cycle thru different lighting modes and brightness levels. If you do not wish to use this, you can change the firmware to start in the a mode and brightness level of your choosing.
Watch the project walkthroughs and build videos below.
A short look at the build process and lighting effects.
Quick demo of the lamp in use.
Source from the project repository.
Loading firmware source...
Personal, educational, and demonstration use only.
This design, source code, 3D models, and related documentation are provided free of charge for personal, non-commercial, educational, and demonstration use only.
You may use, build, modify, and share this project for your own private projects, student coursework, classroom demonstrations, hobbyist experimentation, and non-commercial presentations, provided that:
Commercial use, mass production for sale, or any productized deployment intended to generate revenue is strictly prohibited unless a separate written license is granted by the copyright holder.
This work is provided "as is," without warranty of any kind, express or implied. The author assumes no liability for damage, injury, loss, or other consequences arising from the use of this design.