Banda LED digitala
Last Updated: Jan 09 2022 18:13, Started by
apocalipsul
, Mar 16 2021 18:17
·
0
#1
Posted 16 March 2021 - 18:17
salut.
am o banda LED digitala care nu necesita controller, are doar mufa de alimentare si functioneaza asa... [ https://www.youtube-nocookie.com/embed/iRicA2ZEDVc?feature=oembed - Pentru incarcare in pagina (embed) Click aici ] alimentata la 12v intrebare: unde pot gasi asemenea benzi, dupa ce string sa caut? poate fi controlata cumva? dimmata? programata? de ce functioneaza fara controller? 1.jpg 423.4K 52 downloads 2.jpg 234.82K 52 downloads |
#2
Posted 16 March 2021 - 18:32
De aprins se aprinde cu doua fire. Daca vrei sa o controlezi, iti trebuie controller. Dimm-uri, ce vrei tu, se fac programat.
|
#3
Posted 16 March 2021 - 18:35
Pai are controller, fiecare led individual. Iti trebuie un controller care stie sa communice pe acelasi protocol. Ma gandesc ca in lipsa lui existe un fallback pe niste efecte generice, d-aia merge fara.
Probabil ai putea folosi ceva asemanator cu asta, tai banda la lungimea dorita, lipesti un conector si ar trebui sa mearga. Nu sunt sigur la ce tensiune functioneaza banda ta, trebuie sa iei un controller cu acelasi voltaj. Edited by djbiti1, 16 March 2021 - 18:36. |
#4
Posted 17 March 2021 - 01:08
[ https://www.youtube-nocookie.com/embed/nnapNHn-Ge0?feature=oembed - Pentru incarcare in pagina (embed) Click aici ]
https://www.google.c...th-arduino/?amp https://www.google.c...mobile&ie=UTF-8 Cred că despre asta este vorba. |
#5
Posted 17 March 2021 - 01:43
Există benzi echipate cu ws2811 sau mai compact ws2812.
https://howtomechatr...-using-arduino/ Pe primul modul al benzii trebuie să existe un controler. |
#6
Posted 17 March 2021 - 06:44
deci revenim
orice am bagat ca string, nu am gasit banda similara 3LED/modul care sa functioneze fara controller separat, doar alimentata. pare ca singurele benzi existente sunt WS2811 si WS2812 niciuna dintre ele nu seamana cu ce am eu ideea e ca as mai vrea dar tot asa... tot modelul asta in acelasi timp eram curios cum si de ce merge si daca merge cumva controlata, programata, dimmata... dar asta e doar o curiozitate, nu tin neaparat. Edited by apocalipsul, 17 March 2021 - 06:59. |
#7
Posted 17 March 2021 - 09:22
E mare lucru să cumperi un modul Arduino de câţiva dolari şi să-l programezi cu unul din sutele de schiţe gata făcute de pe net pt. genul ăsta de benzi?
|
#8
Posted 17 March 2021 - 10:52
Pentru mine a fost. Am luat unul pentru efecte luminoase și unul, controller, cu microfon și intrare audio. Le iei gata făcute. Am vrut să fac unul, dar nu merită la cât costă.
Eu am 8nbenzi LED, una cu 4 nuanțe, restul normele. Toate funcționează normal conectate la 12V. Adică se aprind. Am luat 5050, că mai am ceva aplicații pentru ele. Repet, îți iei controller și nu te doare capul. |
#9
Posted 17 March 2021 - 11:43
Te rog mai postează o poză cu modulul dinspre alimentare, să se vadă și conexiunea benzii la cablurile de alimentare.
Cred că știu de unde se pot cumpăra astfel de benzi. Banda rulează fie ultimul program, fie un program la punerea sub tensiune. Cât ai dat pe ea? |
#10
Posted 17 March 2021 - 12:01
Are la unul din capete ceva controller înglobat, care se poate şunta, că de programat e greu de ghicit ce a avut chinezul în cap când l-a proiectat.
|
|
#11
Posted 17 March 2021 - 15:52
Quote pt. genul ăsta de benzi? cum spuneam, nu tin neaparat sa le controlez, interesat sunt unde le gasesc? sau dupa ce sa caut?... banda cum am spus e sigilata, adica la capete, banda se termina dar siliconul continua un pic... WhatsApp Image 2021-03-17 at 15.43.10.jpeg 258.2K 32 downloads WhatsApp Image 2021-03-17 at 15.44.08.jpeg 201.84K 32 downloads WhatsApp Image 2021-03-17 at 15.44.47.jpeg 258.49K 28 downloads n-am dat pe ea... mi-a dat-o un băjat inteleg ca sunt undeva la 70-75lei banda 5m + alimentator 12v 4A Edited by apocalipsul, 17 March 2021 - 15:54. |
#12
Posted 17 March 2021 - 16:10
Este o bandă făcută cu cap.
Cred că a fost cumpărată descompletată. O să cumpăr și eu pentru nepoți. apocalipsul, on 17 martie 2021 - 15:52, said:
module de 3 leduri + un controller cred care-si fac singure de cap Dacă erau independente erau conectate doar cu "două fire" și nu se sincronizau. |
#13
Posted 17 March 2021 - 16:12
Poate are ceva acolo sub izolaţia aia neagră, unde intră cablul de alimentare, un procesor SMD are suficient loc.
|
#14
Posted 17 March 2021 - 17:19
pare ca are... primul modul e diferit de restul, are un integrat in plus
WhatsApp Image 2021-03-17 at 17.15.51.jpeg 320.62K 32 downloads WhatsApp Image 2021-03-17 at 17.16.45.jpeg 268.72K 29 downloads unde gasesc? sau ce sa caut? Edited by apocalipsul, 17 March 2021 - 17:19. |
#15
Posted 17 March 2021 - 19:03
Mihai a avut dreptate.
Caută ws281x - este o întreagă familie de drivere cu mici diferențe. Mie mi-a plăcut varianta wifi de pe AliExpress. https://m.aliexpress...3047897306.html Este echipată cu ws2811. Acolo apar 3 led-uri/modul Este bandă asemanatoare cu a ta. Deci, poți folosi și ce ai, cu eliminarea primului modul. Edited by barbu78, 17 March 2021 - 19:08. |
|
#16
Posted 17 March 2021 - 21:05
mai zic ca poate nu s-a inteles...
vreau benzi fix ca asta pe care o am... sa mearga singura... doar alimentata. |
#17
Posted 09 January 2022 - 11:23
taie primul modul de la banda... ala are un microcontroller
|
#18
Posted 09 January 2022 - 18:13
stai... acum mi-am dat seama ce vrei...
cumperi o banda ws2812b/ws2812 iei un arduino si legi firul de data in de la banda la pinul 6 de la arduino si legi banda la 5v si alimentarea de la arduino in paralel cu + si - de la banda programezi placa cu codul asta: atentie ca iti trebuie libraria Adafruit_NeoPixel.h schimbi numarul de la LED_COUNT cu cate leduri ai in banda // A basic everyday NeoPixel strip test program. // NEOPIXEL BEST PRACTICES for most reliable operation: // - Add 1000 uF CAPACITOR between NeoPixel strip's + and - connections. // - MINIMIZE WIRING LENGTH between microcontroller board and first pixel. // - NeoPixel strip's DATA-IN should pass through a 300-500 OHM RESISTOR. // - AVOID connecting NeoPixels on a LIVE CIRCUIT. If you must, ALWAYS // connect GROUND (-) first, then +, then data. // - When using a 3.3V microcontroller with a 5V-powered NeoPixel strip, // a LOGIC-LEVEL CONVERTER on the data line is STRONGLY RECOMMENDED. // (Skipping these may work OK on your workbench but can fail in the field) #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> // Required for 16 MHz Adafruit Trinket #endif // Which pin on the Arduino is connected to the NeoPixels? // On a Trinket or Gemma we suggest changing this to 1: #define LED_PIN 6 // How many NeoPixels are attached to the Arduino? #define LED_COUNT 60 // Declare our NeoPixel strip object: Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800); // Argument 1 = Number of pixels in NeoPixel strip // Argument 2 = Arduino pin number (most are valid) // Argument 3 = Pixel type flags, add together as needed: // NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) // NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) // NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products) // NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2) // NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) // setup() function -- runs once at startup -------------------------------- void setup() { // These lines are specifically to support the Adafruit Trinket 5V 16 MHz. // Any other board, you can remove this part (but no harm leaving it): #if defined(__AVR_ATtiny85__) && (F_CPU == 16000000) clock_prescale_set(clock_div_1); #endif // END of Trinket-specific code. strip.begin(); // INITIALIZE NeoPixel strip object (REQUIRED) strip.show(); // Turn OFF all pixels ASAP strip.setBrightness(50); // Set BRIGHTNESS to about 1/5 (max = 255) } // loop() function -- runs repeatedly as long as board is on --------------- void loop() { // Fill along the length of the strip in various colors... colorWipe(strip.Color(255, 0, 0), 50); // Red colorWipe(strip.Color( 0, 255, 0), 50); // Green colorWipe(strip.Color( 0, 0, 255), 50); // Blue // Do a theater marquee effect in various colors... theaterChase(strip.Color(127, 127, 127), 50); // White, half brightness theaterChase(strip.Color(127, 0, 0), 50); // Red, half brightness theaterChase(strip.Color( 0, 0, 127), 50); // Blue, half brightness rainbow(10); // Flowing rainbow cycle along the whole strip theaterChaseRainbow(50); // Rainbow-enhanced theaterChase variant } // Some functions of our own for creating animated effects ----------------- // Fill strip pixels one after another with a color. Strip is NOT cleared // first; anything there will be covered pixel by pixel. Pass in color // (as a single 'packed' 32-bit value, which you can get by calling // strip.Color(red, green, blue) as shown in the loop() function above), // and a delay time (in milliseconds) between pixels. void colorWipe(uint32_t color, int wait) { for(int i=0; i<strip.numPixels(); i++) { // For each pixel in strip... strip.setPixelColor(i, color); // Set pixel's color (in RAM) strip.show(); // Update strip to match delay(wait); // Pause for a moment } } // Theater-marquee-style chasing lights. Pass in a color (32-bit value, // a la strip.Color(r,g,b) as mentioned above), and a delay time (in ms) // between frames. void theaterChase(uint32_t color, int wait) { for(int a=0; a<10; a++) { // Repeat 10 times... for(int b=0; b<3; b++) { // 'b' counts from 0 to 2... strip.clear(); // Set all pixels in RAM to 0 (off) // 'c' counts up from 'b' to end of strip in steps of 3... for(int c=b; c<strip.numPixels(); c += 3) { strip.setPixelColor(c, color); // Set pixel 'c' to value 'color' } strip.show(); // Update strip with new contents delay(wait); // Pause for a moment } } } // Rainbow cycle along whole strip. Pass delay time (in ms) between frames. void rainbow(int wait) { // Hue of first pixel runs 5 complete loops through the color wheel. // Color wheel has a range of 65536 but it's OK if we roll over, so // just count from 0 to 5*65536. Adding 256 to firstPixelHue each time // means we'll make 5*65536/256 = 1280 passes through this outer loop: for(long firstPixelHue = 0; firstPixelHue < 5*65536; firstPixelHue += 256) { for(int i=0; i<strip.numPixels(); i++) { // For each pixel in strip... // Offset pixel hue by an amount to make one full revolution of the // color wheel (range of 65536) along the length of the strip // (strip.numPixels() steps): int pixelHue = firstPixelHue + (i * 65536L / strip.numPixels()); // strip.ColorHSV() can take 1 or 3 arguments: a hue (0 to 65535) or // optionally add saturation and value (brightness) (each 0 to 255). // Here we're using just the single-argument hue variant. The result // is passed through strip.gamma32() to provide 'truer' colors // before assigning to each pixel: strip.setPixelColor(i, strip.gamma32(strip.ColorHSV(pixelHue))); } strip.show(); // Update strip with new contents delay(wait); // Pause for a moment } } // Rainbow-enhanced theater marquee. Pass delay time (in ms) between frames. void theaterChaseRainbow(int wait) { int firstPixelHue = 0; // First pixel starts at red (hue 0) for(int a=0; a<30; a++) { // Repeat 30 times... for(int b=0; b<3; b++) { // 'b' counts from 0 to 2... strip.clear(); // Set all pixels in RAM to 0 (off) // 'c' counts up from 'b' to end of strip in increments of 3... for(int c=b; c<strip.numPixels(); c += 3) { // hue of pixel 'c' is offset by an amount to make one full // revolution of the color wheel (range 65536) along the length // of the strip (strip.numPixels() steps): int hue = firstPixelHue + c * 65536L / strip.numPixels(); uint32_t color = strip.gamma32(strip.ColorHSV(hue)); // hue -> RGB strip.setPixelColor(c, color); // Set pixel 'c' to value 'color' } strip.show(); // Update strip with new contents delay(wait); // Pause for a moment firstPixelHue += 65536 / 90; // One cycle of color wheel over 90 frames } } } |
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users