- Wed Dec 28, 2016 12:07 pm
#60062
The idea is to use a ESP8266 as controller (UART output to L9637 IC) for my Webasto heater.
Should work. Minimum viable concept is probably toggling a pin in a sketch using delay and seeing if you can make the heater respond. If so, continue.
I would like to have a web UI, to be able to set a time and day (mon-sun, single and multiple days via checkboxes) when the Webasto needs to start.
I'd be tempted to hard code the schedule as starting position. Your ESP8266 is presumably going to power down when you're not in the car, and storing it in the sketch means you don't have to worry about persisting it between boot cycles. Once you've got it going, there are ways to write and read from the EEPROM which can take you forwards in the direction you want to go. I use the Arduino IDE. It has webserver examples in the file menu.
There also should be on/off button to start and stop the Webasto directly.
With the schedule baked into the sketch, you may choose to make this a physical switch and dispense with the entire web page idea for the first prototype.
When I get in the car, my smart phone should connect to the ESP8266 (AP?) so that when I use my browser I can access the UI.Yes, that's how it would probably work. You can save the access point name in your phone and have a shortcut saved somewhere handy to request the page.
For time keeping I was thinking about a RTC DS1337 (I2C controlled) which can be set by webpage also. If needed it also contains 2 alarm registers.
Sounds like it would work. I don't have any experience myself. Let us know how you get on.