Pocket-CO Detector

by khikam in Circuits > Sensors

359 Views, 0 Favorites, 0 Comments

Pocket-CO Detector

WhatsApp Image 2023-06-21 at 16.30.07.jpeg

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

WhatsApp Image 2023-06-21 at 15.20.31.jpeg
2267a7f4-0b7b-475e-b353-8917de7c82a4.jpg
2f0eefd8-925c-48ed-a290-d77051de5032.jpg
WhatsApp Image 2023-06-21 at 16.17.31.jpeg

1, Kabel Tunggal Jumper Panjang 1M x 8Warna

2. ESP32 DevKitC V4

3. Kabel Micro USB to USB ESP32

4. Battery 18650 Shield 1 Cell

5. Breadboard 400 Tie Point

6. LCD OLED 0.96 WHITE I2C

7. pcb bolong ic 18,5x7,2 cm

8. Sensor Carbon Monoxide MQ-7

9. Case

Prototype Build

WhatsApp Image 2023-06-21 at 15.20.31 (1).jpeg

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

Screenshot 2023-06-21 160436.png
Screenshot 2023-06-21 160651.png
Screenshot 2023-06-21 160827.png
Screenshot 2023-06-21 160935.png

1. Create A 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

WhatsApp Image 2023-06-17 at 21.34.07.jpeg

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

Flutter Coding

Screenshot 2023-06-21 162319.png

Flutter P-CO: https://github.com/UmaRasx/flutter-P-co

Prototype Test

WhatsApp Image 2023-06-17 at 21.27.51.jpeg

Do a Test run with the code to make sure no broken things.

PCB & Wiring & Build

WhatsApp Image 2023-06-21 at 16.12.32.jpeg
WhatsApp Image 2023-06-21 at 16.15.02.jpeg
WhatsApp Image 2023-06-21 at 16.15.02 (1).jpeg
WhatsApp Image 2023-06-21 at 16.17.31.jpeg
WhatsApp Image 2023-06-21 at 16.30.07.jpeg
  1. Snap the PCB to half
  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 on switch
  7. connect it to the Wifi
  8. and voila.

Flutter +Thinkspeak Part 2

Screenshot 2023-06-21 163241.png
Screenshot 2023-06-21 163301.png
Screenshot 2023-06-21 163319.png
Screenshot 2023-06-21 163432.png
Screenshot 2023-06-21 163518.png
Screenshot 2023-06-21 163530.png

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

Extra File

P-CO Test Run

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

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