(English is below)
給餌機能部分の制御方法の確認
- 駆動はDCモーターをギアで減速してトレイを駆動
- トレイ位置を検出するセンサーは2ヵ所
回路動作を解析し、M5ATOMで制御できるか確認
基板から回路図を作成
モーターやセンサーの制御は液晶表示側(Clock PCB)のコントローラが担当 制御基板側のコントローラは音声の録音再生用 →Clock PCBをマイコンに置き換えれば自動給餌機能は制御可能
M5ATOMの信号アサインの決定
通知機能の仕様
- 電源ONをしたら無線LANに接続し、現在時刻をNTPサーバーから取得
- トレイ(6個)を回転させて、トレイ位置センサーでNo.1のトレイを初期位置に設定
- 初期設定が終わったらLINEへ通知
- 給餌時間になったら、トレイを1個分回転させる。移動完了をトレイ位置センサで確認できたらLINEへ通知
- 上記4をトレイの総数(6個)分繰り返す。
Check the control method of the feeding function part
- The drive is a DC motor with gear reduction to drive the tray
- Two sensors to detect tray position
Analyze circuit operation and check if it can be controlled by M5ATOM
Create a schematic from the board.
The controller on the LCD display side (Clock PCB) is in charge of controlling the motors and sensors The controller on the control board side is for voice recording and playback →Automatic feeding function can be controlled by replacing the Clock PCB with a microcontroller
Determination of signal assignment for M5ATOM
Specifications of Notification Function
- After turning on the power, connect to the wireless LAN and get the current time from the NTP server
- Rotate the trays (6 trays) and set the No.1 tray to the initial position by the tray position sensor
- Notify LINE when the initial setting is completed.
- When it is time for feeding, rotate the tray by one. When the completion of the movement is confirmed by the tray position sensor, send message to LINE.
- Repeat the above 4 for the total number of trays (6 trays).