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.

Time delay

Status
Not open for further replies.

skiffer

New Member
Hi,
I am just revisiting hobby electronics after twenty years or so!
I am looking to design a circuit which will measure and display the time delay between two switches being activated. This will be fractions of a second.
Any advice or guidance would be great.
Thanks,
'skiffer'
Bonnie Scotland
 
Guessing that after 20 years, a microcontroller would be a little ambitious, although a one chip solution, and considerable better/simpler/accurate solution.

A few more details are needed, as it'll make a difference as to how to tackle this project with logic chips. How precise and accurate are you looking to obtain? You'll need a clock source to drive a counter. The frequency will be related to the precision. What sort of display are you looking at, and how many digits? Just remembered seeing an LCD counter module some place... Make things simpler. Could you just use a stopwatch? They got them at Walmart for $5.96 USD, 1/100th second...
 
Harvey, the first thing I ever did involving electronics was program a micro controller, and I knew nothing at all when I started. (ahh yes, my first blinking LED I remember it well) PIC or AVR(my personal choice) doesn't really matter, pick a cheap general purpose device 8-40 pins in a DIP package to start cold, you just need a breadboard and some jumper wire, and whatever else you can scrounge from other defunct electrical equipment. With modern MCU's what you can do with them is truly limitless, because once you get used to them and their limitations you'll realize you need support circuitry to drive real world loads and you'll have to learn how those work. I wouldn't discount discrete logic for the life of me, but MCU's are really trival to work with nowadays, and getting up to speed on current trends is a good way to get back into electronics after 20 years I'd think.

So my suggestion would be to carefully define what you're getting back into electronics for. Fun, learning, idle time? You could pick right up wherever you left off with your knowledge of electronics but you might be missing starting with what's currently going on, advances over the last 20 years are truly staggering. Just don't be afraid to try something new.

People here tend to tackle a problem head on and full bore before understanding the intent of the original poster. So it's really up to you. You can find on the net equally well how to make a stop watch clock such as you describe using both discrete logic with a basic watch crystal to get you 1/100ths of a second, or a 20mhz+ MCU to get you 50 nanosecond accuracy.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top