This page introduces a demonstration firmware for the ULSA M5B anemometer that allows you to easily verify its operation.
Rev. | 日付 | 変更内容 |
---|---|---|
A | 2023/05/07 | First published |
B | 2023/12/03 | Firmware Ver. 1.0 Release (for Core2 V1.1) |
To connect the M5Stack to the ULSA M5B, you will need to remove the small sub-board from the M5Stack Core2 bottom. Since the microphone and accelerometer are mounted on the small sub-board, these functions will no longer be available.
By writing the firmware on this page to the M5Stack Core2, you can easily check the wind speed, wind direction, and sonic virtual temperature on the M5Stack Core2 screen. Additionally, by using the compass function of the built-in Bosch IMU BNO055 in the ULSA M5B, you can perform wind direction correction relative to magnetic north.
https://www.youtube.com/watch?v=0sF55nzYxKA
Screen layout
③IMU Status Indicator
Item | Parameter | Description | |
---|---|---|---|
① | wind speed gauge | wind speed [m/s] | Wind speed from 0~5 m/s is displayed on the gauge. |
② | Virtual Temperature | Virtual Temperature [℃] | Displays numerically the temperature calculated from the speed of sound. |
*Please note that the temperature may differ from that of a general thermometer due to the influence of surrounding conditions (such as air pressure and humidity). | |||
③ | IMU Status Indicator | IMU Calibration Status | The status of the IMU BNO055 is shown as follows: |
Gray : Disabled. | |||
Outlined : Enabled but not calibrated. | |||
Filled : Enabled and calibrated. | |||
④ | IMU enable button | ||
- | The built-in IMU BNO055 compass function can be enabled. | ||
Touch the middle button (M5Stack Button A) of the three buttons. | |||
⑤⑥ | Wind speed range switching button | - | With each touch, you can switch the maximum value of the wind speed gauge. Touch the right button (M5Stack Button B) of the three buttons. |
Example: 0.5 m/s → 5 m/s → 20 m/s → 0.5 m/s … | | ⑦ | Battery indicator | Battery level | The battery level is displayed in four stages, and a charging icon is displayed while charging. | | ⑧ | Orientation of enclosure marking direction | - | This mark indicates the magnetic azimuth angle of the housing reference direction. | | ⑨ | Wind direction indicator | Wind direction [°] | Displays wind direction from 0 to 359 degrees.
It is only displayed when the wind speed exceeds 0.1 m/s. The wind direction is not stable when you fan with your hand or when there is a lot of local turbulence in the air. |
Please refer to the following video for the wind direction correction function using the built-in Bosch IMU BNO055 in the ULSA M5B and the compass calibration method.