sanyatuning / hot-tub

Lay-Z-Spa Hot tub integration for esphome
3 stars 1 forks source link

Question on cabeling #2

Open der-moep opened 4 years ago

der-moep commented 4 years ago

Hi,

thanks for sharing this project. I have problems with the initial setup.

Tub | 5V - Levelshifter 3,3V | Wemos D1 mini Pin1 | HV -> LV | Pin 3,3V Pin2 | GND -> GND | Pin G Pin3 | HV1 -> LV1 | D7 Pin4 | HV2 -> LV2 | D6 Pin5 | HV3 -> LV3 | D5 Pin6 | HV4 -> LV4 | not connected

Pin Setup: void setup() override { pinMode(MISO, mode); pinMode(MOSI, mode); pinMode(SCK, mode); pinMode(SS, mode); }

My problem: Power per USB, no value reading, display shows status but the buttons not working. How can i use the 5V from HotTub for powering the ESP8266?

The level shifter is HENTEK Channel Logic Level Converter IIC I2C Modul 3,3v to 5v Bi-Directional Modul Shifter for Arduino.

Thanks Pascal