cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

 Hi all. I am doing mini project. My aim is to receive a message after a human is detected in particular area. I am using IR proximity of PSoC and GSM. Please send me code and required connections. I tried it but not succeeded. Please help me. Thanks. Send me the documents at "vaijanath.kop@gmail.com" . 

0 Likes
Reply
14 Replies
Esteemed Contributor

Consider posting your project archive for forum to look at -

   

 

   

    

   

          

   

“File”                                                             Creator

   

“Create Workspace Bundle”

   

 

   

 

   

If you are looking for professional project development CyPros would

   

be one resource -

   

 

   

    

   

          http://www.cypress.com/?id=1088

   

 

   

Regards, Dana.

0 Likes
Reply
Honored Contributor II

There are a lot of examples in this community and also in Psco creator under sample projects.  You should be able to take those code examples and make your program work. But doing a PSOC project is not as easy as it looks and takes a lot of study and trial by error to get the project working.   Good Luck!!!

0 Likes
Reply
Honored Contributor II

HC-SR501 Human Sensor Module Pyroelectric Infrared 7 meter range  $4.44 + shipping output logic high use a comparator to detect the person in room. Send message to GMS device your code. Or send it to the interner using a wireless Ardunino shield.

0 Likes
Reply
Esteemed Contributor

The HC-SR501 is all over ebay, ~ $ 1.

   

 

   

There are projects over here that may be of help -

   

 

   

    

   

         

   

 PSOC 4 element14.com

                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

S No

Date

Project Title

1

01-May-2013

Simple Blinking LED

2

02-May-2013

CapSense Slider Example

3

03-May-2013

PSoC 4 Pioneer Kit Annotation Library

4

06-May-2013

USB-UART utility

5

07-May-2013

USB-I2C Utility

6

08-May-2013

Danger Shield with Light Sensor Control

7

09-May-2013

Danger Shield with 7-segment display

8

10-May-2013

Danger Shield Buzzer of Doom

9

13-May-2013

Graphics LCD Display

10

14-May-2013

LCD - Rotating Cube Demo

11

15-May-2013

GLCD Paddle Game

12

16-May-2013

Pioneer Board Oscilloscope

13

17-May-2013

CapSense Button & LED Control with Bridge Control Panel

14

20-May-2013

What was the value? - LED Memory Example

15

21-May-2013

CapSense Proximity Detection

16

22-May-2013

Proximity Theremin

17

23-May-2013

2-Channel OScope with GraphicsLCD

18

24-May-2013

'Catch the Shells' Game with ColorLCD Shield

19

28-May-2013

LED Memory! Part Deux. Just Deux it!

20

29-May-2013

Starter Designs

21

30-May-2013

Fractional Frequency Synthesizer

22

31-May-2013

“Kill The Ghost” Game

23

03-Jun-2013

tinyprintf Example

24

04-Jun-2013

XBee Router Loopback Example

25

05-Jun-2013

XBee Direct IO

26

06-Jun-2013

XBee API RxTx Example

27

07-Jun-2013

XBee RGB CapSense Control

28

10-Jun-2013

“WiFi? Why Not!” Arduino WiFi Shield Example

29

11-Jun-2013

Bluetooth Home Automation System

30

12-Jun-2013

Bluetooth with GLCD

31

13-Jun-2013

Ethernet Shield

32

14-Jun-2013

More Relay!

33

17-Jun-2013

Sweet Music Everywhere! MIDI Shield

34

18-Jun-2013

Resistive Touch Example

35

19-Jun-2013

UART, I2C, and SPI Joystick Example

36

20-Jun-2013

What? I can use the PSoC 5LP too?

37

21-Jun-2013

PSoC With Friends! Word Scramble Game

38

24-Jun-2013

Ultrasonic Distance Measurement

39

25-Jun-2013

Two PWMs for the price of one

40

26-Jun-2013

Pioneer PnP Sensors

41

27-Jun-2013

Thermistor Example

42

28-Jun-2013

Hangman Game

43

01-Jul-2013

Rise of the Machines (Rolling Robot)

44

02-Jul-2013

Run Away Run Away! (Proximity Robot)

45

03-Jul-2013

Stepper Motor Example

46

05-Jul-2013

“Paint The Night” Accelerometer Example

47

08-Jul-2013

Obstacle Avoider Robot

48

09-Jul-2013

Walk The Line! Robot Example

49

11-Jul-2013

Android Device Controlled Robot

50

12-Jul-2013

SD Card Example

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

S No

Date

Project Title

51

15-Jul-2013

Music Player

52

16-Jul-2013

Strike A Pose! Digital Camera

53

17-Jul-2013

PSoC Eye

54

18-Jul-2013

Custom Component 4x4 Keypad

55

19-Jul-2013

Parallel to Serial UDB Component

56

22-Jul-2013

Accelerometer Level

57

23-Jul-2013

Digital Audio From A Single Pin

58

24-Jul-2013

An Introduction to Processing

59

25-Jul-2013

But Wait There’s More! Single PWM with 3 Outputs

60

26-Jul-2013

PSoC 4 Mini-Billboard

61

29-Jul-2013

Nokia 5110 LCD Interface

62

30-Jul-2013

Ready…Set…GO! PSoC Stopwatch

63

31-Jul-2013

Some Like it Hot! PSoC Thermostat

64

01-Aug-2013

Workspace Organization using PSoC Theromostat

65

02-Aug-2013

New to PSoC or the Pioneer Kit? START HERE!

66

05-Aug-2013

LED Blinky Revisited

67

06-Aug-2013

PSoC 4 Getting Started Lab 1 (LED Blinky)

68

07-Aug-2013

PSoC 4 Getting Started Lab 2 (PWM LED)

69

08-Aug-2013

PSoC 4 Getting Started Lab 3 (CapSense UART)

70

09-Aug-2013

PSoC 4 Getting Started Lab 4 (ADC)

71

12-Aug-2013

Get Your Motor Runnin’!

72

13-Aug-2013

TFT Touchscreen Shield

73

14-Aug-2013

TFT Touchscreen Tic-Tac-Toe Game

74

15-Aug-2013

PSoC Creator Training 110

75

16-Aug-2013

PSoC Creator Training 111                                          

76

19-Aug-2013

PSoC Creator Training 112

77

20-Aug-2013

PSoC Creator Training 113

78

21-Aug-2013

PSoC Creator Training 210

79

22-Aug-2013

PSoC Creator Training 211

80

23-Aug-2013

PSoC Creator Training 212/213/214

81

26-Aug-2013

NFC/RFID Shield

82

27-Aug-2013

RFID Reader and Writer Project #2

83

28-Aug-2013

Raspberry Pi Integration

84

29-Aug-2013

State Machines in PSoC 4

85

30-Aug-2013

UART Bootloader in PSoC 4

86

03-Sep-2013

GPS Algorithm

87

04-Sep-2013

Gas Sensor Example

88

05-Sep-2013

Simulation of Gas Sensor Example

89

06-Sep-2013

GPS Example

90

09-Sep-2013

Comparator Example

91

10-Sep-2013

Infrared Remote Control

92

11-Sep-2013

Serial Communications Examples

93

12-Sep-2013

4 Channel Multiplexed Comparator

94

13-Sep-2013

Opamp Dynamic Gain

95

16-Sep-2013

Hibernate and Stop Power Modes

96

17-Sep-2013

P4 Light Sensor Project Design

97

18-Sep-2013

Rice Cooker

98

19-Sep-2013

Thermal Printer

99

20-Sep-2013

I2C Pass Though 'Smart Wire'

100

23-Sep-2013

PSoC 4 Time Square Billboard

0 Likes
Reply
Anonymous
Not applicable

 Thank you all. I have the sample code from PSoC Creator and Cypress website. But I am not able to configure proximity sensor and GSM module in single code. I need to send message if human detected in proximity area else don't send message. Still I am not getting output.

0 Likes
Reply
Esteemed Contributor II

Welcome in the forum, Vaijanath

   

To help you as good as we can:

   

Tell us which PSoC4 development kit you have got (Prototype board, Pioneer Kit, BLE or self-made PCB)

   

Show us what you have done so far and post your complete project here. Use Creator->File->Create Workspace Bundle (minimal) and attach the resulting file here. So we can see where you got stuck and help you.

   

 

   

Bob

0 Likes
Reply
Honored Contributor II

Did you get the proximity sensor running? You can just light up a LED when a person is detected.

   

Did you get the GSM to send a short message?

   

Its best when you come up with concrete problems and questions. The volunteers in this forum here have all a day job, and won't have the time to solve complete projects. So split up your problems into multiple and simpler steps, and try to solve them.

0 Likes
Reply
Anonymous
Not applicable

 Thanks all. Actually I have codes for proximity and GSM interface with PSoC 4 Pioneer kit. But I am not getting how to configure this two in single code. My requirement is "If human is detected then send message", but I am confused for code.

0 Likes
Reply
Honored Contributor II

So if you have these two implemented, it shoud be easy. Lets say you have a function 'sendAlertMessage()' for sending the alter, and a function 'isHumanDetected()' that return 0 if no human is there and 1 if one is there, then its like

   
// replace by actual config code initGSM(); initProximity();  for (;;) {     if (isHumaDetected()==1)     {         sendAlertMessage();     } } 
   

done.

0 Likes
Reply
Valued Contributor II

 Just do not forget about waiting a few minutes, or splurge on SMS )))))

   

Maybe better through the Internet?

0 Likes
Reply
Esteemed Contributor II

Taking hli's description literally "function 'isHumanDetected()' that return 0 if no human is there" the code should better read

   
    if (isHumaDetected()!= 0)     {         sendAlertMessage();     }
   

or, since we are here in C.language

   
    if (isHumaDetected())     {         sendAlertMessage();     }
   

nit-picker Bob

0 Likes
Reply
Honored Contributor II

Since I defined the isHumandDetected() function as returning just 0 and 1, all these versions are functionally identical 🙂

   

I just did not want to introduce the "bool" type at this point...

   

@pavloven: you are right, a delay after a notification is in order. But right now vaiju just needs to get it working at all.

0 Likes
Reply
Anonymous
Not applicable

 Thank you all. I will try out this. If any problem occurs I will text you. Thanks a lot.

0 Likes
Reply
New Contributor

Hi There,

Were you able to make PIR sensor work?

If so, could you please share schematic?

Thanks in advance

Regards

AR

0 Likes
Reply