PrototypePrototipe2 lab-scale units built (CS_Node_1, CS_Node_2); day-long functional test passed2 unit skala lab dibuat (CS_Node_1, CS_Node_2); lolos uji fungsional seharian
City Sensing V1
OverviewRingkasan
First City Sensing node: a car-mounted ESP32 unit that measures PM2.5, PM10, temperature and humidity with GPS position. Data goes over WiFi and MQTT to a map dashboard and is also logged to an SD card.Node City Sensing pertama: unit ESP32 yang dipasang di mobil untuk mengukur PM2.5, PM10, suhu, dan kelembapan beserta posisi GPS. Data dikirim melalui WiFi dan MQTT ke dashboard peta serta dicatat ke kartu SD.
My RolePeran Saya
ESP32 firmware (deep sleep, WiFiManager, GPS fix check), module testing and SIM800L/GPS integration, 3D-printed enclosure, Mosquitto/MySQL backend, React + Leaflet map and field testing. The PCB layout was drawn by a teammateFirmware ESP32 (deep sleep, WiFiManager, cek fix GPS), pengujian modul dan integrasi SIM800L/GPS, enclosure 3D print, backend Mosquitto/MySQL, peta React + Leaflet, dan uji lapangan. Layout PCB digambar rekan tim
How It WorksCara Kerja
- City Sensing node (ESP32 + SDS011, BME280, INA219, BN-220 GPS)Node City Sensing (ESP32 + SDS011, BME280, INA219, GPS BN-220)
- WiFi via phone hotspotWiFi lewat hotspot ponsel
- MQTT broker (Mosquitto) on a company VPSBroker MQTT (Mosquitto) di VPS perusahaan
- Data processor writes records to a SQL databaseData processor menulis ke database SQL
- Web dashboard map of sample points (ThingsBoard also used for testing)Peta titik sampel di dashboard web (ThingsBoard juga dipakai untuk pengujian)
Key FeaturesFitur Utama
- •Car-roof or bonnet mounting with a triple suction-cup mountPemasangan di atap atau kap mobil dengan dudukan tiga suction cup
- •PM2.5, PM10, temperature, humidity, GPS position and battery power in every recordPM2.5, PM10, suhu, kelembapan, posisi GPS, dan daya baterai di setiap record
- •Offline CSV logging to SD card alongside live MQTT publishingLogging CSV offline ke kartu SD bersamaan dengan publish MQTT secara langsung
- •WiFi setup through a captive portal (WiFiManager), with status LEDs for WiFi and GPS fixPengaturan WiFi melalui captive portal (WiFiManager), dengan LED status untuk WiFi dan GPS fix
- •Deep sleep when the 2 × 18650 battery drops below 2.8 VDeep sleep saat baterai 2 × 18650 turun di bawah 2.8 V
Field Issues & FixesKendala & Solusi
The first design (2024) included gas sensors, noise and a SIM800L cellular modem; SIM800L and GPS integration was still unfinished in the Aug 2024 module tests.Desain awal (2024) mencakup sensor gas, kebisingan, dan modem seluler SIM800L; integrasi SIM800L dan GPS belum selesai saat uji modul Agu 2024.
The final 2025 build was scoped down to PM, temperature/humidity, GPS and WiFi uplink through a phone hotspot.Build final 2025 dipersempit menjadi PM, suhu/kelembapan, GPS, dan uplink WiFi lewat hotspot ponsel.
No GPS fix inside buildings or tunnels, so readings had no valid location.Tidak ada fix GPS di dalam gedung atau terowongan, sehingga data tidak punya lokasi valid.
Firmware sends data only after a GPS fix; a 'DEVICE READY' LED shows the fix state to the driver.Firmware hanya mengirim data setelah ada fix GPS; LED 'DEVICE READY' menunjukkan status fix ke pengemudi.
Battery-powered node could run flat and corrupt logging.Node bertenaga baterai bisa kehabisan daya dan merusak logging.
INA219 reports battery voltage and current; the node enters deep sleep below 2.8 V.INA219 melaporkan tegangan dan arus baterai; node masuk deep sleep di bawah 2,8 V.
Key NumbersAngka Kunci
- Prototype unitsUnit prototipe
- 2
- EnclosureCasing
- Ø 12 cm × 14 cm, ~400 g
- Parameters per recordParameter per data
- 4 air/climate + GPS + battery4 udara/iklim + GPS + baterai
