This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains pin mappings for the Creality CR-30 PrintMill. To | |
# use this config, during "make menuconfig" select the STM32F103 with | |
# a "28KiB bootloader" and serial (on USART1 PA10/PA9) communication. | |
# If you prefer a direct serial connection, in "make menuconfig" | |
# select "Enable extra low-level configuration options" and select | |
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC | |
# cable used for the LCD module as follows: | |
# 3: Tx, 4: Rx, 9: GND, 10: VCC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//****************************************************************************************** | |
// File: smart_watering_v2.ino | |
// Author: John deGlavina | |
// | |
// The following sketch is used to water a garden depending on the readings of 4 moisture sensors. | |
// These moisture sensors correspond to 4 solenoid valves that will open when the water_threshold | |
// falls below the percentage that is set. When the threshold is reached again, the solenoid will | |
// close. The level of the moisture sensors will be checked every check_interval concurrently. | |
// | |
// The original setup uses a DF Robot 4 relay shield, moisture sensors v1.2 (found on ebay), |