Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Weather Display with ship speed subtraction
   
奖励
收藏
已收藏
取消收藏
Microcontrollers: Calculation, Cockpit, Microcontroller
标签: v1.0.32
文件大小
发表于
更新日期
187.178 KB
2021 年 1 月 29 日 下午 8:04
2021 年 1 月 30 日 上午 9:34
3 项改动说明 ( 查看 )

订阅以下载
Weather Display with ship speed subtraction

描述
This 3x3 Microcontroller requires Wind Speed, Wind Direction, Temp, Humidity, Rain sensor data. It also accepts Compass and Ship Speed data to attempt to subtract the ship's movement from the wind speed data. It is currently optimized to display on a 1x1 monitor.

Why ship speed subtraction matters: For example, if you are travelling in the direction of the wind, it reads a raw speed of 25 knots and sees you are moving at 15 knots, it will subtract 15 knots from the raw 25 knot speed to display approximately 10 knots wind speed. For this to work, the wind speed sensor and the compass should be facing the bow of the ship.

The ship speed subtraction works by decomposing the wind data into east/north components, decomposing the ship speed into east/north components, subtracting the ship speed and recombining the data back into a speed and crude compass data. Works best if the ship speed isn't much higher than the wind speed (I've tested a 30 knot ship in 20 knot wind, doing circles and it handled it fairly well, keeping the wind direction constant). Very low wind speeds may get lost in the variance of ship speed and if your ship pitches/rolls the sensor can only read the wind moving along the plane of the wind sensor. The best wind measurements requires a stationary wind sensor, this is more meant for situational awareness in your bridge.

If the wind speed drops below 1 knot, it replaces the wind direction and "kt" with the word "calm".

I intend to polish this up further, but if you have requests, please let me know. You are welcome to use this microcontroller on vehicles that you upload to the Workshop, please link here. Hope you enjoy it.
1 条留言
Pingu 2021 年 3 月 8 日 上午 7:50 
Maybe make a version for bigger screens, but other than that this is very good :steamthumbsup: