Cypress CY3236A Manual Download Page 1

CY3236A

Pyroelectric Infrared (PIR) Motion Sensor

Evaluation Kit Guide

Doc. # 001-68617 Rev. *A

Cypress Semiconductor

198 Champion Court

San Jose, CA 95134-1709

Phone (USA): 800.858.1810

Phone (Intnl): 408.943.2600

http://www.cypress.com

[+] Feedback 

Summary of Contents for CY3236A

Page 1: ...ctric Infrared PIR Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 408 943 2600 http www cypre...

Page 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...

Page 3: ...ner 13 2 3 PSoC Programmer 14 3 Kit Operations 15 3 1 Introduction 15 3 2 Evaluating the PSoC Device 15 3 2 1 Programming Specifications and Connections 16 4 Hardware 19 4 1 System Block Diagram 19 4...

Page 4: ...4 Pyroelectric Infrared Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Contents Feedback...

Page 5: ...plication note AN2414 Proximity Sensing Using PIR is available on the Cypress website at http www cypress com rID 2794 Chapter 2 of this document describes the installation and configuration of the ki...

Page 6: ...25 Infrared Motion Detector Datasheet Rohm PRM 075PT Phototransistor Visit www cypress com for additional learning resources in the form of datasheets technical refer ence manual and application notes...

Page 7: ...lectric Infrared PIR Motion Sensor Evaluation Kit Guide Table 1 2 Document Conventions for Guides Convention Usage Courier New Displays file locations user entered text and source code C cd icc Italic...

Page 8: ...8 Pyroelectric Infrared Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Introduction Feedback...

Page 9: ...are available for download CY3236A PIRMOTION_ISO This file ISO image is an archive file of the optical disc provided with the kit You can use this to create an installer DVD or extract information usi...

Page 10: ...On this screen choose the folder location to install the setup files You can change the location of the folder for the setup files using Change see Figure 2 3 4 Click Next to launch the kit installer...

Page 11: ...ure 2 4 Installation Type Options 7 When the installation begins a list of packages appears on the Installation Page A green check mark appears adjacent to every package that is downloaded and install...

Page 12: ...roelectric Infrared Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Getting Started Figure 2 5 Installation Page 9 Click Finish to complete the installation Figure 2 6 Installation Complete Fee...

Page 13: ...w project click File Open Project to work with an exist ing project Figure 2 7 PSoC Designer Interconnect View 3 To experiment with the code examples go to Code Examples on page 27 Note For more detai...

Page 14: ...m Port Selection Figure 2 8 PSoC Programmer Window 3 Click File Load to load the hex file 4 Use the Program button to program the hex file on to the chip 5 When programming is successful Programming S...

Page 15: ...ard Ensure that the jumper shunt is not connected on J4 Power the board using the 12 V adapter at the power jack J1 Stimulate the infrared sensor by moving your hand over as shown in Figure 3 1 The se...

Page 16: ...ted you can use PSoC Programmer to program the CY3236A PIRMO TION Evaluation kit Plug in the USB cable into the MiniProg before attaching it to the ISSP header on the board When using MiniProg the LED...

Page 17: ...ected to the MiniProg1 LED green glows in the MiniProg1 4 Open PSoC Programmer 5 Click the Load File button and browse to the hex file location Select the hex file and click Open 6 Click Connect or do...

Page 18: ...18 Pyroelectric Infrared Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Kit Operations Feedback...

Page 19: ...ng interface To start using the board go to Code Examples on page 27 4 1 System Block Diagram The CY3236A PIRMOTION board has the following sections PSoC CY88C27443 silicon Power supply and regulator...

Page 20: ...4 1 Hardware Block Diagram PSoC CY8C27443 silicon PIR sensor Regulator Ambient Light sensor ISSP programming header Potentiometer Relay time light sensitivity Status LEDs Power LED Test Points Relay...

Page 21: ...to filter the analog signals from sensors convert those signals to digital and then use the digital signals to control hardware via a relay ISSP I2C Programming Header Relay AC Terminal Block 12 V Pow...

Page 22: ...r This sensor data is used to detect the pres ence of ambient light and can override the function of the PIR sensor and keep the relay from turning on In other words the relay activation is now contro...

Page 23: ...using a load resistor This analog data is filtered and converted to digital by PSoC Refer to the Glolab PIR325 Infrared Motion Detector data sheet on the kit CD for additional information on the senso...

Page 24: ...D5 and D6 are not used with the firmware included with this kit However they can be configured to perform other functions such as sensing directional movement 8 Potentiometer to Adjust Relay Time and...

Page 25: ...device the device is controlled by the relay Such a device should include a small low watt incandescent light bulb CAUTION Due to exposed pins on the back side of the board connect no more than a 24 V...

Page 26: ...26 Pyroelectric Infrared Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Hardware Feedback...

Page 27: ...sensor can be used in applica tions such as automatic porch light control where the load need not be switched on during daylight Similarly the relay time preset can be used to control the duration for...

Page 28: ...1 PSoC Designer Analog and Digital User Module Placement The firmware uses an infinite loop during which the PIR signal relay on time and the output voltage of the ambient light sensor are sampled Act...

Page 29: ...ately 30 secs for PIR signals to initialize B YES Is ADC data ready NO Setup ADC input to read PIR signal Is ADC data ready NO Change ADC input to read ambient light Is ADC data ready Change ADC input...

Page 30: ...o initialize 3 Upon initializing move your hand over the PIR sensor the relay K1 switches on The LED D2 is also turned On to indicate that relay is on The relay remains in On state as long as there is...

Page 31: ...f the PIR sensor and keep the relay from turning on In other words the relay activation can now be enabled depending on by how much ambient light is present Based on how much light is present the PIR...

Page 32: ...32 Pyroelectric Infrared Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Code Examples Feedback...

Page 33: ...N O N C K1 SPDT 12V 4 2 5 1 3 0805 R12 100K J5 HDR 1x5 1 3 2 4 5 TP5 0805 R4 1K 0805 R15 4 7K J4 2 PIN HDR 1 2 0805 R10 10K P1 Fresnel Lens 1 2 MEC1 MEC2 TP3 0805 R1 1K 0805 D6 LED Red 2 1 0805 R11 4...

Page 34: ...escription Manufacturer Mfr Part Number 1 2 710R 13952 C3 C1 CAP ELECT 10UF 25V KS RADIAL Panasonic ECG ECE A1EKS100 2 3 730R 11026 C2 C4 C5 CAP 1UF 50V CERAMIC Y5V 0603 Panasonic ECG ECJ 1VF1H104Z 3...

Page 35: ...4 R2 RES 2 2K OHM 1 10W 5 0805 SMD Panasonic ECG ERJ 6GEYJ222V 18 2 630R 10246 R10 R3 RES 10K OHM 1 10W 5 0805 SMD Panasonic ECG ERJ 6GEYJ103V 19 1 670R 13826 R7 POT 10K OHM 6MM CER MET HORZ CTS Corpo...

Page 36: ...36 Pyroelectric Infrared Motion Sensor Evaluation Kit Guide Doc 001 68617 Rev A Feedback...

Reviews: