mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
59 lines
2.7 KiB
Markdown
59 lines
2.7 KiB
Markdown
# NEOFLASH {docsify-ignore-all}
|
|
|
|
<img src="assets/img/product_pics/unit/unit_neoflash_01.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_neoflash_02.png" width="30%" height="30%">
|
|
|
|
***
|
|
|
|
:memo:**[概要](#概要)** :octocat:**[サンプルコード](#サンプルコード)** 🛒**[購入リンク](https://www.aliexpress.com/item/M5Stack-Newest-NeoFlash-Light-Board-made-of-Acrylic-with-192pcs-NeoPixels-and-PIR-Sensor-compatible-with/32957760176.html)** :clapper:**[関連動画](#関連動画)**
|
|
|
|
## 概要
|
|
|
|
**<mark>NEOFLASH</mark>**は192個のフルカラーLED(24x8)と人感センサー(PIR)を搭載したLEDパネルユニットです。左上が1番目ののLEDです。左から右、上から下にいくにつれて番号が増えていきます。NEOFLASHは、3つの`GROVE A`インターフェース(I2C)を備えており、他のNEOFLASHを接続する事が可能です。
|
|
|
|
<img src="assets/img/product_pics/unit/unit_neoflash_03.png">
|
|
|
|
## 特徴
|
|
|
|
- フルカラーLED: 192個
|
|
- GROVEインターフェース、[UIFlow](http://flow.m5stack.com)と[Arduino](http://www.arduino.cc)をサポート
|
|
|
|
## 関連リンク
|
|
|
|
- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)**
|
|
|
|
- **[フォーラム](http://forum.m5stack.com/)**
|
|
|
|
- **[FastLEDライブラリ](https://github.com/FastLED/FastLED/wiki/Overview)**
|
|
|
|
- **[FastLEDリファレンス(中国語)](http://www.taichi-maker.com/homepage/reference-index/arduino-library-index/fastled-library/)**
|
|
|
|
## サンプルコード
|
|
|
|
### 1. Arduino IDE
|
|
|
|
人を検知したらネットワークから現在時刻を取得してNEOFLASHに表示します。何も検知しないと時計は消えます。
|
|
|
|
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/Arduino)。*
|
|
|
|
<img src="assets/img/product_pics/unit/unit_example/NEOFLASH/example_unit_neoflash_01.png">
|
|
|
|
### ピンマップ
|
|
|
|
<table>
|
|
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
|
<tr><td>NEOFLASH Unit</td><td>PIR Pin</td><td>RGB Pin</td><td>5V</td><td>GND</td></tr>
|
|
</table>
|
|
|
|
## 関連動画
|
|
|
|
**UIFlowでNeoflash**
|
|
|
|
<video width="500" height="315" controls>
|
|
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/%E6%95%99%E7%A8%8B/NeoFlash/E1%20-%20Neoflash%20%E4%BE%8B%E7%A8%8B%EF%BC%88UIFlow%20Tutorials%202%EF%BC%89.mp4" type="video/mp4">
|
|
</video>
|
|
|
|
**Neoflash デモ - アラーム**
|
|
|
|
<video width="500" height="315" controls>
|
|
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201901/M5stack%20NeoFlash.mp4" type="video/mp4">
|
|
</video> |