Milfra Vibration Touch Switch (MFA01)
Available from:
Amazon.com
Aliexpress.com
Alibaba.com
Manufacturer:
Milfra.com
Install method:
USB to Serial
GPIO # | Component |
---|---|
GPIO00 | Switch 1 |
GPIO01 | None |
GPIO02 | None |
GPIO03 | None |
GPIO04 | Led 1 |
GPIO05 | None |
GPIO09 | None |
GPIO10 | None |
GPIO12 | Relay 1 |
GPIO13 | LedLink |
GPIO14 | Buzzer |
GPIO15 | None |
GPIO16 | None |
GPIO17 | None |
Configuration
{"NAME":"Milfra MFA01","GPIO":[160,0,0,0,288,0,0,0,224,544,480,0,0,0],"FLAG":0,"BASE":18}
Configuration needed to use the vibration feedback with Buzzer command
SwitchMode1 2
SetOption114 1
Rule1 ON Switch1#State=1 DO Backlog0 Rule2 1; Rule3 1; Buzzer 1,1,1; RuleTimer1 1; ENDON
Rule1 1
Rule2 ON Switch1#State=0 DO Backlog0 Rule2 0; Rule3 0; Power1 toggle ENDON
Rule3 ON Rules#Timer=1 DO Backlog0 Rule2 0; Rule3 0; Buzzer 1,1,1 ENDON