mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
128 lines
4.3 KiB
Markdown
128 lines
4.3 KiB
Markdown
# Calculator {docsify-ignore-all}
|
|
|
|
<el-tag effect="plain">SKU:A005</el-tag>
|
|
|
|
<div class="product_pic"><img src="assets/img/product_pics/module/faces_cal/face_cal.webp"></div>
|
|
|
|
## Description
|
|
|
|
**Calculator** is a complete featured calculator panel adapted to the FACE_BOTTOM product which can be used for mathematical calculations or custom key operations.
|
|
|
|
The panel based upon a 4 * 5 button layout design, which covers the basic function buttons required for mathematical calculations. You can also remap them to custom function buttons by modifying the firmware. The panel integrates **MEGA328** processor and communicates via I2C protocol (with default address: 0x08), by default it works in slave mode.
|
|
|
|
## Product Features
|
|
|
|
- I2C communication(0X08)
|
|
- Numeric keyboard input
|
|
- Development Platform [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/), [Arduino](http://www.arduino.cc)
|
|
|
|
## Include
|
|
|
|
- 1x Calculator panel
|
|
|
|
## Applications
|
|
|
|
- Data Entry
|
|
- Calculator
|
|
- Human-computer interaction
|
|
|
|
## Specification
|
|
|
|
<table>
|
|
<tr style="font-weight:bold">
|
|
<td>Resources</td>
|
|
<td>Parameter</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Communication</td>
|
|
<td>I2C(0X08)</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Button</td>
|
|
<td>20 button</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Net weight</td>
|
|
<td>20g</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Gross weight</td>
|
|
<td>40g</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Product Size</td>
|
|
<td>58.2mm x 54.2mm x 10.4mm</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Package Size</td>
|
|
<td>95mm x 65mm x 25mm</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Case Material</td>
|
|
<td>Plastic ( PC )</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
## EasyLoader
|
|
|
|
>EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)
|
|
|
|
<div class="easyloader-box">
|
|
<div style="background-color:white;">
|
|
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
|
<div class="easyloader-btn">
|
|
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/CORE/EasyLoader_FACES_FactoryTest.exe">Windows</a>
|
|
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/CORE/EasyLoader_FACES_FactoryTest.dmg">MacOS</a>
|
|
<!-- <a>Linux</a>
|
|
<a>MacOS</a> -->
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<video id="example_video" controls>
|
|
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Core/FACES.mp4">
|
|
</video>
|
|
<div class="easyloader-mask">
|
|
<a>
|
|
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
|
<p>Description:</p>
|
|
<p>This case will run the FACES keyboard input test program by default. Restart the selected program list to switch between different panel test items.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
## PinMap
|
|
|
|
**Mega328 ISP** Download interface pin definition
|
|
|
|
<img src="assets\img\product_pics\app\mega328_isp.webp" width="30%" height="30%">
|
|
|
|
## Related Link
|
|
|
|
- [Ateml328P firmware](https://github.com/m5stack/FACES-Firmware/blob/master/Calculator.ino)
|
|
|
|
## Schematic
|
|
|
|
### Calculator
|
|
|
|
<img src="assets\img\product_pics\core\faces_kit\Faces_calculator_sch.webp" width="70%">
|
|
|
|
## Example
|
|
|
|
### ArduinoIDE
|
|
|
|
- Click [Here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/CALCULATOR)to get Arduino example
|
|
|
|
<el-divider content-position="right">Last updated: 2020-12-28</el-divider>
|
|
|
|
<script>
|
|
|
|
var purchase_link = 'https://m5stack.com/collections/m5-module/products/m5-faces-calculator-panel';
|
|
|
|
var quickstart_link = '';
|
|
|
|
anchor_search(purchase_link);
|
|
scrollFunc();
|
|
|
|
</script>
|