jasoneflood / jaymarine

An Open Alternative To Marine Solutions
Apache License 2.0
1 stars 0 forks source link

Working, but... #4

Open markdeegan opened 1 week ago

markdeegan commented 1 week ago

Possibly a know issue, or to do with the orientation of the sensor on the bread-board, but. THe reporting from the compass doesn't make any sense to me. I'm looking for some nice azimuth readouts like, 90, 180, 270, 0 as I rotate the board, in any plane. I'm not seeing that, but will investigate further.

jasoneflood commented 1 week ago

make sure you are using the esp32 script and not the node script. I opted for a new sensor because of that reliability issue with the compass, its difficult to calibrate and account for magnetic field every time you move. Well not difficult but a realy PITA. the new sensor is still in the box untested. But was if I remember right 30 euro ish. So I am expecting good things..

markdeegan commented 1 week ago

I'm fairly sure I'm using esp32 and not node. But how can I be certain. The code (all the code) I am using is in https://github.com/jasoneflood/jaymarine/tree/main/agents/compass/md_esp32_compass and is based on https://github.com/jasoneflood/jaymarine/tree/main/agents/compass/esp32_compass So I'm fairly certain it is the correct one.