Whirlybird: Difference between revisions
→Components: Add PI4IOE5V6416 |
m Image with test cases |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
Also used for [[Instant_Omni_Pro_18_Toaster_Oven_and_Air_Fryer|Singing "QSV" Toaster]] | Also used for [[Instant_Omni_Pro_18_Toaster_Oven_and_Air_Fryer|Singing "QSV" Toaster]] | ||
Customized peripherals [[Whirlybird/IMU|IMU]] and [[Whirlybird/RS41|RS41]] | |||
[[File:Whirlybird 3D Printed Enclosure Tests.jpeg|800px]] | |||
= Components = | = Components = | ||
== TPS54202DDCR Buck Converter (3v3) == | |||
* Voltage In: 4.5-28 (12-28v typical) | |||
* Voltage Out: Variable (5v typical) | |||
* 2 Amp continuous, ~3 Amp current limit | |||
* Over 90% Efficency 12v to 5v buck | |||
* Package: SOT-6, Marking: "4202" | |||
* [https://www.lcsc.com/datasheet/lcsc_datasheet_2410010331_Texas-Instruments-TPS54202DDCR_C191884.pdf Data Sheet] | |||
Voltage In is provided from the first 4 pins of <code>J1</code> and this component is placed at <code>U9</code> with output voltage set point resistors <code>R25/R26</code> with values 100K and 22.1K respectively. Given the equation <code>(100/22.1 + 1) * 0.596 = 3.29</code>, the voltage output provided thru inductor <code>L2</code> in this configuration is set for 3.3 volts and provides the power to the ESP32 and related components. The 3v3 rail is also accessible at [TP](8) and voltage feedback at (TP13). | |||
== LMR51440SDRRR Buck Converter (5v) == | |||
* Voltage In: 4-36 | |||
* Voltage Out: 0.8-28 | |||
* Max Current: 4 Amp | |||
* Package: 12 Pin WSON 0.8mm Height | |||
* [https://www.lcsc.com/datasheet/lcsc_datasheet_2309221225_Texas-Instruments-LMR51450FNDRRR_C5782413.pdf Datasheet] | |||
The component is placed at <code>U7</code> and there is a bodge jumping the voltage set point pin via <code>R19/R20</code> with a 1K resistor to correct for an in initial routing error of <code>R21/R18</code> ~18K and 100K respectively. This all results in a designed output voltage of 5 volts thru inductor <code>L1</code> and accessible at [TP](3) along with the voltage feedback at (TP10). | |||
== M.2 (NGFF) Key E == | |||
* Part #: [https://www.digikey.com/en/products/detail/amphenol-cs-fci/MDT420E03001/5810340 MDT420E03001] | |||
* [https://www.amphenol-cs.com/product/mdt420e03001.html Amphenol Product Page] | |||
* [https://cdn.amphenol-cs.com/media/wysiwyg/files/documentation/datasheet/ssio/ssio_pcie_m2.pdf Brochure] | |||
* PCIe M.2 Connectors, Storage and Server Connector, P=0.5mm, H=4.2mm, Key E,Gold Plating | |||
'''WARNING''' Pin out is not compatible with typical specifications! | |||
Top is odd, bottom is even | |||
* Ground Pins: 3,5,11,18,33,39,45,51,57,71,73 | |||
* 3v3 Pins: 2 & 4 | |||
* D+/D- Pins: 7 & 9 (via D6) to J7 | |||
* Tx/Rx Pins: 62 & 64 (via R37/R35) | |||
* U16:P0_5 Pin: 54 (TP72) | |||
* U16:P0_4 Pin: 67 (via Q1) to ground | |||
* TP85-92 Pins: 38,46,48,50,52,56,58,60 | |||
== PI4IOE5V6416 I2C GPIO Expander == | == PI4IOE5V6416 I2C GPIO Expander == | ||
*I2C Address: 0x20 (32) | *I2C Address: 0x20 (32) | ||
*Part Number: [ | *Part Number: [https://www.diodes.com/datasheet/download/PI4IOE5V6416.pdf PI4IOE5V6416ZDEX] (TQFN) | ||
*Size: 4mm x 4mm | *Size: 4mm x 4mm | ||
*Pins: 24 | *Pins: 24 | ||
| Line 23: | Line 64: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Pin # !! Name !! Description | ! Pin # !! Name !! Description|Function | ||
|- | |- | ||
| 1 || P0_0 || | | 1 || P0_0 || I/O M3 via R51 | ||
|- | |- | ||
| 2 || P0_1 || | | 2 || P0_1 || I/O U6 & U8 Pin 3 (TP12,TP70) | ||
|- | |- | ||
| 3 || P0_2 || | | 3 || P0_2 || I/O U56 | ||
|- | |- | ||
| 4 || P0_3 || | | 4 || P0_3 || I/O M5 Pin 67 | ||
|- | |- | ||
| 5 || P0_4 || | | 5 || P0_4 || GND M5 Pin 54 | ||
|- | |- | ||
| 6 || P0_5 || | | 6 || P0_5 || U15 Pin 4 via R44 (TP67) | ||
|- | |- | ||
| 7 || P0_6 || | | 7 || P0_6 || P3 Pin 6 (TP68) | ||
|- | |- | ||
| 8 || P0_7 || | | 8 || P0_7 || (TP62) | ||
|- | |- | ||
| 9 || Vss || Ground | | 9 || Vss || Ground | ||
|- | |- | ||
| 10 || P1_0 || | | 10 || P1_0 || U54 Pin 4 via R80 (TP73), R34 O Ohm GPIO 16 & U10 Pin 4 | ||
|- | |- | ||
| 11 || P1_1 || | | 11 || P1_1 || J8 Pin 10 & R74 to GND (TP74) | ||
|- | |- | ||
| 12 || P1_2 || | | 12 || P1_2 || U10 Pin 6 (TP75) | ||
|- | |- | ||
| 13 || P1_3 || | | 13 || P1_3 || Select Input U11, HIGH for MicroSD SPI | ||
|- | |- | ||
| 14 || P1_4 || | | 14 || P1_4 || U18 Pin 17 via R48 0 Ohm (TP77) | ||
|- | |- | ||
| 15 || P1_5 || | | 15 || P1_5 || U17 Pin 1 (TOUT) & J9 & Pull-up via R7 | ||
|- | |- | ||
| 16 || P1_6 || | | 16 || P1_6 || U1 Pin 4 (TP2,TP81) | ||
|- | |- | ||
| 17 || P1_7 || | | 17 || P1_7 || J9 (TP80) | ||
|- | |- | ||
| 18 || ADDR || Address input, to Vdd or ground | | 18 || ADDR || Address input, to Vdd or ground | ||
| Line 67: | Line 108: | ||
| 21 || Vdd(P) || Power for Port P | | 21 || Vdd(P) || Power for Port P | ||
|- | |- | ||
| 22 || INT || Interrupt output, connect to Vdd via pull-up resistor | | 22 || INT || ESP32 GPIO8. Interrupt output, connect to Vdd via pull-up resistor | ||
|- | |- | ||
| 23 || Vdd(I2C) || Power from I2C-bus, provides voltage-level translation | | 23 || Vdd(I2C) || Power from I2C-bus, provides voltage-level translation | ||
|- | |- | ||
| 24 || RESET || Active LOW reset | | 24 || RESET || Active LOW reset (TP78), to Vdd via pull-up R45 10k | ||
|} | |} | ||
== LEDs == | == LEDs == | ||
=== RGBW 5050 === | === RGBW 5050 === | ||
* Inner Chain | |||
** U46,47,48,49,50,51,44,45 | |||
** Data in via R69 471 Ohm from U43 Pin 3 (TP118) | |||
* Outer Chain | |||
** U24,23,22,21,20,19,30,29,28,27,26,25,36,35,34,33,32,31,42,41,40,39,38,37 | |||
** Data in via R68 471 Ohm from U43 Pin 2 (TP63) | |||
* ~5 volt via R17, L1, U7, J1 and USB/Header | |||
* [https://cdn-shop.adafruit.com/product-files/2757/p2757_SK6812RGBW_REV01.pdf SK6812RGBW Datasheet (pdf)] | * [https://cdn-shop.adafruit.com/product-files/2757/p2757_SK6812RGBW_REV01.pdf SK6812RGBW Datasheet (pdf)] | ||
Note: May not be exact specification match for actual components used | Note: May not be exact specification match for actual components used | ||
Connected to ESP32 via U43 (muxer?) | |||
=== Green 0603 === | === Green 0603 === | ||
| Line 187: | Line 235: | ||
[[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) | ||
=== PI5L200 MUX === | |||
U11 connected to GPIO 6, 7 & 15 SPI. Normally open logic path to MicroSD J5. | |||
Default connection is routed to M2 via U15, ''"scatch and sniff"'' for the routing RE win! | |||
# Select Input U16 P1_3 grounded via 155K | |||
# 1A0 Out to U15 Pin 1 | |||
# 1A1 Out to MicroSD MISO | |||
# YA In from GPIO 15 | |||
# 1B0 Out to U15 Pin 16 | |||
# 1B1 Out to MicroSD Clock | |||
# YB In from GPIO 7 | |||
# GND | |||
# YC In from ? | |||
# YC1 Out to ? | |||
# YC0 Out to ? | |||
# YD In from GPIO 6 | |||
# YD1 Out to MicroSD MOSI | |||
# YD0 Out to U15 Pin 14 | |||
# Enable grounded (LOW enabled) | |||
# Vcc | |||
*https://www.digikey.com/en/products/detail/diodes-incorporated/PI5L200LE/1142607 | |||
*https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/2380/PI5L200.pdf | |||
== LCD == | |||
*40 Pin Flat Flex connector at J8, backlight 18 volt boost from U54 enabled by GPIO Expand P1_0 or ESP32 GPIO 16. | |||
*A number of pins are mux'd thru U18 and shared with camera. | |||
*Looks to be RGB 8-bit per channel compatible, wired for RGB565 mode. | |||
*Plausible match to: | |||
**[https://cdn-shop.adafruit.com/product-files/2353/Datasheet.pdf 7" TFT 800x480 Datasheet] | |||
**[https://cdn-shop.adafruit.com/product-files/1680/Datasheet.pdf 5" TFT 800x480 Datasheet] | |||
== Camera == | |||
*24 Pin Flat Flex connector at J10, lighting LEDs driven by U55. | |||
*Signaling is mux'd with LCD thru U18 | |||
*Plausible match to ESP32-CAM OV2640 | |||
== ESP32-S3-WROOM2 == | == ESP32-S3-WROOM2 == | ||
| Line 454: | Line 541: | ||
</pre> | </pre> | ||
=== Gallery === | |||
== | <gallery> | ||
RGBW ESP32-S3 wiring RED-GREEN.png | |||
U18 SD642AO.jpg | |||
U11 PI5L200LE.jpg | |||
U16 PI4IOE5V9535.jpg | |||
D6 USBLC6-2SC6.jpg | |||
U15 AKK 7YW.jpg | |||
U55 PCA9632TK.jpg | |||
Whirlybird Scratch and Sniff via Probing.jpeg | |||
Whirlybird Camera Flat Flex.jpeg | |||
</gallery> | |||