UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Vintage Computers

Notices

Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment.

Closed Thread
 
Thread Tools
Old 1st Oct 2020, 8:16 pm   #101
Slothie
Octode
 
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
Default Re: PIC 14 Karen

Quote:
Originally Posted by Timbucus View Post
Yes sorry I should have warned you that those needed a good scrub - I think they have some kind of coating on them. Sounds like the same place I got those from...
Yes, the last display of this type I used had gold plated circuit board and soldered like a dream. I'm going to get a fibreglass pen I think and clean the next one carefully and possibly even give it a dab with the old flux pen.
Slothie is offline  
Old 9th Oct 2020, 4:37 pm   #102
Slothie
Octode
 
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
Default Re: PIC 14 Karen

Hmm well I finished the soldering and plugged it in and... nothing. Oh well. I've done a visual inspection and all my joints look OK. There are a few places I damaged the solder mask while soldering so I need to buzz those out to make sure theyre not broke,,,,, So I've either got a problem with the programming of the PIC or maybe the crystal isn't oscillating. I've got to have a think about what diagnostics I can do with what I have. First option is to rig up my Arduino as a frequency meter and test for crystal activity and keyboard scanning. If its not doing that then its probably the PIC.
I did read back the contents of the PIC after programming it so I was resonably assured it was OK. Perhaps I have the wrong firmware? But it is the stuff downloaded from Karens website so should do something even if its not the latest version. I think the display is OK too, because I once saw the digits flash on power up although I've not been able to reproduce that.

Interesting times!
Slothie is offline  
Old 9th Oct 2020, 5:07 pm   #103
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: PIC 14 Karen

Holding a domestic FM radio near the crystal you should pick up the 5th on 100mhz...
Phil__G is online now  
Old 9th Oct 2020, 5:47 pm   #104
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
Default Re: PIC 14 Karen

I can still send you a programmed chip or I can loan you a PicKit if you want to be a bit more flexible.
SiriusHardware is online now  
Old 9th Oct 2020, 6:04 pm   #105
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
Default Re: PIC 14 Karen

As regards using the Arduino as a frequency meter, since the Uno? is clocked at 16MHz and the frequency under investigation is 20MHz, won't that be far too high a frequency for the Uno to measure?

I like Phil's dodge, a simple FM receiver will typically make a loud roar/hiss under no-signal conditions and go silent when there is an unmodulated carrier on the frequency it is tuned to. Watch out for FM radios which have auto-mute though. Using a receiver to 'sniff' an oscillator like that gets around one possible drawback with direct measurement - sometimes the very act of connecting an instrument to an oscillator to measure it will actually stop the oscillator.
SiriusHardware is online now  
Old 9th Oct 2020, 6:17 pm   #106
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: PIC 14 Karen

Would it help if I sent up a known good PIC for you - I have a good stock so could send mine and blow another - that removes one unknown?

Tim

Quote:
Originally Posted by Slothie View Post
Hmm well I finished the soldering and plugged it in and... nothing. Oh well. I've done a visual inspection and all my joints look OK. There are a few places I damaged the solder mask while soldering so I need to buzz those out to make sure theyre not broke,,,,, So I've either got a problem with the programming of the PIC or maybe the crystal isn't oscillating. I've got to have a think about what diagnostics I can do with what I have. First option is to rig up my Arduino as a frequency meter and test for crystal activity and keyboard scanning. If its not doing that then its probably the PIC.
I did read back the contents of the PIC after programming it so I was resonably assured it was OK. Perhaps I have the wrong firmware? But it is the stuff downloaded from Karens website so should do something even if its not the latest version. I think the display is OK too, because I once saw the digits flash on power up although I've not been able to reproduce that.

Interesting times!
Timbucus is offline  
Old 9th Oct 2020, 6:23 pm   #107
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: PIC 14 Karen

Even a rough sample should show a predictable sample pattern as long as like 16Mhz it is not an exact frequency that risks only sampling the peak or the trough - e.g. at 16Mhz assuming a sample every 10Mhz could risk seeing only the peak or the trough of the 20Mhz so allowing a variable delay and summing the samples should show a visible pattern - I find my really crap handheld scope good enough to see activity for quick checks even though it is lower than my 20MHz Hameg.

