Pages: 1 [2] 3 4 ... 10
 on: Today at 11:34:06 pm 
Started by Sovereignty - Last post by CrossRoads
Not sure how to correlate - lighting 1 of 64 vs 1 of 512 or 1 of 729.

Yes, with the MOSFETs, each layer is connected to 1 and up to 81 LEDs at a time are lit.
Every 3.3mS a new layer is turned on, the whole cube is refreshed every 29.7mS (~33 Hz).

Schematic is on another machine, will attach a higher res picture.

I'll dig up my receipts and get a price done up for you.

 on: Today at 11:33:12 pm 
Started by timothyg - Last post by Coding Badly
...a very large number of TLC5940 ICs, 186 ... 3,000 channels


In any case, that exceeds the available memory of an Uno.  You will need a Mega to do anything interesting (or dynamically generate every frame).

 on: Today at 11:31:52 pm 
Started by joelzyla - Last post by joelzyla
thanks for the help!

 on: Today at 11:30:06 pm 
Started by capicoso - Last post by GoForSmoke
In those cases it doesn't matter but

i = 5;

x = --i;  // i is pre-decremented here, i = i - 1 before i is copied to x
                // x is now 4 and i is now 4

y = i--; // i is post-decremented here, i = i - 1 after i is copied to y
               // y is now 4 and i is now 3

 on: Today at 11:28:01 pm 
Started by Dawiinci - Last post by jimLee
A big complication will arise when the wind is varying from, say 367 to 003 degrees.

I didn't think of that. 359 - 0 would be what would mess me up. How to tell that they are adjacent to each other?

-jim lee

 on: Today at 11:27:57 pm 
Started by samw33 - Last post by dave-in-nj
look around at op-amp circuits

rail to rail or near rail to rail and single voltage.

even if you loose a little on the low and high end, it should be good.
a near rail to rail will be a fraction of the cost of a full rail to rail.

should be relatively easy to lay our and make.

 on: Today at 11:27:46 pm 
Started by santino - Last post by santino
ok so i ran this code on my break out using this

as my display.. now i have NO resistors and NO transistors .. i was just doing this just to see what it displays quickly and it shows the code no issue? ..

so i move back to my MAN71A seven segment displays and i dont get the same feedback? i am using 220ohm res and pnp transistors? whats the big difference in these displays?

 on: Today at 11:25:10 pm 
Started by dschmitty90 - Last post by GoForSmoke
I could point out that if String arrays are to be created dynamically that counters can too but I'm waiting to see if when the other shoe drops the whole house doesn't come down soon after. But maybe it won't. Maybe an Arduino with lots of RAM will run it or only short strings and very limited arrays will be used.

I'd go with C strings and reuse of buffer space, see how much can stay in flash and think SD card.

 on: Today at 11:24:00 pm 
Started by capicoso - Last post by capicoso
Break is a good solution to your stop variable, however as the code is fairly straight forward, we can do it with out any if statements at all:

char counterTest = 0;
for(int i = 16 ; i && array[i-1] ; --i, ++counterTest );

If you enable C++11 in IDE 1.5.7, you could also do this:
for( auto i : array ){
  if( i == LOW ) break;  
Nice... could you point me where I could read an example of that for syntax? I don't understand the && array[i-1] and the comma before ++counterTest.

 i && array[i-1]  ..... the loop runs as long as this is true. && is a logical as opposed to bitwise AND

Look about halfway down the Reference on the left side for Boolean and Bitwise Operators

 --i, ++counterTest  ........ it's a comma separated list of actions done when the loop loops

thanks. Last question,  why is the -- and ++ in the left side of the variable instead of the right?

 on: Today at 11:21:36 pm 
Started by CrossRoads - Last post by CrossRoads
Ok, the method seems to be working.
Takes 844uS to do the mapping from the ints to the bytes.
I see a little flicker every time it runs.
Had to change the OR gate to an AND gate and use a positive chip select for the anode shift registers, was getting an extra clock that made 1 column always on.

Definitely need to check the column to board wiring - either my logic for the mapping is off, or the wiring is, not too many columns are where they're supposed to me.
I'm thinking its the wiring, I'm seeing  the LSB register all populated, and only 1 wire on the MSB register, so things got mixed up it appears when we went from loose wires into the crimp headers. Dang, I don't look forward to pulling 81 of those apart.

Or maybe the headers just got plugged into the wrong places - wish me luck!

Pages: 1 [2] 3 4 ... 10