Transmitter Auto Start

All posts related to PCI MAX transmittors go here!

Moderators: Sir Nigel, Nina, pcs, 5r, phpBB2 - Administrators

User avatar
pcs
Site master
Site master
Posts: 3132
Joined: Fri Jan 18, 2002 1:00 am
Location: Radio Land
Contact:

Post by pcs »

There's also Linux source floating around in this forum, maybe that's easier for you?

Although VB is pretty easy.
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
ray law
Regular poster
Regular poster
Posts: 20
Joined: Sun Jan 15, 2012 2:55 am

Post by ray law »

I got my system running good enough for my purposes.... Still cannot compile the whole project... but for now I am ok. I am able to control the frequency an power .

Just Curious.... Why the +4 in: temp = Chr$((Int(TXPower / 100 * 21)) + 4) when sending frequency or power???

-ray
User avatar
pcs
Site master
Site master
Posts: 3132
Joined: Fri Jan 18, 2002 1:00 am
Location: Radio Land
Contact:

Post by pcs »

Because binary values 0-3 are used for special purposes so they can't be used for other stuff.
So each binary value needs to have 4 added.
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
ray law
Regular poster
Regular poster
Posts: 20
Joined: Sun Jan 15, 2012 2:55 am

Post by ray law »

Is there a unique identifier that can be read from the transmitter ??

There are many serial ports active on most computers. So if I query the serial ports i can automatically detect and connect to the transmitter......

-ray
User avatar
pcs
Site master
Site master
Posts: 3132
Joined: Fri Jan 18, 2002 1:00 am
Location: Radio Land
Contact:

Post by pcs »

Yep, check the code under the button that reads the data from the transmitter.
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
ray law
Regular poster
Regular poster
Posts: 20
Joined: Sun Jan 15, 2012 2:55 am

Post by ray law »

It is not clear to me what to sent to the transmitter for frequency as I still cannot compile and run the source code.

I am however able to compile and run the code I have created. Thus far it is working nicely.

It appears that two numbers are cantenated then sent :

temp = Chr$((Int(TXFrequency / 5) - Int(Int(TXFrequency / 5) / 128) * 128) + 4) 'low part of freq
temp = temp & Chr$((Int(Int(TXFrequency / 5) / 128)) + 4) 'high part of freq

For example what is "TXFrqeuency" for 101.7mHz (101,700,000Hz)

Thank you for the help,

-ray
User avatar
pcs
Site master
Site master
Posts: 3132
Joined: Fri Jan 18, 2002 1:00 am
Location: Radio Land
Contact:

Post by pcs »

There will very soon be an updated version of our program with timer for ON and OFF.

We have a new guy working on this so it will be coming much faster than before where I had to do everything myself.

If you have any other requests please pass them, we might integrate them in.

By the way, if it doesn't compile look at the log file, usually it says what the problem is.

Let me know what it is and we'll find a solution.

Once it compiles just msgbox the value.

M
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
ray law
Regular poster
Regular poster
Posts: 20
Joined: Sun Jan 15, 2012 2:55 am

Post by ray law »

Glad to hear you are getting some help.... the addition of a timer is a good addition but that dues not sovle my particular problem nor for other who use your transmitter for Light O Rama Shows. I do not know how big that customer base is but I was told by a Light O Rama distrubuter that your transmitters are ths best.
http://www.lightorama.com/

The code i have put together is doing exactly what we need. (light o rama users).

Additionally it now discovers the com port automatically.

I still would like an example of "TXFrqeuency" (The content of "temp") for 101.7mHz (101,700,000Hz)

temp = Chr$((Int(TXFrequency / 5) - Int(Int(TXFrequency / 5) / 128) * 128) + 4) 'low part of freq
temp = temp & Chr$((Int(Int(TXFrequency / 5) / 128)) + 4) 'high part of freq

thanks

-ray
User avatar
pcs
Site master
Site master
Posts: 3132
Joined: Fri Jan 18, 2002 1:00 am
Location: Radio Land
Contact:

Post by pcs »

txfrequency = 100000 for 100MHz

So it is the value in KHz

Just preserve the formula as it is and you'll be ok.
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
ray law
Regular poster
Regular poster
Posts: 20
Joined: Sun Jan 15, 2012 2:55 am

Post by ray law »

i sent you some code for review... i will make any changes you wish... i do have some clean up work to do..... so let me know what you think

-ray
User avatar
pcs
Site master
Site master
Posts: 3132
Joined: Fri Jan 18, 2002 1:00 am
Location: Radio Land
Contact:

Post by pcs »

Hi,

we had a national holiday on Friday, will check over the weekend or Monday latest.

Thanks for the effort, greatly appreciated!

Have a great weekend everyone!
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
Post Reply