Files
M5Stack/README.md
T

141 lines
5.5 KiB
Markdown
Raw Permalink Normal View History

2017-05-26 15:55:41 +08:00
# M5Stack Library
English | [中文](docs/getting_started_cn.md) | [日本語](docs/getting_started_ja.md)
Welcome to program with M5Stack Core
2017-08-18 10:26:21 +08:00
2018-09-27 18:20:47 +08:00
## 1. Get Started
2017-08-18 10:26:21 +08:00
2018-09-27 18:17:37 +08:00
#### Here is the article to get started
2017-08-18 10:26:21 +08:00
2018-09-27 18:17:37 +08:00
*1.For MacOS*
2017-08-18 10:26:21 +08:00
2019-01-22 17:00:24 +08:00
https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_get_started_Arduino_MacOS
2017-08-18 10:26:21 +08:00
2018-09-27 18:17:37 +08:00
*2. For Windows*
2017-08-18 10:26:21 +08:00
2019-01-22 17:00:24 +08:00
https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_get_started_Arduino_Windows
2018-02-23 13:11:58 -08:00
2017-08-18 10:26:21 +08:00
2018-09-27 18:20:47 +08:00
## 2. Example
2017-10-27 11:24:59 +08:00
2018-09-27 18:39:57 +08:00
https://github.com/m5stack/M5Stack/tree/master/examples
2018-09-27 18:20:47 +08:00
## 3. API Reference
2018-03-30 11:27:04 +02:00
2018-11-07 15:44:57 +08:00
https://github.com/m5stack/M5Stack/blob/master/src/M5Stack.h#L19
2018-09-27 18:39:57 +08:00
2019-05-05 16:36:14 +09:00
https://docs.m5stack.com/#/en/api
2018-09-27 18:20:47 +08:00
## 4. H/W Reference
2018-09-27 18:17:37 +08:00
#### Pinout
2018-09-27 18:39:57 +08:00
2019-03-14 09:45:59 +08:00
*We have several kinds of M5Cores, There is [their difference in schematic](https://github.com/m5stack/M5-Schematic/blob/master/Core/hardware_difference_between_cores.md).*
2019-01-22 17:00:24 +08:00
**LCD & TF Card**
*LCD Resolution: 320x240*
<table>
<tr><td>ESP32 Chip</td><td>GPIO23</td><td>GPIO19</td><td>GPIO18</td><td>GPIO14</td><td>GPIO27</td><td>GPIO33</td><td>GPIO32</td><td>GPIO4</td></tr>
<tr><td>ILI9341</td><td>MOSI/MISO</td><td>/</td><td>CLK</td><td>CS</td><td>DC</td><td>RST</td><td>BL</td><td> </td></tr>
2019-01-22 17:00:24 +08:00
<tr><td>TF Card</td><td>MOSI</td><td>MISO</td><td>CLK</td><td> </td><td> </td><td> </td><td> </td><td>CS</td></tr>
</table>
**Button & Speaker**
<table>
<tr><td>ESP32 Chip</td><td>GPIO39</td><td>GPIO38</td><td>GPIO37</td><td>GPIO25</td></tr>
<tr><td>Button Pin</td><td>BUTTON A</td><td>BUTTON B</td><td>BUTTON C</td></tr>
<tr><td>Speaker</td><td> </td><td> </td><td> </td><td>Speaker Pin</td></tr>
</table>
**GROVE A**
<table>
<tr><td>ESP32 Chip</td><td>GPIO22</td><td>GPIO21</td></tr>
<tr><td>GROVE A</td><td>SCL</td><td>SDA</td></tr>
</table>
2018-09-27 18:39:57 +08:00
2017-11-09 15:38:09 +08:00
2017-09-20 18:38:53 +08:00
### M-BUS
2018-03-07 11:00:52 +08:00
![image](docs/M-BUS.jpg)
2018-05-14 23:28:53 +08:00
2019-05-08 14:11:14 +08:00
## 5. USER CASES
2018-09-27 18:17:37 +08:00
2019-01-22 17:30:43 +08:00
* [M5Stack-SD-Updater](https://github.com/tobozo/M5Stack-SD-Updater) - Customizable menu system for M5Stack - loads apps from the Micro SD
card
* [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI) - TFT library for the ESP8266 and ESP32 that supports different driver chips
* [M5Widgets](https://github.com/Kongduino/M5Widgets) - Widgets for the M5Stack
* [M5StackSAM](https://github.com/tomsuch/M5StackSAM) - Simple Applications Menu Arduino Library for M5Stack
* [cfGUI](https://github.com/JF002/cfGUI) - A simple GUI library for M5Stack (ESP32)
* [GUIslice](https://github.com/ImpulseAdventure/GUIslice) - A lightweight GUI framework suitable for embedded displays
2020-08-07 20:26:09 +02:00
* [M5ez](https://github.com/M5ez/M5ez) - The easy way to program on the M5Stack
2019-01-22 17:30:43 +08:00
* [M5Stack MultiApp Advanced](https://github.com/botofancalin/M5Stack-MultiApp-Advanced) - A M5Stack firmware made on PlatformIO
* [M5Stack ESP32 Oscilloscope](https://github.com/botofancalin/M5Stack-ESP32-Oscilloscope) - A fully functional oscilloscope based on ESP32 M5Stack
* [M5Stack-Avatar](https://github.com/meganetaaan/m5stack-avatar) - An M5Stack library for rendering avatar faces
* [M5Stack_CrackScreen](https://github.com/nomolk/M5Stack_CrackScreen) - Crack your M5Stack!!
* [M5_Shuttle_Run](https://github.com/n0bisuke/M5_Shuttle_Run) - M5_Shuttle_Run
* [nixietubeM5](https://github.com/drayde/nixietubeM5) - (Fake) Nixie Tube Display on a M5Stack
* [M5Stack_BTCTicker](https://github.com/dankelley2/M5Stack_BTCTicker) - A small Bitcoin price ticker using an M5Stack (ESP32) and the Coindesk API
* [M5Stack_ETHPrice](https://github.com/donma/M5StackWifiSettingWithETHPrice) - Dependence on example Wifi Setting to get ETH Price from Maicoin
* [M5Stack-PacketMonitor](https://github.com/tobozo/M5Stack-PacketMonitor) - M5Stack ESP32 Packet Monitor
* [M5-FFT](https://github.com/ElectroMagus/M5-FFT) - Graphic Equalizer on the M5Stack platform
* [M5Stack_ESP32_radio](https://github.com/anton-b/M5Stack_ESP32_radio) - Playing mp3 stream out of internet using M5Stack prototype
* [mp3-player-m5stack](https://github.com/dsiberia9s/mp3-player-m5stack) - MP3 player for M5Stack
* [ArduinoWiFiPhotoBackup](https://github.com/moononournation/ArduinoWiFiPhotoBackup) - M5STACK Arduino WiFi Photo Backup device
* [M5StackHIDCtrlAltDel](https://github.com/mhama/M5StackHIDCtrlAltDel) - You can send ctrl+alt+del to your PC from M5Stack
* [M5Stack Markdown Web Server](https://github.com/PartsandCircuits/M5Stack-MarkdownWebServer) - Markdown & icons loaded from an Micro SD card/TF card to run a web page
* [M5Stack-Tetris](https://github.com/PartsandCircuits/M5Stack-Tetris) - Tetris for M5Stack Ported to M5Stack by macsbug - https://macsbug.wordpress.com/
* [M5Stack_FlappyBird_game](https://github.com/pcelli85/M5Stack_FlappyBird_game) - M5Stack FlappyBird Playable
* [M5Stack-SpaceShooter](https://github.com/PartsandCircuits/M5Stack-SpaceShooter) - Space Invaders knock-off for M5Stack
* [M5Stack-Pacman-JoyPSP](https://github.com/tobozo/M5Stack-Pacman-JoyPSP) - Pacman on M5Stack/PSP Joypad, with sounds
* [M5Stack-Thermal-Camera](https://github.com/hkoffer/M5Stack-Thermal-Camera-) - M5Stack Thermal Camera with AMG8833 thermal sensor
* [M5Stack-3DPrintFiles](https://github.com/PartsandCircuits/M5Stack-3DPrintFiles) - Links to files for 3D printing custom case parts for the M5Stack
* [truetype2gfx](https://github.com/ropg/truetype2gfx) - Converting fonts from TrueType to Adafruit GFX
* [m5stack-onscreen-keyboard](https://github.com/yellowelise/m5stack-onscreen-keyboard) - Full size qwerty keyboard for M5Stack
2018-09-27 18:17:37 +08:00
#### Note:
2019-01-22 17:30:43 +08:00
2018-09-27 18:17:37 +08:00
* How to install USB driver for establishing serial port
2019-01-22 17:00:24 +08:00
https://docs.m5stack.com/#/en/related_documents/establish_serial_connection
2018-09-27 18:17:37 +08:00
* How to upgrade M5Stack Libary
2018-09-27 18:39:57 +08:00
2019-01-22 17:00:24 +08:00
https://docs.m5stack.com/#/en/related_documents/upgrade_m5stack_lib