[time-nuts] Parts (Mouser) for the PICTIC II

Richard H McCorkle mccorkle at ptialaska.net
Fri Jul 9 21:28:53 UTC 2010


Bob,
I included the option to go with a TTL output for users without a serial
port that might need to feed TTL into an internal USB converter in their
project or to drive a PC port directly with a short cable. Including the
extra pads on the board and the TTL invert flag in the code adds no cost.
But the option of adding appropriate jumpers or components allows TTL
signals of either polarity to be used with a USB converter. I am not
certain of the requirements for the different USB converters that might
be available, but having normal or inverted TTL and RS-232 signals as
options should provide enough flexibility to use a wide variety of USB
converter options. I recommend the MAX232 be installed for normal
serial port use as it will drive longer lines to a PC, with an RS-232 to
USB dongle added as a simple solution if a serial port is not available.
  I socketed all the devices on my board to simplify troubleshooting
and repair should that be required in the future. At the minimum the
PIC should be socketed to simplify reprogramming as new code is
developed. I haven't lost a single 74AC74 input chip in 3 years of
testing but a socket there is also a good idea. The XO and sample
caps should be selected for the application and desired resolution.
Three pads are provided for the sample caps so either 0.1” or 0.2”
lead spacing can be accommodated. Use ceramic NPO/COG caps
of 5% or better tolerance for best results. No additional parts will
be required during calibration.
  The 10M clock XO was selected as the default as many users have a
10M OCXO or GPSDO they may want to use as the counter reference.
In a typical GPS monitoring application where the house 1PPS is
compared  to GPS 1PPS with 1ns resolution the delay will normally
be less than 10us and a 30PPM XO will provide sufficient stability
to return accurate data. Over longer measurement intervals a higher
stability clock would be needed to insure the clock drifted less than
1 cycle over the measurement interval to insure accurate data would
be returned. For faster clocks 3x or 5x tuned multipliers or doublers
can be used to derive the counter clock from a slower source. No
clock conditioning is included on board so for accuracy over longer
measurement intervals an external high-stability TTL clock needs
to be supplied by the user.
  Use of a high stability clock is possible by using an XO for the
interpolator calibration, storing the calibration values in EEPROM,
turning off the AutoCal routine, and switching to the external source
for normal operation. If a faster external source than 10M is available
the XO and sample capacitor values should be chosen to match the
faster external rate you plan to use. The lower stability XO would be
used during initial calibration to insure frequent coincidences between
the inputs and clock as the XO drifts in frequency. As the inputs pass
thru coincidence with the clock the interpolators pass thru their min
and max limits, and the more times they pass thru the limits during a
calibration cycle the more likely the data will correctly reflect those
limits.
  Peak detection of the interpolator data over a long period (> 1 hr)
will capture the min and max limits and can then be used to determine
the offset and span of the interpolators. When a high stability timebase
and high stability sources are used long periods between coincidences
can occur. This could result in improper peak values returned over a
calibration cycle, so the AutoCal routine should either use much longer
calibration intervals to capture the peak limits or be disabled when a
high stability clock is used.
  During setup the peak detector values can be displayed continuously
and can be reset manually after an adjustment to start a new calibration
cycle. Apply two 1PPS inputs to the counter and adjust the gain
trimmers to give identical 800 count p-p spans and the offset trimmers
to center the span in the ADC range. A difference in the channel gains
will introduce an error in the final result, so a close gain match is
desired. The offsets are not as critical but centering the data in the ADC
span will provide a wider range the data can drift over temperature and
age and stay within the ADC span. A series of adjust, reset, sample,
and repeat cycles will be required to get the calibration values in the
ballpark. Allow a full calibration cycle to complete to store the values
determined in EEPROM. The counter will then use the stored values
to correct the data mathematically to remove the offset and adjust the
span for the desired gain. Once the interpolators have been calibrated
the peak detector display and AutoCal routines can be disabled and
the external high stability clock can be selected as the counter
timebase for normal operation.

Richard

