- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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" .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The HC-SR501 is all over ebay, ~ $ 1.
There are projects over here that may be of help -
PSOC 4 element14.com
|
|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just do not forget about waiting a few minutes, or splurge on SMS )))))
Maybe better through the Internet?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you all. I will try out this. If any problem occurs I will text you. Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi There,
Were you able to make PIR sensor work?
If so, could you please share schematic?
Thanks in advance
Regards
AR