Jump to content

darkwin

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by darkwin

  1. Hi, I have my hot tub outside and the cottage is for rent all year round.
    Therefore it is also important that I can monitor the whirlpool. That's why I built the Wifi control so that the guests don't constantly adjust the temperature.
    I have an isolated system for dosing. Here, however, the manufacturer has already created a way for the system to be controllable and monitorable via the network.2022-10-03_12-28.png.d4b4bac9ca8a4cebc893c652ac18ea23.png

    2022-10-03_12-36.png.8d1841984ce84b6ec9a62a25398fbe80.png

    You can see on the screenshot how often the up and down buttons and the SET button are pressed within just 31 days.

    2022-10-03_12-34.thumb.png.5976a0f90f1cbb31e068ee5d5b8e3476.png

  2. Hi, yes you are right, the control immediately goes into error when the data is interrupted.
    With the Hawk controller I found out that you can send a reset and the connection will be resumed after a fault.
    With the Hawk, the reset code is sent directly the first time a connection is established.
    You can take a look to see if it's the same with the IQ2020 controller.

    The Reset HEX Code from Keyboard from HAWK is

    \x58\x4d\x53\x00\x01\x4b\x01\x44

    and Mainboard Reset is:

    \x58\x53\x4d\x00\x03\x1b\x27\x10\x01\x4d

     

    I looked at the data exchange for many hours and learned little by little.

     

  3. If you want to do it with an ESP chip you need
    1* or 2*  https://www.futurlec.com/Mini_RS422.shtml to read Data from Keybord and Mainboard.

    RS422-Duplex.jpg.0c5f8108a7b0f3905ded72900b383f18.jpg
    The ESP Chip has only 2 Hardware Serial und you need one Duplex chip.

    The second you need to write Data
    this is a little bit cheaper
    https://protosupplies.com/product/max485-ttl-to-rs-485-interface-module/

    MAX485-RS-485-Interface-Module.jpg.8c2f9515d7762f7ced170f8fb2e5abc6.jpg


    I found on Ali this
    https://de.aliexpress.com/item/1005001621705950.html?gatewayAdapt=glo2deu&spm=a2g0o.order_list.0.0.21ef5c5fT011zZ

    335708718_ESPupto24v.thumb.jpg.29a08eaa7f7b8671631cd6695f193aa3.jpg
    The board can handle an input voltage of up to 24V.
    The HAWK board has 12V. I think the IQ2020 has 12V too?
    So you don't need a power supply.

    So I used something like this.
    https://de.aliexpress.com/item/1005002197995752.html?_randl_currency=EUR&_randl_shipto=DE&src=google&aff_fcid=28d1d0a712d3475fb761a6fdb3ad317e-1649138399021-04942-UneMJZVf&aff_fsk=UneMJZVf&aff_platform=aaf&sk=UneMJZVf&aff_trace_key=28d1d0a712d3475fb761a6fdb3ad317e-1649138399021-04942-UneMJZVf&terminal_id=8578f8c28a3a4e539777f6867c822083&afSmartRedirect=y

    power.thumb.jpg.b22da6ce04d2557f3dea71fb6d333da5.jpg
    You have to use the ESP Chip Hardware Serial otherwise you will have data drops.
    But my sketch is for the Hawk mainboard and you would have to adapt it for the IQ2020.

    If infinitenothing is still reading here, he might give you his program for the IQ2020
    I just see my ESP chip in the pool has a uptime of 32 days and it works :)

  4. Hello @infinitenothing

    it took a while but I have now found a solution that I like.
    I implemented the project with an ESP8266.
    The ESP send out a website and use Websocket.
    So I can see the data in real time on the website without reloading the page.
    The website is also suitable for mobile devices.

    WebUI.jpg.ebaa4bdf2887dac2b6f9c2322ade4072.jpg

    If you're interested.
    I have the project uploaded here https://github.com/SvenPausH/Hawk-ESP8266
     

    I will now solder everything to a circuit board and install it in the pool when the opportunity arises.
    The circuit has now been running on my desk for over 3 days without dropping out.

    Thanks again for your help.

  5. Hi,

    After learning some C programming my 1st version of Hawk Control.
    When the program has started, the data traffic between the keyboard and the controller is output on the console.
    The set button can be locked by means of a switch.
    Since the keyboard and control are constantly exchanging the same data, there is also a switch that suppresses duplicate data.
    What is still missing is a web interface to call up and control the data on the mobile device.

    You can find the c program here.

    https://github.com/SvenPausH/Hotspring-Hawk


    Remember I have never programmed with c before.
    The program code can certainly be made more beautiful.

    If anyone feels like it, they are welcome to work on the project.

     

    • Like 1
×
×
  • Create New...