Pages: 1 [2]   Go Down
Author Topic: Dimming an LED strip  (Read 4747 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 545
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Take your 12V powered op-amp, connect the 0-5V signal to the + input.
Use a resistor divider and set the -input to 0.5V.
When the + input is >0.5V, the output will be ~12V.
When the +input is <0.5V, the output will be ~0V.
The 0 & 12V will be determined by the load you put on the op-amp, and how close to the rails the op-amp can drive.

I don't see how that helps with the need for your code to continuously the T1803 chip tho.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry. Away from home. The change in the voltage can change how bright the leds are by changing the input voltage. I attached a pot to the 12 volt wire for the strip and changing the resistance changed the brightness.

Is there a way that the 0-12 voltage can be a smoother line.

I attached an image of the graph.

Basically the blue line is the input voltage and the red is the output. The gain is 2.4.
For example when the blue line is at 5v the red is at 12v and when the blue is at 0v the red is also at 0v. All of the values in-between are proportional between the red and blue lines with a gain of 2.4. Can an Op-amp be used to accomplish this?



* voltage.tiff (234.43 KB, 1104x814 - viewed 66 times.)
Logged

0
Offline Offline
Edison Member
*
Karma: 8
Posts: 1250
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

couldnt you change the brightness with PWM though??

(Im confused)


I am interested in this RGB LED Strip from RadioShack.. (as they are always close and everywhere)..

so Im following this thread to see where you end up on communicating/controlling it..
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unfortunately no. That would be too easy. A pwm's max voltage is 5v but the strip needs 12v in order to run properly. I am exploring different options. If the op amp doesn't work I will be attempting to try a digital pot.
Logged

0
Offline Offline
Edison Member
*
Karma: 8
Posts: 1250
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I meant cant you just PWM the strip -though- the transistor as mentioned above??

(also...why the op-amp?)
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried the transistor. It doesn't work. Plus the fact that the strip needs constant voltage in order to store the data. Each tm1803 has 24 bits of memory. Just like regular ram, the memory is reset when power is lost.
Logged

Pages: 1 [2]   Go Up
Jump to: