|
Components and Circuits For discussions about component types, alternatives and availability, circuit configurations and modifications etc. Discussions here should be of a general nature and not about specific sets. |
|
Thread Tools |
9th Sep 2011, 2:47 pm | #101 |
Dekatron
Join Date: Jul 2007
Location: Evesham, Worcestershire, UK.
Posts: 4,244
|
Re: 4 Digit Up/Down Counter IC?
|
9th Sep 2011, 4:12 pm | #102 | |||
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Mark,
I didn't think it was too bad! I haven't examined it very closely yet, I'll find out when I do! Quote:
Quote:
Quote:
Regards, Dave. |
|||
9th Sep 2011, 4:27 pm | #103 | |
Dekatron
Join Date: Jul 2007
Location: Evesham, Worcestershire, UK.
Posts: 4,244
|
Re: 4 Digit Up/Down Counter IC?
Quote:
But thanks for making me look more closely; I hadn't spotted that it uses a DC supply for the preamp valves. Very interesting Either would be fine; the 12VAC would mean the voltage regulator runs a bit warm, but there's no shortage of metal to bolt it to. The 6V3 might be a little on the low side, but the PIC is happy down to quite low voltages, so you'll probably get away with it. Suck it and see For the PSU and power-fail detect, the circuit used for my A4 amp is a good starting point (ignoring the capacitive dropper, of course, and drop the 10V Zener too). The IC would need to be a bit beefier than the 78L05, and you might want a larger smoothing capacitor. But that can be thought about later... EDIT: Just looked again; the AC windings are 20-something volts, so disregard my mention of the 12VAC. And I'd be disinclined to use the 12V DC rail, because that is only 12V because 24V is being divided down by the valve heaters. The load added would upset the balance of the heater voltages (and possibly induce noise into the preamp). Looks like we should use the 6V3 AC winding |
|
9th Sep 2011, 4:59 pm | #104 | ||||
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Mark,
Quote:
Quote:
Quote:
Quote:
Regards, Dave. |
||||
9th Sep 2011, 9:07 pm | #105 |
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Mark,
I was looking at the recorder's service manual and noticed that the counter is 3 digits, not 4 as I thought! What threw me was that a Revox B77 I have, does have a 4 digit counter, so I assumed the G36 was the same It's been so long since the recorder had one fitted that I'd forgotten it was only 3! The 30mm x 7mm dimension applies the the 4 digit one, the 3 digit one measures about 22mm x 7mm. Also, the 3 digit one increments by one digit for about two revolutions of the spool. With a 2-segement encoder, that would give 4 pulses per digit, so that would need to be divided by four to give a reading equivalent to the mechanical counter. If I can obtain a 4 digit seven segment display that will fit in the 22mm x 7mm 'window', then I'll still use 4 digits, otherwise it will be 3 digits. Regards, Dave. |
9th Sep 2011, 9:46 pm | #106 |
Dekatron
Join Date: Jul 2007
Location: Evesham, Worcestershire, UK.
Posts: 4,244
|
Re: 4 Digit Up/Down Counter IC?
Hi Dave,
No problem; 3 or 4 digits is easy (it's probably not worth modifying the code - just don't wire up the 4th unit). Dividing down is also easy - just let me know what you want (or have a go yourself ) Good luck find suck small 7-segment displays Mark |
9th Sep 2011, 11:42 pm | #107 | |||
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Mark,
I thought it probably wouldn't make a lot of difference. Quote:
Suppose the count had reached (1)000 for the first time, the hidden count would be 1000, then every time the hidden count incremented by 1 (every 1000 counts), the visible count would be 000 but the hidden count would be: 2000, 3000, 4000, etc. up to (1)0000, equivalent to 0000. That doesn't seem right to me, or am I overlooking something? Quote:
Quote:
Regards, Dave. |
|||
10th Sep 2011, 12:01 am | #108 | |
Dekatron
Join Date: Jul 2007
Location: Evesham, Worcestershire, UK.
Posts: 4,244
|
Re: 4 Digit Up/Down Counter IC?
Quote:
(0)998 (0)999 (1)000 (1)001 (1)002 ... (4)998 (4)999 (5)000 (5)001 (5)002 It's absolutely fine - honest. The old mechanical counter would have worked just as well if you'd covered up the left hand digit Mark |
|
10th Sep 2011, 12:40 am | #109 | |
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Mark,
Quote:
Regards, Dave. |
|
10th Sep 2011, 1:17 am | #110 |
Dekatron
Join Date: Jul 2007
Location: Evesham, Worcestershire, UK.
Posts: 4,244
|
Re: 4 Digit Up/Down Counter IC?
I can, of course, change the code for you, but I honestly don't understand your worry. The count rate and tape length determine how high the count will reach. Having the 4th digit invisibly counting away in the PIC will make no difference to the count rate. If you worry that the counter will exceed 999 on a single tape, we need to reduce the count rate, not remove the code for the 4th digit. You decide the count rate, based on the number of "slots" on your spinning disc. I can, of course, divide the count down for you if required...
Personally though, I still wouldn't worry. My first car had apparently only done 15,000 miles when I first got it. By simply looking at it, it was clear that it had really done 115,000 (old 5 digit odometer). In the same way, you can look at the spools to see where you are. It's a shame you don't have the old counter, because you'd be able to see if it "overflowed" with a full spool. As it is, although you might know the rotational speed of the reel table, do you know how that correlated to count rate with the original counter? Cheers, Mark |
10th Sep 2011, 3:15 am | #111 | |||||
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Mark,
Quote:
Quote:
Quote:
Quote:
Quote:
Why not pretend that I never mentioned it and leave things as they are? Sorry for the drama! Regards, Dave. |
|||||
10th Sep 2011, 9:50 am | #112 |
Dekatron
Join Date: Jul 2007
Location: Evesham, Worcestershire, UK.
Posts: 4,244
|
Re: 4 Digit Up/Down Counter IC?
No problem - all understood
Mark |
12th Sep 2011, 5:23 pm | #113 |
Dekatron
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
|
Re: 4 Digit Up/Down Counter IC?
To get the count to survive power failures, you will need a large electrolytic capacitor across the PIC, big enough to store enough energy to keep it going long enough to write the E²PROM, and wired via a diode so the only thing that can draw any current from the cap is the PIC itself; and an input, driven from the power transformer, upstream of the rectifier and smoothing can, to indicate that mains is present. After a few missed mains cycles, but before the capacitor is too depleted to keep the µp alive, write the present count value to E². On power-up reset, read the value from E².
If you have another I/O line to spare, you could even assert it when all four digits are zero. This could then be used to disengage the mechanism solenoid, so providing a "memory" function as found on some VCRs.
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments. |
12th Sep 2011, 11:45 pm | #114 |
Heptode
Join Date: Jan 2004
Location: Blyth, Northumberland, UK.
Posts: 858
|
Re: 4 Digit Up/Down Counter IC?
If its any use to you, I can offer a PCB with 3x HDSP-F303 (+2x HDSP-F503) Fig-8 displays, these are about 9mm wide by 13mm tall each. They will be wired in parallel on the PCB, but they could be removed or the PCB could be cut down to suit.
Yours FOC, if any use. Dave. |
13th Sep 2011, 1:29 am | #115 | |
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Dave,
Quote:
I'm afraid they would not be suitable for my application because the are too large, the actual display size is 10mm high but the 'window' through which they would be seen is only 7mm high. Also, they're yellow coloured, which I don't particularly care for! Maplin have a suitable display which is 7mm high and is very reasonably priced, so I may get those. Thanks again for your offer. Regards, Dave. |
|
13th Sep 2011, 7:57 am | #116 |
Heptode
Join Date: Jan 2004
Location: Blyth, Northumberland, UK.
Posts: 858
|
Re: 4 Digit Up/Down Counter IC?
No problem, I just happened upon them in a junk box last night, I thought they might be a little too large.
Dave. |
19th Sep 2011, 12:56 pm | #117 |
Octode
Join Date: Mar 2006
Location: Watford, Hertfordshire, UK.
Posts: 1,270
|
Re: 4 Digit Up/Down Counter IC?
Just found the device I initially wanted to recommend, it is 6 digit though and needs an external battery for retention but at 5uA should last for quite some time!
It is the TRUMETER 7000AS avaliable here for less than £14 +VAT. http://www.countersales.co.uk/produc...FcMKfAod_0C50Q The info sheet on it is at: http://www.countersales.co.uk/datash...SDatasheet.pdf I have used these as timers in the past, feeding them with a gated stream of 100ms pulses then resetting after a read time before gating again. This was for battery operated equipment. Not used the 7000AS Bi-directional model myself but I am tempted to get one myself for experimenting with. Les
__________________
Whether the Top Cap is Grid or Anode - touching it will give you a buzz either way! |
19th Sep 2011, 8:27 pm | #118 |
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: 4 Digit Up/Down Counter IC?
Hello Les,
Thanks for the information about the Truemeter counters - £15.84 plus carriage, whatever that is! I don't think the cost difference between one of those counters and doing it with a PIC is going to be very much, so no great advantage there. I will be using only three digits (that being all that can be seen through the counter 'window'), so half of one of those counters would be wasted! Also, the digits are quite close together which might make fitting it with only three digits showing difficult, as part of the fourth may be visible, if the digits weren't sloping, it would be a bit easier. Doing it with a PIC would eliminate the need for a battery to retain the count, I realise the Truemeter current drain is very small, but I would rather not use a battery, if at all possible. Overall, I think doing it with a PIC will be better, and it leaves open options for other features, which wouldn't be the case with one of the Truemeter counters. Thank you for taking the trouble to provide that information. Regards, Dave. |
7th Apr 2013, 12:57 am | #119 |
Retired Dormant Member
Join Date: Apr 2013
Location: Stralsund, Germany
Posts: 1
|
Re: 4 Digit Up/Down Counter IC?
Hello Amraduk,
I just came across this thread and I had the same idea with my Revox reel to reel machine. A repair service for Revox tape maschines here in Germany is selling such a counter based on a PIC 16F628 - unfortunatley quite expensive (119 euros). The rotations of the capstan motor are detected by two IR-phototransistors and the value of the 4digit counter is stored in the eeprom of the PIC when the power is switched off (using a large cap, as described here in ajs_derby's posting). http://www.revox-bandmaschine.com/zaehler_77.htm To use this counter instead of the mechanical one you have to enlarge the window on the front panel, what I wouldn't do. But I found very tiny 0.2 inch LED displays (what might interest you too) here: http://www.kingbright.com/product_ma...20050525051040 What about your counter? Is it finished and working yet? Best regards, Bernd |
10th Apr 2013, 10:25 am | #120 |
Tetrode
Join Date: Aug 2010
Location: Andalusia, Spain
Posts: 74
|
Re: 4 Digit Up/Down Counter IC?
Hi
Not sure about the input required but I have a ZN1040E if you want it? http://www.harrisonelectronics.co.uk...ts/ZN1040E.pdf Chris |