I learned to cope with lesser tools. I still stare at Z80 code until I see the bug rather than using a monitor half the time.

Tim

Quote:
Originally Posted by SiriusHardware View Post
As regards using the Arduino as a frequency meter, since the Uno? is clocked at 16MHz and the frequency under investigation is 20MHz, won't that be far too high a frequency for the Uno to measure?

I like Phil's dodge, a simple FM receiver will typically make a loud roar/hiss under no-signal conditions and go silent when there is an unmodulated carrier on the frequency it is tuned to. Watch out for FM radios which have auto-mute though. Using a receiver to 'sniff' an oscillator like that gets around one possible drawback with direct measurement - sometimes the very act of connecting an instrument to an oscillator to measure it will actually stop the oscillator.
Timbucus is offline  
Old 9th Oct 2020, 6:56 pm   #108
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
Default Re: PIC 14 Karen

You presumably agree though that it would show just about anything but the right frequency? You'd just be looking for a change between what it does when connected to the oscillator, and what it does when it isn't?

It's different with scopes, you can put a scope on a signal which far exceeds its specified maximum working frequency and you will still see 'something'. With an analogue scope - by far my preference - the individual cycles of the signal will just merge together into a 'band' of signal in which individual cycles can no longer be resolved, which is what you would intuitively expect.

A frequency meter fed with a signal which exceeds its maximum input frequency will usually just go haywire.

A compromise: Take the oscillator signal to the input of a CMOS IC configured as a divide-by-ten circuit and use the Arduino-Meter to read the output frequency of that. If it says 2MHz, great.

Phil's simple trick of using an FM radio to listen on 100MHz is still a lot easier though. Most smartphones (and a lot of dumb phones) have an FM radio hidden away on them somewhere, although it usually needs wired earphones to function because it uses the lead as the aerial.

Last edited by SiriusHardware; 9th Oct 2020 at 7:09 pm.
SiriusHardware is online now  
Old 9th Oct 2020, 8:11 pm   #109
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: PIC 14 Karen

Of course. You could never determine any useful frequency information only the presence of a regular signal that is more than random noise or a fixed level. A sample from a lower frequency is a bit like us today peering into the subatomic space... I suppose even a meter on AC (perhaps with a negative DC bias) could show something you could view and it would be a clue. I was merely thinking of the difference between oscillation happening (at any speed the PIC would do something) and not starting - which was what happened to me on the SCRUMPI with the 'not' SC/MP 8050 and the flat line on the hand scope showed there was no oscillation.

I was thinking of these things after watching curious Marc last night during a period of insomnia:

https://www.youtube.com/watch?v=X_cywNLu7VE

I wonder if only the one sliver had been missing and the contact was still present that it would have worked with unforeseen circumstance - I have since wrapped all my crystals in bubble wrap...

In a disclaimer this week has been hard work and by 20:01 Friday I have had a few beers and a fair number of glasses of wine with dinner while watching an episode or two of the Sky 1 adaption of Brave New World; so logic and thinking may be more based on gut feeling than any mathematical method.

Tim

PS: Slothie the brute force method of the offer of a tested 'in Phil's board' PIC stands... if not lost in the SNR on this thread I am generating.

PPS: shocked by the current bay value of a genuine MK14 manual I was watching...

Quote:
Originally Posted by SiriusHardware View Post
You presumably agree though that it would show just about anything but the right frequency? You'd just be looking for a change between what it does when connected to the oscillator, and what it does when it isn't?

It's different with scopes, you can put a scope on a signal which far exceeds its specified maximum working frequency and you will still see 'something'. With an analogue scope - by far my preference - the individual cycles of the signal will just merge together into a 'band' of signal in which individual cycles can no longer be resolved, which is what you would intuitively expect.

A frequency meter fed with a signal which exceeds its maximum input frequency will usually just go haywire.

