You save so much time because of them, and there’s minimal wastage because you can always use another prototype if something goes wrong, instead of manually starting from scratch with a circuit board.
There are now so many PCB (printed circuit board) prototypes you can use which use the help of PCB SMT (surface-mount technology) to create your desired PCB SMD (surface-mount device).
You can buy any type of PCB assembly either online or at local stores and use it to make your PCB project. There are even microcontrollers you can use like Arduino for your electronically –oriented DIY project to create something satisfying and rewarding.
So How To Make A Mood Lamp?
(the pic come form google)
If you are a newbie to using a PCB and have a passion for making electronic gadgets, then you could start with a simple PCB project like a cute portal-themed mood lamp. It adds some color to your living space. It’s really easy to make using a few parts and minimal wiring.
• 1 RGB LED
• 1 Arduino and USB cable
• 1 small breadboard
• 4 330 ohm resistors
• 1 square glass bottle or jar as you like
• 4 long jumper wires, better if they are in different colors
• 1 white candle
• Hard drying clear glue
• Some gray and red modeling clay
You can easily buy the electronic parts like the PCB assembly from online stores like pcbgogo. If you are lucky, you may find a glass jar lying around the house. If not, you can always buy one.
The first thing to do is frost the cube by first removing the plain white candle’s wick and metal tab. Place it in a ceramic mug in the microwave for one to three minutes so that it melts into a clear fluid.
Get your glass ready
Wear work gloves to pour the wax onto the jar or bottle while swirling it gently till the wax cools down. There should be a layer of solid wax on all surfaces to give the glass a white and uneven, marbled texture from the outside for better looks and effects.
Don’t worry. If all this seems to be too messy for you, you can always just give the glass a coat of white paint!
Now it’s time to decorate the cube using the clay to make it look like a cube. Use it to cover the corners, the middle of edges between them and also make cute circles in the middle of each face with red or pink hearts on them.
After spending so much time decorating the glass, you can protect your work of art by applying a few layers of clear glue to the clay surface.
It works as a hard shell and prevents the clay from getting disturbed or rubbing off on something else. Don’t try baking it because the glass may explode due to the oven’s heat.
With your cube ready, you are now ready to do the wiring. You first have to take a look at your RGB LED legs. You’ll notice a long one which is the negative prong while the other three are differently colored positive prongs, usually red, green and blue.
Now bend the negative prong and stick it into the breadboard’s top black, negative row. Then bend the other three legs into three columns in the middle of the board, so that no two prongs share a column.
The prongs should be bent so that the LED lies flush against the board. This is when you insert the resistors to attenuate the current flow and prevent the LED from burning out.
Now it’s time to connect the long wires to the Arduino’s 10, 11 and 12 pins, which lie on its edge. Then use the breadboard to link them to the resistors, which are in turn linked to the LED. Then run the Arduino’s GND pin (ground pin) to anywhere on the breadboard’s black row.
It’s left to you to decide if you prefer the aesthetical look of exposed wires and circuit boards while stacking the breadboard and Arduino in a small box so that they remain hidden, or if you prefer using a soldering iron and getting rid of the breadboard.
Now that everything’s connected, the only thing remaining is your software. You can use this simple color swirl code that tells the computer the pins you’ll be using.
It also indicates the brightness of amount of brightness each pin has to emit. It also runs a loop using a bit of trigonometry which smoothly changes the lamp colors. Just paste the code onto the Arduino software and hit the upload button.
Once the code is uploaded to the Arduino, it’s time you checked to ensure the LED correctly shifts colors. Once everything is fine, it’s time to put on the beautifully designed lamp shade. If in case you use a bottle, you can use a ring of modeling clay as a stable base.
Voila! You have your portal themed mood lamp ready to use! The code used here is really simple; you can always change the code for something better and exciting, without even buying or fitting any additional hardware or parts to the lamp.
Room for improvement
Some ideas for improvement are making the lamp lights smoothly and randomly change from one color to another without repeating. You can also program it to flash a red signal from the PC if you perhaps get an email alert or you can set it so that the lamps’ brightness changes with the music.
Or you can also program it so that the lamp can be remotely controlled over the internet or your Smartphone. The sky’s the limit. You just have to use your imagination and the help of the right PCB prototype.
And if you don’t have the time, just click here. Pcbgogo is more than ready to send your desired PCB SMT board or PCB prototype to you, or even sponsor it for you if needed.