Skip to content

Commit

Permalink
upgrade version to 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
samLee-Smarthon committed Dec 4, 2022
1 parent 0dc39c4 commit 583731d
Show file tree
Hide file tree
Showing 109 changed files with 464 additions and 32 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG
Expand Up @@ -2,5 +2,15 @@ Version 1.0 (2022-09-04)
1. Implemented basic functions
2. Updated full solution fix

Version 1.1 (2022-10-18)
1. Release SmartHomeIoT
Version 1.1
Merge assembly_step and background (phase 1) to develop branch
-Assembly and part list 1-5 (OK)
-Background 1-8 (OK) draw.io 9-11 (OK)

Version 1.2 (2022-12-04)
Merge assembly_step_2 and background_2, program (phase 1) to develop branch
-Assembly and part list 6-13 (OK)
-Background 9-13 (OK), case 14 (partially finished)
-Program 9,10,12,13 (update to v4 pxt, change ssid/pwd to smarthon/12345678)


34 changes: 34 additions & 0 deletions docs/smartHomeIoT/case06.md
Expand Up @@ -34,6 +34,40 @@ The home owner set the password (A=2 & B=3), the door will be opened.

![pic_90](images/Case6/Case6_parts.png)<P>

## Assembly step
<HR>

<span id="subtitle">Step 1</span><P>
Build the base model of open style model<BR><P>

![pic_90](images/Case6/Case6_ass1.png)<P>
<span id="subtitle">Step 2</span><P>
Use M4 screws to install the button module on B1 cardboard, take place near the door<BR><P>

![pic_90](images/Case6/Case6_ass2.png)<P>
![pic_90](images/Case6/Case6_ass3.png)<P>

<span id="subtitle">Step 3</span><P>
Use M3 screws to install the L shape stand on B1 cardboard, take place back the door<BR><P>

![pic_90](images/Case6/Case6_ass4.png)<P>
![pic_90](images/Case6/Case6_ass5.png)<P>

<span id="subtitle">Step 4</span><P>
Use sharp screw M2 to install the servo 180 on cardboard A.<BR><P>

![pic_90](images/Case6/Case6_ass6.png)<P>

<span id="subtitle">Step 5</span><P>
Connect the L Shape Stand and servo 180 to the door by hook(made by Paper Clip).<BR><P>

![pic_90](images/Case6/Case6_ass7.png)<P>

<span id="subtitle">Step 6</span><P>
Completed<BR><P>

![pic_90](images/Case6/Case6_ass8.png)<P>



## Hardware connect
Expand Down
45 changes: 45 additions & 0 deletions docs/smartHomeIoT/case07.md
Expand Up @@ -99,7 +99,52 @@ When this Micro:bit receives the message from the another Micro:bit (Remote), it



### Assembly step
<HR>

<span id="subtitle">Step 1</span><P>
Build the base model of big style model<BR><P>
![pic_90](images/Case7/Case7_ass1.png)<P>

<span id="subtitle">Step 2</span><P>
Insert the E1 cardboard on A, align with A and B3 holes<BR><P>

![pic_90](images/Case7/Case7_ass2.png)<P>

<span id="subtitle">Step 3</span><P>
Use M4 screws and nuts to install the Multi-Color LED to B3 cardboard<BR><P>

![pic_90](images/Case7/Case7_ass3.png)<P>

<span id="subtitle">Step 4</span><P>
Build a sofa model. Firstly, insert the K3 to the two sides of K1<BR><P>

![pic_90](images/Case7/Case7_ass4.png)<P>

<span id="subtitle">Step 5</span><P>
Second, Insert K2 to the end of the board K3<BR><P>

![pic_90](images/Case7/Case7_ass5.png)<P>

<span id="subtitle">Step 6</span><P>
Sofa building completed!<BR><P>

![pic_90](images/Case7/Case7_ass6.png)<P>

<span id="subtitle">Step 7</span><P>
Place the sofa at the room <BR><P>

![pic_90](images/Case7/Case7_ass7.png)<P>

<span id="subtitle">Step 8</span><P>
Stick the Decoration Display Model (H cardboard) on B3<BR><P>

![pic_90](images/Case7/Case7_ass8.png)<P>

<span id="subtitle">Step 9</span><P>
Completed<BR><P>

![pic_90](images/Case7/Case7_ass9.png)<P>

### Hardware connect
<HR>
Expand Down
62 changes: 62 additions & 0 deletions docs/smartHomeIoT/case08.md
Expand Up @@ -32,6 +32,68 @@ In programming part, there is a "flag" concept to be used in this case. It can c
![pic_90](images/Case8/Case8_parts.png)<P>


## Assembly step
<HR>
<span id="subtitle">Step 1</span><P>
Build the base model of big style model<BR><P>

![auto_fit](images/Case8/Case8_ass1.png)<P>

<span id="subtitle">Step 2</span><P>
Attach the curtain rod to 360 servo.You can use the screwdriver to assist<BR><P>

![pic_90](images/Case8/Case8_ass2.png)<P>

