A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » General Hardware
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

reg microcontollers



 
 
Thread Tools Display Modes
  #1  
Old December 13th 03, 02:22 PM
siva
external usenet poster
 
Posts: n/a
Default reg microcontollers

hello all,
I am new to this group.i planned to do microcontroller
project . its called collision dectection
if suppose 2 cars are moving the same side when the distance reduces
less than 1m some device to tell the driver
that reduce the speed.
i am Engg student .i need to which type of sensors i have to use and
i need to know how to start this iam using keil version .
planing to do in embedded C. iam expecting this group members help to
complete this successfully.
  #2  
Old December 14th 03, 03:54 AM
kdogksu
external usenet poster
 
Posts: n/a
Default

(siva) wrote in message . com...
hello all,
I am new to this group.i planned to do microcontroller
project . its called collision dectection
if suppose 2 cars are moving the same side when the distance reduces
less than 1m some device to tell the driver
that reduce the speed.
i am Engg student .i need to which type of sensors i have to use and
i need to know how to start this iam using keil version .
planing to do in embedded C. iam expecting this group members help to
complete this successfully.


I don't know a lot about this, but here's how I see it. You will
obviously need some hardware to detect the distance of the other
vehicle. This could be sonar, optics, and I'm not sure what else.
Someone else will have to help you there.

The output from that system could be either analog or digital. If
it's something like an analog voltage, you will need to perform an
analog to digital conversion on it. This will give you a number that
is the same fraction of the maximum value as the input voltage is of a
reference voltage value (got that?). Once you've got that value (or
if the input signal was digital to start with), then you simply need
to examine that value to see if it indicates that the target is less
than one meter away.

One you've made that determination, you will just have to use an
output pin to send a signal, e.g. high meaning "the vehicle is too
close" and low meaning "no problem". This can enable an LED or
whatever your signal to the driver is.

You will have to set this whole thing up to check at regular
intervals. This could be done by simply making a C loop, which is
inelegant, but simple. A better way to do it would be to have a
time-based interrupt cause the CPU to execute the function that
contains the code for the distance check.

The hardware sounds to me like the more complex part of this
project... the C shouldn't be too bad (but then I'm more of a software
guy). Good luck!
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.