Like a 74HC595

I (think) I understand that the 74HC595 is capable of having an output pin set to a HIGH or LOW value and it will keep that value until set to another value.

Is there such a thing that will allow a 0-255 value to be set on the pins and for it to keep it until reset in the same way?

Cheers Alan

Am I missing something in your request? The 595 has 8 outputs, so you can send a serial value of 0-255 to it at which time it will retain the value until it is changed.

LarryD: Am I missing something in your request? The 595 has 8 outputs, so you can send a serial value of 0-255 to it at which time it will retain the value until it is changed.

Yes, I think so, I want any single pin to have a value of 0-255 not just LOW or HIGH... but may be that is what the 74HC595 does and I have misread the docs.

A single pin can't have a value between 0 and 255. You're probably looking for an eight bit DAC (Digital Analogue Converter) .

Something like this ? That is however more than 8 bits.

MAS3: A single pin can't have a value between 0 and 255.

That's what I thought and need something else... doh, brain fade! PWM is what I'm looking for I guess like analogWrite(...) hmm.

So a PWM shield or perhaps a PWM board that is not a shield ?

Like this? http://www.adafruit.com/products/815

How about http://playground.arduino.cc/learning/TLC5940

PCA9685

Just the thing, thank you.

Alan

Go big. These are all 48 channel parts. :open_mouth: Soldering becomes a bit more difficult.

http://www.linear.com/product/LT8500 http://www.ti.com/product/tlc5958/description

All single chip solutions i can find are SMD components, some are quite hard to solder by hand.

MAS3: All single chip solutions i can find are SMD components, some are quite hard to solder by hand.

The TLC5940 was mentioned. It can be had as a DIP. There is a lot of support for it in the community including code examples and libraries. It can be had in small quantities by eBay sellers online too. I've bought from this guy. He's reliable. If you are in the US he will have it to you in a week or less. If you live elsewhere you might want to try the China sellers. They are cheaper still, but take forever to deliver (3 weeks to USA is pretty typical and I would think Europe would be as bad.)

http://www.ebay.com/itm/TLC5940NT-LED-Driver-DIP-TLC5940-EEPROM-PWM-TLC-5940-/150626962087 http://www.ebay.com/itm/10x-TLC5940NT-LED-Driver-DIP-TLC5940-EEPROM-TLC-5940-/150626963910

A DIP may be the way to go. I don't think my welding skills are up to SMD work

What are you driving with it?

aarg:
What are you driving with it?

Blind faith and over enthusiasm

acboother: Blind faith and over enthusiasm

Then a purple turtle will do it quite well.

aarg: Then a purple turtle will do it quite well.

Too late. I fitted it yesterday and use its droppings on the vegetable patch.

acboother:
A DIP may be the way to go. I don’t think my welding skills are up to SMD work

Heh, heh, are you suffering from a spot of Chinglish? :astonished:

Paul__B: Heh, heh, are you suffering from a spot of Chinglish? :astonished:

|500x200

Hey, that's me with the 4K resistor

acboother:
Blind faith and over enthusiasm

The 5940 is a good chip. The information below is good. I have used it myself. People here have experience with this chip and can answer questions. One think I would suggest is use a larger current limiting resistor resistor at first than you think you will need and lower it later on. This IC doesn’t have thermal shutdown and it is totally possible to burn it out as I have done several times. There is no warning.

http://playground.arduino.cc/learning/TLC5940