Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Weather Microcontroller
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Creative, Land
Tags: v1.13.0
File Size
Posted
Updated
28.578 KB
Jun 21, 2021 @ 12:40am
Nov 26, 2024 @ 6:21am
4 Change Notes ( view )

Subscribe to download
Weather Microcontroller

Description
There are a lot of weather displays on the workshop but I didn't find any that uses the data from the weather sensors and combines it with the vehicle data correctly to get vehicle independent wind data. So I had to write my own controller.
This controller takes the data from the wind sensor which are relative to the vessel orientation and speed, than it calculates the absolute wind data and displays it on a 1x1 or 3x1 monitor. The result is: No matter in which direction you move or how fast you move, windspeed and orientation are shown like stationary data.

Temperature, Humidity and Rain are also displayed.

As always: You can use this controller in your own creations but it would be nice if you credit me or link this workshop page.

I have also the Absolute Wind Calculator on the workshop, if you only want the calculated wind data and build the rest on your own.

Controller size: 3x3

Inputs:
- Temperature (Number): from temperature probe, the result can be shown in °C or °F
- Humidity (Number): from Humidity Sensor, the result is shown in %
- Rain (Number): from Rain Sensor, the result is shown as text (lt rain, rain, hv rain)
- Wind Speed (Number): from Wind Sensor, the result is shown as m/s, km/h, mph, ktn, bft or text
- Wind Direction (Number): from Wind Sensor, the result is shown in degree, 1/8 or 1/16 compass direction
- Compass (Number): from Compass Sensor, is used to calculate absolute wind data
- Speed (Number): from Linear Speed Sensor (Directional Mode), is used to calculate absolute wind data
- Night Mode (on/off): switch the display to another color sheme

Outputs:
- Video Out (Video): to the monitor, size 1x1, 2x1 or 3x1

Properties:
- wind sensor adjust: to match the wind sensor with the compass sensor
- wind data: with (relative) or without (absoluie) vehicle compensation
- temperature unit: celsius or fahrenheit
- wind speed unit: m/s, km/h, mph, ktn or bft (beaufort)
- wind direction unit: degree, 1/8 compass or 1/16 compass
- background color for night mode in hex-rgb value (RRGGBB): for example 00FF00 is bright green
11 Comments
Tommy_The_Tyrant Nov 27, 2024 @ 4:26pm 
Ayyyy thanks!
sengir_vampire  [author] Nov 26, 2024 @ 6:22am 
Fixed it schould now work again.
Tommy_The_Tyrant Nov 23, 2024 @ 8:04am 
Hello, I've been using this for a while but suddenly the humidity is stuck at 100% constantly. Could you fix this?
sengir_vampire  [author] May 1, 2023 @ 3:52am 
The orientation from compass and wind sensor could be the problem. The arrow of the compass sensor should face forward, as the wind sensor (the little propeller should face forward). Both elements shouldn't be mirrored.
The wind sensor adjust-property should now be set to 0° (compass and wind sensor both facing forward)
Wind Data property should be set to absolute.
greatpsychocz May 1, 2023 @ 2:31am 
Not entirely sure if i'm doing something wrong, but i'm still able to change light breeze to hurricane by flying. Any suggestions?
Lunatic Lacewing Jan 8, 2023 @ 9:55am 
plz add natural desasters (if you can detect them some how)
qerty Aug 13, 2022 @ 3:43pm 
running low on space for monitors haha
qerty Aug 13, 2022 @ 3:42pm 
can you add 1x2 support
doolcookies Jun 4, 2022 @ 8:49am 
Working on 5th June '22, love it :D
sengir_vampire  [author] Sep 25, 2021 @ 12:42am 
Fahrenheit should now work.
The linear speed sensor should point forwards, sensor mode: directional
The compass sensor should also point forwards.