| | |
Sensor Programming
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
•
•
Join Date: Jul 2009
Posts: 9
Reputation:
Solved Threads: 0
•
•
•
•
Since that detects any sort of motion then takes pictures, you would need to look at the pictures to be sure if there was a car in the bay.
In a project like this, you would also need sensors that indicate for sure whether there is a car. A program can then scan the lot and report the number of free spaces etc.
regarding the diagram on http://home.cogeco.ca/~rpaisley4/ATDetLong.GIF
tat's an example for setting the IR to send data out?
can i know wat's the basic h/w i need for it?
•
•
Join Date: Sep 2006
Posts: 327
Reputation:
Solved Threads: 22
That's all that's needed for the sensor. The IR LED is on constantly. The output is taken from the collector of the phototransistor, which acts as a switch. When an object blocks the IR light, the phototransistor is off and the output is HIGH. When there is nothing in between, it's on and the output is LOW.
Indoor or outdoor parking lot? Sunlight washes out infrared!
Feel like digging up a parking lot, then halleffect sensors. A single loop will detect motion of magnetic metal. A double loop acts as a metal detector.
Pressure sensors.
Infrared - washed out by sun.
Ultrasonic - Can detect distance to ground, if short then being blocked then highly likely a car parked there.
Camera - Will need pattern matching to not shading difference to detect motion, etc. (Think MPEG MacroBlocks). Are pixel blocks being disrupted into a parking stall without going out? And what about those overline parkers?
First problem is the sensor. Work on it first!
Hint: There's a reason automated parking lots use choke points with vehicle counters.
Feel like digging up a parking lot, then halleffect sensors. A single loop will detect motion of magnetic metal. A double loop acts as a metal detector.
Pressure sensors.
Infrared - washed out by sun.
Ultrasonic - Can detect distance to ground, if short then being blocked then highly likely a car parked there.
Camera - Will need pattern matching to not shading difference to detect motion, etc. (Think MPEG MacroBlocks). Are pixel blocks being disrupted into a parking stall without going out? And what about those overline parkers?
First problem is the sensor. Work on it first!
Hint: There's a reason automated parking lots use choke points with vehicle counters.
Last edited by wildgoose; Jul 18th, 2009 at 1:05 pm. Reason: addendum
•
•
Join Date: Jul 2009
Posts: 9
Reputation:
Solved Threads: 0
ya is just a proof of concept idea
so here's what i will do
a IR transitor and one receiver tat's constantly on, once a object block it, the receiver will send out the signal right?
here's the problem.. how should i capture the signal and send it to the pc? as far as i know the FTDI link and USB thingy given by Colin seems bit complicated is it?
my idea is to add in an IC with calculating the counter programmed in it and send it to the PC
i planed to use rs232 to send the signal to the PC, but the problem is wat type of signal is it? how do i determine the type of signal?
as far as i understand the signal will be determine by the programmed in IC is it?
so here's what i will do
a IR transitor and one receiver tat's constantly on, once a object block it, the receiver will send out the signal right?
here's the problem.. how should i capture the signal and send it to the pc? as far as i know the FTDI link and USB thingy given by Colin seems bit complicated is it?
my idea is to add in an IC with calculating the counter programmed in it and send it to the PC
i planed to use rs232 to send the signal to the PC, but the problem is wat type of signal is it? how do i determine the type of signal?
as far as i understand the signal will be determine by the programmed in IC is it?
•
•
Join Date: Sep 2006
Posts: 327
Reputation:
Solved Threads: 22
The phototransistor is just a switch, the output is either the positive supply or ground. You could program a microcontroller to read the outputs and send serial data to the PC's serial port.
The FTDI devices are just a simple way of creating a USB interface.
The FTDI devices are just a simple way of creating a USB interface.
Last edited by Colin Mac; Jul 19th, 2009 at 8:45 am.
RS-422 or RS-485 would be an appropriate serial connection. Handles distance. Since it sounds like you're putting a processor (may I recommend a PIC) directly attached to the sensor(s) you may consider putting an LED on an output driver as well. You can self test by toggling the LED on and off and monitoring the input sensor.
Last edited by MosaicFuneral; Jul 20th, 2009 at 4:41 pm.
"Jedenfalls bin ich überzeugt, daß der Alte nicht würfelt."
"I became very sensitive to what will happen to all this and all of us." -Two geniuses named Albert
"I became very sensitive to what will happen to all this and all of us." -Two geniuses named Albert
![]() |
Similar Threads
- Good books on Shell Programming/Perl (Perl)
- Shell Programming (Shell Scripting)
- Programming (C++)
- Professional web design and programming services (Post your Resume)
- Where to get started with Web Programming (IT Professionals' Lounge)
- Programming in Linux? (*nix Software)
- Efficient Programming (Computer Science)
- New To Programming = ME!! (C++)
Other Threads in the Computer Science Forum
- Previous Thread: Most predictable programming language
- Next Thread: FYP Telecommunication Software
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bizarre bletchleypark blogging business cern codebreaker compiler computer computers computerscience computertrackingsoftware connect conversion csc dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy floatingpoint foreclosure foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment humor ibm idea ideas internet iphone ipod itcontracts jobs kindle laser laws lsmeans mainframes marketing mobileapplication msaccess nano netbeans networking news os p2p piracy piratebay principles programming rasterizer research sam-being-cute sas science security sex simulation software spying stephenfry study supercomputer supercomputing sweden technology textfield turing turingtest two'scompliment uk virus ww2





