RGBLAMP.IO
Introduction: RGBLAMP.IO
Hey everyone WHAZZUP!
So here's my DIY RGB Desk Lamp/RGBLAMP. IO which is powered by an ESP12F Module and costs less than 20$. It has an internal lithium-ion battery and can be controlled via a web app.
My goal was to build a cheap Philips hue lamp alternative that has basic features like RGB LED Toggle and brightness control feature in less than 20$, so I made this Lamp!
This Instructables is gonna be about the building process of this lamp, how I made its PCB, the SMT process of this board, and the coding part which utilizes a simple web server for RGB control.
It's not very complicated and if you are familiar with ESP8266 MCU, it's basically a minimal ESP8266 with 18 WS2812B LEDs.
Let's get started!
Supplies
These are the things that we need for this built-
Electronics components-
* ESP12F x 1
* 10K 0805 x 5
* AMS1117 x 1
* 1uF 1206 x 1
* 10uF 1206 x 1
* 10uF Aluminium Electrolytic Capacitors x 1
* WS2812B x 18
* USB Micro Port x 1
* M7 Diode x 1
* 100nF 0603 x 18
* JST Connectors Male and Female set x 2
* Rocker Switch 6A DPST x1
* Lithium Cell/ battery 2600mAh 3.7V x 1
* Tic Tac Switch x 1
Mechanical Parts
* Body x1
* Diffuser x1
* 3D printed Base x 1
* Solder paste
* Hotplate
Step 1: PCB PLANNING-SCHEMATIC-ORDERING
So the first thing that I did was, I prepared a basic schematic in which I placed 18 WS2812B addressable LEDs and connected them with a minimal ESP12F or 12E setup. (check the Schematic attached for this)
I also added an AMS1117 circuit for stepping down the 5V from USB or 3.7V from the battery side as the ESP12F is 3.3v tolerant and 5V will instantly burn the board. 382
I didn't make any breadboard prototype for this setup as I previously have made similar projects, for example, these RGB glasses.
https://www.instructables.com/RGB-Glasses/
They also have the same setup, everything is the same except the number of LEDs and the mechanical fittings and shape.
In the PCB editor, I put WS2812B LEDs in a Ring sequence and added the ESP12F at the middle and AMS1117 at one side. After Finishing the PCB and checking the whole board thoroughly, I exported the Gerber data and open it in the DFM software by the next PCB which you can download and use from here-
⭐Free PCB File checker: https://www.nextpcb.com/nextdfm.html?code=ArnovSh...
DFM software is basically a PCB Checker which you can download to check your PCB or Render your PCB before sending it for Manufacturing.
The DFM software can quickly open Allegro, Altium, Protel, PADS, Gerber, and other files for analysis. For example, when it finds out the open circuit it can repair it by editing the function.
In this software, I uploaded each Gerber layer and verify them one by one to spot any mistakes.
After checking the board thoroughly, I clicked on the render option to check out the rendered version of this PCB in green solder mask... After doing all the checking and rendering stuff, I placed the order straight from this software.
I Used NextPCB PCB Service for this project- https://www.nextpcb.com/?code=ArnovSharma check them out if you need great PCB service for a low cost!
⭐Register to get free $100 coupons: https://www.nextpcb.com/register?code=ArnovSharma
I received PCBs from NextPCB in a Week and working on its SMT Process.
Step 2: PCB Assembly
The assembly process of this board is mostly SMD components that require solder paste instead of normal solder wires and a hotplate or a reflow gun.
also, Hot reflow gun can destroy SMD LEDs as the SMD LED's outer surface is made from plastic, and supplying heat from the top might melt the outer surface so it's wise not to use this method for plastic parts. Instead of a reflow gun, I used a DIY Hotplate for Reflow. 379