Running LED Basic Arduino Tutorial /Trčeće LEDice

  Рет қаралды 27,836

DR Design

DR Design

5 жыл бұрын

Running LED Basic Arduino Tutorial
This is a simple tutorial about how to connect and to program 12 LEDs with Arduino UNO to create a nice light effect.
Vrlo jednostavan tutorial za spajanje i programiranje 12 LED dioda s Arduino UNO, za stvaranje cool trčećeg, svjetlosnog efekta.
Here is the link to TinkerCAD project, where you can download code too:
www.tinkercad.com/things/a48k...
Link to the Instructables Project:
www.instructables.com/id/Runn...

Пікірлер: 25
@abhimun11
@abhimun11 4 жыл бұрын
Hello DR , I want to light up more LEDs with this same configuration. Let’s say I want to light up 50 LEDs in each 12 output channel. Thus 50X12= 600 total. Could you let me know what type of transistors I need to use for current amplification . I could branchout 12 parallel lines each with 4 LEDs in series. Any suggestion please ? Thanks
@DR-Dessign
@DR-Dessign 4 жыл бұрын
Hey Abhijit, thanks for the comment. If you plan to use a regular LEDs, rated up to 50mA, then I would suggest you to just use Arduino MOS modul, with IRF520 MOSFET, rated @ 24V, 5A, this should meet your power requirements, just make sure to use a heat sink, if the current through the MOSFET would exceed 1A, but I think in your case it will be around 0.5A. These Modules are pretty cheap, and they are Plug&Play with Arduino. Another solution is just to search for MOSFET with suffix " L ", meaning "Logic", they are suitable for Arduino use. I hope you make your circuit soon, let me know if you need any more info.
@pcmobiletechnicalsolutions8504
@pcmobiletechnicalsolutions8504 3 жыл бұрын
hello i amd trying somethis but there is nothing in internet about it. i want to run 2 defferent led stip same time on one arduino nano. but how i edit the code? pls give me solution if you can. i just started learning about codding. for example take any fastled code. and give the 2 defferent data pins like pin 6 and 7 but pin 6 led count 70 and pin 7 led count 50. but work same void loop how to edit code ? i know its so simply who understand coding. but hard for me. help me pls
@DR-Dessign
@DR-Dessign 3 жыл бұрын
Hello, nice to hear you learning to code. If I understand that correctly, you want to run multiple LEDs on one pin of Arduino, you wrote 60-70 LEDs. If that is right, then is that not question of code, but rather hardware, you need stronger outputs on Arduino pins. For that you can use MOS modules, as seen in my other featured video. Check Running LED strips (600W) capable.
@pcmobiletechnicalsolutions8504
@pcmobiletechnicalsolutions8504 3 жыл бұрын
Sir i mean to say i want to use 2 led stip. 1st one 70led and 2nd one 50 led. Want to use 2 data pin of arduino nano of same sketch.
@DR-Dessign
@DR-Dessign 3 жыл бұрын
@@pcmobiletechnicalsolutions8504 This is then only possible if you have addressable LED strip (from Adafruit), but I still didn´t make a tutorial for it. Try looking for addressable running LEDs.
@pcmobiletechnicalsolutions8504
@pcmobiletechnicalsolutions8504 3 жыл бұрын
Yes i am using ws2811 led strip
@DR-Dessign
@DR-Dessign 3 жыл бұрын
@@pcmobiletechnicalsolutions8504 Then if you are using Fastled code then you should just add more pins in line: define LED_PIN (5, 6 for an example). I hope you work this out soon.
@haranbottazzi4414
@haranbottazzi4414 2 жыл бұрын
Complimenti per il video (quello più comprensibile visto fin ora)! Lo "ampliato" al mio progetto che comprende ben 20 led ad accensione singola (su Arduino Mega 2560). Posso aggiungere secondo voi in questo stesso sketch anche 2 led rgb (ovviamente modificando questo sketch)? Grazie.
@DR-Dessign
@DR-Dessign 2 жыл бұрын
Hi, thanks for the comment, it is possible to add 2x RGB LEDs, but every RGB has 3 Pins for mixing up the color, meaning every Pin needs to be connected to different Pin on Arduino, and of course GND to the Ground. Don't forget connecting resistors in series.
@haranbottazzi4414
@haranbottazzi4414 2 жыл бұрын
@@DR-Dessign Of course! I have seen many videos of people connecting them in parallel using only 3 outputs (+ gnd). I tried to use 6 separate outputs but in the sketch it does not recognize me 2 identical colors even if on 2 different outputs (eg red pin 5, red pin 2). how can i differentiate them?
@DR-Dessign
@DR-Dessign 2 жыл бұрын
@@haranbottazzi4414 It seems to be a coding problem, I should see the program, you can adress 2 pins with same variable
@matildabasri
@matildabasri 3 жыл бұрын
Terima kasih Pak Salam dari Universitas Muhammadiyah Kupang 🙏🏻
@DR-Dessign
@DR-Dessign 3 жыл бұрын
Thank you for watching my videos.
@matildabasri
@matildabasri 3 жыл бұрын
🙏🏻🙏🏻
@alexisfrancedacut8582
@alexisfrancedacut8582 5 жыл бұрын
sir? this works for led strips instead of bulbs? please do reply thanks. subscribed
@DR-Dessign
@DR-Dessign 5 жыл бұрын
Hey, yes it is possible to connect LED strips to the circuit, you just have to be careful, that LED strip is rated at 5V and not more than 20mA pro LED, in order to keep your Arduino outputs save. If your LED strips are addressable ones, then it is not possible, also if it has only 4 wires (Ground, +RGB), then are all the LEDs connected to the parallel, and they will all be turned ON instantly. Feel free to ask more questions, if needed.
@alexisfrancedacut8582
@alexisfrancedacut8582 5 жыл бұрын
@@DR-Dessign can you give me an example of led strips that can be mounted on thr breadboard? 😭
@DR-Dessign
@DR-Dessign 5 жыл бұрын
@@alexisfrancedacut8582 depends on how long LED strip you want to use, if it is with more than 12 LEDs in strip, then it wouldn´t go, I would suggest you to use LED strip with addressable LEDs from Adafruit, NeoPixel one, I plan to make tutorial how to program this kind of a LED strip soon.
@alexisfrancedacut8582
@alexisfrancedacut8582 5 жыл бұрын
@@DR-Dessign thanks man looking forward for your projects. Godbless 😄
@alexisfrancedacut8582
@alexisfrancedacut8582 5 жыл бұрын
@@DR-Dessign do you have email? i want you to send something. if you can make an explanation or code to this work
Arduino Tutorial 2: Understanding How Light Emitting Diodes (LEDs) Work
38:08
Getting Started with LIDAR
47:27
DroneBot Workshop
Рет қаралды 1,4 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 19 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
Use Addressable LED Strip with Arduino || Essential Engineering
7:37
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 9 МЛН
How to Use Arduino Interrupts The Easy Way
33:28
Rachel De Barros
Рет қаралды 78 М.
[NEW] LED Chaser Light Circuit Using bc547 555 timer ic
8:32
Tech Arrange
Рет қаралды 1,4 МЛН
Blinking Led Patterns in Arduino (TAGALOG)
17:58
Sir Ben & Mam Rhea
Рет қаралды 16 М.
How To Control WS2812B Individually Addressable LEDs using Arduino
9:31
How To Mechatronics
Рет қаралды 1,1 МЛН
LDR with Arduino - Measure Light Intensity using Photoresistor
7:56
BINARYUPDATES
Рет қаралды 161 М.