ultrasonic roof box sensor with stamp
b00037402
Posts: 4
Hi all,
I have begun a project for college, for a system which detects low obstacles for a vehicle roof box. I have the basic concept drawn out and understand the idea of how it will work. The problem I have is I am completely new to programming and dont know where to start. I dont want anyone handing to me on a plate, but would appreciate some directional idea's. My lecturer has given me a BS2 Rev j on an educator board. I dont have any code written yet as I am so new to programming. I do have some basic electronics experience and can recognise pin locations etc.
I have begun a project for college, for a system which detects low obstacles for a vehicle roof box. I have the basic concept drawn out and understand the idea of how it will work. The problem I have is I am completely new to programming and dont know where to start. I dont want anyone handing to me on a plate, but would appreciate some directional idea's. My lecturer has given me a BS2 Rev j on an educator board. I dont have any code written yet as I am so new to programming. I do have some basic electronics experience and can recognise pin locations etc.
Comments
(put pencil to paper or use a 'whiteboard', take a pic with your cellphone, post it as an attachment)
(1) Apparently ultrasonics will not work.
(2) Lasers will probably get you into trouble with the Feds.
(3) Visible light is too prone to noise.
(4) How do you differentiate between a low overpass and a tractor-trailer?
Also, does the signal power change according to your speed? And I've seen roads that dip under the overpass -- you'd get warnings until your vehicle starts to take the dip.
Or maybe it's a learning experience: how to connect an ultrasonic transducer to the Stamp...
--Rich
The ultrasonic distance detector (PING) should work fine for a model. The existing demo software is designed for a particular I/O pin, but you could easily modify the program to make two measurements, one using one I/O pin and the other using another I/O pin ... to use two different PING sensors.