A compromise: Take the oscillator signal to the input of a CMOS IC configured as a divide-by-ten circuit and use the Arduino-Meter to read the output frequency of that. If it says 2MHz, great.

Phil's simple trick of using an FM radio to listen on 100MHz is still a lot easier though. Most smartphones (and a lot of dumb phones) have an FM radio hidden away on them somewhere, although it usually needs wired earphones to function because it uses the lead as the aerial.
Timbucus is offline  
Old 9th Oct 2020, 8:18 pm   #110
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: PIC 14 Karen

Quote:
Originally Posted by SiriusHardware View Post
Phil's simple trick of using an FM radio to listen on 100MHz is still a lot easier though. Most smartphones (and a lot of dumb phones) have an FM radio hidden away on them somewhere, although it usually needs wired earphones to function because it uses the lead as the aerial.
...and of course Phil's solution to use the best proven and authentic method (cf Apple first music demo at the Home Computer Club) is the best and deserves its own thread. The earliest testing I did on the Spectrum Next was with my radio receiver They may even speak to us from the rest of the forum if we talk about radio...
Timbucus is offline  
Old 9th Oct 2020, 9:01 pm   #111
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
Default Re: PIC 14 Karen

Quote:
Originally Posted by Timbucus View Post

PPS: shocked by the value of a genuine MK14 manual I was watching...
I didn't follow how much it went for although I was notified about it. I would have wanted to know which version it was (V1 or V2). I don't think the source specified that.

The spare clean (V1) manual I have, I bought instantly as soon as it appeared for a B.I.N. of £7 just before the various replicas started to stoke up new interest in the machines. I think I've mentioned before that my original manual is in such dire condition that I would probably have to pay the council to tow it away. That's why I sought out a replacement, obviously.

Some time after that I chased after a copy of "Understanding Microprocessors With The Science Of Cambridge MK14" and had to bale out when it shot past the £20+ mark.

Even replica machines go for surprisingly high prices but that is understandable to a degree, given what it costs to populate one now.
SiriusHardware is online now  
Old 9th Oct 2020, 9:39 pm   #112
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
Default Re: PIC 14 Karen

...Which is what makes Karen's PIC14 such a good alternative. (There. Back on topic.)
SiriusHardware is online now  
Old 9th Oct 2020, 9:52 pm   #113
Slothie
Octode
 
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
Default Re: PIC 14 Karen

Quote:
Originally Posted by SiriusHardware View Post
As regards using the Arduino as a frequency meter, since the Uno? is clocked at 16MHz and the frequency under investigation is 20MHz, won't that be far too high a frequency for the Uno to measure?

I like Phil's dodge, a simple FM receiver will typically make a loud roar/hiss under no-signal conditions and go silent when there is an unmodulated carrier on the frequency it is tuned to. Watch out for FM radios which have auto-mute though. Using a receiver to 'sniff' an oscillator like that gets around one possible drawback with direct measurement - sometimes the very act of connecting an instrument to an oscillator to measure it will actually stop the oscillator.
Using the timer1 as a counter and timer2 to gate it, you can measure up to 6-8 Mhz reliably. Although the clock is 20MHz, all the other pins will be much lower in frequency, I just need to check that anything is going on. Other than that I have a £5 multimeter with no frequency range, so detecting high frequency pulses is challenging. I suppose I could try a capacitor and diode detector to see if theres any AC anywhere, but as you point out mucking around on the crystal pins might cause the oscillator to stop. If the PIC looks DOA I might take you up on that programing offer. I'll have time this weekend to decide what the next step is....
I don't have an FM reciever to hand sadly although I could ask around, I'm sure theres one stashed away somewhere here.
Slothie is offline  
Old 9th Oct 2020, 10:02 pm   #114
Slothie
Octode
 
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
Default Re: PIC 14 Karen

