RDVV PLL Source Code

Everything technical about radio can be discussed here, whether it's transmitting or receiving. Guides, charts, diagrams, etc. are all welcome.
Post Reply
User avatar
thewisepranker
proppa neck!
proppa neck!
Posts: 568
Joined: Fri Aug 22, 2014 12:53 pm
Location: Brighton

RDVV PLL Source Code

Post by thewisepranker » Mon May 29, 2017 6:09 pm

Does anyone have the source code for the RDVV PLL with the PIC16F84/TSA5511 combination in some kind of format that I can edit (i.e. not a .hex file)? I want to have a play with it.

Or, does anyone know of a nifty way to decompose a .hex file without having to check and inevitably re-write all of the code?

Albert H
proppa neck!
proppa neck!
Posts: 2737
Joined: Tue Apr 05, 2016 1:23 am

Re: RDVV PLL Source Code

Post by Albert H » Tue May 30, 2017 12:16 am

There are a couple of open-source decompilers available if you browse around the 'net. I'll see if I can find one for you - I'll post a link. They're reasonably accurate and the only problem I've found is that some address jumps have to be recalculated by hand.

The original RDVV code was written by Helix Software (you might find their code around the 'net). I have my own version - what are you trying to achieve?
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

User avatar
thewisepranker
proppa neck!
proppa neck!
Posts: 568
Joined: Fri Aug 22, 2014 12:53 pm
Location: Brighton

Re: RDVV PLL Source Code

Post by thewisepranker » Tue May 30, 2017 12:38 am

Cheers for the info.

To be honest I was going to look into the code to see how it works. PICs and the like aren't my forte so it was going to be more of a learning exercise than anything else.

In the long run, I'm interested in hard coding the frequency to make it more difficult for the people that will inevitably steal my gear to retune it, especially considering that if it looks like an RDVV (or other driver) with all of the buttons and usual bits (screen connector) but the buttons don't work, well that'll keep them entertained for a while.
I'm also interested in removing all of the screen communication in an attempt to save power for battery-powered setups. Not just the physical screen, but all the subroutines involved - it doesn't need to even be thinking about it ever if the frequency is hard coded.
The LEDs can also go as they waste power.

Since posting I've found the Pira .asm files which interfaces the TSA5511 with the 16F627A (cheaper) which will be what I need.

Albert H
proppa neck!
proppa neck!
Posts: 2737
Joined: Tue Apr 05, 2016 1:23 am

Re: RDVV PLL Source Code

Post by Albert H » Tue May 30, 2017 12:54 am

Writing PIC code is pretty easy when you get your head around the basic architecture of the chips. The instruction set is tiny, so there's not much to learn. My 5511 PLL used the 12F509 for fixed-frequency operation, and later iterations of my driver board used (mostly) surface-mounted parts. The PLL was under the board, and there was a three-pin connector that was used to one-time programme the PIC. I always blew the programme protection fuses after they were programmed. The final versions of the 0.75 Watt board had (mostly) etched coils, SM components wherever possible, and were made by a firm in Hungary. They were insanely cheap, very small, and came fully assembled into a little tinplate box. They required no adjustment whatsoever except for the PIC programming.

If you want some code, drop me a PM.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Fri Jun 02, 2017 8:59 am

i like to have it too i need to put my own name at start up i see one do it but it u want i have the hex code of the hjh soft but not the asm i dont know how to convert hex to asm i tried many times but a turkish version of it also exist but for the 16f628 i will look further i tried also to get the modified hex where they changed the name but pic return blank when dumped i will upload soon as ossible hjhsot mane hex 16f84 and 16f628 modified by turkish if that could help us

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Fri Jun 02, 2017 8:35 pm

AS i sweared here it is the .asm file for rdvv i get but not yet do it myself please help me to i need to put my name REVE FM it is for 16f84a but i dont know for what tsa5511 xtal 3.2 or 6.4
https://www.sendspace.com/file/hhc1v2

i see many have done it :(
1.jpg
Image0204.jpg
<<<like hjh soft and hjh the original too :o :roll: :oops:
You do not have the required permissions to view the files attached to this post.

nrgkits.nz
Neckmin
Neckmin
Posts: 337
Joined: Fri Oct 17, 2014 10:35 am

Re: RDVV PLL Source Code

Post by nrgkits.nz » Sat Jun 03, 2017 12:15 pm

Download a copy of mplab ide with the hi-tech c compiler, there's i2c and hd44780 LCD libraries floating around on the Internet and can be found in Google. If you know basic C then its easy to write your own code. I wrote all of the main code for the 16F628A to control the 5511 apart from the i2c and LCD routines which I included from libraries I downloaded. The 5511 datasheet has several important tables listing the bytes and bits etc... used for configuring the device, the formulas used for setting the input divider, frequency, charge pump and other things. You can also simulate the resulting hex files in Proteus and debug the i2c commands - these are a series of hex bytes and each of the 8bits are shown. You can also use the Windows calc in programmer mode to calculate which bytes to use in the i2c commands.

nrgkits.nz
Neckmin
Neckmin
Posts: 337
Joined: Fri Oct 17, 2014 10:35 am

Re: RDVV PLL Source Code

Post by nrgkits.nz » Sat Jun 03, 2017 12:20 pm

image.jpeg
You do not have the required permissions to view the files attached to this post.

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Wed Jun 07, 2017 5:49 pm

photo.JPG
the amp is an rd15hvf1 amplifier drived with 1w to bypass t attenuator to 200-300 mw with 13,8v i only get 6w any help with amplifier section ?
461e1de59f8c1b68a71f131823036df9.png
You do not have the required permissions to view the files attached to this post.

User avatar
Analyser
tower block dreamin
tower block dreamin
Posts: 319
Joined: Fri Sep 26, 2014 9:11 pm

Re: RDVV PLL Source Code

Post by Analyser » Thu Jun 08, 2017 6:58 pm

Maybe fake RD15?

If not, remove C4 and replace with the yellow output trimmer. Replace C5 as 33pF. Try increasing C6 to 470pF.

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Fri Jun 09, 2017 12:21 pm

thanks as always Analyser will try :)

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Sat Jun 10, 2017 3:14 pm

@Analyser

getting between 9-10 watts
i have also omitted 150pf and put 33pf
but is it normal that pa trought 1.66amp without rf and 1.1 amp with rf input i drive it with veronica and please see video uploaded any other advice or pcb layout thanks because isee that can put more power .
IMG_0489.JPG
IMG_0488.JPG
You do not have the required permissions to view the files attached to this post.

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Mon Jul 03, 2017 10:53 am

Anyone with the asm file of an rdvv to customize our name ?

User avatar
Analyser
tower block dreamin
tower block dreamin
Posts: 319
Joined: Fri Sep 26, 2014 9:11 pm

Re: RDVV PLL Source Code

Post by Analyser » Mon Jul 03, 2017 11:05 pm

If the PA is drawing 1.66A with no RF drive it is probably unstable and oscillating. I would remove the ferrite core feeding the bias on the gate of the transistor and put a low value resistor (33-56R) there instead.
Also put a 1nF capacitor to ground where that resistor is fed from the 150R resistor. You may find the output power drops a little but it is very important you get rid of this issue!!
Don't connect this to an aerial until the problem is solved. You also risk blowing the RD15 with oscillation like this.

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Tue Jul 04, 2017 7:07 pm

Thanks will do what will you suggest me to analyser
And what about that asm file

User avatar
Analyser
tower block dreamin
tower block dreamin
Posts: 319
Joined: Fri Sep 26, 2014 9:11 pm

Re: RDVV PLL Source Code

Post by Analyser » Tue Jul 04, 2017 10:54 pm

radium98 wrote: Tue Jul 04, 2017 7:07 pm And what about that asm file
I don't have an RDVV asm file, sorry.

radium98
proppa neck!
proppa neck!
Posts: 907
Joined: Fri Aug 26, 2016 7:01 pm

Re: RDVV PLL Source Code

Post by radium98 » Wed Jul 05, 2017 10:39 am

thanks Analyser np problem bro by the way i did yesterday what you told me to do power still around 6-8 watts current drop with no rf to around 1.1 amp drive with many exciter range input of 400 mw to 1w .veronica , BW i tuned all trimmers same things
do u have any good working plan as i see i did it better than other and i see that another who did it have more power

Post Reply