Files
2021-02-05 16:54:45 +08:00

115 lines
4.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# EXT.IO
<el-tag effect="plain">SKU:U011</el-tag>
<div class="product_pic"><img src="assets/img/product_pics/unit/unit_extio_01.webp"><img src="assets/img/product_pics/unit/unit_extio_02.webp"></div>
## Description
**EXT.IO** is a GPIO Expander. With simple I2C commands it's possible to extend the GPIO pins for up to 8 extra GPIOs.
The EXT.IO Integrates the PCA9554PW chipset. This 8-bit I/O expander for the two-line bi-directional-bus (I2C) is designed for 2.3-V to 5.5-V VCC • with Open-Drain Active-Low Interrupt Output operation.
It provides general-purpose remote I/O expansion for most microcontroller families via the I2C interface.
I2C address by default is 0x27, unless changed manually.
Its difficult to foresee the needs of your project from the start. EXT.IO is the perfect solution for expanding the number of IO. It allows you to add new features, logic, timing and sensing to already highly integrated designs.
## Product Features
- Expanded I/O number: 8
- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc)
- Two Lego-compatible holes
## Include
- 1x EXT.IO Unit
- 1x Grove Cable
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>I2C address</td>
<td>0x27</td>
</tr>
<tr>
<td>I/O Number of expansions</td>
<td>8</td>
</tr>
<tr>
<td>Net weight</td>
<td>5g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>16g</td>
</tr>
<tr>
<td>Product Size</td>
<td>32*24*11mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>67*53*12mm</td>
</tr>
</table>
## Related Link
- Datasheet - **[PCA9554PW](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/PCA9554PW_en.pdf)**
## EasyLoader
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/EasyLoader_EXT_IO.exe"><el-button type="primary">download EasyLoader</el-button></a>
>1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
>2. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click **"Burn"** to start burning. (**For M5StickC burning, please Set the baud rate to 750000 or 115200**)
>3. Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)[Click here to view the driver installation tutorial](en/related_documents/M5Burner#install-usb-driver)
### PinMap
<table>
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>EXT.IO Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
</table>
## Schematic
With reference to the schematic diagram and the PCA9554PW data sheet, the Unit can modify the I2C address of the device by controlling the level combination of the A0~A2 pins. (The default address is 0x27, please check the datasheet for more information)
There are three chip resistance welding positions reserved on the PCB of the Unit, which are A0-A2 (R6-R8), as shown in the following figure.
<img src="assets\img\product_pics\unit\extio\extio_sch.webp">
## Example
### 1. Arduino
To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/EXT_IO_PCA9554PW)
### 2. UIFlow
To get the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/EXTIO/UIFlow)
<img src="assets/img/product_pics/unit/unit_example/EXTIO/example_unit_extio_01.webp">
<el-divider content-position="right">Last updated: 2020-12-11</el-divider>
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/official-extend-serial-i-o-unit';
anchor_search(purchase_link);
scrollFunc();
</script>