hydroponic-controller/platformio.ini

88 lines
2.5 KiB
INI
Raw Normal View History

2023-03-30 15:55:45 +00:00
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
2024-06-25 19:10:12 +00:00
[env:esp32doit-devkit-v1_NFT]
2023-03-30 15:55:45 +00:00
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
2023-04-04 05:53:20 +00:00
monitor_speed = 115200
2024-06-25 19:10:12 +00:00
monitor_port = /dev/ttyUSB0
build_flags=
'-D CLIENT_ID="hydroponic-NFT"'
-D PIN_BUTTON=12
-D PIN_LED=13
-D EC_PIN_RELAY_PROBE=27
-D EC_PIN_FREQ=5
-D EC_CALIBRATION_POLYNOM={18.785904241636743,-0.04069178351449846,3.528797358514823e-05,-4.214254847500995e-09,2.543662736303669e-13}
-D EC_CALIBRATION_LINEARIZE_BELOW_ADC=2000
-D EC_CALIBRATION_LINEAR_LOWADC=728
-D EC_CALIBRATION_LINEAR_LOWEC=0
-D FLOW_PIN=16
-D ONE_WIRE_BUS_PIN=18
-D THERMOMETER_ADDR_RESERVOIR={0x28,0xFF,0x6F,0x19,0x72,0x16,0x05,0x44}
-D THERMOMETER_ADDR_CASE={0x10,0x7E,0x22,0x99,0x01,0x08,0x00,0xA4}
-D PIN_SDA=21
-D PIN_SCL=22
2024-07-30 11:41:41 +00:00
-D WATERLEVEL_OFFSET=500.0
-D WATERLEVEL_FACTOR=-1.0
-D RES_AREA=20*20*3.1416
2023-04-04 05:53:20 +00:00
lib_deps =
2023-04-05 07:22:57 +00:00
https://github.com/milesburton/Arduino-Temperature-Control-Library/
https://github.com/emilv/ArduinoSort/
2023-05-10 15:44:21 +00:00
robtillaart/ADS1X15@^0.3.9
2024-05-11 07:20:37 +00:00
256dpi/MQTT@^2.5.1
2024-06-25 19:10:12 +00:00
pololu/VL53L0X@^1.3.1
[env:esp32-s3-devkitm-1_DB]
platform = platformio/espressif32@^6.7
board = esp32-s3-devkitm-1
2024-07-13 15:29:03 +00:00
;Devboard is ESP32-S3-DevKitC-1 (N16R8). board=esp32-s3-devkitm-1 works fine
2024-06-25 19:10:12 +00:00
framework = arduino
monitor_speed = 115200
build_flags=
2024-07-30 11:41:41 +00:00
'-D CLIENT_ID="hydroponic-DB"'
2024-06-27 18:38:59 +00:00
-D PIN_BUTTON=12
2024-06-25 19:10:12 +00:00
2024-07-28 19:32:22 +00:00
-D EC_PIN_RELAY_PROBE=35
-D EC_PIN_FREQ=38
2024-06-25 19:10:12 +00:00
-D EC_CALIBRATION_POLYNOM={8.718380956513695,-0.026463423062356713,3.425216464107108e-05,-4.069826379094172e-09,2.478900495960682e-13}
-D EC_CALIBRATION_LINEARIZE_BELOW_ADC=2000
-D EC_CALIBRATION_LINEAR_LOWADC=728
-D EC_CALIBRATION_LINEAR_LOWEC=0
2024-07-28 19:32:22 +00:00
-D FLOW_PIN=17
2024-06-27 18:38:59 +00:00
-D ONE_WIRE_BUS_PIN=18
2024-06-25 19:10:12 +00:00
-D THERMOMETER_ADDR_RESERVOIR={0x28,0xFF,0x30,0xBA,0x85,0x16,0x03,0xB5}
2024-07-28 19:32:22 +00:00
-D THERMOMETER_ADDR_CASE={0x28,0xFF,0x64,0x0E,0x75,0x83,0x09,0x6F}
2024-06-25 19:10:12 +00:00
2024-06-27 18:38:59 +00:00
-D PIN_SDA=1
-D PIN_SCL=2
2024-06-25 19:10:12 +00:00
2024-07-30 11:41:41 +00:00
-D WATERLEVEL_OFFSET=315.0
-D WATERLEVEL_FACTOR=-1.0
-D RES_AREA=37*56
2024-06-25 19:10:12 +00:00
lib_deps =
https://github.com/milesburton/Arduino-Temperature-Control-Library/
https://github.com/emilv/ArduinoSort/
robtillaart/ADS1X15@^0.3.9
256dpi/MQTT@^2.5.2
2024-06-27 18:38:59 +00:00
pololu/VL53L0X@^1.3.1
adafruit/Adafruit NeoPixel