Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
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?


Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

Its OK I2C scared me too thunder buddy

Let us know what you had in mind.

I've doubled up LED's connected to the EZB just to keep simple, but it all depends on your plan.

I'm planning on testing the leds on a aa battery pack test like I do with all my leds to see if I can double up some. then ill start finding alternate ways. thanks for all the comments
visit this video sorry i don't know how to include a video
United Kingdom
How can you have more than 1 led in the matrix on at the same time though? Say you wanted all 9.
cycle through them fast if you watched all the tutorial it will explain everything i might make a tutorial post soon
@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
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
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
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.
What is that plug with 6 pins on the middle left of the board beside the proccessor? theres power outputs there.
And there's also that 2 pin plug above D14.
User-inserted image
Read my original reply in this thread
sorry about that. I missed it. so the expansion port is the one with 6 pins? if so, what about the 2 pin port above d14?
It's just a gnd and +5. Extended off the row of digital labelled pins.
that would work? it would turn on with the ez-b, right?
United Kingdom
As DJ has mentioned, if you want them to come on with the EZ-B and have no control over them then use the +5 and Ground on the side expansion port.

The +5 and Ground of the digital track should also work if you really wanted to use them.
side expansion port and 2 pin ports can both be used. ok. now I know what to do. thanks everyone!i!
I could have sworn that I used the variable on the Analog ports. But, you guys have a better memory than me. You have to take what I say with a grain of sand.