background image

 

 

18 

1. Send testing command to Micro:Bit 

STEP 1: Send the 

“send AT test” command by shaking it! 

 

 

 

STEP 2: Send the command by shaking it! 

 

 

 

 

 

 

If you open the shield, the screen as shown below 

“AT+OK” will be returned. 

 

 

2. Get battery level from WiFi IoT Robotic Shield 

STEP 1: Send the 

“send AT test” command by shaking it! 

    

 

 

STEP 2: Send the command by shaking it! 

 

 

 

 

 

If you open the shield, the screen as shown below. 

“AT+OK” will be returned. 

 

Send AT test 

AT OK 

Send AT test 

62.3% 

Summary of Contents for WiFi IoT Robotic Shield

Page 1: ...input value 7 2 2 Turn on the output 8 2 3 Control 180 servo 9 2 4 Control 360 servo 9 3 Basic WIFI function 10 3 1 Initialization of Muse IoT Shield 10 3 2 Get the response from the WIFI module 10 5...

Page 2: ...u insert your Micro bit into the edge connector your Microbit will be WIFI enabled In other words Microbit is able to access the Internet using our MuseLab shield Structure diagram There is a screen 3...

Page 3: ...insert different input like light and sound sensors For output you can use LED buzzer servo and so on Detailed pinout table Module Pin Remarks General 3V 5V GND I O P0 P1 P2 P12 Write only Servo D5 D...

Page 4: ...ab modules with micro bit you will need to add the Muselab PXT packages to your makecode environment STEP 1 Find the Add Package option at the bottom STEP 2 Enter the project URL github com MUSELAB px...

Page 5: ...5 1 Print Hello World on the screen STEP 1 Go to Advanced Add Package STEP 2 Search SSD1306 and click that...

Page 6: ...you have added it you can see the OLED in the menu STEP 4 Initialize the OLED first The height is 32 and width is 128 STEP 5 Show the string Hello World STEP 6 To clear the screen add the clear OLED d...

Page 7: ...7 2 How to use Input Output pin 2 1 Read input value STEP 1 Insert the input sensor on P0 Please note that there is label SVG on the pin STEP 2 Pins analog read pin P0...

Page 8: ...8 2 2 Turn on the output STEP 1 Insert the output on P1 Please note that there is label SVG on the pin STEP 2 Pins analog write pin P1 to 1023 and 0 every 1 second repeatedly...

Page 9: ...Insert the 180 servo to the D5 STEP 2 MuseIoT More control 180 servo pin 5 to degree 0 and 180 repeatedly 2 4 Control 360 servo STEP 1 Insert the output on P1 STEP 2 MuseIoT More control 360 servo pin...

Page 10: ...s first 1 Initialization of WIFI module 2 Get the response from the wifi module 3 1 Initialization of Muse IoT Shield STEP 1 Go to MuseIoT Initialize WiFi IoT Shield 3 2 Get the response from the WIFI...

Page 11: ...ed STEP 4 Add the screen function to show the response from WIFI module If you open the shield the screen will show shield information after Initialize OK The information contains the version number f...

Page 12: ...STEP 1 Send the connect wifi command by pressing button STEP 2 find the Set wifi from MuseIoT tab STEP 3 Input ssid and pwd where muselab is wifi ssid and 12345678 is the wifi password Result When it...

Page 13: ...ThingSpeak from MuseIoT tab STEP 3 Find the Key from ThingSpeak you need to use your own API key STEP 4 Input the key where QPATAJ6QA4S83WSI is the ThingSpeak API key and field1 is the value you want...

Page 14: ...mail via IFTTT STEP 1 Send the IFTTT command by pressing A B button STEP 2 find the Send IFTTT from MuseIoT tab STEP 3 Find the IFTTT API key and event name go to IFTTT page Select documentation This...

Page 15: ...information example 1 IFTTT API key dlJ0cMtOPkAddxCTPKCxgE 2 value 1 or value 2 the value you want to send with 3 event_name the event you want to trigger Result If data is uploaded successfully Uploa...

Page 16: ...ngSpeak It is the platform for you to upload data to the cloud 2 ThingSpeak registration 1 Go to https thingspeak com and signup 2 In the Channels tab click My Channels New Channel 3 Input the Name Fi...

Page 17: ...k API It is the URL link for your quickly upload data to ThingSpeak You can just type the URL link ThingSpeak API in the browser then it s done STEP 1 Find the API link from Data Import Export tab STE...

Page 18: ...g it If you open the shield the screen as shown below AT OK will be returned 2 Get battery level from WiFi IoT Robotic Shield STEP 1 Send the send AT test command by shaking it STEP 2 Send the command...

Reviews: