Jump to content

darkwin

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by darkwin

  1. 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 :)

  2. 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.

  3. 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...