There are four levels to range alcohol concentration from 1 to 4 (low to high).
The current concentration level, AD value, and alarm status can be outputted via UART interface every second. You can also monitor the STATUS pin to determine whether the alarm has been triggered. The voltage level turns high when alarming.
Configure alarm threshold and exit alarm condition
You can use commands to configure the alarm level and alarm exit level.
- Alarm (default: level 3): when the product detects that the alcohol concentration in the environment has reached the alarm level for more than 3 seconds, the alarm will be triggered.
- Exit alarm level (default: level 1): when the product detects that the alcohol concentration in the environment has reached the alarm exit level for more than 3 seconds, it exits alarm condition.
⬥ Refer to 'UART Communication Instruction Set Summary' chapter in the datasheet for more details.
To determine the concentration level corresponding to the alarm threshold
1. Place the product in the environment with the alcohol concentration that you desire for alarm.
2. Read the concentration level via UART interface.
3. And then configure this level as the alarm level.
For example, if you desire to trigger the alarm at a 350ppm alcohol concentration, place the product in an environment with a 350ppm concentration. Read the output concentration of 350ppm as level 4 via UART interface, and then configure level 4 as the alarm level.