Sign in

username:

password:



Not a member?

Search hc11



Search tips

Subscribe to hc11



Ads

Discussion Groups

Discussion Groups | M68HC11 | code for traffic signal contol with level sensors for m68hc11.........

Technical discussions about Freescale Microcontrollers: M68HC11. (Freescale Semiconductor is a Subsidiary of Motorola).

code for traffic signal contol with level sensors for m68hc11......... - shivaprasad hanchate - Dec 8 19:36:00 2004


hello,

i require a code for traffic signal control with level sensors using
M68hc11 micro controller . i am in need of this code if any body
have the code then please send it .

your's friend
shiva prasad hanchate






(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )


Re: code for traffic signal contol with level sensors for m68hc11......... - bart homerson - Dec 8 21:10:00 2004

Wow! Two traffic signal questions in the same day! You two must be in the same class. I assume that the level sensors are measuring traffic congestion, and not, let's say, rainfall! lol. if this is the case, then the code that I posted in the "files" section of this group will need to be modified in order to accomodate the "level" sensors. One might use a few Hall effect sensors for simplicity. If you used 4 sensors for every two lanes-- 4 for each direction of a two-lane road-- then you could use a 74hc595 chip to latch the data from the 8 sensors and serially send them to the 68hc11. What makes the 595 chip the perfect match for this type of setup is that they can be cascaded, so there is almost no limit as to how many one uses. I encourage both of you to put forth more effort to write your own code rather than have somebody else provide it for you. I am all for helping somebody that helps themselves, in other words, why not attempt to write the code and then post it on
the "files" section of this group for all to critique, this way you are not asking for someone else to do your homework, rather, you are putting forth some effort and in return getting it right through the cooperation of all parties involved. Take care.

LF shivaprasad hanchate <> wrote:

hello,

i require a code for traffic signal control with level sensors using
M68hc11 micro controller . i am in need of this code if any body
have the code then please send it .

your's friend
shiva prasad hanchate

Yahoo! Groups SponsorADVERTISEMENT ---------------------------------
Yahoo! Groups Links

To
---------------------------------





(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )

Re: code for traffic signal contol with level sensors for m68hc11......... - shiva prasad hanchate - Dec 8 21:18:00 2004

hello
i am trying for the code if i could get some then i
can check were i am going wrong that is why i asked
for the code ... not putting my efforts and asking is
waste for me and my capability. thnx for ur suggestion
.....
once again thnx for ur reply waiting for ur reply
take care bye.... --- bart homerson <> wrote:

---------------------------------
Wow! Two traffic signal questions in the same day!
You two must be in the same class. I assume that the
level sensors are measuring traffic congestion, and
not, let's say, rainfall! lol. if this is the case,
then the code that I posted in the "files" section of
this group will need to be modified in order to
accomodate the "level" sensors. One might use a few
Hall effect sensors for simplicity. If you used 4
sensors for every two lanes-- 4 for each direction of
a two-lane road-- then you could use a 74hc595 chip to
latch the data from the 8 sensors and serially send
them to the 68hc11. What makes the 595 chip the
perfect match for this type of setup is that they can
be cascaded, so there is almost no limit as to how
many one uses. I encourage both of you to put forth
more effort to write your own code rather than have
somebody else provide it for you. I am all for
helping somebody that helps themselves, in other
words, why not attempt to write the code and then post
it on
the "files" section of this group for all to
critique, this way you are not asking for someone else
to do your homework, rather, you are putting forth
some effort and in return getting it right through the
cooperation of all parties involved. Take care.

LF shivaprasad hanchate <> wrote:

hello,

i require a code for traffic signal control with level
sensors using
M68hc11 micro controller . i am in need of this code
if any body
have the code then please send it .

your's friend
shiva prasad hanchate

Yahoo! Groups SponsorADVERTISEMENT ---------------------------------
Yahoo! Groups Links

To
---------------------------------
Yahoo! Groups Sponsor ADVERTISEMENT ---------------------------------
Yahoo! Groups Links

To =====
===================================
TRUTH IS ABNORMAL THAN IMAGINATION
You See things and say, 'why?
But I dream things and say. 'Why not?

SHIVAPRASAD HANCHATE
1 AVENUE ROAD
SHELTON
STOKE-ON-TRENT- ST4 2DT
UNITED KINGDOM.
CALL ME ON 07821330175.
HAVE A NICE DAY
=================================

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony





