Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 51
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Adam Munich (31)
Alfredo Texacca (61)


Next birthdays
05/02 Adam Munich (31)
05/02 Alfredo Texacca (61)
05/04 Matthew T. (36)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

How to control a counter with separate start and stop pulses?

1 2 
Move Thread LAN_403
Reaching
Sat Apr 22 2006, 08:36PM Print
Reaching Registered Member #76 Joined: Thu Feb 09 2006, 10:04AM
Location: Hemer, Germany
Posts: 458
okay, i almost finished my new project, but now i run into problems.
i finished my counter, my 1mhz crystal oscillator and my photogates, everything is fine . but now i dont know how to wire the flip flop or something to get the counter started when the projectile passes the first photogate, and to get it stop when it passes the second photogate. im not a pro in digital electronics and especially not in flip flops, so i need your help.

please dont come up with, build it with a pic, or measure it with your soundcard (i have no pic yC´s and not the equipment to prog it, and i have no computer in my garage))
Back to top
rupidust
Sat Apr 22 2006, 09:41PM
rupidust Banned
Registered Member #110 Joined: Fri Feb 10 2006, 12:23AM
Location: Banned City
Posts: 85
I want to see thee schematic, mostly which counter IC is being used. I have not done flip-flop and counter ICs in years, but can use a refresher experience.

Yeah I know, no PIC. Still, here is a chrono with pads ready to except photogates, led indicator, switch, power, and RS232 interface wires. Every measured time is stored into EEPROM and can be later retrieved so that chrono can take readings either attached or not atttached to computer. Also a history of shots upto 10 is saved in EEPROM and constantly update like a rolling counter.


Back to top
Reaching
Sat Apr 22 2006, 10:11PM
Reaching Registered Member #76 Joined: Thu Feb 09 2006, 10:04AM
Location: Hemer, Germany
Posts: 458
yeah, thats quite impressive but its does not answer my question.

i use a counter decade of 6 cd4026 cmos ics , oscillator is a redy made 1,0000000mhz crystal ocillator
Back to top
...
Sat Apr 22 2006, 10:19PM
... Registered Member #56 Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
Ok, so do you have any JK flipflops?

If you do I believe it is a pretty simpe thing, you just take the 1mhz signal, feed it into the clock input, hook up one photogate (use it as half a resitave divider to get a signal that you can feed directly into the flip-flop) to the set and the other one to the reset...

I think that was all you need to do, I haven't looked over my notes in ages...
Back to top
Reaching
Sat Apr 22 2006, 11:42PM
Reaching Registered Member #76 Joined: Thu Feb 09 2006, 10:04AM
Location: Hemer, Germany
Posts: 458
yes, i have the 74hc109 on hand, i´ll try it tommorow to see if it works, thanks
Back to top
...
Sun Apr 23 2006, 12:42AM
... Registered Member #56 Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
Looking at my notes I realised that I am more of a genius than I thought wink

I used a quad nand gate chip, with one half wired as a rs flipflop. The set/reset was the photogates, and the output was wired to the reset of the counter. If you can't use the reset of the counter then you could use one of the nand gates to gate the signal from the clock; and you still have a free gate smile I also wired a hard reset button from the reset input to ground so I could make it stop counting if it didn't trigger proberly (since there was like 3k in series with the photogate I didn't have to worry about shorting everything out, you could add a 1k resistor in series with the reset input of the gate is you went for the opamp method)

Just putting more options on the table...
Back to top
Reaching
Sun Apr 23 2006, 09:35PM
Reaching Registered Member #76 Joined: Thu Feb 09 2006, 10:04AM
Location: Hemer, Germany
Posts: 458
hehe, thank you very much, i got it and it works just fine cheesey
Back to top
rupidust
Sun Apr 23 2006, 09:45PM
rupidust Banned
Registered Member #110 Joined: Fri Feb 10 2006, 12:23AM
Location: Banned City
Posts: 85
Good. What did you do to get it working? Is it working for both long and short length projectiles or just long length projectiles? Long meaning the projectile length is longer than the distance between the two detectors and short meaning the length is shorter than the detectors.

Is this what you are doing or did? This schematic shows how a long length projectile will work, but a short length projectile causes the counter to only take a measurement of Gate1. Or did you use another method?
http://www.geocities.com/rupidust1/img-7segcounter.gif
Back to top
...
Mon Apr 24 2006, 12:23AM
... Registered Member #56 Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
My design was designed for 'short' length projectiles... Just as long as you use a flip flop that triggers on the rising edge it should work for all of them...

I don't see why you would want to use the sensors so close that they are shorter than the projectile, wouldn't that give really crappy accuracy?
Back to top
rupidust
Mon Apr 24 2006, 01:04AM
rupidust Banned
Registered Member #110 Joined: Fri Feb 10 2006, 12:23AM
Location: Banned City
Posts: 85
... wrote ...

I don't see why you would want to use the sensors so close that they are shorter than the projectile, wouldn't that give really crappy accuracy?

Yes and no. That depends on projectile length and time scale. Some projectiles are > 10 cm long. In the case of a 10 cm distance between sensors, the accuracy would not be crappy sence the time scale is in microseconds. The longer the distance between sensors and the smaller the time scale, the better the measured time. Projectile length makes no difference.
Back to top
1 2 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.