What do I need for evaluation?
We recommend purchasing the following three items.
- TWELITE CUE & MONOSTICK set
MW-S-(B/R)-CUE-MS(B/R)
- TWELITE CUE
MW-(B/R)-CUE-0
- Main unit
- MONOSTICK
MONOSTICK-(B/R)
- Parent device to connect to PC
- TWELITE CUE
- TWELITE R3
MW-LITER3
- Adapter to connect the main unit to a PC for smooth configuration
Hardware
How to check if it is faulty?
If you can write the firmware, it may not be faulty, but if you cannot write the firmware, it is definitely faulty.
Connect to a PC using TWELITE R2 / R3 and try rewriting the application from the TWELITE STAGE APP.
Example procedure using the CUE App
- Open the TWELITE STAGE APP
- Open 2: Write Application > 1: Select from BIN
- Select an item starting with
App_CUE_BLUE
orApp_CUE_RED
and perform the write - (If the write is successful) Open 3: Interactive Mode and confirm that you can change settings
What are the specifications of the pin socket?
It is for 0.64mm square pin headers with a height of 5mm. Pin headers with an exposed length exceeding 5mm may wobble slightly.
2212SM-07G-50-BX
.Can I obtain a version with an external antenna?
No. We do not accept custom orders regardless of quantity.
For TWELITE CUE, we publish the schematic, assuming you will create your own board.
Adding a coaxial connector to TWELITE CUE
In the radio certification, the combination of the inverted F-type PCB antenna (MW-A-P1934) mounted on TWELITE CUE and a coaxial connector is registered. In other words, we recognize that there is no legal problem with hand-soldering a u.FL connector to the TWELITE CUE module main unit. However, since the two antennas influence each other, the performance may not necessarily improve.
The coaxial connector used for the u.FL type module is I-PEX 20441-001E-01
. To suppress misalignment during mounting, a 4-pads type is adopted, but if hand-soldering, a 3-pads type 20279-001E-01/03
is also acceptable. Both have no difference in wireless performance, and the 3-pads type tends to be easier to obtain.
Also, when applying an unregistered combination, existing certification does not apply. For example, if you cut the pattern between the through-hole surrounded by four pads on the module main unit and the pads on the 7P connector side with a cutter before mounting the u.FL connector to avoid using the inverted F-type PCB antenna, or use an antenna from another manufacturer, this applies. In such cases, please consider using the special system for experiments using uncertified radio devices.
Is the case flame retardant?
The material used complies with UL94 HB standard. It is flame-retardant but not self-extinguishing.
Configuration
How to change the settings of TWELITE CUE?
The CUE App (App_CUE) written to TWELITE CUE has two configuration methods.
- Wired method using the separately sold TWELITE R2/R3 wired configuration method
- Requires TWELITE R2/R3 but allows easy and smooth configuration
- Wireless method using MONOSTICK with OTA app written wireless configuration method
- Requires temporarily rewriting the MONOSTICK firmware and then restoring it
Configuration is done by accessing the interactive mode of the CUE App firmware written to TWELITE CUE.
How to set a sampling frequency exceeding 190Hz?
By increasing the sampling frequency setting part of the sensor parameter (0x?3???X??) to 4 or 5, you can raise the sampling frequency to 380Hz, 750Hz, etc.
Wireless packets may not be transmitted in time
When setting a sampling frequency exceeding 190Hz, please conduct thorough operation verification.
When retransmission is not performed, it takes about 5ms to transmit one packet. If multiple child devices exist on the same channel, packets must be transmitted exclusively.
Acceleration Data
What are the conditions for acceleration measurement?
Due to constraints of the accelerometer and wireless throughput, the acceleration measurement conditions are as follows:
Sampling frequency: 25/50/100/190Hz
Acceleration measurement range: ±16G
Acceleration resolution: 12bit (about 4mG steps)
Continuous measurement beyond these constraints is not possible.
Also, events such as SHAKE or MOVE in TWELITE CUE mode use the internal event detection function of the accelerometer, so threshold changes are not possible. To reliably detect specific movements or vibrations, it is better to perform continuous or intermittent measurement and determine the motion from acceleration values on the receiver side.
How to obtain angles?
TWELITE CUE (in Motion Sensor PAL Mode - Acceleration Measurement) intermittently transmits only acceleration data. However, since the output data are 3-axis acceleration data expressed in mg
, you need to calculate angles using inverse trigonometric functions on the receiver side.
※ The yaw angle when placed on a plane cannot be calculated by the accelerometer alone.
The azimuth angle in the X-Y plane is calculated as a supplementary value.
We provide a Python sample script rx_cue_mot_angle.py
at https://github.com/monowireless/mwings_python/blob/main/examples/typed/rx_cue_mot_angle.py.
Can it be used for vibration measurement?
Please check the measurement conditions.
The main intended use is detection of orientation and movement, and there are constraints on continuous acceleration measurement.
When transmitting continuously, the sampling frequency must be selected from 25 / 50 / 100 / 190 Hz, so frequencies higher than that cannot be supported (intermittent operation may allow a 400 Hz setting).
The accelerometer supports up to 1300Hz, but wireless throughput is limited.
Also, since intermittent operation is basically assumed, continuous transmission will drain the battery in a few hours.
TWELITE does not have a floating-point unit, so advanced FFT or edge AI processing on the MCU is difficult.
What does “intermittent 5 seconds at 25Hz” mean?
Data acquired at 0.04-second intervals are transmitted every 5 seconds.
If 16 samples are stored in one packet, 16 consecutive data points at 0.04-second intervals are included.
Why is the acceleration near 1G on one of the axes when placed on a flat surface?
Because it reflects gravitational acceleration.
Why does the acceleration not become zero when placed on a horizontal surface?
It may be affected by the accelerometer’s Zero-g offset (±40mg
).
The MC3630 accelerometer datasheet (p.17) states that the Zero-g offset is ±40mg. This means that even when placed on a perfectly horizontal surface, an offset of up to about 40mg is added to the acceleration.
To account for this, record acceleration when placed on a horizontal surface and subtract the offset. The error impact on relative changes is considered much smaller compared to the Zero-g offset (refer to Nonlinearity values in the datasheet).
Why is acceleration data unstable in the initial state?
Switching from the initial TWELITE CUE mode to Motion Sensor PAL Mode may solve this. Motion Sensor PAL Mode specializes in acceleration measurement. It performs periodic measurement only and does not dynamically switch accelerometer functions, so stable operation is expected.
Changing modes requires configuration changes via MONOSTICK or TWELITE R2/R3.
How to acquire data continuously instead of intermittently?
To acquire acceleration data continuously, such as when using the TWELITE STAGE APP acceleration real-time graph, you need to change the TWELITE CUE settings.
Set to Motion Sensor PAL Mode and configure sensor parameters according to your use case via interactive mode.
Example sensor parameter settings
- For continuous measurement at about 25Hz
t: set Transmission Interval (0)
p: set Sensor Parameter (03000000)
- For continuous measurement at about 50Hz
t: set Transmission Interval (0)
p: set Sensor Parameter (03000100)
- For continuous measurement at about 100Hz
t: set Transmission Interval (0)
p: set Sensor Parameter (03000200)
- For about 128 samples at 100Hz every 10 seconds
t: set Transmission Interval (10)
p: set Sensor Parameter (03000208)
- For about 256 samples at 100Hz every 10 seconds
t: set Transmission Interval (10)
p: set Sensor Parameter (03000210)
- For about 64 samples at 50Hz every 10 seconds
t: set Transmission Interval (10)
p: set Sensor Parameter (03000104)
- For about 128 samples at 200Hz every 10 seconds
t: set Transmission Interval (10)
p: set Sensor Parameter (03000308)
How to estimate the sampling interval of continuous data?
Depending on how you use acceleration data, the following methods can be considered.
① Calculate sampling time by adding up sampling intervals from TWELITE CUE settings per sample
In TWELITE CUE Motion Sensor PAL Mode (continuous measurement), the sampling frequency applied to the sensor is specified by sensor-specific parameter settings. This value can be used.
For example, a 100Hz sampling frequency setting (0x00000200) corresponds to a 10ms interval. You can estimate sampling times by adding 10ms to the reception time of the first received acceleration sample.
This method is simple but the estimated sampling time is based on the setting, not actual measurement time. For higher accuracy, consider method ② below.
② Estimate sampling interval by dividing the time difference between start and end of measurement by total sample count
By dividing the measurement duration by the total sample count (including missing samples), you can estimate the sampling interval from actual measurement results. Accuracy improves with longer measurement periods.
③ Use the estimated sampling frequency displayed in the TWELITE STAGE APP acceleration real-time graph
The real-time graph displays estimated sampling frequency calculated similarly to ② using data from several past packets. You can record this frequency and calculate the sampling interval by its reciprocal.
④ Analyze signals output from the TWELITE CUE accelerometer using an oscilloscope
Although very difficult, analyzing the waveform of the interrupt output pin from the accelerometer on TWELITE CUE may provide the actual sampling interval.
For all methods ① to ④, if sequence numbers jump, you need to interpolate 16 samples per packet.
Interpolated acceleration values can be treated as missing or zero, or use linear or spline interpolation (the latter may be difficult due to 16 samples missing at once). Choose based on your application.
How to open continuous data received with TWELITE STAGE APP in Excel?
While the acceleration real-time graph is open, the app automatically exports CSV files. You can open the CSV files output to the log
folder in Excel.
Other Data
How to use it specifically for magnet detection?
Set to Open/Close Sensor PAL Mode. The parent outputs data as Open/Close Sensor PAL data.
Can I connect an analog input to the SET pin?
Unfortunately, the SET
pin corresponds to TWELITE DIP’s #15
and does not support analog input.
However, in Motion Sensor PAL Mode (Acceleration Measurement Mode) or Open/Close Sensor PAL Mode, TWELITE CUE reports the voltage of ADC1.
Though soldering is somewhat difficult, by inputting signals to pin #23 (ADC1 / AI1) on the module main unit, you may be able to use an analog sensor simultaneously (unsupported by our support).
Can it be used as TWELITE 2525A?
The TWELITE 2525A compatibility mode of the CUE App sends packets compatible with the wireless tag app FIFO (normal) mode. The parent outputs data according to the format mode (ASCII format) described on the next page.
In FIFO (normal) mode, usually 10 samples of acceleration data are sent at once.
The parent receives data from the Extremely Simple! Standard App unexpectedly. What should I do?
This may be a malfunction. Please contact Support.