Pocket-CO Detector (Remake Edition)

by khikam in Circuits > Sensors

110 Views, 0 Favorites, 0 Comments

Pocket-CO Detector (Remake Edition)

3add6b34-63d8-469a-815c-bda9dbed4442.jpg

Hello Everyone, My name is Umar Kharits Al Khikam (2502048022) and I'm a second-year student at Binus University studying Computer Engineering.

Vision:

•To keep track of the CO quality of a room, I propose a pocket CO quality device that can measure the CO quality of a room's air.

Supplies

Screenshot 2024-01-09 215128.png
Screenshot 2024-01-09 215236.png
Screenshot 2024-01-09 215822.png
e7b344e9-5641-4682-81f5-ec53dabe21a1.jpg
Screenshot 2024-01-09 214835.png
dwqa.png
Screenshot 2024-01-09 215244.png
7ee4c6d0-14d9-4401-a027-84e14dcc5b12.jpg
611c5493-b3a1-4c14-8be8-f4a250c5971f.jpg
ea050aa7-c7be-4a13-b53f-a19c7eccd756.jpg
rge.png
c39e3bd5-78ed-4f15-bffb-ab472b94770e.jpg
Screenshot 2024-01-09 215024.png
  1. ESP32 DevKitC V4
  2. Battery 18650 Shield 1 Cell
  3. Kabel Tunggal Jumper Panjang 1M x 8Warna
  4. VAPCELL 18650 3500mAh 25A Battery
  5. Breadboard 400 Tie Point
  6. LCD OLED 0.96 WHITE I2C
  7. Sensor Carbon Monoxide MQ-7
  8. Case
  9. PCB BESAR Dobel Dual Layer Thru Hole Lubang Bolong Matrix IC - 9*15CM
  10. Lem Original Suxun T9000
  11. GERGAJI BESI MINI GAGANG PLASTIK / MINI HACKSAW
  12. Alat Charger Baterai 18650 Casan batre Vape 4 Slot USB
  13. UGREEN 60144 Kabel Power Bank Micro USB Fast Charging Charger Pendek

Prototype Build

Screenshot 2024-01-09 215521.png

1. connect ESP32 DevKitC V4 34 pin to MQ-7 SENSOR-A0 pin

2. connect ESP32 DevKitC V4 VCC/3V3 pin to MQ-7 SENSOR VCC pin

3. connect ESP32 DevKitC V4 GND pin to MQ-7 SENSOR GND pin

4. connect ESP32 DevKitC V4 22 pin to WHITE I2C SCL pin

5. connect ESP32 DevKitC V4 21 pin to WHITE I2C SDA pin

6. connect ESP32 DevKitC V4 VCC/3V3 pin to WHITE I2C VCC pin

7. connect ESP32 DevKitC V4 GND pin to WHITE I2C GND pin

ThinkSpeak

sfa.png
Screenshot 2024-01-09 215603.png
Screenshot 2024-01-09 215613.png
Screenshot 2024-01-09 215624.png

1. Create An account

2. Create a new channel

3. Customize the channel

4. Grab Write API KEY and apply it to the IOT code.& Flutter code

IOT Coding

Screenshot 2024-01-09 215732.png

IOT P-CO: https://github.com/UmaRasx/IOT-P-CO

Flutter Coding

Screenshot 2024-01-09 221021.png

Flutter P-CO: https://github.com/UmaRasx/P-COFlutter-2.0

Prototype Test

Screenshot 2024-01-09 223007.png

Do a Test run with the code to ensure there are no broken things.

PCB & Wiring & Build

611c5493-b3a1-4c14-8be8-f4a250c5971f.jpg
12d4c8d9-4dfa-40de-afd2-7b44063d03c9.jpg
9aa3f1a8-dc90-4c75-a94b-147f0dc8b964.jpg
7ee4c6d0-14d9-4401-a027-84e14dcc5b12.jpg
cea95545-9a22-45ad-a769-5b10fc1f631f.jpg
0d175914-fa99-4234-b7db-ed3019631d71.jpg
4f931915-788b-487c-9f99-89ad626dad31.jpg
8732dead-69b7-4a80-a4c6-0ffd72e750cc.jpg
00d93961-4fbd-4a7d-aff3-bfbb18af7d87.jpg
  1. cut the PCB to the desired size
  2. trim and place the esp32,l2c,mq-7
  3. Connect with wiring to the right pin
  4. buy a case, or build one
  5. Assemble
  6. turn on the switch
  7. connect it to the Hostpot/wifi based on The IOT Code
  8. and voila.

Flutter +Thinkspeak Part 2

Screenshot 2024-01-09 221021.png
Screenshot 2024-01-09 222635.png

Run the Flutter app and open thinkspeak to see the result.

Extra File

In case of expired links, I decided to include the files

https://drive.google.com/file/d/1KoV8sLlKm4xVyZ2tH0s9xnLUiMbH_D8s/view?usp=sharing

https://drive.google.com/drive/folders/1OJtOj4yW5t0QsftQTY7t5sk6v-It1HVQ?usp=sharing

Youtube Extra Video

Pengunaan secara Singkat

Link Youtube: https://www.youtube.com/watch?v=Dmsz757jMsY