Description: A good way to mount the circuit board is to use a hot glue gun to mold the circuit underneath the lamp housing. There is plenty of space there for your board. At the next photos you can see the circuit board mounted on the small 31cm IKEA Mylonit Lamp. It's clear that current changes as colors are changing. As you can see, the max current needed is 232mA. You should keep in mind that this depends on the LED you have and the power resistors you choose. As a conclusion, a power supply rated at 5V/500mA will be sufficient. The schematic used is shown in the next image. It's as simple as it shows. Take care on the correct transistor mount and correct polarity of power source. More: Programming the PIC16F628 can be achieved using this very simple PIC programmer and a program called ic-prog. Just use your programmer and upload the .hex file on your PIC. For successful results, you should pay attention to the fuse bits. You should enter the correct fuses as noted on the following table. Here is a list of the components I used for making the LED mood lamp.
- 3 x NPN transistors capable of driving 500 mA, for example, the BC337
- one PIC 16F628(A) and a programmer
- a small perforated circuit board
- 7 x 10K resistors (1/4W)
- some 1 watt resistors (4.7, 10, and 15 Ohm) and a DIP switch
- a power supply (5 volts, 500 mA)
- Ikea Mylonit lamp or other housing
- silicon paste from your local DIY shop (if you want to use a heatsink)
- one z-power 3 watt RGB LED
- a little heatsink and some cooling paste (if you want to use a heatsink)
The project described involves creating a LED mood lamp utilizing a PIC16F628 microcontroller for color control, alongside a simple transistor-based switching circuit. The circuit design incorporates three NPN transistors, such as the BC337, which are capable of handling a maximum current of 500 mA, ensuring adequate power management for the RGB LED. The use of a 5V power supply rated at 500 mA is appropriate for this application, considering the maximum current draw of 232 mA when all colors are activated simultaneously.
The programming of the PIC16F628 microcontroller is facilitated by a straightforward PIC programmer and software called ic-prog, where the user uploads a .hex file to configure the microcontroller's operation. Special attention must be given to the configuration of fuse bits to ensure the microcontroller operates correctly in the intended application.
Resistors are utilized in the circuit to limit the current flowing through the LED and transistors, with seven 10K resistors (1/4W) and additional power resistors of 4.7, 10, and 15 Ohms being specified. The inclusion of a DIP switch provides a means of adjusting settings or modes within the circuit.
To physically mount the circuit board, the use of a hot glue gun is recommended to secure the board within the lamp housing, ensuring it remains in place during operation. The project may also benefit from the application of silicon paste and a heatsink to dissipate heat generated by the power components, enhancing the longevity and reliability of the circuit.
Overall, the schematic and components outlined form a cohesive design aimed at creating an aesthetically pleasing and functional LED mood lamp, with flexibility in color output and ease of assembly.A good way to mount the circuit board is to use a hot glue gun to "mold" the circuit underneath the lamp housing. There is plenty of space there for your board. At the next photos you can see the circuit board mounted on the small 31cm IKEA Mylonit Lamp. It's clear that current changes as colors are changing. As you can see the max current needed is 232mA. You should keep in mind that this depends on the led you have and the power resistors you choose. As a conclusion a power supply rated at 5V/500mA will be sufficient. The schematic used is shown in the next image. It's as simple as it shows. Take care on the correct transistor mount and correct polarity of power source. Programming the PIC16F628 can be achieved using this very simple pic programmer and a program called ic-prog. Just use your programmer and upload the .hex file on your PIC. For successful results you should pay attention on the fuse bits. You should enter the correct fuses as noted on the following table. Here is a list of the components i used for making the led mood lamp. - 3 x NPN transistors capable of driving 500 mA, for example the BC337
- one PIC 16F628(A) and a programmer
- a small perforated circuit board
- 7 x 10K resistors (1/4W)
- some 1 watt resistors (4,7, 10 and 15 Ohm) and a DIP switch
- a power supply (5 volts, 500 mA)
- Ikea Mylonit lamp or other housing
- silicon paste from your local DIY shop (if you want to use a heatsink)
- one z-power 3 watt rgb led
- a little heatsink and some cooling paste (if you want to use a heatsink)
When the preset is set to its maximum, the LED flashes at a rate of approximately once every half second. This rate can be increased by raising the capacitor value from 10µF to a higher value. For instance, if the...
The LEDs are OSSV53E1A from OptoSupply and they have a 140° angle. This means that the first plane with uniform density can be obtained at a shorter distance from the LED, for a given spacing between LEDs which means smaller...
This is a practical white LED head mount lamp (flashlight). Recently many white LED flashlights appear on the market. However, most flashlights require three cells because they are regulating output current with only series resistor. The odd number of cells...
The circuit utilizes a transistor (VT) and a voltage regulator (VSL) to create a constant current source, employing three regulators to enhance the performance of the regulator circuit.
The described circuit employs a transistor (VT) in conjunction with a voltage regulator...
The circuit is designed to set a delay time based on the voltage Us and the resistor R. In this configuration, S1 acts as the discharge switch for capacitor C. When switch S1 is closed, the stored charge in capacitor...
This circuit utilizes low-voltage AC to power a string of approximately 50 bi-color LEDs, with two LEDs connected in inverse parallel. The power supplied to the LEDs is managed by a Triac and two optocouplers, whose phototransistors are also connected...
Its state is constantly changing, and this change affects the flow of current and voltage, which is visible with the two LEDs. The speed of the LED flasher can be adjusted with potentiometer P1. As an astable multivibrator, the circuit...
This circuit detects the AC audio voltage supplied to car radio loudspeakers and visually represents it as power using an LED bar graph, creating an appealing visual effect. It is designed to accommodate typical car radio output power ranges but...
A 5V to 2.5V voltage regulator circuit is designed for use in computer motherboards. At its core, this circuit utilizes the RT9202 power management chip. The RT9202 functions as a switching pulse generating circuit, which, upon startup, converts a 5V...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more