SINUS RDS PROJECT

Everything technical about radio can be discussed here, whether it's transmitting or receiving. Guides, charts, diagrams, etc. are all welcome.
Post Reply
radium98
proppa neck!
proppa neck!
Posts: 912
Joined: Fri Aug 26, 2016 7:01 pm

Re: SINUS RDS PROJECT

Post by radium98 » Sat Dec 12, 2020 4:59 pm

why does the rds signal and stereo signal be in phase ? or lock as a pll.

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

Re: SINUS RDS PROJECT

Post by radium98 » Sat Dec 12, 2020 5:08 pm

@sinus private email ? seen

User avatar
sinus trouble
proppa neck!
proppa neck!
Posts: 1410
Joined: Fri Aug 22, 2014 11:34 pm

Re: SINUS RDS PROJECT

Post by sinus trouble » Sat Dec 12, 2020 10:24 pm

Nice work Albert! :)

An interesting observation with bugs in the software, I have never noticed them? But i dont have many radios that support RDS at my disposal.

I like the switchable sync circuit you have shown! :)
I am as stupid as I look! :|

User avatar
sinus trouble
proppa neck!
proppa neck!
Posts: 1410
Joined: Fri Aug 22, 2014 11:34 pm

Re: SINUS RDS PROJECT

Post by sinus trouble » Sat Dec 12, 2020 10:29 pm

radium98 wrote: Sat Dec 12, 2020 4:59 pm why does the rds signal and stereo signal be in phase ? or lock as a pll.
RDS and STEREO will would probably work un-synced? But can sometimes cause strange glitches in data and sound.
I am as stupid as I look! :|

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

Re: SINUS RDS PROJECT

Post by radium98 » Sun Dec 13, 2020 6:57 am

Thank you sinus

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

Re: SINUS RDS PROJECT

Post by Albert H » Sun Dec 13, 2020 7:13 pm

sinus trouble wrote: Sat Dec 12, 2020 10:29 pm
radium98 wrote: Sat Dec 12, 2020 4:59 pm why does the rds signal and stereo signal be in phase ? or lock as a pll.
RDS and STEREO will would probably work un-synced? But can sometimes cause strange glitches in data and sound.
Without synchronisation, you can get some weird burbles and whistles. Since adding sync is so easy, it seems silly to omit it!
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

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

Re: SINUS RDS PROJECT

Post by Albert H » Sun Dec 13, 2020 8:42 pm

Here's a quick Veroboard layout for the "Sinus RDS Coder". This is the basic one without synchronisation, with simple transistor buffer and chopper. You have to pick your capacitors in parallel with you 150µH coil, to get the best 57kHz resonance. You DON'T have to use 150µH, you can use 220µ (a much more common value), but then your total capacitance has to be about 35.4 nF - you still have to select your capacitors!

I've left out the programming inversion transistor, so that it can be directly programmed with one of the cheap USB to "RS232" adaptors. If you're going to use "real" RS232, you'll have to add the extra transistor, and its base resistor. I used 2N3904 transistors. I get them for around 1p each (buying them in thousands from the Far East). They're easily replaced with BC548, BC108, 2N3706, 2SC1815 or pretty much all small medium gain NPN transistors - just check that you connect them the right way 'round!

Programming the PIC is easy enough - just make sure that you set the oscillator mode to "crystal".
RDS-Mini.png
I'll put up a PCB version shortly. I've also got another improved, more comprehensive version that I'll put up here later or tomorrow.
You do not have the required permissions to view the files attached to this post.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

User avatar
sinus trouble
proppa neck!
proppa neck!
Posts: 1410
Joined: Fri Aug 22, 2014 11:34 pm

Re: SINUS RDS PROJECT

Post by sinus trouble » Mon Dec 14, 2020 12:19 am

Nice neat version Albert! :)

Certainly better than my first attempt.
20140820_202842.jpg
You do not have the required permissions to view the files attached to this post.
I am as stupid as I look! :|

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

Re: SINUS RDS PROJECT

Post by Albert H » Mon Dec 14, 2020 2:29 am

This is what my Veroboard looks like:
RDS Proto.jpg
You do not have the required permissions to view the files attached to this post.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

User avatar
sinus trouble
proppa neck!
proppa neck!
Posts: 1410
Joined: Fri Aug 22, 2014 11:34 pm

Re: SINUS RDS PROJECT

Post by sinus trouble » Mon Dec 14, 2020 11:21 pm

I like it Albert! :)

Did you experience any issues writing to the RDS via USB interface? I experimented with both Pull up and down resistors and found the Pull down option quite sketchy and would occasionally not write data.

I found the data input was happier in a 'High' initial state.
I am as stupid as I look! :|

User avatar
teckniqs
proppa neck!
proppa neck!
Posts: 3179
Joined: Thu Aug 21, 2014 11:37 am

Re: SINUS RDS PROJECT

Post by teckniqs » Tue Dec 15, 2020 12:13 am

Are they both the same circuit on your Veroboards? ....Only I notice Albert's seems to have a few more components and a diode.

User avatar
sinus trouble
proppa neck!
proppa neck!
Posts: 1410
Joined: Fri Aug 22, 2014 11:34 pm

Re: SINUS RDS PROJECT

Post by sinus trouble » Tue Dec 15, 2020 12:43 am

