background image

CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. **

31

Example Projects

4.5.2

PCB Schematic

Figure 4-20.  PCB Schematic for Proximity Detection Project

P2_0

P4_3

P4_2

P4_1

P4_0

P2_3

P2_2

P2_1

P4_0

SWDCK

P2_1

P2_3

SWV

P4_1

P4_3

LOW

BAT

T

P4_2

SWDIO

/XRES

P2_0

P2_2

RBLEED

CMOD

CMO

D

R

B

LEED

3.3V

Proximity
Sensor
Loop

0603

R14

NO LOAD

0603

R14

NO LOAD

0603

R31

560 ohm 1%

0603

R31

560 ohm 1%

0603

D1

LED RED

0603

D1

LED RED

2

1

0402

R17

68 ohm

0402

R17

68 ohm

1

2

PRX1
RECEPTACLE 1x1

PRX1
RECEPTACLE 1x1

1

1

0603

D5

LED RED

0603

D5

LED RED

2

1

0402

R18

68 ohm

0402

R18

68 ohm

1

2

0603

D7

LED RED

0603

D7

LED RED

2

1

0402

R19

68 ohm

0402

R19

68 ohm

1

2

0603

D2

LED RED

0603

D2

LED RED

2

1

U2

CY8C5588AXI-060 TQFP100

U2

CY8C5588AXI-060 TQFP100

P2_5

1

P2_6

2

P2_7

3

P12_4 I2C0_SCL, SIO

4

P12_5 I2C0_SDA, SIO

5

P6_4

6

P6_5

7

P6_6

8

P6_7

9

VSSb

10

Ind

11

Vboost

12

Vbat

13

VSSd

14

XRES

15

P5_0

16

P5_1

17

P5_2

18

P5_3

19

P1_0

20

P1_1

21

P1_2

22

P1_3

23

P1_4

24

P1_5

25

V

DDi

o1

26

P

1_6

27

P

1_7

28

P

12_6_S

IO

29

P

12_7_S

IO

30

P

5_4

31

P

5_5

32

P

5_6

33

P

5_7

34

P

15_6 DP

35

P

15_7 DM

36

V

DDd

37

VSSd

38

V

CCd

39

NC1

40

NC2

41

P

15_0

42

P

15_1

43

P

3_0

44

P

3_1

45

P

3_2

46

P

3_3

47

P

3_4

48

P

3_5

49

V

DDi

o3

50

VDDio0

75

P0_3

74

P0_2

73

P0_1

72

P0_0

71

P4_1

70

P4_0

69

SIO_P12_3

68

SIO_P12_2

67

VSSd

66

VDDa

65

VSSa

64

VCCa

63

NC8

62

NC7

61

NC6

60

NC5

59

NC4

58

NC3

57

P15_3

56

P15_2

55

SIO, I2C1_SDA P12_1

54

SIO, I2C1_SCL P12_0

53

P3_7

52

P3_6

51

P

2_4

99

P

2_3

98

P

2_2

97

P

2_1

96

P

2_0

95

P

15_5

94

P

15_4

93

P

6_3

92

P

6_2

91

P

6_1

90

P

6_0

89

V

DDd

88

VSSd

87

V

CCd

86

P

4_7

85

P

4_6

84

P

4_5

83

P

4_4

82

P

4_3

81

P

4_2

80

P

0_7

79

P

0_6

78

P

0_5

77

P

0_4

76

V

DDi

o2

100

0603

D4

LED RED

0603

D4

LED RED

2

1

0402

R7

68 ohm

0402

R7

68 ohm

1

2

0402

R2

68 ohm

0402

R2

68 ohm

1

2

0402

R10

68 ohm

0402

R10

68 ohm

1

2

0603

D6

LED RED

0603

D6

LED RED

2

1

0603

C2

0.0039 uFd  10v

0603

C2

0.0039 uFd  10v

0402

R13

68 ohm

0402

R13

68 ohm

1

2

0603

D8

LED RED

0603

D8

LED RED

2

1

0603

R5
4.99K

1%

0603

R5
4.99K

1%

0603

D3

LED RED

0603

D3

LED RED

2

1

0402

R16

68 ohm

0402

R16

68 ohm

1

2

Содержание PSoC 5 FIRSTTOUCH CY8CKIT-014

Страница 1: ...CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 408 943 2600 http www cypress com...

Страница 2: ...permission of Cypress Disclaimer CYPRESS MAKES NO WARRANTY OF ANY KIND EXPRESS OR IMPLIED WITH REGARD TO THIS MATE RIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITN...

Страница 3: ...gn PSoC Creator 15 4 1 6 How the PSoC Rocks and PSoC Rocks SAR ADC Projects Work 17 4 1 7 PCB Schematic 19 4 2 Bubble Level Emulator 20 4 2 1 How the Bubble Level Emulator Project Works 21 4 2 2 PCB S...

