Files

140 lines
5.0 KiB
Markdown
Raw Permalink Normal View History

2020-03-19 21:06:45 +08:00
# 16-Key Capacitive Touch
2018-12-25 16:04:58 +08:00
<el-tag effect="plain">SKU:U026</el-tag>
2020-03-19 14:40:22 +08:00
2020-10-28 19:06:02 +08:00
<div class="product_pic"><img src="assets/img/product_pics/unit/music/unit_makey_01.webp"></div>
2018-12-25 16:04:58 +08:00
## Description
2019-08-14 18:33:41 +08:00
**16-Key Capacitive Touch Unit** Unit is inspired by an Invention kit called Makey Makey which brings the concept that users can
2020-12-14 11:44:36 +08:00
connect everyday objects to computer programs.
Using a circuit board, alligator clips, and a USB cable, the circuit uses closed loop electrical signals to send the microprocessor either a keyboard stroke or mouse click signal.
We've tried connect a bunch of fruits, one for each key, to this Unit.
When you touch the apple, you make a connection, and MaKey sends the processor a keyboard message. The buzzer inside or speaker on M5core will exhibit the key value, so instead of using a keyboard, you can make a fruit piano.
2018-12-29 14:46:55 +08:00
2019-05-05 11:28:54 +08:00
This Unit communicates with the M5Core via the GROVE A I2C(0x51).
2018-12-29 14:46:55 +08:00
2019-03-21 18:38:17 +08:00
**Instructions:**
2018-12-29 14:46:55 +08:00
2019-05-05 11:28:54 +08:00
1)Use the buzzer on the unit to exhibit sounds:
2018-12-29 14:46:55 +08:00
2019-05-05 11:28:54 +08:00
Take a Dupont wire(male to male), one end plug into GND, hold the other end to your hand.
Take another Dupont wire(male to male), one end plug into different key holes, the other end hold by the other hand. Make it a close circult. Plug into different key tones the buzzer will emit the corresponding tones.
2018-12-29 14:46:55 +08:00
2019-05-05 11:28:54 +08:00
2)Use the speaker on the M5core to exhibit sounds:
2020-12-14 11:44:36 +08:00
connect MAKEY with M5Core via Grove A
2019-05-05 11:28:54 +08:00
Download this [example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/Makey_NewVersion/Arduino/Makey_new_version).
2019-03-21 18:38:17 +08:00
2019-05-05 11:28:54 +08:00
Repeat the same operation as above. you will see this sound much better.
2019-03-21 18:38:17 +08:00
2019-05-05 11:28:54 +08:00
## Product Features
2018-12-25 16:04:58 +08:00
2019-03-21 18:38:17 +08:00
- Arduino Mega328p Controller
- Buzzer inside
2019-05-05 11:28:54 +08:00
- Up to 16 keys
2020-12-14 11:44:36 +08:00
- Software Development Platform: Arduino, UIFlow (Blockly, Python)
2019-05-05 11:28:54 +08:00
- Two Lego-compatible holes
2019-03-21 18:38:17 +08:00
## Include
- 1x MAKEY unit
- 1x GROVE Cable
2018-12-25 16:04:58 +08:00
2020-02-12 16:55:19 +08:00
## Applications
2018-12-25 16:04:58 +08:00
2019-03-21 18:38:17 +08:00
- Fruit piano
2018-12-25 16:04:58 +08:00
2020-05-29 16:36:24 +08:00
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
2021-02-05 17:58:59 +08:00
<tr>
<td>Communication protocol</td>
<td>I2C:0x51</td>
</tr>
2020-05-29 16:36:24 +08:00
<tr>
2020-11-18 19:00:45 +08:00
<td>Net weight</td>
2020-05-29 16:36:24 +08:00
<td>7g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>19g</td>
</tr>
<tr>
<td>Product Size</td>
<td>32*24*8mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>67*53*12mm</td>
</tr>
</table>
2018-12-25 16:04:58 +08:00
## Related Link
2019-05-05 11:28:54 +08:00
- **[Maykey Firmware](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/Makey_NewVersion/firmware_328p)**
2018-12-29 14:46:55 +08:00
2019-06-11 19:20:48 +08:00
## EasyLoader
2018-12-25 16:04:58 +08:00
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
2019-06-13 18:06:23 +08:00
2020-08-25 11:49:40 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/EasyLoader_Makey.exe"><el-button type="primary">download EasyLoader</el-button></a>
2019-06-13 18:06:23 +08:00
2019-07-30 11:52:28 +08:00
>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. .
2019-06-06 20:01:45 +08:00
2019-07-30 11:52:28 +08:00
>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**)
2020-12-14 11:44:36 +08:00
>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)
2019-06-11 19:20:48 +08:00
2019-01-15 18:13:30 +08:00
## Schematic
2018-12-25 16:04:58 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/makey_sch.webp">
2018-12-25 16:04:58 +08:00
### PinMap
<table>
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>MAKEY Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
2018-12-29 14:46:55 +08:00
</table>
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/M5GO_Unit_makey_03.webp" width="30%" height="30%">
**Mega328 ISP**Download interface Pin foot definition
2020-04-08 14:09:44 +08:00
<img src="assets\img\product_pics\app\mega328_isp.webp" width="30%" height="30%">
2020-02-11 18:00:45 +08:00
2020-04-27 20:02:00 +08:00
## Example
2021-02-05 16:54:45 +08:00
### 1. Arduino
2020-04-27 20:02:00 +08:00
2021-02-05 16:54:45 +08:00
- [Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/Makey_NewVersion/Arduino/Makey_new_version)
2020-04-27 20:02:00 +08:00
<img src="assets/img/product_pics/unit/unit_example/MAKEY/tone_key_pitch_zh_CN.webp">
<img src="assets/img/product_pics/unit/M5GO_Unit_makey_04.webp" width="30%" height="30%">
### 2. UIFlow
2021-02-05 16:54:45 +08:00
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/Makey_NewVersion/UIFlow)
2020-04-27 20:02:00 +08:00
<img src="assets/img/product_pics/unit/unit_example/MAKEY/example_unit_makey_02.webp">
2020-12-14 11:44:36 +08:00
<el-divider content-position="right">Last updated: 2020-12-14</el-divider>
2020-02-11 18:00:45 +08:00
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/makey-unit';
anchor_search(purchase_link);
scrollFunc();
2020-12-14 11:44:36 +08:00
</script>