Code Monkey home page Code Monkey logo

arduino's Issues

Brightness problem with DMX_WS2812_Fixture_Demo.ino

Dear GadgetReboot,

I am a new user in the ARDUINO topic.
I have done the whole project (below) and it works fine:
Arduino/Uno/DMX_Serial_Tx_Rx/WS2812B_60_Test/DMX_WS2812_Fixture_Demo.ino

This is the project that I have searched for.
WS2812B ledstrip controled with an arduino nano 328p over the DMX protocol.
But I have a little problem with master brightness of the ledstrip.
When I send a 255 (max.) DMX signal (from PC QLC+) to each RGB pixel then the WS2812B ledstrip doesn't work with maximum brightness.

I have compared the currents:

  • about 10mA/pixel << with DMX_WS2812_Fixture_Demo.ino
  • about 34mA/pixel << with FASTLED library / RGBCalibrate.ino

Could you help me with this topic?
Where do I have to modify the sketch in order to have maximum brightness of the ledsstrip?

Thank you very much for your answer
Csaba

Screenshot_20220226-200853_Photos
Screenshot_20220226-202056_Photos
20220226_195836
20220226_205403

Generic instructions for longer setups?

Thanks so much for your tutorials.

Let's say I want to run 10 strips, 300 LEDs each, so 3000 LEDs.

  • Do I still use a 1000uf capacitor?
  • Do I still use a 220R resistor?
  • It's it correct to put one power supply per strip in parallel?
                                        
[USB-POWER]->[MicroController]--->[200R]-->+
                                           |
  +<---------------------------------------+
  |
  +-->Din+--------+--->Din+--------+--->Din+--------+--->Din+--------+--->Din+--------+
   +->+5V|300 LEDS|-+->+5V|300 LEDS|-+->+5V|300 LEDS|-+->+5V|300 LEDS|-+->+5V|300 LEDS|
   |  GND+--------+-|->GND+--------+-|->GND+--------+-|->GND+--------+-|->GND+--------+
   |    ^           |    ^           |    ^           |    ^           |    ^
   |    |           |    |           |    |           |    |           |    |           
   +1kuf+           +1kuf+           +1kuf+           +1kuf+           +1kuf+           
   |    |           |    |           |    |           |    |           |    |           
   |  +GND-------+  |  +GND-------+  |  +GND-------+  |  +GND-------+  |  +GND-------+  
   +5v| 5V power |  +5v| 5V power |  +5v| 5V power |  +5v| 5V power |  +5v| 5V power |  
      +----------+     +----------+     +----------+     +----------+     +----------+  

All the strips are connected in parallel and there's a separate 5V power supply per strip.

Does it matter what the power supply is? For example I tried powering 1 strip on a USB recharger battery. The battery is only rated 3A and a single strip can apparently use 18A but it ran for 15hrs and was bright enough with at least 1/3 of the LEDs on at all times.

Missing terminating character

I am sure this is a simple fix but not being a programmer - not so easy for me.

I am compiling the code, renamed it in the title and now getting missing terminating character on this line.
Any help is appreciated.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.