28
CY8CKIT-003 PSoC 3 FirstTouch Starter Kit Guide, Spec. # 001-49613 Rev. *B
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 3 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 3 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 3 FirstTouch Starter Kit board.
6. When the download is complete, remove the PSoC 3 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 3 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-17. Wire Antenna attached to Proximity Sensor Connector
electronic components distributor