Asked — Edited

Way To Power An Led Rather Than Dig. Port

I'm really sort on digital ports on my rad project. I don't have any more digital ports left. I don't want to spend +$10 on a tip circuit because that wont allow me to turn individual leds on and off. Is there an alternate way I could power them?


ARC Pro

Upgrade to ARC Pro

Experience the transformation – subscribe to Synthiam ARC Pro and watch your robot evolve into a marvel of innovation and intelligence.

United Kingdom
#9  

How can you have more than 1 led in the matrix on at the same time though? Say you wanted all 9.

#10  

cycle through them fast if you watched all the tutorial it will explain everything i might make a tutorial post soon

#11  

@Technopro ....Certainly, there are ways to prioritize ports, multiplexing, charlieplexing for extra LED's but adding an extra EZ-B is the best way to go as explained previously. We are all painfully aware of budgets and I myself included. I have cut back on liquor consumption dramatically (which is a good thing anyways), dining out and like Rich said in an earlier thread put on extra sweaters and save on heating bills. You as a young person are in a different boat for sure. My suggestions are and if they apply to you....You might have 4 grandparents, they are usually willing to help out a focused grandchild! You might have a couple of favorite uncles who would like to see your cool project expand.....and of course your parents who want to keep you focused on future job prospects/interests.....10 dollars each and your there. Or like myself, always said to my two daughters , if the request was valid(in our opinion) to provide half of the financing and the young person provide the other half. That means finding 40 dollars from cutting grass or....raiding you Uncles empty bottle stash and returning them for deposit values.......Thats just a few creative financing ideas.:) Did I ask......when is your birthday coming up?:):)

United Kingdom
#13  

Sell some stuff. Work hard mowing lawns, delivering papers, washing cars. Throw a load of Wall-E videos on YouTube and turn on the adverts, get commission or even the possibility of funding for other projects. Email manufacturers, give them details of the projects, see if they will sponsor you by way of heavily discounted (or even free) items. Or just swat up on EZ-B related stuff and answer technical issues, you never know what might come to your door:) Or be patient and wait for Christmas, planning other projects, improving existing projects where possible.

@Kudo's method of multiplexing could work but it would be a lot of data being passed from PC to EZ-B. Considering you have a limit of how much you can send and receive in one second fast switching of ports to enable multiple LEDs would be a real strain on that and has a very high possibility of bottlenecking the communications (after all, a 5 x 5 matrix would have 25 very fast port switches required, best case scenario is 250ms timings which is 100 commands per second, benchmark shows it's capable of 40-50). As I said originally, multiplexing was mentioned before and concluded as being a bad idea. I may knock up a test at some point with a 3 x 3 matrix, 4 x 4 matrix and 5 x 5 matrix and test to see if it provides acceptable results - it's another thing added to the ever growing list:) As is an I2C expander for driving LEDs

#14  

Why don't you use the analog ports? You can even dim them, turn them off, or make them brighter with the analog port.

:)

United Kingdom
#15  

Can you? I know you can take the 5V and Ground from the port but as far as I am aware you can't control the voltage on the signal pin of the ADC ports, the ADC ports read that pin voltage. PWM only allows Digital ports through both the control and script.