PIC Programmers WTD... Computer Controled Maxtrac

The General forum is where users can discuss any topic regarding Motorola communications equipment - hardware, software, etc. There are also several focused forums on this board, so please take the time to ensure that your questions doesn't fall into one of those categories before posting here!

Moderator: Queue Moderator

Post Reply
User avatar
Bat Wing
Posts: 45
Joined: Mon Sep 03, 2001 4:00 pm

Post by Bat Wing »

OK, now that I have your interest, here is what I am looking for...

With 800MHz Maxtracs so cheap these days, and the lack of cheap, quality, computer controlled scanners, I need someone to develop a PIC to interface a computer to the PLL in a Maxtrac (receive only).

This would enable all those Trunker users out there to drive the receiver in a Maxtrac with a their PC.

It should be just a matter of converting the RS-232 frequency data output by the PC into the data to load the PLL in the Maxtrac. Break the control of the PLL from the logic board, insert the data from the PIC and you should be set.

But alas, I am not a PIC programmer, so need someone to develop the code and interface for beta testing.

Any takers?

Bat
Mdjonston
Posts: 11
Joined: Mon Sep 17, 2001 4:00 pm

Post by Mdjonston »

Mdjonston
Posts: 11
Joined: Mon Sep 17, 2001 4:00 pm

Post by Mdjonston »

Email me at [email protected] with some more info regarding what you need to be done, info on PLL, anything that is relevant and we will be able to do something for you..
Mike
radionova327
Posts: 8
Joined: Thu Nov 01, 2001 4:00 pm

Post by radionova327 »

Any luck here?

The PLL section of my copy of the service manual seams to be full of errors. I see 0's, 1's and 2's in what I believe should be a binary. I see divisions which there result dose not much mine, ect...

I will try to manualy feed in the DATA/CLK/EN lines and see if it works.
User avatar
Bat Wing
Posts: 45
Joined: Mon Sep 03, 2001 4:00 pm

Post by Bat Wing »

On 2002-01-16 13:05, radionova327 wrote:
Any luck here?

The PLL section of my copy of the service manual seams to be full of errors. I see 0's, 1's and 2's in what I believe should be a binary. I see divisions which there result dose not much mine, ect...

I will try to manualy feed in the DATA/CLK/EN lines and see if it works.

Yes, there are some errors in that page.

We have a prototype that appears to be working, just need to do some final testing.

Bat
radionova327
Posts: 8
Joined: Thu Nov 01, 2001 4:00 pm

Post by radionova327 »

OK, I have made this project my senior project at school. If you don't mind, I have some questions for you. I have been unable to read the divided reference freq on pin 13, even on a working radio. Have you been able to do so? I do get 12.5KHz on pin 12 (on a working radio). I have tired to hand program the reference counter with 1152 and reading nothing at pin 13. Pin 12 does not work either but I may need to have the A and N counters programed for that to work.

Any thoughts?

Thanks
Tom
Mdjonston
Posts: 11
Joined: Mon Sep 17, 2001 4:00 pm

Post by Mdjonston »

Tom,
I have been working on this project with Bat. I would suggest going to Motorola at
http://e-www.motorola.com/webapp/sps/si ... 9843136070
or
search for datasheet on chip MC145158-2.

If you read the datasheet you will get a better understanding of the timing to program the freq. synth.

Mike.
radionova327
Posts: 8
Joined: Thu Nov 01, 2001 4:00 pm

Post by radionova327 »

Thanks Mike,

I have read the datasheet. I have sent the serial data to set the R divider output at pin 13 to be 12.5KHz but I can seam to measure anyhing there. Even on a non modifed working radio, I can not measure anything there. Maybe I'll program up all three counters and see if it will receive where I think it will and forget about pin 13.

Thanks,
Tom
franko
Posts: 76
Joined: Fri Jan 11, 2002 4:00 pm

Computer controlled Maxtrac ?

Post by franko »

[quote="Bat Wing"]

With 800MHz Maxtracs so cheap these days, and the lack of cheap, quality, computer controlled scanners, I need someone to develop a PIC to interface a computer to the PLL in a Maxtrac (receive only).




Hi all,

I would like to know if anyone ever got this working. I've just started programing PICs and remembered seeing this and wanted to see if a Maxtrac could be set up to be controlled by "Trunker".

If anyone has any info on this, please let me know.

Thanks and best regards,
Franko
franko
Posts: 76
Joined: Fri Jan 11, 2002 4:00 pm

Post by franko »

I appologize, I did not mean for the entire thread to be posted.Just the part with the quote and my question.

I screwed up :o

FC
EKS
Posts: 272
Joined: Mon Apr 01, 2002 4:00 pm

Post by EKS »

I've done a bunch of PIC work in the past. I guess I can help if there is still a need.
franko
Posts: 76
Joined: Fri Jan 11, 2002 4:00 pm

Post by franko »

EKS, thanks for your reply.

If it is possible to program a PIC to have Trunker control a maxtrac 800, can you give me some guidance on how to do this?

This seems like something many here might find useful, especially me.

