digital visitor counter using pic18f4520

Status
Not open for further replies.

105adarsh

New Member
hi,
I'm doing digital visitor counter/ people counter using PIC18f4520 microcontroller. I'm using 2 IR sensors to detect the people. Sensor A outside the door and Sensor B inside the room. when the person crosses sensor A and then Sensor B , the counter starts incrementing, similarly when the person crosses B and A , counter decrements. i've used IR led HIRL5020 in the transmitter side and tsop31238 a the receiver end. Am i using the right component? and can u Guys please help me with the programming. ? I want to get rid of false entry/exit condition also? please help me

thank u
 
if that is your project, why to go for 40-pin microcontroller, you can use 12f6XX (8-pin), or 16F62X (18-pin).
 
Actually , my university says i should use PIC 18f4520. so i've to use it. i want help in preogreamming part. I want to know whether i'm using the right components .so please guide me ...
 
I'm not aware about your components, but any circuit that gives you 1 and 0 (5v and ≈0v) crossponding to person enterance or exit is fine, else you need a circuit to do that.
 
Yes I think it is ok to use that component it only that path of IR should be get completed, once the path will get break you will get o/p i.e. 0 or 5v...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…