Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Divider circuit

Status
Not open for further replies.

DigiJock

New Member
Hi everyone,

I am trying to calculate speed electronically by dividing distance(d) "always constant" by time(t) - variable, the output should be a 3-digit number with accuracy +/- 5%. The input parameters: time is a single BCD digit (4-bit), and distance is a 3-digit BCD number (12-bits).

I am not allowed to use any kind of PLD's, however, a hint was given to us; a counter should be used to count the number of times that (t) can be subtracted from (d) while the output is positive. In other words, I just need to know how to subtract t from d (and put it in a loop).

Please let me know if you have any ideas on how to approach this problem

Thank you
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top