Browse Source

ESP8266 FS-UAP1 Control board (#1925)

Control board for Hoermann UAP1 Garage interface
http://frank-schuetz.de/index.php/fhem/13-hoermann-torantrieb-mit-espeasy-in-fhem-einbinden
master
Thomas Oeding 5 years ago
committed by Max Prokhorov
parent
commit
bd385f9fbc
3 changed files with 45 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/arduino.h
  2. +34
    -0
      code/espurna/config/hardware.h
  3. +10
    -0
      code/platformio.ini

+ 1
- 0
code/espurna/config/arduino.h View File

@ -34,6 +34,7 @@
//#define EXS_WIFI_RELAY_V50
//#define FORNORM_ZLD_34EU
//#define FOXEL_LIGHTFOX_DUAL
//#define FS_UAP1
//#define GBLIFE_RGBW_SOCKET
//#define GENERIC_8CH
//#define GENERIC_AG_L4


+ 34
- 0
code/espurna/config/hardware.h View File

@ -3875,6 +3875,40 @@
#define HLW8012_VOLTAGE_R_DOWN ( 1000 ) // Downstream voltage resistor
#define HLW8012_INTERRUPT_ON CHANGE
// -----------------------------------------------------------------------------
// FS UAP1
// http://frank-schuetz.de/index.php/fhem/13-hoermann-torantrieb-mit-espeasy-in-fhem-einbinden
#elif defined(FS_UAP1)
// Info
#define MANUFACTURER "FS"
#define DEVICE "UAP1"
// Inputs
#define DIGITAL1_PIN 4
#define DIGITAL2_PIN 5
// Relays
#define RELAY1_PIN 12
#define RELAY2_PIN 13
#define RELAY3_PIN 14
#define RELAY4_PIN 15
#define RELAY1_TYPE RELAY_TYPE_NORMAL
#define RELAY2_TYPE RELAY_TYPE_NORMAL
#define RELAY3_TYPE RELAY_TYPE_NORMAL
#define RELAY4_TYPE RELAY_TYPE_NORMAL
// LEDs
#define LED1_PIN 2
#define LED1_PIN_INVERSE 0
// Disable UART noise
#define DEBUG_SERIAL_SUPPORT 0
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// TEST boards (do not use!!)
// -----------------------------------------------------------------------------


+ 10
- 0
code/platformio.ini View File

@ -1594,3 +1594,13 @@ board = ${common.board_1m}
build_flags = ${common.build_flags_1m0m} -DETEKCITY_ESW01_USA
upload_port = ${common.ota_upload_port}
upload_flags = ${common.ota_upload_flags}
[env:fs-uap1]
board = ${common.board_4m}
build_flags = ${common.build_flags_4m1m} -DFS_UAP1
[env:fs-uap1-ota]
board = ${common.board_4m}
build_flags = ${common.build_flags_4m1m} -DFS_UAP1
upload_port = ${common.ota_upload_port}
upload_flags = ${common.ota_upload_flags}

Loading…
Cancel
Save