Peng Hong Liem
Published © GPL3+

M5Stack Based Anti-COVID Security Gate (Proof of Concept)

Gate/door fingerprint security system with body temperature checks for the anti-COVID measure.

IntermediateShowcase (no instructions)Over 1 day1,496
M5Stack Based Anti-COVID Security Gate (Proof of Concept)

Things used in this project

Story

Read more

Schematics

Anti-COVID Security Gate Program

The appearance of the program under UIFlow IDE.

Code

Gate Keeper UiFlow Program

Python
Use UiFlow to open and run the program.
{"components":[{"id":"____screen","createTime":1600119697631,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1600119697631,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1600119697631,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1600119697631,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"73MQrMKKYAaFZUJg","createTime":1600119918434,"isCoreTwo":false,"name":"label0","x":11,"y":209,"color":"#FFFFFF","text":"PIR","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":9},{"id":"X6eF&HODfHJFaRvb","createTime":1600120089293,"isCoreTwo":false,"name":"label1","x":248,"y":205,"color":"#FFFFFF","text":"NCIR","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":10},{"id":"IB-jJFt7+fbNBUq-","createTime":1600120154664,"isCoreTwo":false,"name":"label2","x":88,"y":100,"color":"#FFFFFF","text":"Finger Print","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":11},{"id":"Phb6y_GWZqsDfv8R","createTime":1600123108650,"name":"title0","x":2,"y":0,"width":320,"height":20,"color":"#FFFFFF","backgroundColor":"#0000FF","text":"Anti Covid Security Gate","textOffset":"80","font":"lcd.FONT_Default","type":"title","layer":14}],"type":"core","versions":"Stabile","units":[{"id":"FidXYYA27+dN4EQ+","createTime":1600479114437,"type":"pir","name":"pir0","port":"B","default":["A","B","C","E","Custom"],"icon":"pir.png"},{"id":"*gqoH-6YWi7D-t&`","createTime":1600479114437,"type":"finger","name":"finger1","port":"C","default":["A","B","C","E","Custom"],"icon":"finger.png"},{"id":"^Xc=&BEHwjxIEOh0","createTime":1600479114437,"type":"ncir","name":"ncir1","port":"A","default":["A","E","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"0","icon":"ncir.png"}],"hats":[],"blockly":"<variables><variable id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</variable><variable id=\"%s0N1otSjO}t|^Q{?=Jd\">Temperature</variable><variable id=\"b6D)z3L5w2E~ywudFS84\">Finger</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-70\" y=\"-370\"><next><block type=\"screen_set_brightness\" id=\"-);C;2F;Ud#A0h4.mHwx\"><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"{0]x~NEK}BZ($4?db%Mi\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"variables_set\" id=\"!94/zl(b5EdS7v/nypJL\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field><value name=\"VALUE\"><block type=\"math_number\" id=\"OdqpFO~61V$o#[P64{OK\"><field name=\"NUM\">0</field></block></value><next><block type=\"speaker_vol\" id=\"Sqb@tX+nqcd11oA}R23y\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"QG|fS_?|LmQX}*9LeGr9\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"basex_set_mode\" id=\"Fv91BWm(lDbsi@Ll%mB,\"><field name=\"POS\">1</field><field name=\"MODE\">base_x.POSITION_MODE</field><next><block type=\"basex_set_mode\" id=\"t|vrL}8h==B3Xh-^)`;^\"><field name=\"POS\">2</field><field name=\"MODE\">base_x.POSITION_MODE</field><next><block type=\"variables_set\" id=\"~^kcey-3zk2m-q}3X;EU\"><field name=\"VAR\" id=\"b6D)z3L5w2E~ywudFS84\">Finger</field><value name=\"VALUE\"><block type=\"math_number\" id=\"OhM3|hIU5UJ-aP2p^2Ey\"><field name=\"NUM\">0</field></block></value><next><block type=\"procedures_callnoreturn\" id=\")kaW9q+GyE!j{LN5s!a1\"><mutation name=\"close_gate\"></mutation><next><block type=\"basic_on_loop\" id=\")NGWba`w~u|vbbTLR6dJ\"><statement name=\"LOOP\"><block type=\"procedures_callnoreturn\" id=\"{{)gx9+No|~zBoj1[Tg!\"><mutation name=\"Temperature\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"ic:z,DcUHt`hz%f*ZD^r\"><mutation name=\"PIR\"></mutation><next><block type=\"controls_if\" id=\"b|bH){!s7aerkd/;`X-b\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"lL)!K@#PFQ7-RBRs(J8e\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"$X9ibrrpyEz;A6eIlde`\"><field name=\"VAR\" id=\"b6D)z3L5w2E~ywudFS84\">Finger</field></block></value><value name=\"B\"><block type=\"math_number\" id=\";%[Pt$%rkWn*x)E5PJ_1\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"`*Em}pabGF*yUb([XA9T\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field><value name=\"VALUE\"><block type=\"math_number\" id=\"6qAP}4_RnN)[pLs_?dtu\"><field name=\"NUM\">0</field></block></value><next><block type=\"screen_set_brightness\" id=\"xZ)w5+F3+J8ig,=6KWBl\"><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"UvE;tq$(iTk@g{~_=vyT\"><field name=\"NUM\">0</field></shadow></value></block></next></block></statement></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"procedures_defnoreturn\" id=\"cddlvm?`xrU@08Nv^KXe\" x=\"250\" y=\"-370\"><field name=\"NAME\">PIR</field><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\"zJl]r[RJY5|R=fe4R?PU\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"O,MkYada`)GKySq53s3q\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"pir_read\" id=\"%iReOGmBC(p.3(DBDy+6\"><field name=\"VARNAME\">pir0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"`L*S@d7;!fC8[dDvd4D-\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"7P=(OIQj8wPLJyv8oNsF\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"Oy8rKi`=_xb:NvE,M]vb\"><field name=\"TEXT\">Detected</field></shadow></value><next><block type=\"controls_if\" id=\"+,NY}i9~CQ7tpe-qjLKi\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"{y`G~.285w6}qFz?+Fj%\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"#NQ)naWFZo/rt!!MF+Mk\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"_VPKv~3+G5pM,n!PmE/*\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"speaker_tone\" id=\"`yJJfz+}r$OD^4mv!Ua7\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"HR6kGu~dryJ)e)cc9)n;\"><field name=\"NUM\">3000</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"`9;p~S5D~L,vE+kbDTo0\"><field name=\"NUM\">200</field></shadow></value><next><block type=\"screen_set_brightness\" id=\"ni-.Bs|VsTf:gk6/dn#r\"><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"[CjM;*f|S:P-|SQRI5-W\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"variables_set\" id=\":4Odf;dYqby+q!Q;+{9@\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field><value name=\"VALUE\"><block type=\"math_number\" id=\"(0f1VK_?(5WP4j)c?K2d\"><field name=\"NUM\">1</field></block></value><next><block type=\"timer_delay\" id=\"foaC+7{cD;JGTp1Efjtn\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"yA,`!t_NNfIbi!MKAKag\"><field name=\"NUM\">10</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"rIr=+z-y~EEf`vJNZ8nX\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"kqH_og)cbRHx7lRnZX[l\"><field name=\"TEXT\">None</field></shadow></value></block></statement></block></statement></block><block type=\"procedures_defnoreturn\" id=\"z77SF{D7?.|WXM(LKe?2\" x=\"810\" y=\"-350\"><field name=\"NAME\">Temperature</field><statement name=\"STACK\"><block type=\"variables_set\" id=\"EZ{y2BS)73jD._hEb]!0\"><field name=\"VAR\" id=\"%s0N1otSjO}t|^Q{?=Jd\">Temperature</field><value name=\"VALUE\"><block type=\"unit_ncir_read\" id=\"_n:8cS|b7qNf]QYVn0O!\"><field name=\"IR\">ncir1</field></block></value><next><block type=\"math_change\" id=\"2?t9U/+vbxj;Cr0HB2k1\"><field name=\"VAR\" id=\"%s0N1otSjO}t|^Q{?=Jd\">Temperature</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"9X`l*,Wsa6aN88{HS5oC\"><field name=\"NUM\">1</field></shadow><block type=\"math_arithmetic\" id=\"Y6-UBfS|xNseUn1Y{416\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"VpP/kncdex-gK^17m6mb\"><field name=\"VAR\" id=\"%s0N1otSjO}t|^Q{?=Jd\">Temperature</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"J*=^R}b3F2PMWkHA9V%7\"><field name=\"NUM\">9</field></block></value></block></value><next><block type=\"label_set_text\" id=\"14JRm:;eU4=_29T{B?J]\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"#$jwSbWKv[0NQ~K}}a`b\"><field name=\"VAR\" id=\"%s0N1otSjO}t|^Q{?=Jd\">Temperature</field></block></value></block></next></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"~8`5B}ov)j4D^l7!}f:W\" x=\"810\" y=\"-190\"><field name=\"NAME\">close_gate</field><statement name=\"STACK\"><block type=\"basex_set_position_point\" id=\"RC9*#Bp,93u2Nw5a}k_@\"><field name=\"POS\">1</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"co^D3lPVlfB|kV~v2Ag0\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"basex_set_position_point\" id=\"RqU{u{mn:5W*-d[Yd4`I\"><field name=\"POS\">2</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"EA`viX)`z#]`v4#blmkm\"><field name=\"NUM\">0</field></shadow></value></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"bdzey0m:Z?L=p{QDn2s!\" x=\"810\" y=\"-50\"><field name=\"NAME\">open_gate</field><statement name=\"STACK\"><block type=\"basex_set_position_point\" id=\"l$B]X`CasY6Iys([-4:!\"><field name=\"POS\">1</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"jcb`dc_ox$3XC@_l?^::\"><field name=\"NUM\">90</field></shadow></value><next><block type=\"basex_set_position_point\" id=\"Gsq{C.)XiU0/t`hB^j0C\"><field name=\"POS\">2</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"E%yChAofYJbi7+=qQt#F\"><field name=\"NUM\">90</field></shadow></value><next><block type=\"timer_delay\" id=\"]Xg3]_O3TV3F5r{_`LQi\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"42F6~YQFc?R1T$`{Tt]C\"><field name=\"NUM\">3</field></shadow></value></block></next></block></next></block></statement></block><block type=\"finger_read\" id=\"0PTjCR1etu;8%vdP`zN8\" x=\"-70\" y=\"90\"><field name=\"STATE\">finger1</field><statement name=\"FUNC\"><block type=\"variables_set\" id=\"2,@_MHSZrD98.s;-lrT0\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field><value name=\"VALUE\"><block type=\"math_number\" id=\"E-O5O8p3-aCIl|Rta}].\"><field name=\"NUM\">1</field></block></value><next><block type=\"screen_set_brightness\" id=\"YpyEa6(e8u#)H#-GHG]}\"><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"/8UPEO~oNs%dNqKU(/uR\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"variables_set\" id=\"cXC7*ilSS,z56-ik$.;|\"><field name=\"VAR\" id=\"b6D)z3L5w2E~ywudFS84\">Finger</field><value name=\"VALUE\"><block type=\"math_number\" id=\"T0aF,mdD@W06DD^bQkRd\"><field name=\"NUM\">1</field></block></value><next><block type=\"label_set_text\" id=\"-e4^{Xo0VMLN^`~+-(Dl\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"$W5IGg{TzSLs@6H5cM5z\"><field name=\"TEXT\">Authorized !</field></shadow></value><next><block type=\"speaker_tone\" id=\"4f`Rq}+-3$WFQ}]ym7_Y\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"tpiPt/R:=-6emBS+;1{M\"><field name=\"NUM\">3000</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"PLd!v=}MT/r}+KHh_1EA\"><field name=\"NUM\">200</field></shadow></value><next><block type=\"speaker_tone\" id=\"mdA./)(0e|pHN~Gi!UIk\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"uZYF]lsmm7O#ho8G=HSH\"><field name=\"NUM\">2000</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"Xu=GlI].Q(7$J~V[NXZe\"><field name=\"NUM\">200</field></shadow></value><next><block type=\"label_set_text\" id=\"?s4}X-x@Uv-2NTxm`1W,\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"G^INi/|(MjWeb:h=0}Tx\"><field name=\"TEXT\">Employee ID</field></shadow></value><next><block type=\"timer_delay\" id=\"K*YD4]swLG%INQn6_,/i\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"mei$~/qWBOCF%e!oP;wd\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"label_set_text\" id=\"ZfDSFX*+cQt|wSR*OS1U\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"[7EhlI9?xDj+Y`+BL$P?\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"finger_get_id\" id=\"[0`z.8=L/;,0rhGitm#_\"></block></value><next><block type=\"timer_delay\" id=\"i+7#ok_aoNAJ?Tt]E6N9\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"FrEC+Yzd:4F]5bk5?oTH\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"label_set_text\" id=\"zwXQIcC=(3AY#vmZe4hW\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"/mlB@s:@imu;lH7n$c1j\"><field name=\"TEXT\">Temperature</field></shadow></value><next><block type=\"timer_delay\" id=\"SG_b)uCL!gXv03W+dqsO\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"AYcLNmRQqdzA?KPM%V+c\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"procedures_callnoreturn\" id=\"U|}/iCj]i?6Fi[-)]O)A\"><mutation name=\"Temperature\"></mutation><next><block type=\"controls_ifelse\" id=\"85R+,3*Kix5+6H|=lY*R\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"UXuXQsWz~c0wtAA$,W7,\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"]}qBmEiavu0GdK#NepnD\"><field name=\"VAR\" id=\"%s0N1otSjO}t|^Q{?=Jd\">Temperature</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"s![7mOA~DpaHP}ti9|?a\"><field name=\"NUM\">37</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"W[Ur!wEl^MdR}6`;ROx#\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"-gMn@s}w[5Vge6zizZg,\"><field name=\"TEXT\">Normal</field></shadow></value><next><block type=\"procedures_callnoreturn\" id=\"+ts})_J|@!28N%GlQokI\"><mutation name=\"open_gate\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"v-r(y=R,uNR$ak11Q[Ix\"><mutation name=\"close_gate\"></mutation></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"r|LY3hK7sYgV*:QqzvRD\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"T[GqpkaO-#gmS}pVG_Ah\"><field name=\"TEXT\">High !</field></shadow></value><next><block type=\"controls_repeat\" id=\"@E~P4nlUTzB?-e1(Fm[#\"><field name=\"TIMES\">10</field><statement name=\"DO\"><block type=\"speaker_tone\" id=\"p-NXLKr,3f1#+(Jy2U@2\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"J`_uB4ph{M!XLqKs+%MS\"><field name=\"NUM\">1000</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"PBd!X+Yl9!:bp4VVwNc)\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"speaker_tone\" id=\"M@L-ga#u)@h=-Z3pbCN0\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\")z7;M#Adu;O9^a*Yl`_)\"><field name=\"NUM\">500</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"S4/V?;im*5RBk,@?@a,j\"><field name=\"NUM\">100</field></shadow></value></block></next></block></statement></block></next></block></statement><next><block type=\"label_set_text\" id=\"OX(5JW4oq0f#cD-Jxd//\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"@N_bjJ5]dt].L=((:f,N\"><field name=\"TEXT\">Finger Print</field></shadow></value><next><block type=\"timer_delay\" id=\"7wjia9P2m;,zLraDcoAl\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"5!kQSI?lsFK`O@,`.Ne-\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"variables_set\" id=\"54}5I+ya1h(oEJXUaDuE\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field><value name=\"VALUE\"><block type=\"math_number\" id=\"-xNC/E@5O-yZ/$G_={yR\"><field name=\"NUM\">0</field></block></value><next><block type=\"screen_set_brightness\" id=\".kYMR3[a4}HL,fUAd]o[\"><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"o]sQ$VnP6H:3FcI/+cNv\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"variables_set\" id=\"L$#$+}D-_o]o@h(9N*tK\"><field name=\"VAR\" id=\"b6D)z3L5w2E~ywudFS84\">Finger</field><value name=\"VALUE\"><block type=\"math_number\" id=\"(1EH5p87{L-#x2/QCI:1\"><field name=\"NUM\">0</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"finger_getUnknown\" id=\"m:7rz(Uu*ZT?Wp4LqNU~\" x=\"390\" y=\"90\"><field name=\"STATE\">finger1</field><statement name=\"FUNC\"><block type=\"variables_set\" id=\"P9Qy8pAi(WMH:QW3~rol\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field><value name=\"VALUE\"><block type=\"math_number\" id=\"WKi77k,zx_*=X]Q@V|dN\"><field name=\"NUM\">1</field></block></value><next><block type=\"screen_set_brightness\" id=\"kS$:sUwQYCM([C,^_}=M\"><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"|ynV4Semy/akA2d?Z_kF\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"variables_set\" id=\"S]5Ej:xzO8(uwt1.ygZq\"><field name=\"VAR\" id=\"b6D)z3L5w2E~ywudFS84\">Finger</field><value name=\"VALUE\"><block type=\"math_number\" id=\"Kx%f+pKVcIzuv9}s%|Bq\"><field name=\"NUM\">1</field></block></value><next><block type=\"label_set_text\" id=\"aZx{i[L.;bHi/NuPgtVK\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"7,ekqlqsO.w2V3U+(GOy\"><field name=\"TEXT\">Unknown !</field></shadow></value><next><block type=\"procedures_callnoreturn\" id=\"(Hd/gmj5d:$wt(@;{?nm\"><mutation name=\"close_gate\"></mutation><next><block type=\"controls_repeat\" id=\"5mOaiL[,l)NqB{Sh+p+/\"><field name=\"TIMES\">10</field><statement name=\"DO\"><block type=\"speaker_tone\" id=\"b0WxAohW+SrSV(EYLSjg\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"~d`H.q@4!!*wb+-h@tz`\"><field name=\"NUM\">1000</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"x4u-,p/(+H{#lWGENu9x\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"speaker_tone\" id=\"Iy+ZYj#h#6?.muAvngq;\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"VG-|.^~?0}fkq[#a3V7C\"><field name=\"NUM\">500</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"o/tX98QuUs|Qc_T9[13a\"><field name=\"NUM\">100</field></shadow></value></block></next></block></statement><next><block type=\"label_set_text\" id=\"R1*at1m%v{6Va-[x}Ia8\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"`pF--`k_BUVABrhyDTWa\"><field name=\"TEXT\">Finger Print</field></shadow></value><next><block type=\"timer_delay\" id=\"HdVY:sQiTT$}]7|i2mqA\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"#UCo-Prf)obJ*1Y.c)=n\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"variables_set\" id=\"`rJ@UVyqA~jA#hJr@=vH\"><field name=\"VAR\" id=\"Mk*3nAh8N0M|YK/2W_BQ\">Screen</field><value name=\"VALUE\"><block type=\"math_number\" id=\"+#IU#wamWg;`;*w`PVQf\"><field name=\"NUM\">0</field></block></value><next><block type=\"screen_set_brightness\" id=\"L2RgTtV+Ej-~;Kbsx$Yo\"><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"zC7s|_b/6f}a65N8Uiti\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"variables_set\" id=\"zXlLTCn/DM,$ZQ:7eKi~\"><field name=\"VAR\" id=\"b6D)z3L5w2E~ywudFS84\">Finger</field><value name=\"VALUE\"><block type=\"math_number\" id=\"Jj@iGs_-s|u6kyKMw[Qj\"><field name=\"NUM\">0</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"button_callback\" id=\"oXC1*C1W4BjaK`jS=ml4\" x=\"550\" y=\"1030\"><field name=\"BUTTON\">C</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"label_set_text\" id=\"i.R|;TwQ#nixC@E6dusz\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"!0CxRa7:vob3iT,e5pb)\"><field name=\"TEXT\">Erase All Finger Print</field></shadow></value><next><block type=\"timer_delay\" id=\"~j|qYo0{-H{d63U*FQy?\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"+;@+~8HN8HMfus@b}xc7\"><field name=\"NUM\">3</field></shadow></value><next><block type=\"finger_removeAll\" id=\"rJ8o^=zR5::sQp?x-7qI\"><field name=\"STATE\">finger1</field><next><block type=\"label_set_text\" id=\"@t23G57ztIUVj?~WBHs%\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"V0XF3U?|n9pScXK2dJAS\"><field name=\"TEXT\">Finger Print</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type=\"button_callback\" id=\"/8w4otck{i/7-`*m@D]l\" x=\"159\" y=\"1092\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"label_set_text\" id=\"-s$k;3HQFw{%iZ*oG6Su\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"(urKt`=*U3-+1,4y%8W,\"><field name=\"TEXT\">Read Finger Print</field></shadow></value><next><block type=\"timer_delay\" id=\"}dSjpuyLzJ/RcP~-wrs_\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"w#~xo;fPj;(,$0x(C~PI\"><field name=\"NUM\">3</field></shadow></value><next><block type=\"finger_add_user\" id=\"@V^}1GaOKv|7xKfVM8bg\"><field name=\"STATE\">finger1</field><field name=\"ACCESS\">1</field><value name=\"ID\"><shadow type=\"math_number\" id=\"^QL+hyT,c_`dDb_lr/gd\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"timer_delay\" id=\"emFEu4yEEP04T|?KXuGi\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"HZz~AXJq6(/:!i.nFJ:N\"><field name=\"NUM\">3</field></shadow></value><next><block type=\"label_set_text\" id=\"AiQ68nx^Vv|mPz{EvemU\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"vGOuPBpf3t{EhcFSLcT!\"><field name=\"TEXT\">Finger Print</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block>","Blockly.Remotes":[],"modules":["imu","rgb"]}

Credits

Peng Hong Liem

Peng Hong Liem

2 projects • 2 followers

Comments