Thanks much,
FC
EKS
Posts: 272
Joined: Mon Apr 01, 2002 4:00 pm

Post by EKS »

franko wrote:EKS, thanks for your reply.

If it is possible to program a PIC to have Trunker control a maxtrac 800, can you give me some guidance on how to do this?

This seems like something many here might find useful, especially me.

Thanks much,
FC
I don't see why it couldn't. It's just a matter of getting the rs232 (or whatever it is) signal from trunker and having it translate it to the radio, overriding the current programming. All you need is a recieve frequency.

I'd probably have to start from scratch on this. I was hoping that someone had started this already so it would be easier to contribute. I'll try putzing around with it probably next week. I've got a couple trunking maxtracs just waiting to be gutted. I just need to get some stuff out of the way first.
franko
Posts: 76
Joined: Fri Jan 11, 2002 4:00 pm

Post by franko »

Thanks EKS,

I too have been hoping that Bat Wing or anyone else involved with this might see this and respond also. Hopefully that may still happen.

Reading the Trunker documentation, it does look like it puts out RS232 to control the RX freq,but I have no clear Idea as to how to implement this to the Maxtrac.

Thanks again,
FC
cbrock
Posts: 2
Joined: Wed Jul 02, 2003 10:58 am

How to steer a Maxtrac

Post by cbrock »

Some time ago I wrote some PIC code to decode what channel a trunked maxtrac was being sent too by the trunking controller - great for troubleshooting audio holes, as part of that code I developed an Excel spreadsheet to determine the bits that were loaded into the synth. I can make both the PIC code and excel spreadsheet advalible to anybody that wants it.
User avatar
Bat Wing
Posts: 45
Joined: Mon Sep 03, 2001 4:00 pm

Post by Bat Wing »

Its nice to see this old thread come back to life. :)

All of the work that was done on this thread can be downloaded at http://www.batlabs.com/arc/maxcomp.zip. Beware that this is almost a 4mb zip file. Also, give it about 24hours to reach all of the mirrors.

Everything that was accomplished is in there, as well as datasheets and schematic bits for the PLL in the Maxtrac.

IIRC, Trunker will spit out the tune frequency in ASCII. The plan was to grab this ASCII with a PIC, figure out what to program the divisors in the PLL chip with, and load up the PLL in the Maxtrac. We cut the lines between the micro in the Maxtrac and the PLL and used the PIC to program it instead.

I believe that we actually did get it working, but it wasn't reliable. When it worked, it programmed fine, but sometimes it would go off into outer space and get lost and stop working.

I have thought about this project over the years, and have actually thought about working on it again in the near future, this time with a bit more knowledge under my belt.

One think that has bugged me is that it would seem to work and then just die. One think I never had a chance to check was if there were some other pins that needed to be taken care of, like the PIN Shift pin, or T/R pins, or whatever else is working in there. I suspect PIN Shift may have been part of the problem.

If there are some PIC/PLL experts out there, this would be a cool mod to be able to make to a Maxtrac. As everyone knows, the receiver will blow away any scanner. The project shouldn't be that complex, its just a matter of writing the code to capture the ASCII from the PC, to a conversion, and spit it out to the radio. Of course it may have to be quick if the frequency is changing quite often, but it shouldn't be too bad to handle.

I'm not sure if doing actual calculations to figure out the N and A values is the way to go, or, depending on the PIC used, if a look-up table would be quicker. There are only a pre-defined number of frequencies in the channel plan for the 800MHz band. I'll leave that to the coder's to decide.


Cheers,


Bat
franko
Posts: 76
Joined: Fri Jan 11, 2002 4:00 pm

Post by franko »

Bat Wing,

I want to thank you and all involved with this for not only all the time and hard work that you put into this great idea,but also for making it available here.

I am looking forward to getting it working with my setup.

Much thanks and best regards,

Franko
RADIOMAN2002
Posts: 1102
Joined: Thu Apr 04, 2002 4:00 pm
What radios do you own?: More than I can count

Post by RADIOMAN2002 »

I think that you have tackled one heck of a project. I also would like to see it work. One thing I have not seen in the posts, is that I belive, even though I could be wrong, the channels for the 800 plan are hidden somewhere in the Maxtrac radio firmware program itself. I don't know if it would be easiser to get to that info for the radio to chanege channels or how you are doing it by direct manipulation of the PLL.
WB2IID
Posts: 82
Joined: Wed Sep 10, 2003 5:53 pm

Post by WB2IID »

I believe that we actually did get it working, but it wasn't reliable. When it worked, it programmed fine, but sometimes it would go off into outer space and get lost and stop working.
Did you look at the PLL lock detect line when this happened? In my experience, stray electrical impulses - static discharge, switching on/off nearby electrical equipment, etc. - can cause a PLL to "lose its mind" and stop working.

To prevent this make sure you have as much filtering on the PLL data and chip select lines as possible without affecting rise times, and to make the leads as short as possible. It also may be worth monitoring the lock detect line with the PIC and re-loading the PLL with the last frequency if an out-of-lock condition is seen.

Just my .02.

Joe
Post Reply

Return to “General Motorola Solutions & Legacy Radio Discussion”