Changes for page Front I/O
Last modified by Kevin Wiki on 2024/07/07 22:48
From version
1.3
edited by Kevin Wiki
on 2024/07/04 13:31
on 2024/07/04 13:31
Change comment:
There is no comment for this version
To version
3.2
edited by Kevin Wiki
on 2024/07/04 23:00
on 2024/07/04 23:00
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -6,19 +6,9 @@ 6 6 7 7 There is a single cable that controls four parts, each half side of I/O LED and center column of blue LEDs. 8 8 9 -== Sub-paragraph==9 +== == 10 10 11 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 12 12 13 -== Sub-paragraph == 14 - 15 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 16 - 17 -=== Sub-sub paragraph === 18 - 19 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 20 - 21 - 22 22 = How we got here = 23 23 24 24 Measure out the ground and power signals by comparing with other chips on board. E.g. we find [SAA1064T] datasheet, locate the GND (Vee) and 5V (Vcc) and measure connectivity (0 ohm resistance) between chip pins and cable pins. This gives us pins GND 2 & 8 and PWR 16 & 22. ... ... @@ -94,7 +94,6 @@ 94 94 95 95 We have two sets of chips, one for left and one for right where we have two different i2c chips on each side for controlling lights. Since the chips controlling their respective parts have the same address for each side, we can't distinguish them from each other. To handle this we use a i2c multiplexer to selectively communicate with one half at a time, switching TCA9548 between two different output ports. 96 96 97 - 98 98 === Code example finding i2c ports === 99 99 100 100 To verify wiring, connection, output ports and device addresses run the following script: ... ... @@ -151,6 +151,56 @@ 151 151 { 152 152 } 153 153 {{/code}} 143 + 144 +== SAA1064T data for driving center IO LED stack == 145 + 146 +Center IO stack is a stack of 23 LED's, 22 blue and 1 green for ethernet activity. These are duplicated next to each other and driven by each their SAA1064T chips. Earlier we found the i2c address and just by playing around figured out that 4 segments of 1 byte binary values are used to set ship register. 147 + 148 +{{code language="C++"}} 149 +void fillColumns() { 150 + Serial.println("filling columns"); 151 + Wire.beginTransmission(saa1064); 152 + Wire.write(1); 153 + Wire.write(0x7F); // 127 - 1111111 154 + Wire.write(0x7F); // 127 - 1111111 155 + Wire.write(0x7F); // 127 - 1111111 156 + Wire.write(0x1F); // 31 - 11111 157 + Wire.endTransmission(); 158 + 159 + colsFilled = 1; 160 +} 161 +{{/code}} 162 + 163 +(% class="wikigeneratedid" %) 164 +Here the last byte we send only is 5 bits since we only have 5 LEDs instead of 6 to address (total of 23). Also note that we start the transmission with a single bit. 165 + 166 +== Pinouts voltages from MLB == 167 + 168 +Powered off: 169 + 170 +* PWR fail LED - 0.00 V 171 +* UID LED - 4.5V 172 +* OH/Fan fail LED - 4.72 V 173 +* NIC1 LED - 0.8 - 2.6 V 174 +* NIC2 LED - 2.95 V 175 +* UID SW - 2.8V 176 +* HDD LED - 0.00 V 177 +* Power LED P3V3 - 0.00V 178 +* Power LED - 0.00 V after unplug grows 179 + 180 +Powered on: 181 + 182 +* PWR tail LED - 3.47 V 183 +* UID LED - 4.85V 184 +* OH/Fan failed LED - 5 V 185 +* NIC 1 LED - 1.2 - 2.9 V 186 +* NIC 2 LED - 3.2 V 187 +* UID SW - 3V 188 +* HDD LED - 3 V 189 +* Power LED P3V3 - 3.30V 190 +* Power LED - 0.87 V 191 + 192 + 154 154 ))) 155 155 156 156 ... ... @@ -165,5 +165,12 @@ 165 165 166 166 [[image:[email protected]]] 167 167 //Figure 2: [[Waves>>https://commons.wikimedia.org/wiki/File:Culebra_-_Playa_de_Flamenco.jpg]]// 207 + 208 + 209 + 210 + 211 + 212 + 213 + 168 168 ))) 169 169 )))