diff --git a/docs/smartcity/case01.md b/docs/smartcity/case01.md index 3b090ce7..eb230f64 100644 --- a/docs/smartcity/case01.md +++ b/docs/smartcity/case01.md @@ -47,6 +47,8 @@ Connect LED light to the P3 port of Smarthon IoT:bit


![auto_fit](images/Case1/Case1_hardware.png)

+*Pull the buzzer switch 'up' to disconnect the buzzer in this execrise* + ## Programming (MakeCode)


diff --git a/docs/smartcity/case02.md b/docs/smartcity/case02.md index 5d900466..4ce0b92f 100644 --- a/docs/smartcity/case02.md +++ b/docs/smartcity/case02.md @@ -50,6 +50,7 @@ Connect Light Sensor to P0 port of IoT:bit

Connect 180° Servo to P2 port of IoT:bit

![auto_fit](images/Case2/Case2_hardware.png)

+*Pull the buzzer switch 'up' to disconnect the buzzer in this execrise* ## Programming (MakeCode)


diff --git a/docs/smartcity/case06.md b/docs/smartcity/case06.md index 026e0963..fa115137 100644 --- a/docs/smartcity/case06.md +++ b/docs/smartcity/case06.md @@ -46,6 +46,7 @@ Connect the Raindrop Sensor to P0 port of IoT:bit

Connect the Temperature and humidity Sensor to P2 port of IoT:bit

![auto_fit](images/Case6/Case6_hardware.png)

+*Pull the buzzer switch 'up' to disconnect the buzzer in this execrise* ## IoT (ThingSpeak)


diff --git a/docs/smartcity/case07.md b/docs/smartcity/case07.md index 5c806d0d..421ff844 100644 --- a/docs/smartcity/case07.md +++ b/docs/smartcity/case07.md @@ -44,6 +44,7 @@ Connect the Motion Sensor to P1 port of IoT:bit

Turn on the Buzzer Switch on P0 port of IoT:bit

![auto_fit](images/Case7/Case7_hardware.png)

+*Pull the buzzer switch 'down' to connect the buzzer in this execrise* ## IoT (IFTTT)


diff --git a/docs/smartcity/case08.md b/docs/smartcity/case08.md index a5eee2d0..19925e6e 100644 --- a/docs/smartcity/case08.md +++ b/docs/smartcity/case08.md @@ -40,6 +40,7 @@ N/A Connect the Light Sensor to P0 port of IoT:bit

![auto_fit](images/Case8/Case8a_hardware.png)

+*Pull the buzzer switch 'up' to disconnect the buzzer in this execrise* ### Programming (MakeCode)


diff --git a/docs/smartcity/case10.md b/docs/smartcity/case10.md index 27dab00b..4ef863aa 100644 --- a/docs/smartcity/case10.md +++ b/docs/smartcity/case10.md @@ -37,9 +37,11 @@ Assembly completed!

## Hardware connect


-Connect the white LED Light to P1 port of IoT:bit

+Connect the white LED Light to P0 port of IoT:bit

![auto_fit](images/Case10/Case10_hardware.png)

+*Pull the buzzer switch 'up' to disconnect the buzzer in this execrise* + ## Programming (MakeCode)


@@ -65,16 +67,22 @@ Connect the white LED Light to P1 port of IoT:bit

Step 4. Turn on/off LED by WAN command

* Snap `if-condition` * Set variable `WAN_Command` = `lighton` into `if-condition` -* `turn White LED …` from `SmartCity` > `Output`, turn white LED with intensity: 1023 at P1 +* `turn White LED …` from `SmartCity` > `Output`, turn white LED with intensity: 1023 at P0 * Set variable `WAN_Command` = `lightoff` into `else-if-condition` -* Snap `turn White LED …` from `SmartCity` > `Output`, turn white LED with intensity: 0 at P1 +* Snap `turn White LED …` from `SmartCity` > `Output`, turn white LED with intensity: 0 at P0 ![auto_fit](images/Case10/Case10_p4.png)

Full Solution

+<<<<<<< HEAD +MakeCode: [https://makecode.microbit.org/_6DuRvwD5PYpU](https://makecode.microbit.org/_6DuRvwD5PYpU)

+You could also download the program from the following website:
+ +======= MakeCode: [https://makecode.microbit.org/_2cRf6LWq69AL](https://makecode.microbit.org/_2cRf6LWq69AL)

You could also download the program from the following website:
+>>>>>>> f16ca1229b020beb4e91d7e16791193a6cb0c679 ## IoT (IFTTT) diff --git a/docs/smartcity/images/Case1/Case1_hardware.png b/docs/smartcity/images/Case1/Case1_hardware.png index 5271fc6d..a4cb641a 100644 Binary files a/docs/smartcity/images/Case1/Case1_hardware.png and b/docs/smartcity/images/Case1/Case1_hardware.png differ diff --git a/docs/smartcity/images/Case10/Case10_hardware.png b/docs/smartcity/images/Case10/Case10_hardware.png index 3ac0793e..db344e04 100644 Binary files a/docs/smartcity/images/Case10/Case10_hardware.png and b/docs/smartcity/images/Case10/Case10_hardware.png differ diff --git a/docs/smartcity/images/Case10/Case10_p4.png b/docs/smartcity/images/Case10/Case10_p4.png index b2fbe3cd..800fdacd 100644 Binary files a/docs/smartcity/images/Case10/Case10_p4.png and b/docs/smartcity/images/Case10/Case10_p4.png differ diff --git a/docs/smartcity/images/Case2/Case2_hardware.png b/docs/smartcity/images/Case2/Case2_hardware.png index 94fbcb32..905acdf5 100644 Binary files a/docs/smartcity/images/Case2/Case2_hardware.png and b/docs/smartcity/images/Case2/Case2_hardware.png differ diff --git a/docs/smartcity/images/Case6/Case6_hardware.png b/docs/smartcity/images/Case6/Case6_hardware.png index 34d13028..57f85ce8 100644 Binary files a/docs/smartcity/images/Case6/Case6_hardware.png and b/docs/smartcity/images/Case6/Case6_hardware.png differ diff --git a/docs/smartcity/images/Case7/Case7_hardware.png b/docs/smartcity/images/Case7/Case7_hardware.png index 9ffff4a6..43c9acf9 100644 Binary files a/docs/smartcity/images/Case7/Case7_hardware.png and b/docs/smartcity/images/Case7/Case7_hardware.png differ diff --git a/docs/smartcity/images/Case8/Case8a_hardware.png b/docs/smartcity/images/Case8/Case8a_hardware.png index 88acf22a..94ce1aad 100644 Binary files a/docs/smartcity/images/Case8/Case8a_hardware.png and b/docs/smartcity/images/Case8/Case8a_hardware.png differ diff --git a/docs/smartcity/images/Case8/Case8b_hardware.png b/docs/smartcity/images/Case8/Case8b_hardware.png index 06c88488..a868ade8 100644 Binary files a/docs/smartcity/images/Case8/Case8b_hardware.png and b/docs/smartcity/images/Case8/Case8b_hardware.png differ