ESP32 -> wifi -> MacArhur HAT

I'm trying to hook up my Davis Anemometer to my MacArthur hat. I'm thinking of using the esp32 board from hat labs. conecting via wifi to signal K. Has anyone done this?
2 Replies
Tony
Tony2mo ago
Not specifically Davis. You don’t really need a Hat Labs board. Any WiFi enabled esp board will do this. You just need a 12-5v converter. I suspect you are reading serial data so start with a basic development board and try to read the output of the Davis sensor
barnaclebill
barnaclebill2mo ago
I think it will depend on which Davis anemometer you have. AFAIK the only one with digital output is the Sonic anemometer, which you could plug into a serial port on the MacArthur HAT, then interpret the ascii text it sends (possibly using Node-Red) and send it to Signalk. If you have any of their other anemometers, you would have to use a digital input pin on the PI to read the speed, and an ADC to read direction. This could also be done through Node-Red. But if you don't want to wire your anemometer directly to the Pi, I recommend using Sailor Hat ESP32.

Did you find this page helpful?