> Hi
>
> A few other things to consider:
>
> The MAX 232 is an either / or with a transistor and a couple of resistors. Not a
> lot of money either way. I'd just go for the MAX and leave out the transistor.
>
> Putting the PIC in a skinny 14 pin socket would make things a bit easier if there
> are software enhancements down the road.
>
> Eventually you are going to blow out U4 (the input flip flop). I'd put it in a 14
> pin socket.
>
> The clock oscillator used is going to depend on what people are trying to do with
> the gizmo. I suspect that a 20 or 40 MHz clock will be more popular than the 10 MHz
> part listed. C16 and C17 are "selects" as well. I think I'd leave the clock as is
> and toss in a couple of the alternate caps.
>
> -----------
>
> I wonder if there are any parts required to calibrate the assembled unit?
>
>
> So many questions ....
>
>
>
> Bob
>
>
>
>
> On Jul 8, 2010, at 8:34 PM, Bob Bownes wrote:
>
>> I'll get these 2 corrections in tonight. I was wondering if the 3/8"
>> parts would fit.
>>
>> On Thu, Jul 8, 2010 at 8:07 PM, Bob Camp <lists at rtty.us> wrote:
>>> Hi
>>>
>>> Another thing I think we need to get on the project is Q4:
>>>
>>> 512-2N7000TA    Farichild's version at 0.13 each.
>>>
>>> Since I didn't create the project I don't seem to be able to edit it ....
>>>
>>> Bob
>>>
>>>
>>> On Jul 8, 2010, at 7:26 PM, Richard H McCorkle wrote:
>>>
>>>> Bob,
>>>> Instead of the 3266 series go to the 3296 series
>>>>
>>>> 5K Trimmer, top adjust
>>>> 652-3296W-1-502LF 7100 in stock
>>>> 652-3296Y-1-502LF  590 in stock
>>>>
>>>> 200 Trimmer, top adjust
>>>> 652-3296W-1-201LF 1090 in stock
>>>> 652-3296Y-1-201LF 830 in stock
>>>>
>>>> Richard
>>>>
>>>>
>>>>> Hi
>>>>>
>>>>> The real question somebody needs to answer is - will it work with side adjust
>>>>> trimmers? If not, then we're going to have to find another source to get the
>>>>> trimmers from.
>>>>>
>>>>> The project on Mouser shows the 3266p trimmer. AFIK the correct part is the
>>>>> 3266w.
>>>>> The board also appears to be laid out for the 3266y. Another alternative is
>>>>> the
>>>>> 3266x. All the details of what's what are at:
>>>>>
>>>>> http://www.bourns.com/data/global/pdfs/3266.pdf
>>>>>
>>>>> My guess is that the 3266p isn't going to work. The 3266y is even harder to
>>>>> get
>>>>> than the 3266w. The 3266x looks problematic when you go to do the adjustment
>>>>>
>>>>> Rational solutions:
>>>>>
>>>>> 1) Jameco shows the 3266w as "ships today" in 5 K ohms. Who knows how many
>>>>> they
>>>>> actually have....
>>>>> 2) 3266w is available in the 2K ohm flavor at Mouser (lots in stock). If you
>>>>> change
>>>>> R16 and R23 to 1K ohms, the 2K pot should work fine.  That makes them the same
>>>>> value as R5 and R6. One fewer line item ...
>>>>>
>>>>> I'd vote for option 2.
>>>>>
>>>>> Bob
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Jul 8, 2010, at 2:55 PM, Lester Veenstra wrote:
>>>>>
>>>>>> Safe to get in the water yet?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Lester B Veenstra  MØYCM K1YCM
>>>>>> lester at veenstras.com
>>>>>> m0ycm at veenstras.com
>>>>>> k1ycm at veenstras.com
>>>>>>
>>>>>>
>>>>>> US Postal Address:
>>>>>> PSC 45 Box 781
>>>>>> APO AE 09468 USA
>>>>>>
>>>>>> UK Postal Address:
>>>>>> Dawn Cottage
>>>>>> Norwood, Harrogate
>>>>>> HG3 1SD, UK
>>>>>>
>>>>>> Telephones:
>>>>>> Office:     +44-(0)1423-846-385
>>>>>> Home:     +44-(0)1943-880-963
>>>>>> Guam Cell: +1-671-788-5654
>>>>>> UK Cell:   +44-(0)7716-298-224
>>>>>> US Cell:   +1-240-425-7335
>>>>>> Jamaica:  +1-876-352-7504
>>>>>>
>>>>>> This e-mail and any documents attached hereto contain confidential or
>>>>>> privileged information. The information is intended to be for use only by
>>>>>> the individual or entity to whom they are addressed. If you are not the
>>>>>> intended recipient or the person responsible for delivering the e-mail to
>>>>>> the intended recipient, be aware that any disclosure, copying, distribution
>>>>>> or use of the contents of this e-mail or any documents attached hereto is
>>>>>> prohibited.
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> time-nuts mailing list -- time-nuts at febo.com
>>>>>> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>>>>>> and follow the instructions there.
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> time-nuts mailing list -- time-nuts at febo.com
>>>>> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>>>>> and follow the instructions there.
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> time-nuts mailing list -- time-nuts at febo.com
>>>> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>>>> and follow the instructions there.
>>>>
>>>
>>>
>>> _______________________________________________
>>> time-nuts mailing list -- time-nuts at febo.com
>>> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>>> and follow the instructions there.
>>>
>>
>> _______________________________________________
>> time-nuts mailing list -- time-nuts at febo.com
>> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>> and follow the instructions there.
>>
>
>
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>






More information about the Time-nuts_lists.febo.com mailing list