{"id":21768962,"url":"https://github.com/joshnuss/esp32-plant-logger","last_synced_at":"2026-05-11T02:33:34.002Z","repository":{"id":264606330,"uuid":"893824972","full_name":"joshnuss/esp32-plant-logger","owner":"joshnuss","description":"Logs temperature, humidity and moisture of plant soil using MicroPython.","archived":false,"fork":false,"pushed_at":"2024-11-26T04:31:29.000Z","size":30365,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T02:52:02.066Z","etag":null,"topics":["dht20","esp32","micropython","sdcard"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshnuss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-25T09:24:17.000Z","updated_at":"2024-11-26T04:31:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"db1766f5-c582-41a3-829a-5bb615a05d52","html_url":"https://github.com/joshnuss/esp32-plant-logger","commit_stats":null,"previous_names":["joshnuss/esp32-plant-logger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fesp32-plant-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fesp32-plant-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fesp32-plant-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fesp32-plant-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshnuss","download_url":"https://codeload.github.com/joshnuss/esp32-plant-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745721,"owners_count":20503048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dht20","esp32","micropython","sdcard"],"created_at":"2024-11-26T14:05:33.741Z","updated_at":"2026-05-11T02:33:33.959Z","avatar_url":"https://github.com/joshnuss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ESP32 Plant Logger\n------------------\n\nLogs temperature, humidity and moisture of plant soil using MicroPython.\n\n![assembled circuit board](image.png)\n\n## Components\n\n- Microcontroller: [ESP-WROOM32 DEVKIT 1](https://embedded-systems-design.github.io/overview-of-the-esp32-devkit-doit-v1)\n- Temperature \u0026 humidity sensor: [DHT20](http://www.aosong.com/userfiles/files/media/Data%20Sheet%20DHT20%20%20A1.pdf)\n- Moisture sensor: [Geekus Soil Sensor](https://abra-electronics.com/sensors/sensors-temperature-en/gk-as-shm-geeekus-soil-moisture-humidity-detection-sensor-module.html)\n- Micro SD slot: [3.3V Mini TF](https://abra-electronics.com/robotics-embedded-electronics/breakout-boards/storage/bb-microsd-tf-micro-sd-card-board-3-3v-mini-tf.html)\n- Micro SD card: Any card, formatted to FAT32 without any partitions.\n\n## Pinout\n\n| Component    | Pin Name | Pin # |\n| -------      | ---      | ----  |\n| SD Card      | MISO     | 19    |\n| SD Card      | MOSI     | 23    |\n| SD Card      | SCK      | 18    |\n| SD Card      | CS       | 5     |\n| DHT20        | SCL      | 14    |\n| DHT20        | SDA      | 13    |\n| Moisture     | ADC      | 36    |\n| Built-in LED |          | 2     |\n\n## Setup\n\n### Erase flash\n\n```sh\nesptool.py --chip esp32 erase_flash\n```\n\n### Compile \u0026 install micropython firmware\n\nBuild micropython locally\n\n```sh\n# compile micropython\ncd micropython/\nmake clean\nmake submodules\nmake BOARD=ESP32_GENERIC\n\n# write firmware to device\nesptool.py --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 build-ESP32_GENERIC/bootloader/bootloader.bin 0x8000 build-ESP32_GENERIC/partition_table/partition-table.bin 0x10000 build-ESP32_GENERIC/micropython.bin\n```\n\n### Copy code\n\nInitial RTC clock:\n\n```sh\nmpremote rtc --set\n```\n\nCopy `*.py` files to device\n\n```sh\nmpremote fs cp src/*.py :\n```\n\n### Usage\n\nAdd SD-card and reboot device. The LED will flicker every 30 seconds as data is collected.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fesp32-plant-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshnuss%2Fesp32-plant-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fesp32-plant-logger/lists"}