BASIC

SKU:K001

チュートリアル

このチュートリアルでは、UIFlowグラフィカルプログラミングプラットフォームを通じて、Basicデバイスを制御する方法を説明します。
このチュートリアルは、Arduino IDEを通してBasicデバイスをプログラムし、制御する方法を説明します
このチュートリアルは、Micropythonプログラミングを通して、Basicデバイスを制御する方法を紹介します。

説明

M5Stack BASIC Kitは、その名の通り、M5Stack開発キットシリーズの中のスターターキットです。ESP-32コアを搭載し、オープンソース、低コスト、フル機能で、回路設計、PCB設計、ソフトウェア、金型設計、生産などすべての段階での新製品開発を容易にする、モジュール式、スタッカブル、スケーラブル、かつポータブルなデバイスです。このBasicキットは、親しみやすい価格とフル機能のリソースを提供しており、IoTを探求するための良いスターターキットとなっています。

IoTプロトタイピングの最速の方法を探求したいのであれば、M5Stack開発ボードは完璧なソリューションです。M5Stack開発ボードは、産業グレードのケースとESP32ベースの開発ボードで覆われており、他の製品とは異なり、非常に効率的です。Wi-Fiモジュールと統合され、デュアルコアと16MBのSPIフラッシュを搭載しています。30以上のM5Stackスタッカブルモジュール、40以上の拡張可能なユニット、およびさまざまなレベルのプログラム言語とともに、非常に短い時間でIoT製品を作成および検証することができます。

サポートする開発プラットフォームとプログラミング言語 Arduino、 UIFlow を用いたBlockly言語、Micropython。M5Stackは、お客様のプログラミングスキルに関係なく、アイデアの実現から製品化まで、すべてのステップをサポートします。 e ESP8266 を使用したことがあれば、ESP32 が ESP8266 の完璧なアップグレードであることにお気づきでしょう。ESP32は、より多くのGPIO、より多くのアナログ入力と2つのアナログ出力、複数の追加周辺回路(予備のUARTなど)を備えています。ESP-IDFの公式開発プラットフォームには、FreeRTOSが移植されています。デュアルコアとリアルタイムOSにより、より整理されたコードと高速なプロセッサを手に入れることができます。

M5Stack Basicは、2つのパーツから構成されています。上側には、各種プロセッサ、チップ、その他のスロット部品が搭載されています。下側にはリチウム電池、M-BUSソケット、拡張用ピンが搭載されています。

電源オン/オフ
電源オン:左の赤い電源ボタンをクリックします。
電源OFF:左の赤い電源ボタンを素早くダブルクリック
注意:デフォルトでは、USBに電源が供給されると、シャットダウンすることができません。
この製品は現在製造中止となっています。

製品の特徴

  • ESP32ベース
  • スピーカー、ボタン、カラーLCD、電源/リセットボタン搭載
  • TFカードスロット(最大16G)
  • 背面マグネット吸着
  • 拡張可能なピン&ホール
  • M-Busソケット&ピン
  • マルチプラットフォーム開発に対応

含まれるもの

  • 1x BASIC
  • 10x デュポンケーブル
  • 1x Type-C USB(20cm)
  • 1x ユーザーマニュアル
  • 1x ステッカー

アプリケーション

  • モノのインターネット端末のコントローラー
  • STEM教育製品
  • DIY制作
  • スマートホーム機器

仕様

リソース パラメータ
ESP32-D0WDQ6-V3 240MHzデュアルコア、600DMIPS、520KB SRAM、Wi-Fi
フラッシュメモリ 16MB
電源入力 5V、500mA
ポート TypeC×1、GROVE(I2C+I/0+UART)×1
コアボトムポート PIN(G1、G2、G3、G16、G17、G18、G19、G21、G22、G23、G25、G26、G35、G36)
IPSスクリーン 2インチ、320x240、ILI9342C、最大輝度853nitのカラフルなTFT LCD
ボタン カスタムボタン×3
スピーカー 1W-0928
バッテリー 110mAh@3.7V
アンテナ 2.4G 3D アンテナ
動作温度 0℃~60
製品重量 47.2g
梱包重量 93g
製品サイズ 54×54×18mm
梱包サイズ 95 x 65 x 25mm
ケース素材 プラスチック(PC)

ドライバーのインストール

