360
www.keyestudio.com
(4) Test Results:
Burn the code to the micro:bit, turn on the switch of the smart home model,
and enable the Bluetooth of your device and app.
The password can be set by the button A and B on the micro:bit board.
Pressing A and B respectively means‘.’and‘-’.
Pressing A and B simultaneously indicates“confirm”
The 5*5 LED lights will show
picture and the I2C1602LCD will display
“Successful” and“Open the door”, the 6812 2x2 RGB will show purple
color. However, if the password is wrong, “error” will pop up on the LCD
module and “Enter password”will appear.
You can touch the logo of the micro:bit to close the door.
Содержание KS4028
Страница 20: ...20 www keyestudio com...
Страница 25: ...25 www keyestudio com You can also directly drag the hex file onto the MICROBIT E disk...
Страница 31: ...31 www keyestudio com Click Next...
Страница 32: ...32 www keyestudio com Click another Next...
Страница 35: ...35 www keyestudio com...
Страница 38: ...38 www keyestudio com Or click Advanced to select Extensions as shown below...
Страница 41: ...41 www keyestudio com...
Страница 42: ...42 www keyestudio com...
Страница 44: ...44 www keyestudio com Click the Explorer on the left side...
Страница 48: ...48 www keyestudio com Click Import File...
Страница 49: ...49 www keyestudio com Select Makecode Code Project 1_ Heart beat Project 1_ Heart beat hex Then click Go ahead...
Страница 55: ...55 www keyestudio com 6 Install the Smart Home Part 1 Component s Needed...
Страница 56: ...56 www keyestudio com Installation Diagram Prototype Part 2...
Страница 57: ...57 www keyestudio com Component s Needed Installation Diagram...
Страница 58: ...58 www keyestudio com Prototype Part 3 Component s Needed...
Страница 59: ...59 www keyestudio com Installation Diagram...
Страница 63: ...63 www keyestudio com Prototype Part 5 Component s Needed...
Страница 64: ...64 www keyestudio com Installation Diagram Prototype...
Страница 65: ...65 www keyestudio com Part 6 Component s Needed peel the sticker off the Acrylic board first...
Страница 67: ...67 www keyestudio com Prototype Part 7...
Страница 68: ...68 www keyestudio com Component s Needed Installation Diagram...
Страница 69: ...69 www keyestudio com Prototype Part 8...
Страница 70: ...70 www keyestudio com Component s Needed Installation Diagram...
Страница 71: ...71 www keyestudio com Prototype Part 9 Component s Needed...
Страница 72: ...72 www keyestudio com Installation Diagram Prototype Part 10...
Страница 73: ...73 www keyestudio com Component s Needed...
Страница 75: ...75 www keyestudio com Component s Needed Installation Diagram...
Страница 76: ...76 www keyestudio com Prototype Part 12 Component s Needed...
Страница 77: ...77 www keyestudio com Installation Diagram Prototype Part 13...
Страница 78: ...78 www keyestudio com Component s Needed Installation Diagram...
Страница 79: ...79 www keyestudio com Prototype Part 14 Component s Needed...
Страница 80: ...80 www keyestudio com Installation Diagram Prototype Part 15...
Страница 81: ...81 www keyestudio com Component s Needed Installation Diagram...
Страница 82: ...82 www keyestudio com Prototype Part 16 Component s Needed...
Страница 83: ...83 www keyestudio com Installation Diagram Prototype Part 17...
Страница 84: ...84 www keyestudio com Component Needed...
Страница 85: ...85 www keyestudio com Installation Diagram Prototype...
Страница 86: ...86 www keyestudio com Part 18 Component s Needed...
Страница 87: ...87 www keyestudio com Installation Diagram Prototype Part 19...
Страница 88: ...88 www keyestudio com Component s Needed peel the sticker off the Acrylic board first...
Страница 89: ...89 www keyestudio com Installation Diagram...
Страница 90: ...90 www keyestudio com Prototype Part 20 Component s Needed...
Страница 91: ...91 www keyestudio com Installation Diagram...
Страница 92: ...92 www keyestudio com Prototype Part 21...
Страница 93: ...93 www keyestudio com Component s Needed...
Страница 94: ...94 www keyestudio com Installation Diagram...
Страница 95: ...95 www keyestudio com Prototype Start Wiring...
Страница 97: ...97 www keyestudio com The wiring of the yellow LED The wiring of the RGB module...
Страница 98: ...98 www keyestudio com The wiring of the PIR motion sensor The wiring of the 1602LCD...
Страница 99: ...99 www keyestudio com The wiring of the analog gas sensor The wiring of the humidity and temperature sensor...
Страница 100: ...100 www keyestudio com The wiring of the servo controlling the door The wiring of the servo controlling the window...
Страница 102: ...102 www keyestudio com The wiring of the solar panel...
Страница 103: ...103 www keyestudio com The wiring of the motor Please pay attention to the pins and the connection cannot be reversed...
Страница 105: ...105 www keyestudio com Component s Needed Installation Diagram...
Страница 106: ...106 www keyestudio com Prototype Installation Diagram...
Страница 107: ...107 www keyestudio com Prototype...
Страница 108: ...108 www keyestudio com Install Micro bit main board Prototype...
Страница 116: ...116 www keyestudio com Make combinations of these blocks...
Страница 120: ...120 www keyestudio com Make combinations of these blocks...
Страница 126: ...126 www keyestudio com...
Страница 127: ...127 www keyestudio com Make combinations of these blocks...
Страница 130: ...130 www keyestudio com You can also drag blocks to form code Command blocks can be found on the right as shown below...
Страница 131: ...131 www keyestudio com...
Страница 132: ...132 www keyestudio com Make combinations of these blocks...
Страница 136: ...136 www keyestudio com temperature in the current environment as shown in the figures below...
Страница 137: ...137 www keyestudio com...
Страница 138: ...138 www keyestudio com...
Страница 140: ...140 www keyestudio com You can also drag blocks to form code Command blocks can be found on the right as shown below...
Страница 150: ...150 www keyestudio com...
Страница 151: ...151 www keyestudio com...
Страница 152: ...152 www keyestudio com Make combinations of these blocks...
Страница 153: ...153 www keyestudio com...
Страница 154: ...154 www keyestudio com...
Страница 158: ...158 www keyestudio com Make combinations of these blocks 5 Test Result 1...
Страница 162: ...162 www keyestudio com Command blocks...
Страница 163: ...163 www keyestudio com Make combinations of these blocks...
Страница 167: ...167 www keyestudio com Project 8 Light Brightness Detection...
Страница 170: ...170 www keyestudio com...
Страница 171: ...171 www keyestudio com Make combinations of these blocks...
Страница 178: ...178 www keyestudio com Make combinations of these blocks...
Страница 181: ...181 www keyestudio com Make combinations of these blocks...
Страница 182: ...182 www keyestudio com...
Страница 183: ...183 www keyestudio com...
Страница 184: ...184 www keyestudio com...
Страница 185: ...185 www keyestudio com...
Страница 186: ...186 www keyestudio com...
Страница 187: ...187 www keyestudio com The musical score of Ode to Joy is attached below...
Страница 191: ...191 www keyestudio com...
Страница 192: ...192 www keyestudio com Make combinations of these blocks...
Страница 197: ...197 www keyestudio com...
Страница 198: ...198 www keyestudio com Make combinations of these blocks...
Страница 200: ...200 www keyestudio com When the sound is louder around the sound value shows in the serial port is bigger as shown below...
Страница 207: ...207 www keyestudio com You can also drag blocks to form code Command blocks can be found on the right as shown below...
Страница 208: ...208 www keyestudio com...
Страница 209: ...209 www keyestudio com...
Страница 210: ...210 www keyestudio com Make combinations of these blocks...
Страница 211: ...211 www keyestudio com...
Страница 214: ...214 www keyestudio com...
Страница 215: ...215 www keyestudio com...
Страница 216: ...216 www keyestudio com...
Страница 217: ...217 www keyestudio com Make combinations of these blocks...
Страница 218: ...218 www keyestudio com...
Страница 222: ...222 www keyestudio com Only Apple devices should follow this step Not needed for Android systems...
Страница 223: ...223 www keyestudio com...
Страница 225: ...225 www keyestudio com Secondly click Pair a new micro bit...
Страница 227: ...227 www keyestudio com...
Страница 230: ...230 www keyestudio com...
Страница 231: ...231 www keyestudio com...
Страница 233: ...233 www keyestudio com...
Страница 234: ...234 www keyestudio com...
Страница 235: ...235 www keyestudio com Name the project as 1 and click to save it...
Страница 237: ...237 www keyestudio com...
Страница 238: ...238 www keyestudio com...
Страница 244: ...244 www keyestudio com Make combinations of these blocks Micro bit Shield Yellow LED Module GND G 5V V S 16 S...
Страница 251: ...251 www keyestudio com...
Страница 252: ...252 www keyestudio com Make combinations of these blocks Micro bit Expansion Board Yellow LED Module GND G 5V V S 16 S...
Страница 256: ...256 www keyestudio com Click the neoPixel library then NeoPixel library is installed You can view it in the blocks list...
Страница 261: ...261 www keyestudio com...
Страница 262: ...262 www keyestudio com Make combinations of these blocks...
Страница 263: ...263 www keyestudio com...
Страница 264: ...264 www keyestudio com...
Страница 267: ...267 www keyestudio com...
Страница 268: ...268 www keyestudio com Make combinations of these blocks...
Страница 274: ...274 www keyestudio com...
Страница 277: ...277 www keyestudio com...
Страница 279: ...279 www keyestudio com...
Страница 286: ...286 www keyestudio com Make combinations of these blocks Micro bit Expansion Board Servo GND Brown 5V Red S 8 Orange...
Страница 291: ...291 www keyestudio com Make combinations of these blocks Micro bit Expansion Board Motor GND G 5V V S 13 IN S 12 IN...
Страница 295: ...295 www keyestudio com Make combinations of these blocks...
Страница 307: ...307 www keyestudio com...
Страница 313: ...313 www keyestudio com...
Страница 319: ...319 www keyestudio com...
Страница 327: ...327 www keyestudio com...
Страница 333: ...333 www keyestudio com You can also drag blocks to form code Command blocks can be found on the right as shown below...
Страница 340: ...340 www keyestudio com You can find it in the blocks list 5 Test Code The route to get test codes How to load...
Страница 342: ...342 www keyestudio com...
Страница 346: ...346 www keyestudio com as shown below...
Страница 348: ...348 www keyestudio com Command blocks can be found on the right as shown below...
Страница 355: ...355 www keyestudio com Add the BT library file as shown below 3 Test Code...
Страница 357: ...357 www keyestudio com Search the Bluetooth name of micro bit board After connecting well click LED icon...
Страница 361: ...361 www keyestudio com 9 Resources https fs keyestudio com KS4027 4028...