Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 8th December 2003, 03:58 AM   (permalink)
Default need a people counting circuit...urgent.

i desperately need a simple/ relatively low cost people counting system to implement in my project.

Basically my PIC has to count the number of people in the room/and the temperature and adjust the speed of the fan.

There are plenty of temperature sensors i think...but i'm at a lost for a system to calculate the number of people..

it is an enclosed room with two exits.
nistelrooy is offline   Reply With Quote
Old 8th December 2003, 05:43 AM   (permalink)
Default

You want to caculate on temperature how meany peapole are in the room?(its imposible)


Whats not hard to do!You make weals thru peapole go wean the weal rotates it hits a switch and the pic counts(a nother weal for out).
So it can know how much peapole are in.

And you conect a temperature sensitive resistor to his alnalog input.
To the ouputs a gegulator and its finished!

Or you nead a program?


PS:
Cocodile technology can write programs(graficly)!
You can use a PIC in your simulation and run program and thean upload it to a real PIC!
Someone Electro is offline   Reply With Quote
Old 8th December 2003, 06:29 AM   (permalink)
Default

For counting number of people in the room, you need two IR-detectors and IR LED pairs attached to each door. So when the IR beam is interrupted in one sequence say Beam1 first and Beam2 second, it means that a person has entered the room. Increment the counter when this event occurs. And if its Beam2 first and Beam1 second, that means the person has left the room. This time decrement the counter.
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline   Reply With Quote
Old 8th December 2003, 06:51 AM   (permalink)
Default

What abaot in case two are walking togeter? its just comlicated and unificent!Its usefol in outomatic garage door openers so it detects if somthing is in the door frame wean closing/opening!
Someone Electro is offline   Reply With Quote
Old 8th December 2003, 06:58 AM   (permalink)
Default

Then there is no other simple way of doing it.
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline   Reply With Quote
Old 8th December 2003, 02:31 PM   (permalink)
Default

thanks all..

the circuit has to detect the temperature, and calculate the number of people in the room.

Say for example the temperature is X and the number of people is Y..if the said figures are deemed uncomfortable, then the fan speed will be increased.

Thats the general idea. It should weigh the number of people and the temperature against each other and adjust the speed.

someone electro..do u have a circuit of that system you mentioned, i dont really understand what you said. complete with the program? or any useful links?
nistelrooy is offline   Reply With Quote
Old 8th December 2003, 04:16 PM   (permalink)
Default

I didnt done anything whith PIC!

That program thing i made a "!" insted of "?".I fiksd that.

There is a simpler way to count is someone goes pas !Those rotating doors that let you go only one way(not motorised)

As for the regulator for the fan a have no idea!
Someone Electro is offline   Reply With Quote
Old 8th December 2003, 10:46 PM   (permalink)
Exo
Default

Lots of ways to detect temperature with a pic
Since you want to use a 'F84, simplest way to do this (in my opinion) would be to get a I²C temperature sensor (other makes are available too). It uses a 2 wire serial bus connection to your pic.

I have to agree with the rest about counting the ppl in the room. The 2 sensor-beam idea is the simplest.

On the other hand, does it really matter how many ppl are in the room when you know the temperature? I mean, when you detect 35 degrees, you know its too hot, now mather how many ppl there are ...
Exo is offline   Reply With Quote
Old 9th December 2003, 02:03 AM   (permalink)
Default

good point exo..

i think i've adjusted the system so that the detector will automatically shut down the fan if it detects no one in the room.

Anybody know how to interface the IR sensor or photoelectric beam with a PIC?
nistelrooy is offline   Reply With Quote
Old 9th December 2003, 04:31 AM   (permalink)
Default

You can also use DS1820 which has 1-wire interface and has accuracy of +-0.5 degree centigrade. Also it is available in extended TO-92 package which is easier to solder than SMD SOT-23 Package of TC74.
http://pdfserv.maxim-ic.com/en/ds/DS1820-DS1820S.pdf

DS1821 is same as DS1820 but has in-built digital thermostat which you can use to change your fan spped or turn it on/off when threshold temperature is reached.
http://www.maxim-ic.com/getds.cfm?ln=en&pk=2794
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline   Reply With Quote
Old 9th December 2003, 06:42 AM   (permalink)
Default

The build-up of CO2 in the room is just as important as temperature. This can cause the atmosphere to get very 'stuffy' and people get drowsy.
pebe is offline   Reply With Quote
Old 9th December 2003, 06:59 PM   (permalink)
Exo
Default

Quote:
Originally Posted by kinjalgp
Also it is available in extended TO-92 package which is easier to solder than SMD SOT-23 Package of TC74.
TC74 is available in TO220 package too.
Exo is offline   Reply With Quote
Old 10th December 2003, 03:35 AM   (permalink)
Default

Quote:
Originally Posted by Exo
Quote:
Originally Posted by kinjalgp
Also it is available in extended TO-92 package which is easier to solder than SMD SOT-23 Package of TC74.
TC74 is available in TO220 package too.
Oops sorry. I didn't notice that.
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline   Reply With Quote
Old 16th December 2003, 04:13 AM   (permalink)
Default

okay my supervisor as agreed on the IR detector method as mentioned by kingjalp.

I was adviced to purchase off the shelf products as much as i can...so where can i get my hands on 4 IR detectors which are reasonably affordable and how do i interface it with the PIC? (PIC16F84A)
nistelrooy is offline   Reply With Quote
Old 16th December 2003, 03:41 PM   (permalink)
Default

IR Transmitter- Detector pairs are available...you can even buy them online. Do try and get them with datasheets, or you could land up in a fix with the ckt design!
vish_beatle is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 06:11 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.