Whirlybird: Difference between revisions
more blinks with discrete LEDs and I2C driver |
→Components: Add PI4IOE5V6416 |
||
| Line 14: | Line 14: | ||
= Components = | = Components = | ||
== PI4IOE5V6416 I2C GPIO Expander == | |||
*I2C Address: 0x20 (32) | |||
*Part Number: [[PI4IOE5V6416ZDEX https://www.diodes.com/datasheet/download/PI4IOE5V6416.pdf]] (TQFN) | |||
*Size: 4mm x 4mm | |||
*Pins: 24 | |||
{| class="wikitable" | |||
|- | |||
! Pin # !! Name !! Description | |||
|- | |||
| 1 || P0_0 || Port 0 input/output 0 | |||
|- | |||
| 2 || P0_1 || Port 0 input/output 1 | |||
|- | |||
| 3 || P0_2 || Port 0 input/output 2 | |||
|- | |||
| 4 || P0_3 || Port 0 input/output 3 | |||
|- | |||
| 5 || P0_4 || Port 0 input/output 4 | |||
|- | |||
| 6 || P0_5 || Port 0 input/output 5 | |||
|- | |||
| 7 || P0_6 || Port 0 input/output 6 | |||
|- | |||
| 8 || P0_7 || Port 0 input/output 7 | |||
|- | |||
| 9 || Vss || Ground | |||
|- | |||
| 10 || P1_0 || Port 1 input/output 0 | |||
|- | |||
| 11 || P1_1 || Port 1 input/output 1 | |||
|- | |||
| 12 || P1_2 || Port 1 input/output 2 | |||
|- | |||
| 13 || P1_3 || Port 1 input/output 3 | |||
|- | |||
| 14 || P1_4 || Port 1 input/output 4 | |||
|- | |||
| 15 || P1_5 || Port 1 input/output 5 | |||
|- | |||
| 16 || P1_6 || Port 1 input/output 6 | |||
|- | |||
| 17 || P1_7 || Port 1 input/output 7 | |||
|- | |||
| 18 || ADDR || Address input, to Vdd or ground | |||
|- | |||
| 19 || SCL || Clock to Vdd via pull-up resistor | |||
|- | |||
| 20 || SDA || Data to Vdd via pull-up resistor | |||
|- | |||
| 21 || Vdd(P) || Power for Port P | |||
|- | |||
| 22 || INT || Interrupt output, connect to Vdd via pull-up resistor | |||
|- | |||
| 23 || Vdd(I2C) || Power from I2C-bus, provides voltage-level translation | |||
|- | |||
| 24 || RESET || Active LOW reset input, connect to Vdd via pull-up resistor | |||
|} | |||
== LEDs == | == LEDs == | ||
| Line 32: | Line 92: | ||
=== PCA9632 driver === | === PCA9632 I2C driver === | ||
4-bit Fm+ I2C-bus low power LED driver | 4-bit Fm+ I2C-bus low power LED driver | ||
| Line 126: | Line 186: | ||
</pre> | </pre> | ||
[[User:-.-6eau|-.-6eau]] ([[User talk:-.-6eau|talk]]) 00:05, 4 October 2024 (UTC) | [[User:-.-6eau|-.-6eau]] ([[User talk:-.-6eau|talk]]) 00:05, 4 October 2024 (UTC) | ||
| Line 392: | Line 358: | ||
Once launched, any running code may be halted, entering <code>repl</code> will give an interactive Micropython prompt. Entering <code>Ctrl+D</code> will do a soft reset and any code configured to automatically start such as <code>main.py</code> will then run and you will see any output such as from <code>print()</code> in the terminal. | Once launched, any running code may be halted, entering <code>repl</code> will give an interactive Micropython prompt. Entering <code>Ctrl+D</code> will do a soft reset and any code configured to automatically start such as <code>main.py</code> will then run and you will see any output such as from <code>print()</code> in the terminal. | ||
== BOM == | |||
<pre> | |||
# Whirlybird "ECPB-00011-000 1/18/2024" | |||
# Top RGBW Side | |||
U10 "ZMYC" 6 pin | |||
U13 "16248" 16 pin (2x8) no lead package | |||
U15 "AKK 7YW +" 16 pin (4x4) no lead package | |||
U43 "R5 0401 235" SOIC-8 | |||
# RGBW 5050 Inner | |||
U46 0 center right | |||
U47 1 center left | |||
U48 2 far left | |||
U49 3 lower left | |||
U50 4 lower center | |||
U51 5 lower right | |||
U44 6 far right | |||
U45 7 top center | |||
# RGBW 5050 Outer | |||
U24 0 top right of center | |||
U23 1 | |||
U22 2 | |||
U21 3 | |||
U20 4 | |||
U19 5 3 O'clock furthest right middle | |||
U30 6 | |||
U29 7 | |||
U28 8 | |||
U27 9 | |||
U26 10 | |||
U25 11 6 O'clock lowest center | |||
U36 12 | |||
U35 13 | |||
U34 14 | |||
U33 15 | |||
U32 16 | |||
U31 17 9 O'clock furthest left middle | |||
U42 18 | |||
U41 19 | |||
U40 20 | |||
U39 21 | |||
U38 22 | |||
U37 23 12 O'clock highest center | |||
J3 Vcc Rx Tx GND RST 0 | |||
TP1 | |||
TP3 | |||
TP5 | |||
TP7 | |||
TP85-92 Top right to M5 pins | |||
TP50 GPIO46 & U18 | |||
CAP_WIRE capacitive touch wire connection | |||
# Bottom ESP32 Side | |||
C18,19 "47 HFT S73" Electrolytic | |||
D1 "TV7 J9" 6 lead | |||
D2 "B5 J" (next to RST1) | |||
D3 "S8 D0" J3 header power input | |||
D4 "S8 D0" USB power input | |||
D5 USB Connection ESD 6 pin (top/left) | |||
D6 USB Connection ESD 6 pin (left side) | |||
D7 "S8 D0" USB power input | |||
J1 2x8 Connector | |||
J4,J7 Micro USB Connector | |||
J5 MicroSD slot | |||
J8 "2272N50" 40-Pin Flat Flex Connector | |||
J9 6 pin flat flex | |||
L1 "5R6" | |||
L2 "100 2229" | |||
M5 "Amphenol E" | |||
M3B 12-pin flat flex | |||
P1 10 pin JTAG pads | |||
R2,3,6,7 0 Ohm | |||
R27 "01C" (next to RST1) | |||
RST1 Tacticle momentary switch | |||
U1 "2NMT" 6 lead | |||
U2 "2NMT" 6 lead | |||
U3 "2NMT" 6 lead | |||
U4 "2NMT" 6 lead | |||
U6 "WXM" 5 lead 2x3 | |||
U7 "L5144S TI 328 AGCS" | |||
U8 "LN8B" 5 lead 2x3 | |||
U9 "4202" 6 lead | |||
U16 "PI410E5V 6416ZDE 2341GG" | |||
U17 "22-Biw" Capacitice Touch | |||
U52 "JE3h4" 3 lead | |||
U53 "F9 NZ" 8 pin lead | |||
U54 "GEC" | |||
U55 PCA9632 "9632 78 05 D335" 2x4 no lead package | |||
U56 "1C7H 358 AFF 5" 6 pin no lead package | |||
</pre> | |||
== IMU == | == IMU == | ||