Cypress Semiconductor CapSense Express CY3218-CAPEXP2 Скачать руководство пользователя страница 11

6.7. Name the driver 

Slider

 and click 

OK

. The CapSense Express 5 Segment / Slider 5 GPIO :

Slider window opens.
In PSoC Express, each CapSense slider, LED, and mechanical button requires a separate 
driver. The 5 Segment Slider 5 GPIO driver is a special driver that allows you to configure 
the slider, LED, and mechanical button in one interface. Each driver is listed in the Config-
ure Local Parameters pane.

Configure the Drivers

6.8. By default, all driver types in the Configure Local Parameters pane are set to CapSense

Slider Sensor. To setup the LEDs, set the Pin Type for drivers C0 through C3 to 

GPOutput

and the Drive Mode for each of those drivers to 

Strong Drive

.

To setup the mechanical button, set the Pin Type for driver G4 to 

GPInput

. Set the Drive 

Mode to 

Open Drain Low

.

Configure Slider and LED Behavior

6.9. In the Pin Specific Tuning pane, choose 

G0

 from the 

Select Pin

 menu.

Page 10

Page 11

Содержание CapSense Express CY3218-CAPEXP2

Страница 1: ...ore information on these kits please go to www cypress com CapSense Evaluation Kits Development Kit CapSense Express Quickest and Easiest to Use Touch Sensing CY3218 CAPEXP1 CAPEXP3 For Buttons Up to...

Страница 2: ...Designer s Guide to Rapid Prototyping of Capacitive Sensors on any Surface Controls Sensors Touch Sensors Spread Out White Paper Cypress s CapSense Successive Approximation Algorithm The Art of Capaci...

Страница 3: ...ense Express in Production AN44209 CapSense Express Power and Sleep Considerations AN2292 Layout Guidelines for PSoC CapSense AN2318 EMC Design Considerations for PSoC CapSense Applications AN2394 Cap...

Страница 4: ...s Front of Board Mini USB Port 6 22 In the Pin Specific Tuning pane check Show Differences 6 23 Slowly move your finger from left to right across the slider The LEDs light clockwise start ing with the...

Страница 5: ...g appears click OK If your board is already programmed with the cor rect design the Apply to board button is grayed out 6 17 Click OK to close the User Pin Assignment window 6 18 Click Apply to board...

Страница 6: ...a slider segment is touched 5 11 Press the mechanical button at the bottom of the board to turn on all four LEDs Tune the Slider 5 12 From the Select Pin menu select Slider 5 13 Check Show Differences...

Страница 7: ...r4 G4 G1 Sldr1 G4 G2 Sldr2 G4 G3 Sldr3 G4 5 14 Slide your finger across the slider Notice the difference bars above the green position bar Also notice how the LEDs illuminate in a clockwise direction...

Страница 8: ...wood What s Next Now that you know how easy it is to tune a CapSense slider with PSoC Express learn how to create the project from scratch in Section 6 6 11 Since there are four LEDs and five slider...

Страница 9: ...ss Project Start the Project 6 1 Connect your computer to the CapSense test board I2C Connector J5 using the CY3240 I2USB Bridge Board and a USB cable When connected correctly the USB con nector on th...

Страница 10: ...r is listed in the Config ure Local Parameters pane Configure the Drivers 6 8 By default all driver types in the Configure Local Parameters pane are set to CapSense Slider Sensor To setup the LEDs set...

Страница 11: ...r is listed in the Config ure Local Parameters pane Configure the Drivers 6 8 By default all driver types in the Configure Local Parameters pane are set to CapSense Slider Sensor To setup the LEDs set...

Страница 12: ...ss Project Start the Project 6 1 Connect your computer to the CapSense test board I2C Connector J5 using the CY3240 I2USB Bridge Board and a USB cable When connected correctly the USB con nector on th...

Страница 13: ...wood What s Next Now that you know how easy it is to tune a CapSense slider with PSoC Express learn how to create the project from scratch in Section 6 6 11 Since there are four LEDs and five slider...

Страница 14: ...r4 G4 G1 Sldr1 G4 G2 Sldr2 G4 G3 Sldr3 G4 5 14 Slide your finger across the slider Notice the difference bars above the green position bar Also notice how the LEDs illuminate in a clockwise direction...

Страница 15: ...a slider segment is touched 5 11 Press the mechanical button at the bottom of the board to turn on all four LEDs Tune the Slider 5 12 From the Select Pin menu select Slider 5 13 Check Show Differences...

Страница 16: ...g appears click OK If your board is already programmed with the cor rect design the Apply to board button is grayed out 6 17 Click OK to close the User Pin Assignment window 6 18 Click Apply to board...

Страница 17: ...s Front of Board Mini USB Port 6 22 In the Pin Specific Tuning pane check Show Differences 6 23 Slowly move your finger from left to right across the slider The LEDs light clockwise start ing with the...

Страница 18: ...ense Express in Production AN44209 CapSense Express Power and Sleep Considerations AN2292 Layout Guidelines for PSoC CapSense AN2318 EMC Design Considerations for PSoC CapSense Applications AN2394 Cap...

Страница 19: ...Designer s Guide to Rapid Prototyping of Capacitive Sensors on any Surface Controls Sensors Touch Sensors Spread Out White Paper Cypress s CapSense Successive Approximation Algorithm The Art of Capaci...

Страница 20: ...ore information on these kits please go to www cypress com CapSense Evaluation Kits Development Kit CapSense Express Quickest and Easiest to Use Touch Sensing CY3218 CAPEXP1 CAPEXP3 For Buttons Up to...

Отзывы: