Re: [Flexradio] Linux - DttSP question: Commands to listen to AM radio?

2006-05-29 Thread John Melton
Hi Everett,

you will need to use both the python script to control the parallel 
interface to select the band and the DDS frequency.  You will need to 
use the cmdr script to control the jsdr software.

To receive an AM signal you would need to send the following commands 
using the cmdr script:

setRXOn 0
setSampleRate 96000  (or 48000 depending on your soundcard)
setOsc 0
setFilter -3000 3000
setMode AM

This is assuming that you do now want to offset the received frequency 
from the DDS frequency to move away from the noise at the 0 Hz IF.

Hope that helps.

Regards,

John g0orx/n6lyt



Everett Palmer wrote On 05/29/06 08:15,:

I am trying to operate my SDR-1000 from Ubuntu Linux with the command line 
interface.
Could some one tell me the commands listening to an AM radio station?
Also do I need to use both the cmdr shell script and the pyhw2 python script?
Thanks,
Everett, KG6RYB



___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com
  


-- 
--
  John Melton
  Sun IT CTO
  Office: +44 1252 421708 (ext 21708)
  Mobile: +44 7714 708861


___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com


Re: [Flexradio] Linux - DttSP question: Commands to listen to AM radio?

2006-05-29 Thread Everett Palmer
Bob,

I switched to pyhw.  I do hear something that sounds like cycling.

I played a wav file (ssb.wav from flex-radio) with xmms feeding qjackctl 
and then jsdr.
(On jack I connected alsa-pcm -- sdr- sdr- -- alsa-pcm.)

I then started my sdr-1000 and shut down xmms.   I also started python and 
cmdr.

On pyhw I executed.
execfile(sdr1k-setup.py) (with setDDSFreq(0.810)

On cmdr I executed.
setRXOn 0
setSampleRate 48000  (I am using a SB MP3+ USB soundcard)
setOsc 0
setFilter -3000 3000
setMode AM

I didn't hear anything interesting - just something that could be described 
as cycling at about 1 Hz.

Seems like I should have to do something with the qjackctl patch panel to 
connect up to the sdr-1000.   When I used it with the sdr-1000 it was set 
up the same as I had it with xmms.

I know I should just wait for the new code but this seems s close to 
working.

Thanks,

Everett, KG6RYB


At 04:46 AM 5/29/2006, Robert McGwier wrote:
Everett:

Do you hear a noise at the output (speakers) that sounds like it is cycling?

I used pyhw rather than pyhw2.

We are well on our way to replace all of that with code that will talk to 
all aspects of the radio including amplifier,  ATU, and transverter.

Bob
N4HY


Everett Palmer wrote:
Hi Ken,

I am basing the fact that it is possible to drive the SDR-1000 hardware 
from Linux on this post from Bob McGwier back in January.

The Mini-ITX, running SUSE 9.3 carries Don Imus 660 AM every morning 
using SDR-1000 number 2 running jsdr, jack.

I am trying to use the code in the pyhw2 directory to control the 
SDR-1000 hardware over the parallel port.  I can issue commands and hear 
the relays click in the SDR-1000 but I have not been successful yet in 
receiving an AM radio station.   There is also another command line 
interface- cmdr - in the DttSP package but I think that this interface 
controls just the software - not the hardware.

One problem was that ubuntu on my system does not have 
/dev/parport0.   With some help from Bill on teamspeak and my linux guy 
at work I learned that you can create the port with either:

sudo modeprobe ppdev

or

sudo mknod /dev/parport0 c 99 0

I also did a

sudo chown epalmer:epalmer parport0

so I could drive the parallel port from my user account.

73,
Everett, KG6RYB




--
AMSAT VP Engineering. Member: ARRL, AMSAT-DL, TAPR, Packrats,
NJQRP/AMQRP, QRP ARCI, QCWA, FRC. ARRL SDR Wrk Grp Chairman
Laziness is the number one inspiration for ingenuity.  Guilty as charged!



___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com


Re: [Flexradio] Linux - DttSP question: Commands to listen to AM radio?

2006-05-29 Thread John Melton
Everett,

when it is running you should see that the alsa-pcm and sdr- are 
cross connected if you bring up the Connections display in qjackctl (see 
attached image).

You might also want to check that the line input is enabled on the sound 
card and not the microphone input (I assume you are connected to the 
line input).

John g0orx/n6lyt

Everett Palmer wrote On 05/30/06 04:10,:

Bob,

I switched to pyhw.  I do hear something that sounds like cycling.

I played a wav file (ssb.wav from flex-radio) with xmms feeding qjackctl 
and then jsdr.
(On jack I connected alsa-pcm -- sdr- sdr- -- alsa-pcm.)

I then started my sdr-1000 and shut down xmms.   I also started python and 
cmdr.

On pyhw I executed.
execfile(sdr1k-setup.py) (with setDDSFreq(0.810)

On cmdr I executed.
setRXOn 0
setSampleRate 48000  (I am using a SB MP3+ USB soundcard)
setOsc 0
setFilter -3000 3000
setMode AM

I didn't hear anything interesting - just something that could be described 
as cycling at about 1 Hz.

Seems like I should have to do something with the qjackctl patch panel to 
connect up to the sdr-1000.   When I used it with the sdr-1000 it was set 
up the same as I had it with xmms.

I know I should just wait for the new code but this seems s close to 
working.

Thanks,

Everett, KG6RYB


At 04:46 AM 5/29/2006, Robert McGwier wrote:
  

Everett:

Do you hear a noise at the output (speakers) that sounds like it is cycling?

I used pyhw rather than pyhw2.

We are well on our way to replace all of that with code that will talk to 
all aspects of the radio including amplifier,  ATU, and transverter.

Bob
N4HY


Everett Palmer wrote:


Hi Ken,

I am basing the fact that it is possible to drive the SDR-1000 hardware 
  

from Linux on this post from Bob McGwier back in January.


The Mini-ITX, running SUSE 9.3 carries Don Imus 660 AM every morning 
using SDR-1000 number 2 running jsdr, jack.

I am trying to use the code in the pyhw2 directory to control the 
SDR-1000 hardware over the parallel port.  I can issue commands and hear 
the relays click in the SDR-1000 but I have not been successful yet in 
receiving an AM radio station.   There is also another command line 
interface- cmdr - in the DttSP package but I think that this interface 
controls just the software - not the hardware.

One problem was that ubuntu on my system does not have 
/dev/parport0.   With some help from Bill on teamspeak and my linux guy 
at work I learned that you can create the port with either:

sudo modeprobe ppdev

or

sudo mknod /dev/parport0 c 99 0

I also did a

sudo chown epalmer:epalmer parport0

so I could drive the parallel port from my user account.

73,
Everett, KG6RYB


  

--
AMSAT VP Engineering. Member: ARRL, AMSAT-DL, TAPR, Packrats,
NJQRP/AMQRP, QRP ARCI, QCWA, FRC. ARRL SDR Wrk Grp Chairman
Laziness is the number one inspiration for ingenuity.  Guilty as charged!





___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com
  


-- 
--
  John Melton
  Sun IT CTO
  Office: +44 1252 421708 (ext 21708)
  Mobile: +44 7714 708861

-- next part --
A non-text attachment was scrubbed...
Name: snapshot12.png
Type: image/png
Size: 17010 bytes
Desc: not available
Url : 
/pipermail/flexradio_flex-radio.biz/attachments/20060529/c272946f/attachment.png
 
___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com


[Flexradio] Linux - DttSP question: Commands to listen to AM radio?

2006-05-28 Thread Everett Palmer
I am trying to operate my SDR-1000 from Ubuntu Linux with the command line 
interface.
Could some one tell me the commands listening to an AM radio station?
Also do I need to use both the cmdr shell script and the pyhw2 python script?
Thanks,
Everett, KG6RYB



___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com


Re: [Flexradio] Linux - DttSP question: Commands to listen to AM radio?

2006-05-28 Thread Everett Palmer
Hi Ken,

I am basing the fact that it is possible to drive the SDR-1000 hardware 
from Linux on this post from Bob McGwier back in January.

The Mini-ITX, running SUSE 9.3 carries Don Imus 660 AM every morning using 
SDR-1000 number 2 running jsdr, jack.

I am trying to use the code in the pyhw2 directory to control the SDR-1000 
hardware over the parallel port.  I can issue commands and hear the relays 
click in the SDR-1000 but I have not been successful yet in receiving an AM 
radio station.   There is also another command line interface- cmdr - in 
the DttSP package but I think that this interface controls just the 
software - not the hardware.

One problem was that ubuntu on my system does not have 
/dev/parport0.   With some help from Bill on teamspeak and my linux guy at 
work I learned that you can create the port with either:

sudo modeprobe ppdev

or

sudo mknod /dev/parport0 c 99 0

I also did a

sudo chown epalmer:epalmer parport0

so I could drive the parallel port from my user account.

73,
Everett, KG6RYB




At 10:22 PM 5/28/2006, you wrote:
How in the world are you controlling the parallel interface?
as far as I know, there aren't any SDR-1000s running on Linux.
BK de Ken


Everett Palmer wrote:
I am trying to operate my SDR-1000 from Ubuntu Linux with the command 
line interface.
Could some one tell me the commands listening to an AM radio station?
Also do I need to use both the cmdr shell script and the pyhw2 python script?
Thanks,
Everett, KG6RYB

___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com



___
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-radio.biz/
FlexRadio Homepage: http://www.flex-radio.com