Lucky Resistor
Menu
  • Home
  • Learn
    • Learn C++
    • Product Photography for Electronics
      • Required Equipment and Software
    • Soldering for Show
  • Projects
  • Libraries
  • Applications
  • Shop
  • About
    • About Me
    • Contact
    • Stay Informed
  •  
Menu

Plant Watering Sensor – Long Term Logging

Posted on 2017-03-14 by Lucky Resistor

To gather more long-term measurements for the capacitive method I use for my plant watering sensor, I created this small logging device. As you can see, it uses one of the plant watering sensor prototypes for the measurements. Instead of using the ATtiny13A on the board, it passes the oscillator signal directly to the microprocessor of the logging device.

In front there is a very small 128×32 OLED display, where I can see the current measured frequency in kHz. On top, the current time and date is visible, and on the right there is a graph where I can see the values from the last 48 hours graphically. There is not much visible in the graph, because I took the photo just after installing the sensor.

Every minute, the current average of measurements is stored in a CSV file on a SD card. After a few weeks I should be able to analyse this file and see the results. Here I am especially interested in the cycles from watering the plant until the soil got dry again.

lucky-resistor-2

Aside from the plant sensor prototype, I used these components to build this device:

  • Adafruit Feather M0 Proto
    A microcontroller board with the Atmel SAM D21 (AMD M0) 48MHz chip and logic to use and charge a lithium ion battery from the USB port on the board.
  • Adalogger FeatherWing
    A great shield which contains the PCF8523 real time clock and a SD card slot. There a battery holder for a CR1220 battery to keep the RTC running.
  • Adafruit FeatherWing OLED
    A very nice tiny shield to provide a OLED display to a project. It contains the SSD1306 driver with the UG-2832HSWEG02 display. It has a very high contrast, so even tiny characters are perfectly readable.
  • Lithium Ion Polymer Battery – 3.7v 2500mAh

This is a great example, how very useful and complex devices can be made in a very short time-period using the modules available today. I really love the Adafruit Feather boards, because they not only contain the microcontroller, but also the required components to use and charge a lithium ion battery. This boards are also very small and can be integrated into almost anything.

I used the Feather M0 to have a powerful 48MHz microcontroller with vast amounts of flash memory and RAM. There are enough resources to easily analyse the signal and do floating point calculations without mind performance. The whole device, including the display using just around 1mA while running. It should run for weeks with the battery, and I can always recharge the battery using a USB battery pack without the need to remove the device or turn it off.

If you have questions, miss some information or just have any feedback, feel free to add a comment below.

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay Updated

Join me on Mastodon!

Top Posts & Pages

  • Storage Boxes System for 3D Print
  • Build a 3D Printer Enclosure
  • Event-based Firmware (Part 1/2)
  • Yet Another Filament Filter
  • Circle Pattern Generator
  • Circle Pattern Generator
  • Projects
  • It's Time to Use #pragma once
  • Real Time Counter and Integer Overflow
  • Units of Measurements for Safe C++ Variables

Latest Posts

  • Better Bridging with Slicer Guides2023-02-04
  • Stronger 3D Printed Parts with Vertical Perimeter Linking2023-02-02
  • Logic Gates Puzzle 1012023-02-02
  • Candlelight Emulation – Complexity with Layering2023-02-01
  • Three Ways to Integrate LED Light Into the Modular Lantern2023-01-29
  • The 3D Printed Modular Lantern2023-01-17
  • Rail Grid Alternatives and More Interesting Updates2022-12-09
  • Large Update to the Circle Pattern Generator2022-11-10

Categories

  • 3D Printing
  • Build
  • Common
  • Fail
  • Fun
  • Learn
  • Projects
  • Puzzle
  • Recommendations
  • Request for Comments
  • Review
  • Software
Copyright (c)2022 by Lucky Resistor. All rights reserved.
 

Loading Comments...