<span id="subtitle">Step 3</span><P>
Cut the Curtain paper to 8cm\*8cm<BR><P>

![pic_90](images/Case8/Case8_ass3.png)<P>

<span id="subtitle">Step 4</span><P>
Add the glue to stick the curtain rod with the curtain paper<BR><P>

![pic_90](images/Case8/Case8_ass4.png)<P>


<span id="subtitle">Step 5</span><P>
Make the Blu Tack to long shape by hand<BR><P>

![pic_90](images/Case8/Case8_ass5.png)<P>

<span id="subtitle">Step 6</span><P>

Stick the long Blu Tack to the bottom of paper curtain<BR><P>

![pic_90](images/Case8/Case8_ass6.png)<P>

<span id="subtitle">Step 7</span><P>

Use M2 screw to install the servo to the placeholder on cardboard B1 and check the place of curtain<BR><P>

![pic_90](images/Case8/Case8_ass7.png)<P>

![pic_90](images/Case8/Case8_ass8.png)<P>

<span id="subtitle">Step 8</span><P>

Close the house by C1 cardboard and C2 cardboard<BR><P>

![pic_90](images/Case8/Case8_ass9.png)<P>

<span id="subtitle">Step 9</span><P>

Install the light sensor on the C1 cardboard<BR><P>

![pic_90](images/Case8/Case8_ass10.png)<P>

<span id="subtitle">Step 10</span><P>

Completed<BR><P>

![pic_90](images/Case8/Case8_ass11.png)<P>



## Hardware connect
<HR>

Expand Down
59 changes: 51 additions & 8 deletions docs/smartHomeIoT/case09.md
Expand Up @@ -6,23 +6,66 @@ Level: ![level](images/level4.png)
## Goal
<HR>

Make a digital clock that performs a normal clock function with auto-synchronizing time, and alert at specific time.<BR><P>
Make a digital clock that performs a normal clock function with auto-synchronizing Internet time, and alert at specific time.<BR><P>

## Background
<HR>

<span id="subtitle">What is smart digital clock?</span><BR><P>
Smart digital clock is a clock that shows time as accurate as close to atomic clock by connecting to the Internet.<BR><P>
<span id="subtitle">Smart digital clock principle</span><BR><P>
NTP protocol ensures devices synchronize their time with an accurate time provider. With connecting to the Internet the digital clock can even show the time close to atomic clock in millisecond .<BR><P>

<span id="subtitle">What is Smart Digital Clock?</span><BR><P>
Smart digital clock is a clock that shows time as accurate as to atomic clock by connecting to the Internet.<BR><P>
<span id="subtitle">Smart Digital Clock Principle</span><BR><P>
NTP protocol ensures devices synchronize their time with an accurate time internet provider. With connecting to the Internet, the digital clock can show the time close to atomic clock in millisecond .<BR><P>
In the program, it will get the internet time every 0.5 second to show the time on the OLED. When the time is arrived to specific time (e.g. 06:00:00), it will turn on the alert. Otherwise, it will turn of the buzzer. When the user pressed the button A, the alarm can be closed.
![pic](images/Case9/Case9_flowchart.png)<P>

## Part List
<HR>

![pic_90](images/Case9/Case9_parts.png)<P>

## Assembly step
<HR>
<span id="subtitle">Step 1</span><BR><P>
Build the base model of big style model<BR><P>

![pic_90](images/Case9/Case9_ass1.png)<P>

<span id="subtitle">Step 2</span><BR><P>
Let’s build a bed room to install the digital clock. Insert the E3 cardboard on A cardboard, align with holes at A and B3 cardboard<BR><P>

![pic_90](images/Case9/Case9_ass2.png)<P>
<span id="subtitle">Step 3</span><BR><P>
Use M2 screws and nuts to install the OLED display to E3 cardboard<BR><P>

![pic_90](images/Case9/Case9_ass3.png)<P>
![pic_90](images/Case9/Case9_ass4.png)<P>

<span id="subtitle">Step 4</span><BR><P>
Insert the E4 cardboard on A cardboard, align with holes at A and B4 cardboard<BR><P>

![auto_fit](images/Case9/Case9_ass5.png)<P>

<span id="subtitle">Step 5</span><BR><P>
To build a Bed. Put J2 model onto the J1 model, then put together all the cardboard parts (J1-J3)<BR><P>

![pic_90](images/Case9/Case9_ass6.png)<P>

<span id="subtitle">Step 6</span><BR><P>
The bed completed<BR><P>

![pic_90](images/Case9/Case9_ass7.png)<P>


<span id="subtitle">Step 7</span><BR><P>
Place the bed at the correct position<BR><P>

![pic_90](images/Case9/Case9_ass8.png)<P>

<span id="subtitle">Step 8</span><BR><P>
completed<BR><P>

![pic_90](images/Case9/Case9_ass9.png)<P>


