DynaSense-Micro – Bluetooth Commands
Overview
DynaSense-Micro can be controlled via Bluetooth Low Energy (BLE) using a UART service, compatible with apps like nRF Connect or Bluefruit Connect.
- Device name: Default
DYNASENSE-MICRO
Text Commands
All commands are sent as text strings via the RX characteristic. Responses are received via the TX characteristic.
🕐 RTC Time Management
rtc get
Displays the current RTC time (UTC).
Example:
> rtc get
< RTC Time: 2026-02-23 14:30:45 (UTC)
rtc set YYYY mm dd HH MM SS
Sets the RTC time (UTC).
Example:
> rtc set 2026 02 23 15 00 00
< OK: RTC time set to 2026-02-23 15:00:00 (UTC)
🔋 Measurement and ADC
adc read
Reads voltage on all ADC channels.
Example:
> adc read
< ADC Values: CH1=1.23V, CH2=2.34V, CH3=0.98V, ...
adc set_preamp (channel) (gain)
Sets the preamplifier gain for the selected ADC channel.
Parameters:
channel= channel number (1 to 8)gain= amplification, e.g.1x,2x,4x,8x,16x,32x,64x,128x
Example:
> adc set_preamp 1 64x
< OK: Preamp for channel 1 set to 64x
< Device must be rebooted for changes to take effect
adc get_preamp
Displays the current preamp gain settings for all channels.
Example:
> adc get_preamp
< Preamp settings: CH1=64x, CH2=1x, CH3=1x, ...
Note: After changing the gain, you must reboot the device (
reboot) for the changes to take effect.
measure start
Starts measurement.
Example:
> measure start
< OK: Measurement started
measure stop
Stops measurement.
Example:
> measure stop
< OK: Measurement stopped
measure status
Shows measurement status (how long it has been running).
Example:
> measure status
< Measurement running: 1h 23m 45s
measure set_channels N
Sets the number of channels (N = 1 to 8) to store.
Example:
> measure set_channels 4
< OK: Number of channels set to 4
measure until YYYY mm dd HH MM SS
Starts measurement, which will automatically stop at the specified UTC time.
Example:
> measure until 2026 02 23 16 00 00
< OK: Measurement started, will stop at 2026-02-23 16:00:00 (UTC)
Using with Mobile Apps
Statotest (Android/iOS)
- Open the Statotest mobile app (available for Android and iOS)
- In the main menu, select Devices and choose
DYNASENSE-MICRO - Connect via Bluetooth (BLE)
- In the device section, you can send commands directly from the app
- Device responses will appear in real time in the app
- For advanced features (e.g., channel settings, timers), use the extended options in the device detail
nRF Connect (Android/iOS)
- Install the nRF Connect app
- Find and connect to the device
DYNASENSE-MICRO - Locate the UART Service (UUID: ...)
- Enable Notify on the TX characteristic
- Use Write on the RX characteristic to send commands
- Responses will appear in TX characteristic notifications
Bluefruit Connect (iOS/Android)
- Install the Bluefruit Connect app
- Connect to the device
DYNASENSE-MICRO - Select UART mode
- You can type commands directly into the text field
- Responses will appear in the conversation window
Tips & Tricks
- Automation: Create scripts for quickly running frequently used command sequences
- Diagnostics: Regularly check
measure statusto monitor measurement state - Channel management: Use
measure set_channelsto optimize data storage
Troubleshooting
Device does not respond to commands:
- Check that notifications are enabled on the TX characteristic
- Make sure you are writing to the correct (RX) characteristic
- Commands must be text strings ending with a newline
Commands return ERROR:
- Check the command syntax
- Parameter values must be within valid range
BLE connection is unstable:
- Device may be too far away (max ~10 meters)
- Interference from other WiFi/BLE devices