Zowi
Zowi App來控制OTTO,
最簡單就是上傳otto_todo.ino 或otto_BT.ino
加上LED Matrix、Button
用otto_v3.ino
https://github.com/OttoDIY/Matrix_hands
LED Matrix 10,11,12
BT還是沿用11520
(57600改為115200)
#define PIN_SecondButton 6 //
#define PIN_Buzzer 13
#define PIN_Trigger 8
#define PIN_Echo 9
#define PIN_NoiseSensor A6
#define ledR 14 //A2 Red led
#define ledG 15 //A0 Green led
#define ledB 16 //A1 Blue led
MaxMatrix ledmatrix = MaxMatrix(10, 11, 12, 1); // DIN=10 CS=11 CLK=12
//Serial communication initialization
Serial.begin(115200);
//-- * MODE = 0: Otto is awaiting
//-- * MODE = 1: Dancing mode!
//-- * MODE = 2: Obstacle detector mode
//-- * MODE = 3: Noise detector mode
//-- * MODE = 4: OttoPAD or any Teleoperation mode (listening SerialPort).
其他還試用了以下
但都不成功
另外的心得是:
版本很多,時常修改更新,所以手動加入的libraries不要放在Program Files (x86)\Arduino\libraries
改放Users\XXX\Documents\Arduino\libraries
測試不同的版本
連帶將libraries移除置換,
避免不同的腳位定義。
_______________
https://www.thingiverse.com/thing:2398231
https://github.com/OttoDIY/PLUS
LED x
App x
_______________
https://github.com/OttoDIY/Matrix_hands
super zowi
led x
app x
#define PIN_Buzzer 13
#define PIN_Trigger 8
#define PIN_Echo 9
#define PIN_NoiseSensor A6
#define ledR 14 //A2 Red led
#define ledG 15 //A0 Green led
#define ledB 16 //A1 Blue led
_____________
ZOWI.h_______________
#define PIN_Buzzer 13 #define PIN_Trigger 8 #define PIN_Echo 9 #define PIN_NoiseSensor A6 ///define Bluetooth in SoftwareSerial #define BT_Rx 6 #define BT_Tx 7 //define Max7219 pins #define PIN_DIN 10 //max 7219 #define PIN_CS 11 #define PIN_CLK 12
MaxMatrix ledmatrix=MaxMatrix(12,10,11, 1); //PIN 12=DIN, PIN 10=CS, PIN 11=CLK
OTTO_todo.h_________
#define PIN_Buzzer 13
#define PIN_Trigger 8
#define PIN_Echo 9
#define PIN_NoiseSensor A6
MaxMatrix ledmatrix=MaxMatrix(12,10,11, 1);