teckniqs wrote: Tue Dec 15, 2020 12:13 am Are they both the same circuit on your Veroboards? ....Only I notice Albert's seems to have a few more components and a diode.
Correct Teck! :)

I believe Albert has added the diode for polarity protection and a 100uF cap for some extra smoothing/filtering of the DC.

Both units most likely operate the same? its just a question of builder preference and application.
I am as stupid as I look! :|

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

Re: SINUS RDS PROJECT

Post by Albert H » Fri Dec 18, 2020 1:00 am

Teck - my Veroboard has a series 1N4148 diode on the way in to the 78L05 regulator to prevent me blowing things up by reversing the supply. Sinus is right - I added the 100µF cap to keep the supply rail clean.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

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

Re: SINUS RDS PROJECT

Post by radium98 » Fri Dec 18, 2020 7:07 am

And a ferrite ring at entrance ,that is very delicate and sensitive clean ,in such kind of signals images/smilies/icon_e_wink.gif

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

Re: SINUS RDS PROJECT

Post by Albert H » Fri Dec 18, 2020 2:25 pm

sinus trouble wrote: Mon Dec 14, 2020 11:21 pm I like it Albert! :)

Did you experience any issues writing to the RDS via USB interface? I experimented with both Pull up and down resistors and found the Pull down option quite sketchy and would occasionally not write data.

I found the data input was happier in a 'High' initial state.
Thanks :)

I used a cheap 6-way 5 Volt USB to "RS232" adaptor (£0.68 on Ebay). It has the Prolific chip inside it, and works well. You might need to set your RDS software that you use to send the data to the PIC to 9600 Baud send rate.

I've been experimenting with a return data path from the PIC back to the laptop, so that I can read the existing configuration in a PIC, and save it as a file for later upload to another RDS board. This should be fairly easy - there's enough space left in the PIC for the additional bit of code. I'll make it available to all when I get it working.

My latest version of the board includes a 12F629 as a clock generator, deriving 4.332MHz from the rock, then 57 kHz (to drive the chopping transistor), 38kHz (for the switches in a stereo coder), 19kHz (for the stereo pilot). The extra outputs require a transistor and a couple of resistors each. I've added a slowed reset at power-up - it guaranteed that the PIC started cleanly. It's just an extra resistor and capacitor.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

User avatar
sinus trouble
proppa neck!
proppa neck!
Posts: 1410
Joined: Fri Aug 22, 2014 11:34 pm

Re: SINUS RDS PROJECT

Post by sinus trouble » Fri Dec 18, 2020 10:52 pm

Albert H wrote: Fri Dec 18, 2020 2:25 pm
Thanks :)

I used a cheap 6-way 5 Volt USB to "RS232" adaptor (£0.68 on Ebay). It has the Prolific chip inside it, and works well. You might need to set your RDS software that you use to send the data to the PIC to 9600 Baud send rate.
Cheers Albert! Its great to hear your feedback, Also a relief to know that someone else has succeeded too! Not just some lucky fluke on my part! :)
I am as stupid as I look! :|

User avatar
sinus trouble
proppa neck!
proppa neck!
Posts: 1410
Joined: Fri Aug 22, 2014 11:34 pm

Re: SINUS RDS PROJECT

Post by sinus trouble » Fri Dec 18, 2020 10:56 pm

Albert H wrote: Fri Dec 18, 2020 2:25 pm
I've been experimenting with a return data path from the PIC back to the laptop, so that I can read the existing configuration in a PIC, and save it as a file for later upload to another RDS board. This should be fairly easy - there's enough space left in the PIC for the additional bit of code. I'll make it available to all when I get it working.

My latest version of the board includes a 12F629 as a clock generator, deriving 4.332MHz from the rock, then 57 kHz (to drive the chopping transistor), 38kHz (for the switches in a stereo coder), 19kHz (for the stereo pilot). The extra outputs require a transistor and a couple of resistors each. I've added a slowed reset at power-up - it guaranteed that the PIC started cleanly. It's just an extra resistor and capacitor.
Excellent work once again Albert! :)

It will be a pleasure to see any developments you discover!
I am as stupid as I look! :|

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

Re: SINUS RDS PROJECT

Post by Albert H » Sat Dec 19, 2020 12:57 am

Here we go....
Better RDS.png
The dual op-amp can be a TL072, but I found that the LM358 gave me cleaner signals (probably because of the filtering effect of the slower slew rate). I've also got a Veroboard version, but haven't drawn it up yet.
You do not have the required permissions to view the files attached to this post.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

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

Re: SINUS RDS PROJECT

Post by radium98 » Sat Dec 19, 2020 7:16 am

it is an old part of the pira erds1.1 :) the one using the lpt port and use 12c805 and can generate all 3 clocks and the 1.1875

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

Re: SINUS RDS PROJECT

Post by Albert H » Sat Dec 19, 2020 12:43 pm

Nope. The code for the 12F629 is actually the frequency generator for a completely different project, just repurposed. The code for the 16F628A is the "Mon RDS" code from the French developer - it's been around for a while. The Mon RDS code has a couple of (minor) bugs. I'm looking to fix it at the moment.

The data connection is one-way RS232 at the moment, but may be upgraded to bidirectional if I can get the code to work.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

Post Reply