Страница 4: ...4 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Contents...

Страница 5: ...ased Serial Wire Debugging protocol programmer and debug interface Accelerometer analog sensor Thermistor analog sensor Proximity analog sensor CapSense analog touch sensing interface 28 pin general p...

Страница 6: ...splays file locations user entered text and source code C cd icc Italics Displays file names and reference documentation Read about the sourcefile hex file in the PSoC Designer User Guide Bracketed Bo...

Страница 7: ...or Murata NCP21XV103J03RA 7 Wireless Expansion Connector 8 General Purpose Expansion Connector 22 GPIO 2 VDD 2 GND 2 SIO 9 USB Programming and Debugging Interface Cypress CY7C68013A 56LFXC 10 USB Conn...

Страница 8: ...8 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Getting Started...

Страница 9: ...Hold the board and battery exposing the LEDs Then continuously wave the board from side to side in the plane of the PCB shown in Figure 3 1 4 As you wave the board the rasterized image of the message...

Страница 10: ...ot installed then the installer prompts you to install them 1 Insert the Kit CD into the your PC The CD is designed to automatically open an installation dialog see Figure 3 3 If this does not automat...

Страница 11: ...you have connected this board to this PC initial driver installations occur Should any on screen dialogs appear follow them to complete the installation process Note After the installation is complete...

Страница 12: ...12 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Installation Figure 3 5 Opening PSoC Creator...

Страница 13: ...is factory programmed with PSoC Rocks SAR ADC project This project is similar to PSoC Rocks project The difference is PSoC Rocks SAR ADC project uses SAR ADC and PSoC Rocks project uses Delta Sigma A...

Страница 14: ...or any other message s desired up to 25 characters Figure 4 2 main c File View 3 The number of times each string in the array is displayed can be adjusted by modifying the respective entry in the Str...

Страница 15: ...m the project into the PSoC 5 FirstTouch Starter Kit board and verify the output 4 1 5 Schematic Design PSoC Creator This project s customized hardware configuration is viewed by opening the TopDesign...

Страница 16: ...e design Conventional systems would require firmware overhead to decode and invert the data for each of the affected LED pins The PSoC Rocks schematic see Figure 4 6 on page 16 provides a small sample...

Страница 17: ...age is routed to an ADC in the PSoC This digital value is now a measure of acceleration detected by the accelerometer If the acceleration exceeds a maximum value it signals the start of a new wave eve...

Страница 18: ...xample Projects Figure 4 8 PSoC Rocks and PSoC Rocks SAR ADC Projects Flowchart Boot Start Get ADC count V for measured accelerometer Y axis voltage V minimum oscillation thershold Calculate character...

Страница 19: ...d 11 Vboost 12 Vbat 13 VSSd 14 XRES 15 P5_0 16 P5_1 17 P5_2 18 P5_3 19 P1_0 20 P1_1 21 P1_2 22 P1_3 23 P1_4 24 P1_5 25 VDDio1 26 P1_6 27 P1_7 28 P12_6_SIO 29 P12_7_SIO 30 P5_4 31 P5_5 32 P5_6 33 P5_7...

Страница 20: ...the desired location and click OK 4 Project opens up in the 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...

Страница 21: ...ometer is zero In this position of the board the two LEDs in the center of the LED display are turned on As the board is tilted in one direction the force of gravity along that axis increases This inc...

Страница 22: ...6 P3_3 47 P3_4 48 P3_5 49 VDDio3 50 VDDio0 75 P0_3 74 P0_2 73 P0_1 72 P0_0 71 P4_1 70 P4_0 69 SIO_P12_3 68 SIO_P12_2 67 VSSd 66 VDDa 65 VSSa 64 VCCa 63 NC8 62 NC7 61 NC6 60 NC5 59 NC4 58 NC3 57 P15_3...

Страница 23: ...board from the USB port and connect a 9V DC battery to the battery connector of the PSoC 5 FirstTouch Starter Kit board 7 Hold the board and wave it continuously from left to right as shown in Figure...

Страница 24: ...l using the ADC on the PSoC To gain additional accuracy the voltage at the input side of the divider is also measured The resistor value is calculated using the ratio of the voltages across the two re...

Страница 25: ...1 KXSC7 2050 U1 KXSC7 2050 VDD 1 MODE 2 ST MOT 3 ENABLE 4 X 5 Y 6 Z 7 GND 8 0603 R6 10K 1 0603 R6 10K 1 0402 R19 68 ohm 0402 R19 68 ohm 1 2 0402 DNI C30 NOLOAD 0402 DNI C30 NOLOAD 0603 D7 LED RED 0603...

Страница 26: ...h Starter Kit board 6 When the download is complete remove the PSoC 5 FirstTouch Starter Kit board from the USB port and connect a 9V DC battery to the battery connector of the PSoC 5 FirstTouch Start...

