Appendix
CY8CKIT-044 PSoC® 4 M-Series Pioneer Kit Guide, Doc. No. 001-96598 Rev. *C
32
4.6.2 Hardware Connections
No specific hardware connections are required for this project. All connections are hardwired on the board.
4.6.3 Verify Output
1. Power the PSoC 4 M-Series Pioneer Kit through USB connector J6.
2. Program the PSoC 4 M-Series Pioneer Kit with
CY8CKIT_044_Touch_Gestures
project.
3. Bring your finger closer to the Gesture Pad to see the RGB LED turn ON with white color.
4. Move your finger on the Gesture Pad on PSoC 4 M-Series Pioneer Kit as mentioned in
Table 4-2
to observe the
corresponding LED color and intensity changes. The RGB LED changes the color once after the completion of a
gesture. For example, if you complete a clockwise gesture, the RGB LED changes the color to Indigo if the previous
color was Violet.
Figure 4-11. Verify CapSense Touch Gestures
5. Clockwise and counter-clockwise gestures are used to make fine color changes. Swipe-left and swipe-right gestures
are used to make coarse color changes. The swipe up and swipe down gestures are used to change the brightness of
the LED. See
Table 4-2
for details on how the LED behaves for each gesture.
Note:
It requires one full circular swipe (clockwise or counter-clockwise) on the Gesture Pad to see the change in LED
color. However, if the swipe is stopped halfway through the circle and the finger is removed from the board, no gesture
is detected by the PSoC 4200M.
Note:
You might get erroneous results if you pick up the PSoC 4 M-Series Pioneer Kit in your hand and try to validate
the output. This is because the PSoC 4200M pins connected to the CapSense Gesture Pad are also connected to the
header J2 and can cause false touches if these pins are touched. You must touch all the required sensors in the right
order as provided in
Table 4-2
for the firmware to detect gestures correctly.
Note:
If you hold the finger in close proximity to the Gesture Pad (without touching the sensors) you will observe that
the RGB LED blinks every 3 seconds. This is because, the PSoC 4200M firmware switches to the 100ms scan interval
mode if touch is not detected for more than 3 seconds and turns off the LED. Since the finger is in the range of
proximity sensor after this event, PSoC 4200M turns the LED back on and switches to the 10ms scan interval mode.
Power consumed by PSoC 4200M for this project can be measured using an ammeter as described in the
Deep-Sleep
Blinky
project.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from