How to Drive a Power Led With Arduino, ESP32 or ATtiny85 - CN5711

  Рет қаралды 3,385

Dario Cose

Dario Cose

Күн бұрын

💡 I like LEDs, especially for personal projects!
In this tutorial I will explain the operation of a simple ic to drive leds that meets my needs:
- Less than 5V input voltage
- Possibility to vary the current with a microcontroller
- Simple circuit, few components and small footprint
I hope this little guide will be useful for you!
⏰ UPDATE
I made a board based on the CN5711 compatible with Arduino. Check it out ➡️ • High Power LED Arduino...
-------------------------------------------------------
📗 Complete guide www.instructables.com/How-to-...
💻 Code repository github.com/dariocose/CN5711Ar...
🧰 Materials
- CN5711Led driver module s.click.aliexpress.com/e/_DmV...
- 1 watt red led s.click.aliexpress.com/e/_DlS...
- Lens (optional) s.click.aliexpress.com/e/_DdT...
- Arduino Nano Clone s.click.aliexpress.com/e/_DDW...
- Battery or power supply s.click.aliexpress.com/e/_DDH...
- Breadboard s.click.aliexpress.com/e/_DD8...
For the diy version:
- CN5711 IC s.click.aliexpress.com/e/_Deg...
- Potentiometer s.click.aliexpress.com/e/_DEx...
- Prototype Board s.click.aliexpress.com/e/_DCJ...
- SOP8 to DIP8 pcb s.click.aliexpress.com/e/_Dd2...
- SOP8 to DIP8 adapter s.click.aliexpress.com/e/_DCR...
💟 Please support me and my projects at this link allmylinks.com/dariocose
Instagram: / darioc0se
Telegram: t.me/DIYElectronicsDiscount
Thingiverse: www.thingiverse.com/dariocose...
#diy #circuit #diyprojects #arduino #arduinoproject #led #pcb #powerled #electronic
0:00 Intro
0:21 Hi. I'm Dario
0:31 CN5711 Module
1:22 CN5711 IC
2:23 Dimmer a led with a potentiometer
4:04 Arduino Nano Circuit
5:02 Code
5:24 Arduino Nano + CN5711 Test
5:55 Code Explanation
6:36 A new module is coming...
6:56 Ciao ciao!
------------------------------------------------------------
Music:
"Happy Rock" by Top-Flow-Production
pixabay.com/it/music/indie-po...

Пікірлер: 12
@user-rg4lf6hg8o
@user-rg4lf6hg8o 8 ай бұрын
Very well. Video attention to detail for a very interesting project and explained in a simple and intuitive, I hope you will bring more content like this
@Martin2168
@Martin2168 4 ай бұрын
Hello nice video, what happend when you set the voltage to 6 or 7 volt with a led of 3 volts?
@dariocose
@dariocose 4 ай бұрын
first of all, the cn5711 works up to 6 volts. i would not use 7 volts to power it. you can power it with any voltage you want between 2.8 and 6v, you just have to check that the led supply current is right. If you want you can use an appropriate resistor between the driver and the led to further adjust the current
@sandipkumarnandi
@sandipkumarnandi 8 ай бұрын
How much current this module can handle, do u have any options for 20w led driver
@dariocose
@dariocose 8 ай бұрын
CN5711 can handle up to 1,5A. (1:20) You can try one of these modules but I have not personally tested them.... s.click.aliexpress.com/e/_DEB7MmR s.click.aliexpress.com/e/_DDQvHZh s.click.aliexpress.com/e/_Ddoic07
@Martin2168
@Martin2168 4 ай бұрын
How much voltage is de led getting?
@dariocose
@dariocose 4 ай бұрын
The LED receives the input voltage minus a small voltage drop. There is a detailed table on the datasheet. However, the cn5711 drives the LED in current, not in voltage.
@MyMomHadMe
@MyMomHadMe 8 ай бұрын
Hey man I know you didn’t ask anyone but I just wanted to say first off that I loved the content and may even try to recreate it. But I noticed the 73 subscribers and want to give a piece of advice. Don’t do the computer voiceover and do tell people to subscribe at end when thanking them. Is there a reason you aren’t using your own voice for voiceover?
@dariocose
@dariocose 8 ай бұрын
Hello dear. Thank you for writing to me! I'm glad you enjoy the video! Unfortunately, I have a horrible voice and my pronunciation of English is very bad.... At this time I am experimenting here on yt. I promise I will improve the audio!
@ChiazzettaTv
@ChiazzettaTv 8 ай бұрын
uoooooo
@iHayri1
@iHayri1 4 ай бұрын
Great video but please do not use ANY music, it is really annoying and has no purpose for these kind of educational content. Background music should be left to elevators to fill in the awkward silence or use with videos where no voice is needed. Other than that, I just stumbled onto this chip and will use it in some of my future projects. Good luck with your channel 🙂
@dariocose
@dariocose 4 ай бұрын
Hello dear, thanks for the advice! I hope the audio of my videos will be broadcast in all the elevators in the world 😂😂😂 If you prefer, in the video description there is a link to the fully textual guide (instructables). Thanks for the support!
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 456 М.
Final muy inesperado 🥹
00:48
Juan De Dios Pantoja
Рет қаралды 18 МЛН
UFC Vegas 93 : Алмабаев VS Джонсон
02:01
Setanta Sports UFC
Рет қаралды 222 М.
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 50 МЛН
DIY 256-Core RISC-V super computer
10:29
bitluni
Рет қаралды 232 М.
How To Upgrade TP4056 Charging Module [AMP Adjustable]
5:51
Crazy Electronic
Рет қаралды 4 М.
How to Drive High Power LEDs With A DC-DC Adjustable Step-Down Module
11:30
2 mysterious ICs to make cool high-power flashlights [No ic555]
11:14
Using Shift Registers to Get UNLIMITED GPIOs for our project !!
12:40
CN5711 Constant Current Source IC Tested Using M2K
18:43
Grug Huhler
Рет қаралды 1,2 М.
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 3,7 МЛН
The rarest move in chess
17:01
Paralogical
Рет қаралды 1,2 МЛН
FAKE vs Genuine Power Semiconductors: Which One Performs Better?
24:09
Переобулся в воздухе🙀
0:31
Алексей Корчун
Рет қаралды 1,3 МЛН
I CAN’T BELIEVE I LOST 😱
0:46
Topper Guild
Рет қаралды 40 МЛН
35 million watched superman video
0:13
Hasan Kaval
Рет қаралды 78 МЛН
это самое вкусное блюдо
0:12
Katya Klon
Рет қаралды 1,5 МЛН
СКИДКА ПЕНСИОНЕРАМ #shorts
0:18
Ekaterina Kawaicat
Рет қаралды 7 МЛН
ГЕНДЕР-ПАТИ через ТАТУИРОВКУ
0:27
Виктор Лодин
Рет қаралды 10 МЛН