(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )

Re: code for traffic signal contol with level sensors for m68hc11......... - Scott Grodevant - Dec 9 9:13:00 2004

Hi all and LF,

Nicely said.

Scott bart homerson <> wrote:
I encourage both of you to put forth more effort to write your own code rather than have somebody else provide it for you. I am all for helping somebody that helps themselves, in other words, why not attempt to write the code and then post it on
the "files" section of this group for all to critique, this way you are not asking for someone else to do your homework, rather, you are putting forth some effort and in return getting it right through the cooperation of all parties involved. Take care.

LF shivaprasad hanchate <> wrote:

hello,

i require a code for traffic signal control with level sensors using
M68hc11 micro controller . i am in need of this code if any body
have the code then please send it .

your's friend
shiva prasad hanchate

Yahoo! Groups SponsorADVERTISEMENT ---------------------------------
Yahoo! Groups Links

To
---------------------------------
Yahoo! Groups SponsorADVERTISEMENT ---------------------------------
Yahoo! Groups Links

To
---------------------------------





(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )

Re: code for traffic signal contol with level sensors for m68hc11......... - Jim Peterson - Dec 9 10:39:00 2004

Shiva,
Let me add my support and comments, Bart and Scott both address an
important point.

What you are asking for the end result (programming code) of a system
that has no clear definition as yet. How many lanes of traffic will be
controlled?, how many sensors will be on each lane? Will there be
turning traffic? Will there be more than one intersection? is gridlock a
factor? (that is can traffic back up between intersections until no
movement can occur for cross traffic?).

More importantly is this intended to be a "real life" model? or lighting
for a model train layout.

Essentially your question is much to vague to program a solution to.
There is a resource to use here to get guidance for this kind of
problem, but we need to know what the problem is.

Good luck,
Jim

Scott Grodevant wrote:

>Hi all and LF,
>
>Nicely said.
>
>Scott >bart homerson <> wrote:
>I encourage both of you to put forth more effort to write your own code rather than have somebody else provide it for you. I am all for helping somebody that helps themselves, in other words, why not attempt to write the code and then post it on
>the "files" section of this group for all to critique, this way you are not asking for someone else to do your homework, rather, you are putting forth some effort and in return getting it right through the cooperation of all parties involved. Take care.
>
>LF >shivaprasad hanchate <> wrote:
>
>hello,
>
>i require a code for traffic signal control with level sensors using
>M68hc11 micro controller . i am in need of this code if any body
>have the code then please send it .
>
>your's friend
>shiva prasad hanchate >
>
>Yahoo! Groups SponsorADVERTISEMENT >---------------------------------
>Yahoo! Groups Links
>
> To >
>--------------------------------- >
>Yahoo! Groups SponsorADVERTISEMENT >---------------------------------
>Yahoo! Groups Links
>
> To >
>--------------------------------- >
>Yahoo! Groups Links





(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )

RE: code for traffic signal contol with level sensors for m68hc11......... - Bob Furber - Dec 9 22:09:00 2004

Shiva,

Let me expand on what Jim Peterson said.

> What you are asking for the end result (programming code) of a system
> that has no clear definition as yet...

<soap_box>

Problem solving 101
Step 1: Define the problem.

I hate to say it, but you have failed miserably. Moreover, if you don't
improve, you will be doomed to be a grunt. You will have to depend on
someone else telling you what to do and how to do it, and then that someone
else witt have to check if you have done it correctly. Your marketability
will be dismal.

By far the most important step in any project is what is called Requirements
in software engineering. It is often the most neglected step. And neglecting
this step costs tons of time and money. Yes, Shiva, you are not alone.

Study after study has determined that most software developers spend most of
their time rewriting, fixing or modifying existing software and the most
common reason for this is related to Requirements: Flawed Requirements,
ambiguous Requirements, incomplete Requirements...

On the positive side: Get the requirements right, and the battle is more
than half won. Concepts start to flow and the design and implementation
follow smoothly. And you know that the job is done and done properly when
every requirement is met.

Value Requirements and your career will skyrocket. Ignore them and expect to
remain a grunt until you retire.

"If a man knows not what harbor he seeks, any wind is the right wind."
- Seneca
</soap_box>

Bfn,

Bob Furber




(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )