PDA

View Full Version : I'm in desprite need of school project help


ladydarkness
November 24th, 2006, 01:36 PM
Alright well this isn't for exams or anything I need help with my project... I'm in grade 12 but this is a grade 11 course and since most of you have way more experance than me perhaps you can help

I need to draw a diagram, I know what I'm talking about and I know how everything works but when it comes to putting it on paper my brain seems to sizzle and fry..... well here is the project..

A three car race track has sensors in each lane at the finish line. As the cars cross the finish line their respective sensors respond and send a signal to a digital circut. The three "finish" signals occur in the same order that the cars finish in. The digital circut has a 3x3 matrix of nine LED's which indicate the placement of each car.



You're hired by the race track committee to design and build a digital circut that will operate as described above.

The LED indicators must be laid out as shown on the picture.

A push button resets the circut and extinguishes all lit LED's.





Design Hints:

*The signals from the track sensors are 10mS HIGH pulses. One pulse per race.

*Each LED is lit by an R.S. flip-flop.

*A two bit binary counter will start at zero and be incremented every time any track pulse occurs.

*Gating circuts are advised

*remember, each track signal only appears for every race


http://img62.imageshack.us/img62/9506/racetrackproblemlz8.jpg


Now what I figured out is:

I'm going to need 3 monostable multivibrators (one-shot multivibrators), 9 7474 (dual D flip-flop - positive edge triggered with preset and clear) RS-flip flops for each LED, and 7476 (dual j-k flip-flop with preset and clear)

also, the counter will count from 0 to 2 and will then be reseted and this will
also reset RS filpflop and hence my LED.

Let me name First postion in track A as A1, sceond position as A2 and
so on. 10mS high pulse for track A be denoted by signal A_HP.

Suppose A_HP goes high => some car completed track A. Glowing of which
LED in A will depend upon the state of LED of track B & C.


also i have to understand how the chips work well what i know is with the astable multivibrator (clock, free running) gives outputs continuous stream of pulses

Also my teacher was going on about a circut signal "race" condition.. I dident understand a lot of that except It exists when an active signal needs to activate 2 or more other ccts. A "race" condition must be avoided apperantly so he says...

sigh thats all I can really think of right now...

But please I really need help on this circut drawing

ladydarkness
November 24th, 2006, 01:54 PM
some help this site is...:joyman:

scuba_dave
November 24th, 2006, 03:18 PM
18 minutes you wait for an answer & post this??!! :thumpdown:

mdshunk
November 24th, 2006, 03:19 PM
some help this site is...:joyman:
This is an electrical wiring site, primarily. You know, like wiring your house. This isn't an electronics site. Sorry we were of no help to you. I'll immediately refund your membership dues. The forum area in which you posted your question is for help with exams, as in the type an electrician takes to get his license.

Mr T
November 25th, 2006, 07:02 AM
some help this site is...:joyman:
I normally just move on when I encounter rude posts like this, but I'll be nice and get you started at least.

Sounds like someone needs a Cub Scout Pinewood Derby track built....The good ol' days...

At each LED you want a RS flip flop. Hook each LED to the Q output of the flip flop.
Use your reset button to reset the flip flops.

Use a OR gate from all the sensors to advance your counter. (00 is idle mode, 01 is for determining first place, 10 is second, 11 is third.)

You want to use a series of AND gates and inverters from the counter output and your sensors to trigger the appropriate flipflps. You will be using quite a few of those. Your LED's are a matrix, use the counter output as 1 dimension, and yoru sensors as the other. Once your circuit is laid out you may be able to combine reduce your gates.

If you acutally are building the cirucuit you need to consider propagation delay and account for it.

We didnt play with this stuff till mid college, must be an advanced high school. Please keep in mind that this is a 100% volunteer driven site. Most of us are at still at our primary jobs at 4:36. Some of use work several jobs too (I pulled about 16.5 hours yesterday). That is in addtion to our family time too. We are glad to help, just keep in mind that we also have other obligations. There are sites out there that promise speedy answers but you pay for it! Good luck!

ladydarkness
November 25th, 2006, 08:23 AM
would it look something like this?
http://www.geocities.com/gpg212/racetrack.GIF

Mr T
November 25th, 2006, 05:34 PM
Similar.. You dont need the 'or' box in the top left unless you want a circuit to enable/disable your sensors. Replace the "CD" boxes with and gates.

When your counter is at it's first count (looking for first place), you want just the 3 latches controlling first place to be enabled (via AND gates). Once that happens, the counter should advacne to the next count and the smae happens with the 2nd place gates, then it advances to the 3rd place count looking for that position.

You will need to use gates for the 2 output legs of the counter to give a single high output for each of the desired rows. If the output of your counter is '10', you need to invert the line that has the '0' input to give a 1, then AND it with the other leg that is already a 1 so you have a 1 output only when your input is '10'. You wont need to do anythign for the '11' output if you are using it.

Draw out a block diagram first of all the sections of your circuit. It will use much more logic gates then you think. Then design each block of your circuit. to give you the desired input/output to the other blocks.

Ohm1
January 4th, 2007, 10:07 PM
I guess they forgot Mr. T was the El Tech on this site! :goodnight:

Mr T
January 5th, 2007, 03:16 PM
I did too..

Ladydarkness.. If you are still here.. howd it turn out?
(hope she didnt get mad that I wouldnt do her assignment for her.. :eviltongue: I got no problem helping, but you learn nothing when someone else does it for you!)