2020-03-03, 02:58 PM
If you are bringing it into OP, you could use SignalK, and then use your esp32 to connect to OP wirelessly.
Here's a couple I've done using an M5Stick to send SK via UDP wirelessly. One for engine temp and one for tank levels, neither are implemented on the boat yet, but they should work as a start.
https://github.com/andyrbarrow/M5StickEngineTemp
https://github.com/andyrbarrow/TankLevel
The SK key would be /vessels/<RegExp>/navigation/speedThroughWater
I like the little M5Sticks for this sort of thing - they're cheap (for what they are), self contained, have a couple of buttons you can use for local testing, as well as a little display. You will need to come up with a little buck converter to power it, but that's about all.
Here's a couple I've done using an M5Stick to send SK via UDP wirelessly. One for engine temp and one for tank levels, neither are implemented on the boat yet, but they should work as a start.
https://github.com/andyrbarrow/M5StickEngineTemp
https://github.com/andyrbarrow/TankLevel
The SK key would be /vessels/<RegExp>/navigation/speedThroughWater
I like the little M5Sticks for this sort of thing - they're cheap (for what they are), self contained, have a couple of buttons you can use for local testing, as well as a little display. You will need to come up with a little buck converter to power it, but that's about all.