NEED TO GRADUATE - SENIOR PROJECT with BASIC Stamp
coco
Posts: 4
Hello !
I have never used PBasic language but for my senior project, I'm trying to slimulate a RADAR device.
I have·:
the·Basic Stamp 2 Module
the EmbeddedBlue Transceiver AppMod
the Board of education
the SRF08 Ultrasonic Range Finder
My intent is to·detect and locate a moving object.
·
I have never used PBasic language but for my senior project, I'm trying to slimulate a RADAR device.
I have·:
the·Basic Stamp 2 Module
the EmbeddedBlue Transceiver AppMod
the Board of education
the SRF08 Ultrasonic Range Finder
My intent is to·detect and locate a moving object.
·
Comments
Be sure to download and read the following text books -- they will help:
* What's A Microcontroller?
* Basic Analog and Digital
* Applied Sensors
* Industrial Control
All are free (as PDFs) and can be found on our web site.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Post Edited (Jon Williams) : 10/29/2004 8:44:10 PM GMT
Just bring in some very clever code, HE will have to explain this code to his instructor )))))))))))
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Klaus
But once again, the project has to be done in PBasic.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Seems like you will also need a servo on which to mount your SRF04 so you can make a sweep.
This should be an easy project.
Something like this:
DO:
Rotate servo a few degrees
Ping ultrasonic sensor
Get results
Send them via RF to PC (servo angle and distance to object)
Increment Servo position
LOOP
For the PC-side display, you might want to look at StampPlot Pro (free educational download) or simply use the DEBUG terminal with asterisks to show distances to objects. There's also a cool data logging program StampDAQ that imports data into Excel real-time (well, as real as serial gets). You could then create a scatter diagram in Excel to show the data.
And you made another post about USB. You could send the data into the PC via USB if you desire.
This is a nice project, feasible and interesting. You should have no trouble getting it put together. Build it one step at a time and ask us specific questions along the way.
Ken Gracey
Parallax, Inc.
The manual tells me to connect the SCL and SDA lines to pull-up resistors connected to +5v.
Do I use jumper wires.
Im using a basicStamp2 module.
Thanks for your feedback
Have you seen this:
http://www.robot-electronics.co.uk/htm/srf08stamp.shtml
Ken Gracey
If the schematic on the above link doesn't come up at first, hit 'refresh' on
your browser.
If so, then a standard servo will be just fine (come in 90deg and 180deg rigs).· If you want continous....then you'll have to buy a modified servo (or buy a premod'd one) that will do continuous 360 rotations.
Of course, this brings another problem.· you need to run at least 3 wires to the SRF sitting on top of this servo.· So....unless you are only going to do a couple rotations one way...then reverse directions to allow the wires to un-wind....then you'll want to look at getting some sort of slipring apparatus (or make your own).· The sliprings are just little metallic wires sitting in metal grooves that are attached to the shaft and rotate.· The signal goes through these grooves to the wire spring-like thing and down the normal paths from there on.· There are different ways of achieving the same thing (some use little ballbearings in a cup that rolls along a metal path to do the same thing....).
As far detecting moving objects....well....you'll need to keep track of your steps inorder to ascertain the direction you are ranging.· As the servo will advance 2.5deg (depending on your servo) with each pulse from the stamp...you'll have to know where the SRF is pointing in the first place to know your starting point....then for each pulse you add 2.5 to your previous direction value.
Tracking an object that isn't necessarily the closest thing to you might be tricky.
I'd say, use one of those CMUcams and the radar.·· Use the radar to plot a template of the area...any 'new' echo's would be a case to have the CMUcam turn towards it and use the pixel tracking in it to track your object that way!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
http://www.geocities.com/paulsopenstage
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."