Go Down

Topic: Problem in analogwrite (Read 834 times) previous topic - next topic

kostas90210

What ledstrips? Please post a link.

Please post a complete diagram including how everything is powered. If your ledstrips have roughly more than 10 leds per colour and you drive them directly from the arduino, that is more than likely your problem.
http://forum.arduino.cc/index.php?topic=168338.0

post #2


I have 12 leds altogether

larryd

Focus in on and attach a good image of the actual Arduino/Transistor/strip wiring.


.
No technical PMs.
The last thing you did is where you should start looking.

kostas90210

#17
May 16, 2017, 08:07 pm Last Edit: May 16, 2017, 08:13 pm by kostas90210
Focus in on and attach a good image of the actual Arduino/Transistor/strip wiring.


.
https://drive.google.com/drive/folders/0B5kE1bR2TEdcZHRQMldmcWx6c3c?usp=sharing

If you think the problem is at tip120, then change and try again.

larryd

What are the values of the base resistors.


.
No technical PMs.
The last thing you did is where you should start looking.

kostas90210


Gabriel_swe

Voltage reading from video above show 11.09 - 11.18 volt. I would say that i negligible. My guess it is all about the load and battery specification.

kostas90210

Voltage reading from video above show 11.09 - 11.18 volt. I would say that i negligible. My guess it is all about the load and battery specification.
https://www.youtube.com/watch?v=NZ-iBX-O7bQ



11.09   -  11.57

Gabriel_swe

What type of battery do you have?

As you use analogWrite and send a pwm signal it could be that voltage fluctuate with pwm signal, and low  readings are taken with leds on and high readings in pauses between.

Even if you get a solid reading with a multimeter in DC mode, you could try AC mode to detect voltage fluctuation.

TomGeorge

Hi,
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

We need a hand drawn diagram of ALL connections and components, NO PICTURES OF COMPONENTS, draw boxes for each major component if you don't know the symbol.
Label all pins and terminals and include power supplies.

This needs to be YOUR circuit, not someone else'd diagram.

Attach your circuit please, do not post it off forum.

Thanks.. Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

PaulMurrayCbr

It's a led strip (RGB). The green is on pin 44
Hang on - you are trying to drive an entire RGB LED strip off an ardiuino output pin? How many LEDs are we talking abut here?

You may need a bit of electronics to supply power to the strip. The analog output of an arduino is pulse-width modulated, so a logic-level MOSFET for each channel will do.

Try asking about this on the LEDs and multiplexing sub http://forum.arduino.cc/index.php?board=6.0
http://paulmurraycbr.github.io/ArduinoTheOOWay.html

kostas90210

I solved the problem by changing the resistors from 2.2K ohm  to 4.7K ohm. I also put the code for average prices.
Prices are stable now without any problems.
I only add that the rgb led I have in any way through the MOSFET TIP120.
Thank you very much.

Go Up