以下のリンクをクリックし、OSに合ったドライバーをダウンロードしてください。現在、2種類のドライバチップバージョン(CP210X/CH9102)が存在します。お使いのバージョンに応じて、対応するドライバの圧縮パッケージをダウンロードしてください。圧縮パッケージを解凍後、インストールするOSの数に応じたインストールパッケージを選択してください(お使いの機器が使用しているUSBチップが不明な場合は、両方のドライバを同時にインストールすることができます)。CH9102_VCP_SER_MacOS v1.7`のインストール中にエラーが発生することがありますが、実際にはインストールが完了していますので無視してください)
ドライバ名 適用ドライバチップ ダウンロードリンク
CP210x_VCP_Windows CP2104 ダウンロード
CP210x_VCP_MacOS CP2104 ダウンロード
CP210x_VCP_Linux CP2104 ダウンロード
CH9102_VCP_SER_Windows CH9102 ダウンロード
CH9102_VCP_SER_MacOS v1.7 CH9102 ダウンロード

EasyLoader

EasyLoaderは、製品に関連するケースプログラムを内蔵した、簡潔で高速なプログラムライターです。簡単な手順で主制御に焼き付け、一連の機能検証を行うことができます。

Windows版Easyloaderのダウンロード MacOS版Easyloaderをダウンロード

Description:
このケースでは、スピーカー、無線LAN、ボタン、加速度計、TFカード(microSD)、スクリーンなどのハードウェアの実行テストを行います。

PinMap

**LCDとTFカード

LCD :320x240 TFカード 最大サイズ16GB

ESP32 Chip GPIO23 GPIO19 GPIO18 GPIO14 GPIO27 GPIO33 GPIO32 GPIO4
ILI9342C MOSI/MISO / CLK CS DC RST BL
TFカード MOSI MISO CLK CS

ボタンとスピーカ

ESP32 Chip GPIO39 GPIO38 GPIO37 GPIO25
Button Pin BUTTON A BUTTON B BUTTON C /
Speaker / / / DA PIN

グローブポートA&IP5306

| ESP32チップ | GPIO22 | GPIO21 | 5V | GND | | | 。 | ---------- | ------ | ------ | --- | --- | | グローブA | SCL | SDA | 5V | GND | | IP5306 | SCL | SDA | 5V | GND | ip5306 | SCL | SDA | 5V | GND | | 。

IP5306の充電・放電、電圧パラメーター

充電 放電
0.00 ~ 3.40V -> 0% 4.20 ~ 4.07V -> 100%
3.40 ~ 3.61V -> 25% 4.07 ~ 3.81V -> 75%
3.61 ~ 3.88V -> 50% 3.81 ~ 3.55V -> 50%
3.88 ~ 4.12V -> 75% 3.55 ~ 3.33V -> 25%
4.12 ~ / -> 100% 3.33 ~ 0.00V -> 0%

M5PORT DEFINE

PORT PIN Note:
PORT-A(Red) G21/22 I2C
PORT-B(Black) G26/36 DAC/ADC
PORT-C(Blue) G16/17 UART

esp32 adc/dac

ADC1 ADC2 DAC1 DAC2
8 channels 10 channels 2 channels 2 channels
G32-39 G0/2/4/12-15/25-27 G25 G26

M-BUS

M_BUS

**充電電流測定値※2

charging current Fully charged current(Power OFF) Fully charged current(Power ON)
0.55A - 0.066A

ピンアサインおよびピンリマップの詳細については、 ESP32 Datasheet を参照してください。

回路図

関連リンク

学ぶ

It is a device that assists in verifying body temperature information so that people can meet with ease at the Corona disaster.
An attempt to create a realtime "Artificial Horizon" on the M5.
Brew your own beer in a fridge with M5Stack.
There are bound to be times when you need to add music or SFX to your M5Stack projects. Here's how to do so with MicroPython.
LoRaWAN module is supported by UIFlow!
A customizable ESP32-based touchscreen project to control MQTT switches or HomeKit accessories (through the Home App).
This is the clock developed to take away the viewer's time
Use MicroPython to connect your M5Stack to Wi-Fi or a device to AP and create a simple web page to control some functions of the M5Stack.
Tree style menu for M5Stack. Features SD updater, battery level indicator, on-screen keyboard, and more.
A simple, analog-style digital tester (voltage meter, DVM) created using the compact development module M5Stack.
Make cool App controllable projects with ease by combining M5Stack, Tuniot and MIT App inventor.
Use your M5Stack ESP32 Basic to receive little Logo programs via MQTT and show the results.
Out of the M5Stack family only the M5StickC has an inbuilt RTC. Here's how to add one to your other M5Stack devices
It is possible to turn a lamp or fan on and off through an SMS message.
#M5Stack 3.3V端子にEDLC付けといたらUSB挿抜してもリセット掛からないぜ…! (無理やり感)
Voice notifications have been added to the tool to automatically share the timeline to family members.
WebBluetooth経由でM5Stackに文字列送信してQRコード化、さらにそれをPWA製QRスキャナで読み取りできた! ここまでの処理が全部JavaScriptで書けるの最高では?
We developed a stereo web radio for the M5Stack with software, audio board, 3d printed enclosure and documentation.
We have programmed a game to give to children.
A technology which increases efficiency in signing in or out during peak hour areas when entering the campus while the SafeEntry implies.
This year's Christmas, I decorated the tree with M5Stack devices.
I tried to communicate with Unity-M5Stack via WebSocket. M5Stack is a gadget with a built-in ESP32 module that enables Wi-Fi commun
Scratch Cat want to catch Xmas gift. So you control giftbox for Scratch Cat!! This project use M5Stack and Scratch 1.4 with M5Scratch.
I was able to control the focus adjustment of the telescope mak127 sp by the stepping motor which connected to M5Stack.
The mechanism is simple to monitor the value of the water temperature sensor with the M5Stack, and heater power is controlled by the relay
TCS3472 color recognition module can distinguish different colors of objects, and map the colors to pitch through algorithm
Colorimeter/Color recognition/Color overlay
Tuner for an Ukulele/Guitar, made using a M5 Core + M5Go bottom
A Dji Tello Drone wifi controller based on M5Stack Core
Using M5Stack and Nodemcu with python to control Youtube vids remotely from a distance.
ReaMima, is the open and free hardware design so that anyone can help by building respirators with easily available materials.
The "Social Distancing LED" that alerts you when someone gets too close within 2m.
I used mqtt to control the switching of the scene of OBS moving on PC from other devices.
Realize the "offline cloud platform" interaction function of operation information based on mqtt information transmission technology
Technology to protect puddle pudding!
I checked whether Amazon FreeRTOS is the only candidate to use M5 Stack.
Thanks to @ghibi for providing material. This project will measure the power consumption of the Sigfox module (IFS-M01) with M5Stack.
M5Stack Multi-Tool has Distances measurement, Spirit level, Voltage sensor, Find my phone, Torch, Home automation controls
M5Stack works as a pc mouse with the help of pyautogui.
M5Stack robot car which we can control with mpu6050 module through Wi-Fi with NodeMCU
Thanks for the source code and project information provided by @沧海
On hand gesture, you can open the door without touching the handle M5STACK AND NODEMCU USED.
In this project, I'm using an ultrasonic sensor to measure distance and calculate the area of a circle and square and display it on screen
Measure the current value used by equipment using M5Stack and clamp type current sensor.
My family has eaten the pudding I have saved! Do you have such experience? I want to keep the peace of my home. I made pudding alert-V.
An expandable turntable created using M5Stack Products.
A library for MicroPython for drawing tiles and sprites on an RGB SPI screen.
M5Stack and Micro:bit can control each other, thanks to the M5:Bit
Tilt left and right to move the ball
Make a simple watch device using UIFlow.
This project is based on the use of the development system M5StickV, for the classification of emotions.
M5Stack ESP32 Basic Core based maker watch.
Using UIFlow and Blynk to complete the interaction experiment
Making a pulse oximeter with alert function based on M5Stack Basic and LPWA Network.
A inner maker competition of M5Stack.

Example

Arduino

  • Arduinoのコードは こちら をクリックしてください。

Video

M5Stackの紹介

バージョン変更

リリース日 製品の変更点 注記
2017.7 公式の最初のバージョン /
2019.7 液晶ディスプレイがTN液晶からIPS液晶へ変更 ArduinoのM5Stackライブラリが0.2.7以前だと画面の色が反転します。
2020.3 バッテリー容量が150mAhから110mAhに変更されました。
2020.6 フラッシュメモリのサイズが4mbから16mbに変更されました。

注:2018.2A というシルクの基板はC2C(USB TypeC to TypeC)ケーブルでの接続とPD充電に対応していせん。