Skip to content

A project to create a smart seed sprouter, intended to monitor the sprouting process and controlling humidity and temperature. Since sprouting process is a long time process that requires some attention, the idea is to to unload as much tasks as possible onto the system, allowing the user to fire & forget.

Notifications You must be signed in to change notification settings

EhudVardi/SmartSprouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal

build a controlled automatic sprouter that can monitor progress of a long sprouting process, activate moisture devices, have a display and input hw to control the process. it shall sense the moisture level and apply moisture as needed it should sense temperature and may control it with some kind of device it may take photos for hyperlapse video of the sprouting proceedure

Configuration

Hardware

Pinout

Pin Name Pin Number BUS
DIGITAL_OUTPUT_RELAY1_PIN 16
DIGITAL_OUTPUT_RELAY2_PIN 17
DIGITAL_OUTPUT_EXT_RELAY1_PIN 27
DIGITAL_OUTPUT_EXT_RELAY2_PIN 14
DIGITAL_OUTPUT_EXT_RELAY3_PIN 13
DIGITAL_OUTPUT_EXT_RELAY4_PIN 23
BUTTON_BACK_PIN 12
ROTARY_ENCODER_MAIN_A_PIN 18
ROTARY_ENCODER_MAIN_B_PIN 19
ROTARY_ENCODER_MAIN_BUTTON_PIN 21
SENSOR_DHT11_PIN 4
LCD_SDA_PIN 25 I2C bus #0
LCD_SCL_PIN 26
RTC_SDA_PIN 32 I2C bus #1
RTC_SCL_PIN 33

Notes

ESP32 relay board pinout

reset into user app - press EN button
reset into bootloader - press and hold EN, press and hold I00, release EN, release I00

Software

notes

PlatformIO

An embedded platform within VSCode https://platformio.org/

vscode vertical selection

Alt+Shift+ mouse drag

vscode automatic formatting

  • Install extension "C/C++ Extension Pack" from Microsoft only.
  • Generate ".editorconfig" in the root of the project.
    How: open the options CTRL+SHIFT+P and write "format setting" and select "C/C++: Generate EditorConfig contents from VC Format settings"
  • Edit the file, reference all options here
  • apply formatting using the shortcut ALT+SHIFT+F

serial comm with board

on project ini file, set serial port baudrate with: 'monitor_speed = 115200'

Resources

State Machine fundementals

https://drawio-app.com/blog/uml-state-diagrams-with-draw-io/ https://statesmith.github.io/fundamentals-1/ https://github.com/StateSmith/StateSmith-drawio-plugin/wiki/How-to-Use https://www.lucidchart.com/pages/uml-state-machine-diagram https://sparxsystems.com/resources/tutorials/uml2/state-diagram.html

About

A project to create a smart seed sprouter, intended to monitor the sprouting process and controlling humidity and temperature. Since sprouting process is a long time process that requires some attention, the idea is to to unload as much tasks as possible onto the system, allowing the user to fire & forget.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published