Piezo Haptic Actuators - PowerHap
Z63000Z2910Z1Z44
Application note for evaluation kit 60 V
Preliminary data
PPD PI AE/IE PD
2019-05-08
Please read Cautions and warnings and
Page 17 of 28
Important notes at the end of this document.
5.4 Adjusting sensing feedback parameters
The BOS1901-KIT is provided out-of-the box with a firmware that allows sensing feedback to be experienced
(see section quick start procedure). S3 DIP switches SW4 to SW7 can be used to toggle the sensing feedback
parameters between preset values (see section DIP switch settings). Finer adjustment of the sensing feedback
parameters is done by firmware modification. The following sections explain how to change the settings of each
DIP switch state.
5.4.1 Sensing feedback amplitude
Do not put values higher than 1.0 for any of those variables or it will permanently damage the piezo.
These variables only have an effect when in TDK mode (SW1 OFF).
1. In PSoCCreator, go to project “BOS1901_Test”, then go to folder “Header Files” and open file
“sensing_button_data.h”.
2. Edit the #define variables values in section “Amplitude variables”.
•
LOW_AMP_MULTIPLICATOR changes the high-low amplitude ratio.
•
HIGH_AMP_PRESS_FEEDBACK_TDK_CIRC changes the press feedback intensity.
‐
When SW6 is ON, the feedback amplitude is set to
HIGH_AMP_PRESS_FEEDBACK_TDK_CIRC.
‐
When SW6 is OFF, the feedback amplitude is set to LOW_AMP_MULTIPLICATOR times
HIGH_AMP_PRESS_FEEDBACK_TDK_CIRC.
•
HIGH_AMP_RELEASE_FEEDBACK_TDK_CIRC changes the release feedback intensity.
‐
When SW6 is ON, the feedback amplitude is set to
HIGH_AMP_RELEASE_FEEDBACK_TDK_CIRC.
‐
When SW6 is OFF, the feedback amplitude is set to LOW_AMP_MULTIPLICATOR times
HIGH_AMP_RELEASE_FEEDBACK_TDK_CIRC.
3. Save the project and upload the new firmware.
1
PSoC® is a registered trademark of Cypress Semiconductor Corporation.
PSoC® Creator™ is a trademark of Cypress Semiconductor Corporation.
5.4.2 Sensing feedback frequency
1. In PSoCCreator, go to project “BOS1901_Test”, then go to folder “Header Files” and open file
“sensing_button_data.h”.
2. Edit the #define variables values in section “Frequency variables”.
SENSING_FEEDBACK_FREQ_DEFAULT_LOW changes the low feedback signal frequency
(SW5 is OFF).
SENSING_FEEDBACK_FREQ_DEFAULT_HIGH changes the high feedback signal frequency
(SW5 is ON).
3. Save the project and upload the new firmware.
Do not put values higher than 300 for any of those variables or it will permanently damage the piezo.
5.4.3 Sensing threshold
1. In PSoCCreator, go to project “BOS1901_Test”, then go to folder “Header Files” and open file
“sensing_button_data.h”
2. Edit the #define variables values in section “Threshold variables”.
HS_TRESH_TDK_CIRC changes the high sensitivity threshold (SW7 is OFF).
LS_TRESH_TDK_CIRC changes the low sensitivity threshold (SW7 is ON).
3. Save the project and upload the new firmware.