## Hardware connect
<HR>
Expand Down Expand Up @@ -86,9 +129,9 @@ NTP protocol ensures devices synchronize their time with an accurate time provid


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_cpeR8e32PDzi](https://makecode.microbit.org/_cpeR8e32PDzi)<BR><P>
MakeCode: [https://makecode.microbit.org/_ExgH3FKJWT2b](https://makecode.microbit.org/v4#editor:_ExgH3FKJWT2b)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_cpeR8e32PDzi
<iframe src="https://makecode.microbit.org/v4#pub:_ExgH3FKJWT2b
" width="100%" height="500" frameborder="0"></iframe>

## Result
Expand Down
62 changes: 58 additions & 4 deletions docs/smartHomeIoT/case10.md
Expand Up @@ -14,17 +14,71 @@ Make a home health data monitoring system by collecting data from the sensors in
<span id="subtitle">What is home health data monitoring system?</span><BR><P>
Health monitoring is the concept of tracking the conditions of different parameters inside the user’s house. For indoor, the important parameters to analyze the home comfortability are temperature, humidity, pm2.5, CO2 and VOC. In this system, we can base on temperature and humidity to measure the comfortability of the home. With the too high temperature or too low humidity will also affect the comfortability.<BR><P>

<span id="subtitle">Home health monitoring system operation</span><BR><P>
In this scenario, integrated temperature and humidity sensor DHT11 is used. It can track and send back the data collected to the main control board for further analysis, constant display and cloud server storage. Also the IAQ Score analyst can help to estimate the environment status.<BR><P>
<span id="subtitle">Home health monitoring system Principle</span><BR><P>
In this case, integrated temperature and humidity sensor DHT11 is used. It will keep track of room temperature, humidity and IAQ value, display to the OLED and upload to the Thingspeak platform for further analysis.<BR><P>


![pic](images/Case10/Case10_flowchart.png)<P>

<span id="subtitle">Know more: What is an IAQ?</span><P>
Indoor Air Quality (IAQ) refers to the air quality within and around buildings and structures, especially as it relates to the health and comfort of building occupants. Understanding and controlling common pollutants indoors can help reduce your risk of indoor health concerns. The important parameters are temperature, humidity, pm2.5, CO2 and VOC.

<span id="subtitle">Know more: How to determine the IAQ Score?</span><P>
In Smarthon Smart Home IoT Maker Kit, we use 2 parameters (temperature and humidity) to determine the comfortability (IAQ Score) of the room. Below is the chart to show most comfortable value of temperature (20-22) with humidity (40-70).
![auto_fit](images/Case10/Case10_iaq_chart.jpg)<P>
Therefore, better range of temperature will have higher score of IAQ; Better range of humidity will have higher score of IAQ.
Thus, the average value of IAQ score from temperature and humidity can determine the comfortability of the room. In other words, for the used of block on pxt from Smarthon, it will return the average value of temperature and humidity IAQ score.

## Part List
<HR>

![pic_90](images/Case10/Case10_parts.png)<P>

## Assembly step
<HR>

<span id="subtitle">Step 1</span><BR><P>
Build the base model of open style model<P>

![pic_90](images/Case10/Case10_ass1.png)<P>

<span id="subtitle">Step 2</span><BR><P>
Insert the E4 & E1 cardboard on A cardboard, align with holes at A and B2 & B3 cardboard<P>

![pic_90](images/Case10/Case10_ass2.png)<P>

<span id="subtitle">Step 3</span><BR><P>
Use M4 screws and nuts to install the OLED display to E4 cardboard<P>

![pic_90](images/Case10/Case10_ass3.png)<P>
![pic_90](images/Case10/Case10_ass4.png)<P>

<span id="subtitle">Step 4</span><BR><P>
Build a sofa model. Firstly, insert the K3 to the two sides of K1<P>

![pic_80](images/Case10/Case10_ass5.png)<P>


<span id="subtitle">Step 5</span><BR><P>
Build a sofa model. Firstly, insert the K3 to the two sides of K1.<P>

![pic_80](images/Case10/Case10_ass6.png)<P>


<span id="subtitle">Step 6</span><BR><P>
Second, Insert K2 to the end of the board K3<P>

![pic_80](images/Case10/Case10_ass7.png)<P>

<span id="subtitle">Step 7</span><BR><P>
Plase the sofa model at suitable position<P>

![pic_80](images/Case10/Case10_ass8.png)<P>

<span id="subtitle">Step 8</span><BR><P>
Completed<P>

![pic_80](images/Case10/Case10_ass9.png)<P>


## Hardware connect
Expand Down Expand Up @@ -116,9 +170,9 @@ In this scenario, integrated temperature and humidity sensor DHT11 is used. It c

<span id="subtitle">Full Solution<BR><P>

MakeCode: [https://makecode.microbit.org/_4eieTk2TUda1](https://makecode.microbit.org/_4eieTk2TUda1)<BR><P>
MakeCode: [https://makecode.microbit.org/_Vw1ebpiE2CsR](https://makecode.microbit.org/v4#editor:_Vw1ebpiE2CsR)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_4eieTk2TUda1" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/v4#pub:_Vw1ebpiE2CsR" width="100%" height="500" frameborder="0"></iframe>



Expand Down

0 comments on commit 583731d

Please sign in to comment.