Слайд 2
![PSoC@3/5 CapSense PSoC Creator 4.2 Designing with PSoC 3/5](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-1.jpg)
PSoC@3/5
CapSense
PSoC Creator 4.2
Designing with PSoC 3/5
Слайд 3
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-2.jpg)
Слайд 4
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-3.jpg)
Слайд 5
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-4.jpg)
Слайд 6
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-5.jpg)
Слайд 7
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-6.jpg)
Слайд 8
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-7.jpg)
Слайд 9
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-8.jpg)
Слайд 10
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-9.jpg)
Слайд 11
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-10.jpg)
Слайд 12
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-11.jpg)
Слайд 13
![CapSense Overview: Activate and use the 2 CapSense buttons and](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-12.jpg)
CapSense
Overview:
Activate and use
the 2 CapSense buttons and linear slider
on the DVK board
and
output the results
to the LCD Character screen and Leds.
Слайд 14
![CapSense Objective: For button presses, to indicate which button is](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-13.jpg)
CapSense
Objective:
For button presses, to indicate which button is on by
Leds.
For the slider, to display the centered position of the finger on the slider is hexadecimal format and horizontal bar.
Слайд 15
![Модулі PSoC@3/5](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-14.jpg)
Слайд 16
![Модулі PSoC@3/5](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-15.jpg)
Слайд 17
![CapSense Follow the below steps to do this: The Lab](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-16.jpg)
CapSense
Follow the below steps to do this:
The Lab already has
the LCD Character component installed and configured.
Add a CapSense component from the component catalog.
In the general tab, configure the CapSense component as in the image below
Слайд 18
![Lab_3 CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-17.jpg)
Слайд 19
![CapSense In the general tab configure the CapSense component](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-18.jpg)
CapSense
In the general tab configure the CapSense component
Слайд 20
![CapSense In the clock source tab, configure the CapSense component](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-19.jpg)
CapSense
In the clock source tab, configure the CapSense component
Слайд 21
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-20.jpg)
Слайд 22
![CapSense In the buttons tab, configure the component](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-21.jpg)
CapSense
In the buttons tab, configure the component
Слайд 23
![CapSense In the sliders tab configure the component](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-22.jpg)
CapSense
In the sliders tab configure the component
Слайд 24
![CapSense](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-23.jpg)
Слайд 25
![CapSense In the scan slots tab, configure the buttons (BTN_B1 and BTN_B2)](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-24.jpg)
CapSense
In the scan slots tab, configure the buttons (BTN_B1 and BTN_B2)
Слайд 26
![CapSense In the scan slots tab configure the slider elements (LS_SL1_e0-to-4)](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-25.jpg)
CapSense
In the scan slots tab configure the slider elements (LS_SL1_e0-to-4)
Слайд 27
![CapSense Configure the pins tab in the .cydwr file](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-26.jpg)
CapSense
Configure the pins tab in the .cydwr file
Слайд 28
![Creator](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-27.jpg)
Слайд 29
![File – New - Projekt](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-28.jpg)
Слайд 30
![Empty PSoC 3 Design](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-29.jpg)
Слайд 31
![Configure LCD](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-30.jpg)
Слайд 32
![Configure CSD](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-31.jpg)
Слайд 33
![Configure CSD](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-32.jpg)
Слайд 34
![Configure CSD](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-33.jpg)
Слайд 35
![Configure CSD](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-34.jpg)
Слайд 36
![Configure CSD For CY8CKIT-030 and CY8CKIT-050: Reassign the CapSense LinearSlider](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-35.jpg)
Configure CSD
For CY8CKIT-030 and CY8CKIT-050: Reassign the CapSense LinearSlider and Buttons
in the ‘Pins’ tab of the Design-wide Resources file to port 5. To be precise, reassign the 5 Slider segments to P5[4:0], Button0 to P5[5], and Button1 to P5[6]. Also ensure that the Cmod capacitor is assigned to P6[4] in the pins tab of the Design Wide Resources (.cydwr) file in PSoC Creator.
Слайд 37
![Lab_3.cywr](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-36.jpg)
Слайд 38
![Lab_3 Main.c](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-37.jpg)
Слайд 39
![Lab_3 Main.c_2](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-38.jpg)
Слайд 40
![Lab_3 Main.c_3](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-39.jpg)
Слайд 41
![Lab_3 Main.c_4](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-40.jpg)
Слайд 42
![Lab_3 Main.c_5](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-41.jpg)
Слайд 43
![Lab_3 Main.c_6](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-42.jpg)
Слайд 44
![Lab_3 CapSense Expected output on LCD](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-43.jpg)
Lab_3 CapSense
Expected output on LCD
Слайд 45
![Lab_3 CapSense References [1] Application Note AN2233a, “Capacitive Switch Scan,”](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-44.jpg)
Lab_3 CapSense
References
[1] Application Note AN2233a, “Capacitive Switch Scan,” Cypress Semiconductor
[2] Application Note AN2403, “Signal-to-Noise Ratio Requirement for CapSense Applications,” Cypress Semiconductor
[3] Application Note AN2292, “Layout Guidelines for PSoC CapSense,” Cypress Semiconductor
[4] Application Note AN2398, “Waterproof Capacitive Sensing,” Cypress Semiconductor
[5] Application Note AN2360, “Power Consumption and Sleep Considerations with CapSense,” Cypress Semiconductor
Слайд 46
![Lab_3 CapSense References (continue) [6] Application Note AN2318, “EMC Design](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-45.jpg)
Lab_3 CapSense
References (continue)
[6] Application Note AN2318, “EMC Design Considerations for PSoC
CapSense Applications,” Cypress Semiconductor
[7] Application Note AN2394, “CapSense Best Practices,” Cypress Semiconductor
[8] Application Note AN2397, “CapSense Data Viewing Tool,” Cypress Semiconductor
Слайд 47
![Приклади застосування МК PSOC На сайті фірми Cypress знаходиться більше](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/22244/slide-46.jpg)
Приклади застосування
МК PSOC
На сайті фірми Cypress знаходиться більше 200 Application
Notes і Reference Designs, які ілюструють області застосування мікроконтролерів PSoC.