ShIP to

wireless powered multi color led lamp

by:Dolight LED Panel     2019-08-23
Especially when you make your own LED lights, the LED lights are cool.
I designed a 3D printed multi-color LED light using the Neopixel LED ring and super bright white LED.
The light is completely waterproof and is integrated with a wireless charger.
So there is no trouble charging wires.
It has a tilt sensor that goes out automatically when you put it upside down.
In the last few steps, I will share how I made this beautiful lamp.
Before starting to have myself watch the demo video I made and how it works. 1.
Arduino Pro Mini (1 pc)
: The main controller unit of the lamp.
You can use another version, but I use it for a smaller form factor.
Buy one: gearbest. com2. Neopixel Ring (
16-bit or 24-bit 1 pc)
Buy one: adafruit. com3.
Ultra-white LED panel: this is required to generate white light. 4.
5v boost converter module: output voltage of a Li-
The ion battery is 3. 7V.
For driving circuits (
Arduino & Neopixel ring)
5v power supply is required.
So convert 3.
A 5v boost converter of 7v to 5v is required. 5. Li-
Ion Charger Module (gearbest. com)
: Charge a Li
A safe charging module is required for ion batteries. 6. Li-
500mAh7 ion battery.
Coil for wireless charging: Wireless charging requires two coils, I made the coil with 24 GW enameled copper wire. 8. 4 MOSFET (IRF540N)
: For a wireless charger, you need to supply the AC voltage to the transmitter coil to generate the AC voltage.
To generate an AC voltage from a DC supply, a switching circuit is required.
Mosfet for high power fast switching circuit. 9. Half-
Bridge MOSFET driver (IR2104)
: The mosfet cannot be driven directly by the micro controller pin.
Therefore, the MOSFET driver is required to drive the MOSFET.
IR2104 is a half-bridge driver that can drive 2 MOSFET and requires 2 IC to make H-
Bridge inverter circuit. 10.
555 timer IC: PWM signal for generating drive MOSFET. 11. IR Sensor (LTH1550-01)
: Use two infrared sensors as touch buttons to control the color and brightness of the lamp. 12. BJT (2N2222)
: Since the bright white led has enough current, the Arduino pin cannot provide this current directly, so two BJT are used to drive the ultra-bright led panel separately. 13. Hex Inverter (4069)14. Resistor (
100R, 15k X 2,100 K, 270X2,1k X 2)& Capacitor (
1 uf x 4, 203pf X 2)Tools1.
Soldering iron 2. Glu Gun3. Wire cutter4. LCR Meter5. Multimeter6. Oscilloscope (optional)7.
3D PrinterI prints five separate parts of the lamp.
The middle part should be printed with natural PLA.
Other parts can be any color depending on your choice.
Natural PLA is half
Due to the light effect and the LED diffusion it is easy to pass through the transparent part, so transparent and good lighting effect.
The middle part of the base part and the thickness of the bottom are 1. 5mm thick.
Other parts are 2mm thick.
I printed all the parts using Anet A8 3D printer.
All designed files are attached to the steps. stl format.
I designed all the parts in thinkercad.
Network platform.
According to the attached chart, I welded two infrared obstacle sensors on a small PCB board.
The two sensors will work as touch buttons and work with the touch coming from the outside of the surface of the lamp.
I added 8 super bright LED (. 5W each)
Pure white light, connecting two paragraphs (4 in each)
Driven by two transistors
Two sections can be turned on and off separately so that the brightness can be controlled.
The color of the Neopixel ring can be controlled by another touch button.
I put all the white led panels on the orange ring in the middle with hot glue.
I am trying to keep an equal distance between each led panel.
Then I put the Neopixel ring in the right place.
Attached pictures are more than I can explain.
There are four pins in the Neopixel ring (
DIN, DOUT, 5 v, GND).
The last pin connection is obvious and does not need to be explained.
The DOUT pin is used to connect another Neopixel, so we will not connect it.
The DIN pin is the data input pin for the ring and we will connect it to the Arduino pin 6.
Needle month is the library used by the default Pin Neopixel.
After connecting the Neopixel ring, connect the sensor circuit to the Arduino.
The two pins of the sensor circuit should be connected to Arduino 0 and a1.
I used analogRead ()
Arduino reads the sensor and sets the threshold for the program to adjust the sensitivity of the switch.
To control the white LEDs, two transistors should be connected to the Arduino digital pin 7 and pin 8.
After completing the connection, upload the following sketch to the Arduino pro mini and test it.
If it can be perfectly prepared for the next step.
After completing the connection and uploading the program, it is the right time to place all the led and circuits inside the light box.
First, I placed the sensor circuit and then placed the Neopixel ring with the orange part in the middle of the lamp inside the transparent part.
I put the boost converter in the middle and then the transistor circuit in it.
And then Lee-
Ion charger circuit.
Finally, I put the Arduino pro mini board in the box and use the hot glue to connect all the components and wires in place.
The video below allows you to see clearly.
Wireless power transmission (WPT)
Refers to a series of technologies that provide power without wires or contacts.
The MIT demonstrated for the first time in the 2007 summer with inductive coupling.
In 2008, Intel also provides wireless power through inductive coupling.
I use the inductive coupling method to charge the lamp wirelessly.
In this project, the oscillation circuit converts DC energy into AC energy (
Launch coil)
The magnetic field is transmitted by frequency, and then the receiver coil is induced.
The nature of inductive coupling is wave (magnetic field-wideband), range(very short~cm), efficiency(hight)
And operating frequency (LF-
Band ~ Hundreds of kHz).
Here I made a 5v charger for charging 3. 7V Li-
Ion battery of lamp in this method.
Based on the coupled magnetic field, the system is designed and built in two parts.
There are transmitter parts and receiver parts.
Transmitter coil (
Transmitter part)
Transfer the coupled magnetic field to the receiver coil (receiver part)
Through a frequency of about 50 KHz.
Ampere\'s law, Leo-
Using Savart\'s law and Faraday\'s law, the inductive coupling between the transmitting coil and the receiving coil is calculated.
The calculation of this certain law shows how much power transfer is in the receiver part when there is a distance between the transmitter coil and the receiver coil.
The system is safe for users and neighboring electronic devices.
In this project, the supply voltage 12 DC is used as the h-drive oscillator circuit
The bridge driver that operates the transmitter coil.
The transmitting coil then transmits the coupled magnetic field at a frequency of about 50 KHz.
In this state, there is an AC voltage and a receiver coil receiver coupled magnetic field that acts as an AC voltage.
The bridge rectifier with the capacitor again converts the AC voltage to the DC voltage to charge the battery of the lamp.
The complete circuit diagram of the project can be divided into two different parts: the transmission part and the receiving part. Both parts require an induction coil to generate magnetic flux.
It is very important to design the coil.
The efficiency of the charger depends on the coil.
The coupling coefficient and Q are determined by the coil (quality)factor.
For good coupling, the two coils should be the same.
The coupling between the primary and secondary coils can be described with the coupling factor k, which is the infinite number between 0 and 1.
If the secondary coil is coupled with all the flux generated by the primary coil, the coupling coefficient is equal to 1.
The coupling between coils is very sensitive to separation and alignment, but modeling changes is not trivial and mathematical derivation does not yield simple analytical expressions.
In the coupled frequency response function, we can see the second important influence of the variable coupling factor. tuned system.
For my project, I designed two coils using 14-ring enameled copper wire.
The diameter of the coil is 60mm. I found the inductance 0. 045mH.
I use super glue to form a coil on the base.
The circuit is designed based on inductive coupling.
Inductive coupling is based on magnetic field induction, which transmits electrical energy between two coils.
Induced power transfer (IPT)
When the primary coil of the energy transmitter produces a major variable magnetic field on the secondary coil of the energy receiver, it is usually less than the wavelength. The near-
The magnetic field power then senses the voltage/current on the secondary coil of the energy receiver in the magnetic field.
This voltage can be used to charge a wireless device or a storage system.
The operating frequency of the inductive coupling is usually within the range of kHz.
Secondary coils should be tuned at working frequency to improve charging efficiency.
Quality factors are usually designed at smaller values (e. g. , below 10)
, Because for larger mass values, the transmitted power will decay rapidly.
Due to the lack of compensation for high quality factors, the effective charging distance is generally within 20 cm.
Induction coupled radio frequency identification (RFID)
Is an example of extending the charging distance to dozens of centimeters at the expense of inefficiency (e. g. , 1-2%)
Receiving power in the micro watt range.
Although the transmission range is limited, the effective charging power may be very high (e. g.
KW for electric vehiclescharging).
The advantages of magnetic coupling are easy to implement, easy to operate, and high efficiency at close range (
Usually less than the diameter of the coil)
Therefore, it is applicable and popular in mobile devices.
Recently, MIT scientists announced the invention of a new wireless charging technology, MagMIMO, which can charge wireless devices 30 cm away.
It is said that even if the phone is in the pocket, MagMIMO can detect and throw an energy cone at the phone.
In this project, the working principle of the wireless charger is mainly induction coupling.
With this idea of inductive coupling, we are trying to transfer energy wirelessly to charge low-power devices such as phones, cameras, wireless mice.
It is clear from the scheme diagram that for the overall function of the wireless charger circuit, it requires a wireless power transmitter and a wireless power receiver part.
The transmitter coil in this wireless power transmitter section converts DC power from the oscillator to a high frequency AC power signal.
This high-frequency AC connected to the wireless power transmission coil generates an AC magnetic field in the online coil due to induction to transmit energy.
In the wireless power receiver section, the receiver coil receives energy in the form of an induction AC voltage (
Due to entry)
In the rectifier of its coil and wireless power receiver section, the AC voltage is converted to the DC voltage.
Finally, input this corrected DC voltage to the load through the voltage controller section.
That is, the main function of the wireless power receiver part is to charge the low-power battery through inductive coupling.
The transmitter part of the wireless charger circuit consists of a DC power supply, an oscillator, and a transmitter coil.
The DC power supply provides a constant DC voltage, which is the input of the oscillator circuit.
The oscillator converts this DC voltage to a high frequency AC power supply and provides it to the transmitting coil.
Due to this high frequency AC current, the transmitter coil is energized and an AC magnetic field is generated in the online coil.
DC power supply: it consists of a step-down transformer that reduces the supply voltage to the desired level and a rectifier circuit that converts the AC voltage to a DC signal.
Another good option is to switch the power supply.
I\'m using 12V SMPS here.
Oscillator circuit: transmitter circuit consists of DC power supply, oscillator circuit and transmitter coil.
The oscillator circuit consists of four N-channel mosfet IRF540 (4 pcs), 4148 diodes (provide cross-
Coupling feedback)
, 1 uF capacitor, 102pf capacitor (
Working as a resonant capacitor in series with the coil), 555 timer (PWM generator)
And a hex inverter of 4069. .
When 12 DC power supplies are provided to the oscillator, the current begins to flow through the coil and drain terminals of the transistor.
The current flows through the coil in either direction and the frequency is controlled by the PWM signal from the 555 timer IC.
I set the PWM frequency to 50KHz (
Determined by formula F = 1/[2π√(LC)]).
The receiver is partially coil by the receiver (
Same as transmitter coil)
Rectifier circuit (using ultra-fast diode)
And voltage regulator IC.
The AC current flowing through the transmitter coil creates a magnetic field.
When we place the receiver coil at a specific distance from that transmitter coil, the magnetic field in the transmitter coil extends to that receiver coil, it senses the AC voltage and generates current in the receiver coil of the wireless charger.
The rectifier circuit in the receiver section converts the input AC voltage to a DC voltage, and the voltage regulator IC helps to provide a constant limited regulated output voltage to the load, charging the low-power device.
We are using the LM 7805 voltage regulator IC.
It is used because the IC gives a regulated 5v as its output and it does not allow the output to exceed 5 v.
The charging circuit of Li-requires 5v output
Ion battery charger circuit.
The regulator output is input to the input of the charger circuit.
The receiver circuit is placed inside the lamp at the bottom.
Placement is shown in the image.
I have attached some photos of the lights.
When I put the light on the transmitter coil of the wireless charger circuit, it starts charging.
The red color of the LED light indicates that it is charging.
The receiver circuit is connected to the Orange part of the lamp.
So, the orange side must be put down when charging.
Custom message