Show Posts
Pages: [1] 2 3 ... 960
1  Using Arduino / Project Guidance / Re: feasibility of running a large number of LEDs on: Today at 12:29:22 am
WS2803 on the other hand only needs 8  bits/channel (vs 12)...

The TLC5940s can actually be run at any bit-depth (up to 12).  It's just a question of asserting BLANK at the correct time.
2  Using Arduino / Project Guidance / Re: feasibility of running a large number of LEDs on: July 28, 2014, 11:53:49 pm
Additional question: Can I achieve 3,000 channels updating at 40 - 70 Hz using the arduino and TLC5940 setup as I intend to?

Assuming you can write code that keeps the outbound pipe saturated, the maximum data rate is fosc/2 which is 8 Mbps.  Assuming you want the full 4096 gray-scale the total number of bits is 2976 channels * 12 bits = 35712 bits.  That gives: 8 Mbps / 35712 bits per frame = 224 frames per second.

If I remember correctly, you will not be able to use the typical TLC5940 library.  I believe, with two TLC5940s, it uses more than half of the CPU time.
3  Using Arduino / Project Guidance / Re: feasibility of running a large number of LEDs on: July 28, 2014, 11:33:12 pm
...a very large number of TLC5940 ICs, 186 ... 3,000 channels

2976.

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).
4  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:28:15 pm

  shuntMa=shuntVal*(5.0 / 1024.0 *1000.0*0.92);              //shuntMa

5  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:27:07 pm

  if(currentSec-previousSec >= 1000) {
...
    previousSec += 1000;
6  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:19:59 pm
Code:
     char y [16];
      sprintf(y, "         Sec%c       ", arrowupI );

Code:
     char y [16];
      sprintf(y, " <Toggle C/F:%1d>        " , toggleCF );

Code:
     char C [4];
      sprintf(C, " %02d ", tempC);

Code:
     char F [4];
      sprintf(F, " %02d ", tempF);

Code:
     char y [16];
      sprintf(y, "  <Reset>              " );

Code:
      char y [16];
      sprintf(y, "<Alarm Temp:%02dC>    ", tempAlarmValue);

Ditto *6... Enough of that.  You can figure out the rest on your own.

7  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:19:20 pm
Code:
      char y [16];
      sprintf(y, "   Minute%c          ", arrowupI );

Ditto.
8  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:18:30 pm
Code:
      char y [16];
      sprintf(y, "      %cHour           ", arrowupI );

Not even close.
9  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:16:56 pm

Have you checked for SRAM free space?
10  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:16:15 pm
Code:
          char F [7];
          sprintf(F, "%003d%c %02d%c",lightLevel, lightI, tempF,tempI);

Ditto.
11  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:15:36 pm
Code:
          char C [7];
          sprintf(C, "%003d%c %02d%c",lightLevel, lightI, tempC,tempI);

Space for the entire string?  Is "00" a valid specifier?
12  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:14:21 pm
Code:
    char x [16];
    sprintf(x, "%c %02d:%02d:%02d:%02d  %c", buttonI,DAY,HR,MIN,SEC,buttonI);

Space for the terminator?
13  Using Arduino / Programming Questions / Re: hard core tiny bug on: July 28, 2014, 10:12:51 pm
Code:
  //===5 RED LEDs ===
  for(int x=1; x<7; x++){
    pinMode(ledPin[x],OUTPUT);
  } 

Five or six?  What value is ledPin[6]?
14  Using Arduino / LEDs and Multiplexing / Re: Doubt about the LCD Keypas Shield on: July 28, 2014, 09:05:15 pm

@kevinmr1999, please do not cross-post.  Threads merged.
15  Using Arduino / Microcontrollers / Re: Bootloading ATmega-PU Access is denied. on: July 28, 2014, 09:01:05 pm

Post the entire output from an upload attempt.
Pages: [1] 2 3 ... 960