forked from rancilio-pid/clevercoffee
-
Notifications
You must be signed in to change notification settings - Fork 14
How to compile on Arduino and Platformio
Tobias Sandhaas edited this page Feb 25, 2022
·
11 revisions
A general guidance on how to setup the IDE can be found here: https://manual.rancilio-pid.de/de/software-part-I/arduino.html
- Be sure to install the "board-manager"
- "Arduino ESP8266" Version v2.x.x! (external libraries do not yet support this version)
- "esp32" Version v1.0.6!
- Copy following libraries from libraries/ into C:\Users\USERNAME\Documents\Arduino\libraries:
- ZACwire_for_TSic (this is a fixed version of v1.3.3 found in "Library Manager")
- You probably have to delete any other subdirectories with "ZACwire" in its name.
- Optional: uMQTTBroker
- Optional: HX711_ADC_fix (also found at https://github.com/medlor/HX711_ADC)
- Optional: RemoteDebug
- ZACwire_for_TSic (this is a fixed version of v1.3.3 found in "Library Manager")
- Manually install using "Library Manager"
- ArduinoOTA
- RemoteDebug (tested with 3.0.5)
- Attention: If you got errors about missing <hwcrypto/sha.h>, then downgrade "esp32" in boards-manager to v1.0.6!
- U8g2 (tested with 2.28.10)
- OneWire (tested with 2.3.5)
- PubSubClient (tested with 2.8.0)
- DallasTemperature (tested with 3.9.0)
- (Currently not supported: ZacWire for TSIC. Instead manually install the version above or by downloading here 1.3.3_fix)
- Blynk (tested with 1.0.0)
- Optional: VL53L0X (tested with 1.3.0)
- Optional: FastLed (tested with 3.4.0)
- Optional: MAX6675 library (tested with 1.1.0)
- Open project folder and choose profile in platformio.ini. Libraries will be fetched automatically.
- Open VSCode's settings.json and add: "terminal.integrated.env.windows": { "OTAPASSWORD": "YOUR_OTA_PASSWORD" },