Skip to content

Setup Yún hardware

autopower_developer edited this page Nov 24, 2018 · 3 revisions

Equipment

  • Arduino Yún
  • 5V relay
  • three LED diodes (or one RGB LED) and min 220ohm resistors
  • installed and correctly running ELV/EQ-3 MAX! Cube
  • boiler with switched heat by wire, via relay
  • credentials for mail server with TLS (or modify code)
  • storage space on microSD or USB, or mount remote folder (on yun as /mnt/sd<a,b>) to store data

Setup and install hardware

  1. Verify your ELV/EQ-3 MAX! Cube is up and running, and get its IP address.
  2. On Arduino Yún or other Linux board with Arduino's Python Bridge library installed
  3. Wire 3 status LEDs and boiler relay as per sketch directory (circuit diagram or Fritzing sketch)
    • 220ohm resitor to pin13, then to code_run LED (in my setup green LED, lit when arduino script is reading messages from python part, this is sign of activity)
    • 220ohm resitor to pin8, then to error LED (in my setup red LED, lit when any error)
    • 220ohm resitor to pin9, then to status LED (in my setup blue LED, lit when heating is on)
    • relay in to pin10
    • relay GND to GND
    • LED diodes to GND
    • your DHW/Boiler to COM and NO (or NC) pins of relay (check your boiler documentation)
  4. Upload Arduino sketch thermeq3.ino to Yún using Arduino IDE on your computer
    • For v200+, use yun-sketch/thermeq3_V200/thermeq3_V200.ino
    • if you are using DHT sensor, please use yun-sketch/thermeq3_dht/thermeq3_dht.ino by @bilbolodz
    • For v150, use yun-sketch/thermeq3/thermeq3.ino (this is obsolete version)
Clone this wiki locally