Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Figure 13

Figure 14

Figure 15

Figure 16

Figure 17

Figure 18

Figure 19

Figure 20

Figure 21

Figure 22

Figure 23

Figure 24

Test results at 8:00
| Time | Light intensity | Temperature | Humidity |
|---|---|---|---|
| 8:00 | 67 | 27°C | 41% |
STA and TCP client configuration
| Instructions | Functions |
|---|---|
| AT+CWMODE=1 | Set the WiFi module to STA mode |
| AT+RST | Restart the WiFi module to take effect |
| AT+CWJAP="xx", "xxxxxxx" | Add a WiFi hot spot: xx, the password is xxxxxxxx |
| AT+CIPMUX=0 | Enabling single connection |
| AT+CIPSTART="TCP","192.168.1.XXX",8000 | Establish a TCP connection to 192.168.1.xxx,8000 |
| AT+CIPMODE=1 | Enable transparent transmission |
| AT+CIPSEND | Begin to transport |
TTest results at 20:00
| Time | Light intensity | Temperature | Humidity |
|---|---|---|---|
| 20:00 | 2 | 26°C | 30% |
Automatic adjustment of light source
| Light intensity values (adcx) | Comparing values (ledpwm val) |
|---|---|
| adcx>50 | 0 |
| 30<adcx⩽50 | 100 |
| 20<adcx⩽30 | 300 |
| adcx⩽20 | 500 |
Test results at 13:00
| Time | Light intensity | Temperature | Humidity |
|---|---|---|---|
| 13:00 | 98 | 28°C | 41% |