{"id":28717124,"url":"https://github.com/bocaletto-luca/soilmoisurelogger","last_synced_at":"2026-07-11T00:32:24.654Z","repository":{"id":298793329,"uuid":"1001163691","full_name":"bocaletto-luca/SoilMoisureLogger","owner":"bocaletto-luca","description":"SoilMoisureLogger Arduino - An autonomous data‐logger that measures soil moisture with a capacitive sensor at regular intervals (and on‐demand via a push‐button), timestamps each reading using a DS3231 RTC, and appends entries to a CSV file on a microSD card. Perfect for greenhouse monitoring or unattended field deployments. By Bocaletto Luca.","archived":false,"fork":false,"pushed_at":"2025-06-12T23:58:57.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T00:35:20.863Z","etag":null,"topics":["bocaletto-luca","cpp","logger","openhardware","opensource","soil-moisture","soil-moisure-logger","standalone"],"latest_commit_sha":null,"homepage":"https://bocaletto-luca.github.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bocaletto-luca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-12T23:39:43.000Z","updated_at":"2025-06-12T23:59:32.000Z","dependencies_parsed_at":"2025-06-13T00:35:22.601Z","dependency_job_id":"08361def-91d8-4b5f-b01f-b4ae2b45006f","html_url":"https://github.com/bocaletto-luca/SoilMoisureLogger","commit_stats":null,"previous_names":["bocaletto-luca/soilmoisurelogger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bocaletto-luca/SoilMoisureLogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSoilMoisureLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSoilMoisureLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSoilMoisureLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSoilMoisureLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bocaletto-luca","download_url":"https://codeload.github.com/bocaletto-luca/SoilMoisureLogger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSoilMoisureLogger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259914930,"owners_count":22931333,"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":["bocaletto-luca","cpp","logger","openhardware","opensource","soil-moisture","soil-moisure-logger","standalone"],"created_at":"2025-06-15T03:13:18.091Z","updated_at":"2025-10-29T13:09:44.366Z","avatar_url":"https://github.com/bocaletto-luca.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Soil Moisture Logger with RTC \u0026 SD Card\n#### Author: Bocaletto Luca\n\n**Files**  \n- `README.md`  \n- `SoilMoistureLogger.ino`\n\n## 1. Concept  \nAn autonomous data‐logger that measures soil moisture with a capacitive sensor at regular intervals (and on‐demand via a push‐button), timestamps each reading using a DS3231 RTC, and appends entries to a CSV file on a microSD card. Perfect for greenhouse monitoring or unattended field deployments.\n\n## 2. Bill of Materials  \n- Arduino Uno (or Nano)  \n- Capacitive soil moisture sensor (e.g. Chirp or SEN0193)  \n- DS3231 RTC module  \n- Micro SD card module + 4 GB (or larger) microSD card  \n- Push‐button + 10 kΩ pull‐down resistor  \n- Status LED (optional) + 220 Ω resistor  \n- Breadboard \u0026 jumper wires  \n- 5 V power supply (USB or battery pack)\n\n## 3. Wiring Diagram\n\n    Capacitive Sensor        Arduino Uno\n    ┌─────────────┐          ┌─────────┐\n    │ VCC ───► 5V │          │         │\n    │ GND ───► GND│          │         │\n    │ AOUT ──► A0 │          │         │\n    └─────────────┘          └─────────┘\n\n    DS3231 RTC (I2C)\n    ┌─────────────┐\n    │ SDA ───► A4 │\n    │ SCL ───► A5 │\n    │ VCC ───► 5V │\n    │ GND ───► GND│\n    └─────────────┘\n\n    SD Card Module (SPI)\n    ┌─────────────┐          ┌──────────┐\n    │ CS  ───► D10│          │         │\n    │ MOSI ─► D11│          │         │\n    │ MISO ─► D12│          │         │\n    │ SCK  ─► D13│          │         │\n    │ VCC ───► 5V │          │         │\n    │ GND ───► GND│          │         │\n    └─────────────┘          └──────────┘\n\n    Push‐button             Arduino Uno\n    ┌─────────┐             ┌─────────┐\n    │ one leg─┬─► D2        │         │\n    │ other ──┴─► GND       │         │\n    └─────────┘             └─────────┘\n    (Use 10 kΩ from D2 to GND for pull‐down)\n\n    Optional LED\n    ┌─────────┐             ┌─────────┐\n    │ Anode ─┬─► D8         │         │\n    │ Cath. ─┴─► GND        │         │\n    └─────────┘             └─────────┘\n    (Include 220 Ω resistor in series)\n\n## 4. Software Setup  \n1. Install Arduino IDE (≥1.8.x).  \n2. In Library Manager, install:\n   - **RTClib** by Adafruit  \n   - **SD** (built-in)  \n3. Create folder `SoilMoistureLogger` and save both files.  \n4. Open `SoilMoistureLogger.ino` in the IDE.\n5. The logger writes `soil_log.csv` on the SD root with columns: timestamp,moisture 2025-06-20 14:00:00,412\n6. Automatic readings every 10 minutes; press the button to force a manual reading.  \n7. LED blinks once on each log.\n\n---\n\nSay **continua** when you’re ready for project #9!  \n\n6. Select **Arduino Uno** and the correct COM port.\n\n## 5. Usage  \n1. Format your SD card as FAT32.  \n2. Ensure `RTC.adjust(DateTime(F(__DATE__), F(__TIME__)));` is commented out after initial time‐set.  \n3. Upload sketch.  \n4. Open Serial Monitor at 9600 baud to follow status messages.  \n5. The logger writes `soil_log.csv` on the SD root with columns:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fsoilmoisurelogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbocaletto-luca%2Fsoilmoisurelogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fsoilmoisurelogger/lists"}