Страница 27: ...Guide Spec 001 57708 Rev 27 Example Projects Figure 4 16 CapSense Slider Project Flowchart Boot Start Scan CapSense Slider Read the Centroid position is finger detected on the slider Update LED displ...

Страница 28: ..._6 27 P1_7 28 P12_6_SIO 29 P12_7_SIO 30 P5_4 31 P5_5 32 P5_6 33 P5_7 34 P15_6 DP 35 P15_7 DM 36 VDDd 37 VSSd 38 VCCd 39 NC1 40 NC2 41 P15_0 42 P15_1 43 P3_0 44 P3_1 45 P3_2 46 P3_3 47 P3_4 48 P3_5 49...

Страница 29: ...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 prog...

Страница 30: ...se to the antenna the overall capacitance of the board changes This change in capacitance determines the proximity of the finger to the antenna An increase in capacitance corresponds to the finger bei...

Страница 31: ...3 19 P1_0 20 P1_1 21 P1_2 22 P1_3 23 P1_4 24 P1_5 25 VDDio1 26 P1_6 27 P1_7 28 P12_6_SIO 29 P12_7_SIO 30 P5_4 31 P5_5 32 P5_6 33 P5_7 34 P15_6 DP 35 P15_7 DM 36 VDDd 37 VSSd 38 VCCd 39 NC1 40 NC2 41 P...

Страница 32: ...32 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Example Projects...

Страница 33: ...a new project or modifying an existing project refer to the PSoC 5 FirstTouch Starter Kit board schematic provided in section 5 1 PSoC 5 FirstTouch Starter Kit Schematic on page 34 and the pin assign...

Страница 34: ...d 0603 C27 1 0 uFd 0603 R27 100K 1 0603 R27 100K 1 0603 R1 560 ohm 1 0603 R1 560 ohm 1 P2 6x2 RECP 2mm SMT P2 6x2 RECP 2mm SMT 1 1 3 3 5 5 7 7 9 9 11 11 2 2 4 4 6 6 8 8 10 10 12 12 FRAME S1 SW PUSHBUT...

Страница 35: ...e power source to drive the 3 3 volt regulator This regulator can be used to power everything on the board or just the accelerometer The regulator cannot be powered indepen dently from the VDDIO bus I...

Страница 36: ...36 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Technical Reference 5 1 2 Board Layout Figure 5 2 Primary Side Primary Silkscreen...

Страница 37: ...CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev 37 Technical Reference Figure 5 3 Secondary Side Secondary Silkscreen...

Страница 38: ...C21 CAP CER 2 2UF 6 3V 20 X5R 0402 Panasonic ECG ECJ 0EB0J225M 10 1 C26 CAP CER 10PF 100V C0G 0603 Murata GRM1885C2A100RA01D 11 8 D1 D2 D3 D4 D5 D6 D7 D8 LED RED CLEAR 0603 SMD Lite On Trading USA In...

Страница 39: ...emiconductor MCR03EZPFX3902 31 1 R34 RES 62 0K OHM 1 10W 1 0603 SMD Rohm Semiconductor MCR03EZPFX6202 32 1 R35 RES 1 50K OHM 1 16W 1 0402 SMD Panasonic ECG ERJ 2RKF1501X 33 1 S1 LT SWITCH 6MM 100GF H...

Страница 40: ...nts 42 3 C25 C29 C30 CAP 0402 NO LOAD NA NA 43 1 R14 RES NO LOAD 0603 SMD NA NA 44 2 TV1 TV2 TEST VIA 40 HOLE 20 PLATED NONE 45 5 CSS1 CSS2 CSS3 CSS4 CSS5 CapSense Slider Element Manufacturing Process...

Страница 41: ...S Reset from FX2LP 16 P5 0 Wireless expansion connector pin 7 17 P5 1 Wireless expansion connector pin 11 18 P5 2 Wireless expansion connector pin 4 19 P5 3 Wireless expansion connector pin 6 20 P1 0...

Страница 42: ...able sleep 56 P15 3 General purpose Push Button Switch 57 NC No Connect 58 NC No Connect 59 NC No Connect 60 NC No Connect 61 NC No Connect 62 NC No Connect 63 Vcca Input to analog core 64 Vssa GND 65...

Страница 43: ...tor J3 Pin 7 86 Vccd Input to digital core 87 Vssd GND 88 Vddd 3 3V 89 P6 0 General expansion connector J2 Pin 8 90 P6 1 General expansion connector J3 Pin 8 91 P6 2 General expansion connector J2 Pin...

Страница 44: ...44 CY8CKIT 014 PSoC 5 FirstTouch Starter Kit Guide Spec 001 57708 Rev Technical Reference...

Отзывы: