[JP] タッチパネル方式になったM5Core2のアニメーション付スイッチで、遠隔でM5Atom経由で3D Printerやシーリングライトを制御するシステム
タッチパネルで操作するボタンのUI構成と、操作対称のスイッチはこのようにしています。
ボタンの構成
- 中央の円形のボタン:遠隔で操作するスイッチをオンオフ
- 左右の三角ボタン:操作対称のスイッチの切り替え
- 対象とするスイッチ
工作室のシーリングライト(赤外線で制御) 3Dプリンタの電源スイッチ(サーボモーターで制御) 操作される側にはAtom Liteがつながっています。
また、M5Core2, Atom LiteはFirebase RTDB経由でスイッチの状態を同期しています。 M5Core2, Atom Liteどちらもスイッチの役目も果たせるので、どちらかのスイッチを押せば、FirebaseのRTDBが更新され、スイッチの状態が変更されます。
[ENG] System to control 3D Printer and ceiling light via M5Atom remotely with M5Core2 switch with animation, which is now a touch panel system.
The UI configuration of the buttons to be operated by the touch panel and the operation symmetry switches are shown in this figure.
Button configuration
- Center circular button: turns on/off the switch to be operated remotely
- Triangular buttons on the left and right: Toggle switches for operation symmetry
- Switches to be targeted
Ceiling light in the craft room (controlled by IR) Power switch of a 3D printer (controlled by a servo motor) Atom Lite is connected to the side to be operated.
M5Core2 and Atom Lite are synchronized with each other via Firebase RTDB. Both the M5Core2 and the Atom Lite can serve as switches, so pressing either switch will update the Firebase RTDB and change the switch status.
Translated with www.DeepL.com/Translator (free version)