Cypress Semiconductor CY3280-MBR3 ユーザーズマニュアル
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B
55
Configuration Files and Example Projects
5.2.2
Proximity Detection
This configuration file configures the CY8CMBR3116 to demonstrate proximity detection, CapSense
buttons, LED brightness, and buzzer drive features.
buttons, LED brightness, and buzzer drive features.
5.2.2.1
Loading Proximity Detection Configuration
.
2. Double-click the Proximity Detection.cprj file to open it.
3. Follow steps 6 to 9 as described in section
4. Verify the following features:
a. CapSense buttons: Touch any CapSense button; the corresponding LED turns on, detecting
your touch.
b. LED brightness feature (93 percent Active duty cycle and 7 percent Inactive duty cycle): The
LEDs are driven by a pulse width modulator (PWM); the percentage of active and inactive
duty cycles represent the PWM duty cycle for which the LEDs will be on. According to the con-
figuration settings, when none of the CapSense buttons are touched, the LEDs glow with a
faint brightness with a PWM duty cycle of 7 percent. When a CapSense button is touched, the
LED glows with higher brightness, with a PWM duty cycle of 93 percent.
duty cycles represent the PWM duty cycle for which the LEDs will be on. According to the con-
figuration settings, when none of the CapSense buttons are touched, the LEDs glow with a
faint brightness with a PWM duty cycle of 7 percent. When a CapSense button is touched, the
LED glows with higher brightness, with a PWM duty cycle of 93 percent.
c. Buzzer feature (1-kHz frequency and 1-second duration): Touch a CapSense button or prox-
imity loop; the respective LED turns on along with an audio feedback for 1 second at a 1-kHz
frequency.
frequency.
Figure 5-7. LEDs with 7 Percent Inactive Duty Cycle