User Tools

Site Tools


amc:ss2023:group-e:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
amc:ss2023:group-e:start [2023/07/25 12:37] wai001amc:ss2023:group-e:start [2023/07/26 07:45] (current) wai001
Line 1: Line 1:
 ====Bird House: Surveillance system==== ====Bird House: Surveillance system====
 HSRW AMC Project\\ HSRW AMC Project\\
-Yongyi Wang(27634),Fonyuy Stacy-Kpufotitin(-),Wai Lin Maung(28690)\\+Yongyi Wang(27634),Fonyuy Stacy-Kpufotitin(29820),Wai Lin Maung(28690)\\
 **1. Introduction** \\ **1. Introduction** \\
 EU The Birds Directive (Directive 79/409/EEC)  EU The Birds Directive (Directive 79/409/EEC) 
Line 112: Line 112:
  \\  \\
 **Camera module and PIR sensor connection**\\ **Camera module and PIR sensor connection**\\
- {{:amc:ss2023:group-e:image8.png?direct&400|}} Schematics of the ESP32 cam and pir sensory connection with fdti adtaptor(source-Wai Lin)+ {{:amc:ss2023:group-e:image8.png?direct&400|}} Schematics of the ESP32 cam and pir sensor connection with fdti (source-Wai Lin)
 \\ \\
 When motion is detected by the PIR sensor, GPIO13 goes high, the board will then  wake up,  When motion is detected by the PIR sensor, GPIO13 goes high, the board will then  wake up, 
Line 119: Line 119:
 be published to Flespi via MQTT as a message and also saved on the SD card.   be published to Flespi via MQTT as a message and also saved on the SD card.  
    
-====Sleeping Modes of ESP32==== \\+**Sleeping Modes of ESP3** \\
 The ESP32 microcontroller utilized in the project supports a range of general sleeping modes  The ESP32 microcontroller utilized in the project supports a range of general sleeping modes 
 depending on which can reduce the RAM and CPU power and the working Wifi capabilities.  depending on which can reduce the RAM and CPU power and the working Wifi capabilities. 
-Table 1.2 depicts a range of sleeping modes and their features with power supply.  +Table 1.2 depicts a range of sleeping modes and their features with power supply.  \\ 
 +\\
 Table 1.2: The sleeping modes supported by ESP32 (source:espressif)  Table 1.2: The sleeping modes supported by ESP32 (source:espressif) 
 +^ Power Mode      ^ Description       ^ Description         ^Power  Consumption     ^
 +| Active (RF working)  |  Wi-Fi/BT Rx and listening | Wi-Fi/BT Rx and listening   |78 mA ~ 90 mA without communication.For TX RX more info in the next table  |
 +| Modem-sleep    | The CPU is powered on.|240 MHz * | 30mA ~ 68mA  |
 +| Modem-sleep    | The CPU is powered on.|160 MHz * | 27mA ~ 44mA  |
 +| Modem-sleep    | The CPU is powered on.|160 MHz * | 27mA ~ 34mA  |
 +| Modem-sleep    | The CPU is powered on.|Normal speed: 80MHz * | 20mA ~ 31mA  |
 +| Modem-sleep    | The CPU is powered on.|Normal speed: 80MHz *| 20mA ~ 25mA  |
 +| Light-sleep    | - | - |0.8mA  |
 +| Deep-sleep | The ULP co-processor is powered on.|The ULP co-processor is powered on. | 150 µA 100 µA @1% duty 10 µA |
 +| Deep-sleep | ULP sensor-monitored pattern |ULP sensor-monitored pattern| 150 µA 100 µA @1% duty 10 µA |
 +| Deep-sleep | RTC timer + RTC memory |RTC timer + RTC memory | 150 µA 100 µA @1% duty 10 µA |
 +| Hibernation | RTC timer only |RTC timer only | 5µA |
 +| Power off | CHIP_PU is set to low level, the chip is powered off. |CHIP_PU is set to low level, the chip is powered off.  | 1µA |
  
  
Line 137: Line 151:
 sensor, the waking up of the system takes place. \\  sensor, the waking up of the system takes place. \\ 
  esp_sleep_enable_ext0_wakeup(gpio_13, int level=1) \\  esp_sleep_enable_ext0_wakeup(gpio_13, int level=1) \\
- \\ +\\ 
-***MQTT Protocol*** \\+\\ 
 +**MQTT Protocol** \\
 MQTT (message queuing telemetry transport) is a messaging protocol that was designed to  MQTT (message queuing telemetry transport) is a messaging protocol that was designed to 
 create a reliable standard for machine-to-machine (m2m) communication. It is a publish-and- create a reliable standard for machine-to-machine (m2m) communication. It is a publish-and-
Line 272: Line 287:
    
    
-***4. Discussion*** \\+**4. Discussion** \\
 **4.1 Limitations**\\ **4.1 Limitations**\\
 The flashlight on ESP 32 cam is an indicator for successful photo taking, however, it is too  The flashlight on ESP 32 cam is an indicator for successful photo taking, however, it is too 
amc/ss2023/group-e/start.1690281455.txt.gz · Last modified: 2023/07/25 12:37 by wai001