Quote:
Originally Posted by Timbucus View Post
...and of course Phil's solution to use the best proven and authentic method (cf Apple first music demo at the Home Computer Club) is the best and deserves its own thread. The earliest testing I did on the Spectrum Next was with my radio receiver They may even speak to us from the rest of the forum if we talk about radio...
When I got my hands on my first computer (A commodore PET) I wedged a small transistor radio inside and spent several days experimenting with BASIC and assembler programs to see what efffect they had on the inteference issued by the CPU. Since the PETs clock was 1MHz there were plenty of harmonics to choose from...! I didnt make any noises you could call music in anything but the most abstract of terms, but I had a lot of fun trying. I then moved on to connecting the CB2 pin of the user port to the radios volume control and had fun programming much more tuneful results hampered only by complete lack of musical talent.
Slothie is offline  
Old 9th Oct 2020, 10:19 pm   #115
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
Default Re: PIC 14 Karen

Quote:
Originally Posted by Slothie View Post
I don't have an FM receiver to hand sadly although I could ask around, I'm sure there's one stashed away somewhere here.
Not even on your phone, did you scroll through all the Apps? Even my little Nokia 100 'dumb phone' (~£11 when bought) has FM radio on it, but it needs earphones plugged in to work.

Have you any kind of audio amplifier, stereo with an AUX input? A high impedance audio transducer like a passive piezo sounder? A crystal earpiece? The display / key scanning waveforms are probably at a low enough frequency to sound like a buzz or tone, if they are active.

Last edited by SiriusHardware; 9th Oct 2020 at 10:35 pm.
SiriusHardware is online now  
Old 9th Oct 2020, 10:36 pm   #116
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,294
Default Re: PIC 14 Karen

Quote:
Originally Posted by Timbucus View Post
They may even speak to us from the rest of the forum if we talk about radio...
20MHz square wave, so probably doesn’t matter what frequency you tune to you’ll probably detect something. They won’t be speaking to you ever again
Mark1960 is offline  
Old 9th Oct 2020, 11:00 pm   #117
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: PIC 14 Karen

Quote:
Originally Posted by Mark1960 View Post
Quote:
Originally Posted by Timbucus View Post
They may even speak to us from the rest of the forum if we talk about radio...
20MHz square wave, so probably doesn’t matter what frequency you tune to you’ll probably detect something. They won’t be speaking to you ever again
We should create recordings of the various computers ready for the loss of analogue receivers - Elektor are doing a good SDR kit at the moment - then it will be real... I wonder what a close coupled Pentium sounds like...

Trying to ignore Sirius's a attempt to get back on topic.
Timbucus is offline  
Old 9th Oct 2020, 11:02 pm   #118
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: PIC 14 Karen

Can we create a Neural Net that knows what the fault on machine is from a Fast Fourier Transform of known code running...
Timbucus is offline  
Old 9th Oct 2020, 11:15 pm   #119
Slothie
Octode
 
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
Default Re: PIC 14 Karen

Quote:
Originally Posted by SiriusHardware View Post
Not even on your phone, did you scroll through all the Apps? Even my little Nokia 100 'dumb phone' (~£11 when bought) has FM radio on it, but it needs earphones plugged in to work.

Have you any kind of audio amplifier, stereo with an AUX input? A high impedance audio transducer like a passive piezo sounder? A crystal earpiece? The display / key scanning waveforms are probably at a low enough frequency to sound like a buzz or tone, if they are active.
I thhink the last time I tried the radio on my phone it had some kind of auto tune thing that would be a pain, but I'll see if I can find my headphones and give it a go.

I do have a piezo sounder, NPN transistors and some random components so I may be able to rig up a mini-amplifier and/or a pulse detecting logic pobe. Hmmm...
Slothie is offline  
Old 9th Oct 2020, 11:23 pm   #120
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
Default Re: PIC 14 Karen

As I mentioned, the oscillator will sound like dead silence if you can tune to F x 5 =100MHz.

If you are using phones, try strumming on the PCB with your fingers, it should be sufficiently microphonic, ie, frequency will vary in sympathy with the physical vibration of the PCB, to transmit the sound to your receiver so you'll know it's definitely your oscillator you are listening to.
SiriusHardware is online now  
Closed Thread

Thread Tools



All times are GMT +1. The time now is 11:37 am.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.