Difference between revisions of "Kitchenlight"

From C4 Wiki
Jump to: navigation, search
(ShiftBrite 2.0 Documentation)
(Kitchenlight: max FPS)
Line 2: Line 2:
 
= Kitchenlight  =
 
= Kitchenlight  =
  
The 40 x 8 Pixels (?), 10bit RGB Color Display above the kitchen.
+
The 30 x 6 Pixels (?), 10bit RGB Color Display above the kitchen.
  
 
== ShiftBrite 2.0 Documentation ==
 
== ShiftBrite 2.0 Documentation ==
Line 14: Line 14:
 
  -
 
  -
  
 +
 +
== Timing ==
 
tsu = 20 ns + n × 5 ns  
 
tsu = 20 ns + n × 5 ns  
 
>>  = 20 ns + (40 * 8) * 5 ns
 
>>  = 20 ns + (40 * 8) * 5 ns
 
>>  = ca 2 µs
 
>>  = ca 2 µs
 
Setup delay min
 
Setup delay min
 +
 +
30 * 6 => 180 Modules.
 +
180 * 32 bit > 5760 Bits per Image
 +
Image / Control im wechsel => 11520 Bits
 +
2µs / Bit > 23.040µs / Frame
 +
1 Sekunde / 23ms => 43 FPS
  
 
== Brightness Correction ==
 
== Brightness Correction ==

Revision as of 16:34, 21 October 2013

Kitchenlight

The 30 x 6 Pixels (?), 10bit RGB Color Display above the kitchen.

ShiftBrite 2.0 Documentation

Website: http://docs.macetech.com/doku.php/shiftbrite_2.0

Datasheet A6281 Driver: http://www.allegromicro.com/en/Products/Part_Numbers/6281/6281.pdf

- Serial port operates at up to 5 / 6 MHz
- Clock: "100 ns One-Shot" (Page 3)
- On CL_in CL_out is triggered internally for 100ns (Page 6)
-


Timing

tsu = 20 ns + n × 5 ns >> = 20 ns + (40 * 8) * 5 ns >> = ca 2 µs Setup delay min

30 * 6 => 180 Modules. 180 * 32 bit > 5760 Bits per Image Image / Control im wechsel => 11520 Bits 2µs / Bit > 23.040µs / Frame 1 Sekunde / 23ms => 43 FPS

Brightness Correction

Iout = Iout(max) × (Scale / 2 + 36.5) / 100

| 0 < Scale < 127 || default: Scale = 0

>> Default: LEDs shine with 36.5% brightness

SPI Info & STM32F4 Code

Wiki SPI [[1]]

U23 Github https://github.com/cccc/U23_2013_examples/tree/spi_example/bare_metal/04_spi