CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. **
29
Example Projects
4.5
Proximity Sensor
This project senses the presence of a finger near the proximity detection antenna. The number of
LEDs that light up on the LED display on the PSoC 5 FirstTouch Starter Kit board increases as the
finger gets closer to the antenna.
To run the proximity sensor project, follow these steps:
1. Connect the PSoC 5 FirstTouch Starter Kit board to the USB port of the PC through the USB
cable.
2. Click on the example project ProximitySensor from
Kits and Solutions
present on the Startup
page of the PSoC Creator.
3. Make a folder in the desired location and click
OK
.
4. Project opens up in PSoC Creator and gets saved in that folder.
5. Follow step 1 to 4 in section
4.1.3 Build, Program, and Run the PSoC Rocks Project on page 14
to program the project into the PSoC 5 FirstTouch Starter Kit board.
6. When the download is complete, remove the PSoC 5 FirstTouch Starter Kit board from the USB
port.
7. Attach the wire antenna to the board at the proximity sensor connector and connect the 9V DC
battery to the battery connector of the PSoC 5 FirstTouch Starter Kit board.
8. Move your finger near and away from the proximity antenna. As your finger comes closer to the
antenna, the number of LEDs that light up increases. When it does not sense your finger or hand
near the antenna, all the LEDs are turned off.
Figure 4-18. Wire Antenna attached to Proximity Sensor Connector
Содержание PSoC 5 FIRSTTOUCH CY8CKIT-014
Страница 4: ...4 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Contents...
Страница 8: ...8 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Getting Started...
Страница 32: ...32 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Example Projects...
Страница 44: ...44 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Technical Reference...