Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Re: RF Link Issues

Discussion forum for the BasicX family of microcontroller chips.

RF Link Issues - Conrad A***** - Aug 8 13:25:21 2007

Hello I am using a RF Transmitter/Receiver pair from here:
http://www.sparkfun.com/commerce/product_info.php?products_id=7813

I wrote this code in the BX24 to test the RF Link:

'--------------------------------------------------------------------
Option Explicit

Dim Com3_In(1 to 30) As Byte
Dim Com3_Out(1 to 30) As Byte

Public Sub Main()

Do

Call PutPin(25, 0) 'Turn on Red LED to represent the Transmit
signal being sent

'Define pins for Com3 (TX = pin8).
Call DefineCom3(0, 8, bx1000_1000)
'Open Com3 serial port queues.
Call OpenQueue(Com3_Out, 30)
Call OpenQueue(Com3_In, 30)
'Open Com3 at 2400, N, 8, 1
Call OpenCom(3, 2400, Com3_In, Com3_Out)

Call PutQueueStr(Com3_Out, "Transmit ")

Delay(1.0)
Call PutPin(25, 1) 'Turn off Red LED
Delay(1.0)

Loop

End Sub
'--------------------------------------------------------------------

More info:
Pin 8 on the BX24 is tied to the TX data pin
Data pin on the RX is tied to what Pin 1 on the BX24 would normally
be connected to
12v supplied to the TX
5v supplied to the RX
Setup the Monitor Port to:
Com Port 1
Baud 2400
Parity None
Data Bits 8
Stop Bits 1

I was hoping the code would allow for the RF link to work, so that
way I could in the future "debug.print" info to my PC while the BX24
is not connected. Any reason why the code does not work?

I appreciate any info you can share. :D

Conrad


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: RF Link Issues - T Larson - Aug 9 18:50:41 2007

FWIW: Your code look good to me.

Try changing your transmitter voltage to 5volts. When you run it at
12volts, then the 5volt input may not be high enough to register as a
'high'.

Hope that helps!
Thad

--- In b...@yahoogroups.com, "Conrad A*****" wrote:
>
> Hello I am using a RF Transmitter/Receiver pair from here:
> http://www.sparkfun.com/commerce/product_info.php?products_id=7813
>
> I wrote this code in the BX24 to test the RF Link:
>
> '--------------------------------------------------------------------
> Option Explicit
>
> Dim Com3_In(1 to 30) As Byte
> Dim Com3_Out(1 to 30) As Byte
>
> Public Sub Main()
>
> Do
>
> Call PutPin(25, 0) 'Turn on Red LED to represent the Transmit
> signal being sent
>
> 'Define pins for Com3 (TX = pin8).
> Call DefineCom3(0, 8, bx1000_1000)
> 'Open Com3 serial port queues.
> Call OpenQueue(Com3_Out, 30)
> Call OpenQueue(Com3_In, 30)
> 'Open Com3 at 2400, N, 8, 1
> Call OpenCom(3, 2400, Com3_In, Com3_Out)
>
> Call PutQueueStr(Com3_Out, "Transmit ")
>
> Delay(1.0)
> Call PutPin(25, 1) 'Turn off Red LED
> Delay(1.0)
>
> Loop
>
> End Sub
> '--------------------------------------------------------------------
>
> More info:
> Pin 8 on the BX24 is tied to the TX data pin
> Data pin on the RX is tied to what Pin 1 on the BX24 would normally
> be connected to
> 12v supplied to the TX
> 5v supplied to the RX
> Setup the Monitor Port to:
> Com Port 1
> Baud 2400
> Parity None
> Data Bits 8
> Stop Bits 1
>
> I was hoping the code would allow for the RF link to work, so that
> way I could in the future "debug.print" info to my PC while the BX24
> is not connected. Any reason why the code does not work?
>
> I appreciate any info you can share. :D
>
> Conrad
>



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: RF Link Issues - Thad Larson - Aug 10 11:41:43 2007

It has been a while since I wrote code - your code looks good to me FWIW... :)

Try the following:
Use 5V for your transmitter and keep your receiver near.

Unless you have a level converter, the 5V input signal may not be enough to register as a 'high'. 5V is less than 1/2 the voltage of 12Volts.

And what are you interfacing the receiver with? You mention 'monitor port'. If you are interfacing a computer, then you may need a converter for that as well. Like a MAX232 or similar. That will convert the 0/5 volts that come from the receiver to the +/- 12 volts (this is not set in stone) that a computer looks for. There are other ways to interface computers as well.

I have an off-the-wall suggestion: Connect the serial output of the RX to an assigned Com3 input pin. So pin 8 would transmit and another pin would receive. If it works, then the BX24 would essentially be talking to itself.

Hope that helps!
Thad

Conrad A***** wrote: Hello I am using a RF Transmitter/Receiver pair from here:
http://www.sparkfun.com/commerce/product_info.php?products_id=7813

I wrote this code in the BX24 to test the RF Link:

'----------------------------------------------------------
Option Explicit

Dim Com3_In(1 to 30) As Byte
Dim Com3_Out(1 to 30) As Byte

Public Sub Main()

Do

Call PutPin(25, 0) 'Turn on Red LED to represent the Transmit
signal being sent

'Define pins for Com3 (TX = pin8).
Call DefineCom3(0, 8, bx1000_1000)
'Open Com3 serial port queues.
Call OpenQueue(Com3_Out, 30)
Call OpenQueue(Com3_In, 30)
'Open Com3 at 2400, N, 8, 1
Call OpenCom(3, 2400, Com3_In, Com3_Out)

Call PutQueueStr(Com3_Out, "Transmit ")

Delay(1.0)
Call PutPin(25, 1) 'Turn off Red LED
Delay(1.0)

Loop

End Sub
'----------------------------------------------------------

More info:
Pin 8 on the BX24 is tied to the TX data pin
Data pin on the RX is tied to what Pin 1 on the BX24 would normally
be connected to
12v supplied to the TX
5v supplied to the RX
Setup the Monitor Port to:
Com Port 1
Baud 2400
Parity None
Data Bits 8
Stop Bits 1

I was hoping the code would allow for the RF link to work, so that
way I could in the future "debug.print" info to my PC while the BX24
is not connected. Any reason why the code does not work?

I appreciate any info you can share. :D

Conrad

---------------------------------
Shape Yahoo! in your own image. Join our Network Research Panel today!

[Non-text portions of this message have been removed]


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: RF Link Issues - Conrad A***** - Aug 12 1:56:07 2007

Thank you both for your advice. Here is a few updates since I've
been poking around at it for a while. Found out:

Data pin on the RX is tied to what Pin 2 (NOT Pin 1 as I stated
earlier) on the BX24 would normally
Went into "Start", "Control Panel", "System", "Hardware", "Device
Manager" and changed the info on COM1 to match the info I programmed
the BX24 to output
Put a LED on the data pin for the TX and RX units, the TX lights up
when the data is being sent. The LED on the RX unit does get brighter
when it's receiving the transmission, however once the transmission
is complete the LED slightly glows.

I tried dropping the voltage of the transmitter, however nothing
really changes. The TX/RX units are about 6" away from eachother on
a workbench, so there is no issue about, or testing, range or
anything like that.

With the code listed, I can get a message through on the BasicX
Downloader screen, but there is a lot of other garbage/text that
comes through as well.

Here is a pictures of what I have:

TX Setup: http://www.aceengineering.ca/Temp/IMG_2179.JPG
RX Setup: http://www.aceengineering.ca/Temp/IMG_2180.JPG
4 cavity connector is what is directly hooked up to the PC serial port

I also uploaded a video here:
http://www.youtube.com/watch?v=DYML4xstWCQ

You can see how on the RX the LED/dataoutput pin stays somewhat on
even when there is no signal being sent. I didn't realize about the
lack of 12v signal to the computer. On the Com3 output (when
normally connected to the computer) does that output a 12v signal as
well? I'm thinking the reason for the garbage/text on the monitor
screen is due to sending a 5v signal to the computer serial port? Or
is it due to the background voltage on the data pin from the RX unit?

I am open to anything you have to say!

Conrad

--- In b...@yahoogroups.com, Thad Larson
wrote:
>
> It has been a while since I wrote code - your code looks good to me
FWIW... :)
>
> Try the following:
> Use 5V for your transmitter and keep your receiver near.
>
> Unless you have a level converter, the 5V input signal may not be
enough to register as a 'high'. 5V is less than 1/2 the voltage of
12Volts.
>
> And what are you interfacing the receiver with? You
mention 'monitor port'. If you are interfacing a computer, then you
may need a converter for that as well. Like a MAX232 or similar.
That will convert the 0/5 volts that come from the receiver to the +/-
12 volts (this is not set in stone) that a computer looks for.
There are other ways to interface computers as well.
>
> I have an off-the-wall suggestion: Connect the serial output of the
RX to an assigned Com3 input pin. So pin 8 would transmit and
another pin would receive. If it works, then the BX24 would
essentially be talking to itself.
>
> Hope that helps!
> Thad
>
> Conrad A***** wrote:
Hello I am using a RF Transmitter/Receiver pair from here:
> http://www.sparkfun.com/commerce/product_info.php?products_id=7813
>
> I wrote this code in the BX24 to test the RF Link:
>
> '----------------------------------------------------------
> Option Explicit
>
> Dim Com3_In(1 to 30) As Byte
> Dim Com3_Out(1 to 30) As Byte
>
> Public Sub Main()
>
> Do
>
> Call PutPin(25, 0) 'Turn on Red LED to represent the Transmit
> signal being sent
>
> 'Define pins for Com3 (TX = pin8).
> Call DefineCom3(0, 8, bx1000_1000)
> 'Open Com3 serial port queues.
> Call OpenQueue(Com3_Out, 30)
> Call OpenQueue(Com3_In, 30)
> 'Open Com3 at 2400, N, 8, 1
> Call OpenCom(3, 2400, Com3_In, Com3_Out)
>
> Call PutQueueStr(Com3_Out, "Transmit ")
>
> Delay(1.0)
> Call PutPin(25, 1) 'Turn off Red LED
> Delay(1.0)
>
> Loop
>
> End Sub
> '----------------------------------------------------------
>
> More info:
> Pin 8 on the BX24 is tied to the TX data pin
> Data pin on the RX is tied to what Pin 1 on the BX24 would
normally
> be connected to
> 12v supplied to the TX
> 5v supplied to the RX
> Setup the Monitor Port to:
> Com Port 1
> Baud 2400
> Parity None
> Data Bits 8
> Stop Bits 1
>
> I was hoping the code would allow for the RF link to work, so that
> way I could in the future "debug.print" info to my PC while the
BX24
> is not connected. Any reason why the code does not work?
>
> I appreciate any info you can share. :D
>
> Conrad
>
>
>
>
>
>
> ---------------------------------
> Shape Yahoo! in your own image. Join our Network Research Panel
today!
>
> [Non-text portions of this message have been removed]
>



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: RF Link Issues - Thad Larson - Aug 12 9:55:51 2007

Checking out the 'KLP Walkthrough Tutorial', I noticed that their example only transfered one byte. My experience with these has also been limited to one byte. It seems as if something is getting through, but ~maybe~ it is going too slow. Try changing the following:
Call PutQueueStr( Com3_Out, "Transmit ")
to
Call PutQueueStr( Com3_Out, "T")
Call PutQueueStr( Com3_Out, "r")
Call PutQueueStr( Com3_Out, "a") etc.

I think that the separate lines will negate the need for a delay statement. Maybe not.

As far a 5volts / 12 volts goes, the BX24 transmits to a computer using a buffer.
Check out the schematic in the top left
http://tech.groups.yahoo.com/group/basicx/files/BX24/
BX-24_Schematic.gif

The TX uses two buffers in parrallel to protect the pin outputs. Your receiver may not need it, but I would opt for a more robust design. Even if it does work without a buffer now, you may find yourself connecting to a different computer that has greater voltage swings.

Best Regards,
Thad

Conrad A***** wrote: Thank you both for your advice. Here is a few updates since I've
been poking around at it for a while. Found out:

Data pin on the RX is tied to what Pin 2 (NOT Pin 1 as I stated
earlier) on the BX24 would normally
Went into "Start", "Control Panel", "System", "Hardware", "Device
Manager" and changed the info on COM1 to match the info I programmed
the BX24 to output
Put a LED on the data pin for the TX and RX units, the TX lights up
when the data is being sent. The LED on the RX unit does get brighter
when it's receiving the transmission, however once the transmission
is complete the LED slightly glows.

I tried dropping the voltage of the transmitter, however nothing
really changes. The TX/RX units are about 6" away from eachother on
a workbench, so there is no issue about, or testing, range or
anything like that.

With the code listed, I can get a message through on the BasicX
Downloader screen, but there is a lot of other garbage/text that
comes through as well.

Here is a pictures of what I have:

TX Setup: http://www.aceengineering.ca/Temp/IMG_2179.JPG
RX Setup: http://www.aceengineering.ca/Temp/IMG_2180.JPG
4 cavity connector is what is directly hooked up to the PC serial port

I also uploaded a video here:
http://www.youtube.com/watch?v=DYML4xstWCQ

You can see how on the RX the LED/dataoutput pin stays somewhat on
even when there is no signal being sent. I didn't realize about the
lack of 12v signal to the computer. On the Com3 output (when
normally connected to the computer) does that output a 12v signal as
well? I'm thinking the reason for the garbage/text on the monitor
screen is due to sending a 5v signal to the computer serial port? Or
is it due to the background voltage on the data pin from the RX unit?

I am open to anything you have to say!

Conrad

---------------------------------
Pinpoint customers who are looking for what you sell.

[Non-text portions of this message have been removed]


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: RF Link Issues - rosa...@aol.com - Aug 12 10:59:20 2007


Hi,
Somebody recommended you to use a maxim RS232 driver if I recalled. The RS232 TX output normally is at -12 and when is transmitting goes to +12. The receiving must be at -12 and then should go to +12. This mean that you need +/- 12 volts at the receiver and the transmitter.? I attached is a link to Maxim web side that explain the RS232? in detail. To be able to communicate you must meet the RS232 protocol.
http://www.maxim-ic.com/appnotes.cfm/appnote_number/83

rosarite

-----Original Message-----
From: Thad Larson
To: b...@yahoogroups.com
Sent: Sun, 12 Aug 2007 8:54 am
Subject: Re: [BasicX] Re: RF Link Issues

Checking out the 'KLP Walkthrough Tutorial', I noticed that their example only transfered one byte. My experience with these has also been limited to one byte. It seems as if something is getting through, but ~maybe~ it is going too slow. Try changing the following:

Call PutQueueStr( Com3_Out, "Transmit ")

to

Call PutQueueStr( Com3_Out, "T")

Call PutQueueStr( Com3_Out, "r")

Call PutQueueStr( Com3_Out, "a") etc.

I think that the separate lines will negate the need for a delay statement. Maybe not.

As far a 5volts / 12 volts goes, the BX24 transmits to a computer using a buffer.

Check out the schematic in the top left

http://tech.groups.yahoo.com/group/basicx/files/BX24/

BX-24_Schematic.gif

The TX uses two buffers in parrallel to protect the pin outputs. Your receiver may not need it, but I would opt for a more robust design. Even if it does work without a buffer now, you may find yourself connecting to a different computer that has greater voltage swings.

Best Regards,

Thad

Conrad A***** wrote: Thank you both for your advice. Here is a few updates since I've

been poking around at it for a while. Found out:

Data pin on the RX is tied to what Pin 2 (NOT Pin 1 as I stated

earlier) on the BX24 would normally

Went into "Start", "Control Panel", "System", "Hardware", "Device

Manager" and changed the info on COM1 to match the info I programmed

the BX24 to output

Put a LED on the data pin for the TX and RX units, the TX lights up

when the data is being sent. The LED on the RX unit does get brighter

when it's receiving the transmission, however once the transmission

is complete the LED slightly glows.

I tried dropping the voltage of the transmitter, however nothing

really changes. The TX/RX units are about 6" away from eachother on

a workbench, so there is no issue about, or testing, range or

anything like that.

With the code listed, I can get a message through on the BasicX

Downloader screen, but there is a lot of other garbage/text that

comes through as well.

Here is a pictures of what I have:

TX Setup: http://www.aceengineering.ca/Temp/IMG_2179.JPG

RX Setup: http://www.aceengineering.ca/Temp/IMG_2180.JPG

4 cavity connector is what is directly hooked up to the PC serial port

I also uploaded a video here:

http://www.youtube.com/watch?v=DYML4xstWCQ

You can see how on the RX the LED/dataoutput pin stays somewhat on

even when there is no signal being sent. I didn't realize about the

lack of 12v signal to the computer. On the Com3 output (when

normally connected to the computer) does that output a 12v signal as

well? I'm thinking the reason for the garbage/text on the monitor

screen is due to sending a 5v signal to the computer serial port? Or

is it due to the background voltage on the data pin from the RX unit?

I am open to anything you have to say!

Conrad

---------------------------------

Pinpoint customers who are looking for what you sell.

[Non-text portions of this message have been removed]

________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
[Non-text portions of this message have been removed]


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: RF Link Issues - Conrad A***** - Aug 12 12:10:54 2007

I tried your example, and still the same result. :(

Now if I have the TX side powered down and just leave the TX unit
powered and connected to the PC. I get this in the monitor window:

_w
{}_o

Just misc characters spit out, even with the TX shut off. The LED
(tied to the data pin) on the RX side still glows slightly as well.

I will definately take note on the buffer and add it once I get a
solid transmitting signal. Even if I tap on the antenna or do
anything to it, there seems to be more misc. characters spit out in
the monitor window. Just seems like a lot of noise is getting
through? So if a BX24 is fed 5v how can it produce a RS232 signal
with a 12v output?

I have a feeling this MAX232 is what I need to make this work, does
it filter out noise as well?

Conrad

--- In b...@yahoogroups.com, Thad Larson
wrote:
>
> Checking out the 'KLP Walkthrough Tutorial', I noticed that their
example only transfered one byte. My experience with these has also
been limited to one byte. It seems as if something is getting
through, but ~maybe~ it is going too slow. Try changing the
following:
> Call PutQueueStr( Com3_Out, "Transmit ")
> to
> Call PutQueueStr( Com3_Out, "T")
> Call PutQueueStr( Com3_Out, "r")
> Call PutQueueStr( Com3_Out, "a") etc.
>
> I think that the separate lines will negate the need for a delay
statement. Maybe not.
>
> As far a 5volts / 12 volts goes, the BX24 transmits to a computer
using a buffer.
> Check out the schematic in the top left
> http://tech.groups.yahoo.com/group/basicx/files/BX24/
> BX-24_Schematic.gif
>
> The TX uses two buffers in parrallel to protect the pin outputs.
Your receiver may not need it, but I would opt for a more robust
design. Even if it does work without a buffer now, you may find
yourself connecting to a different computer that has greater voltage
swings.
>
> Best Regards,
> Thad
>
> Conrad A***** wrote:
Thank you both for your advice. Here is a few updates since I've
> been poking around at it for a while. Found out:
>
> Data pin on the RX is tied to what Pin 2 (NOT Pin 1 as I stated
> earlier) on the BX24 would normally
> Went into "Start", "Control Panel", "System", "Hardware", "Device
> Manager" and changed the info on COM1 to match the info I
programmed
> the BX24 to output
> Put a LED on the data pin for the TX and RX units, the TX lights
up
> when the data is being sent. The LED on the RX unit does get
brighter
> when it's receiving the transmission, however once the
transmission
> is complete the LED slightly glows.
>
> I tried dropping the voltage of the transmitter, however nothing
> really changes. The TX/RX units are about 6" away from eachother
on
> a workbench, so there is no issue about, or testing, range or
> anything like that.
>
> With the code listed, I can get a message through on the BasicX
> Downloader screen, but there is a lot of other garbage/text that
> comes through as well.
>
> Here is a pictures of what I have:
>
> TX Setup: http://www.aceengineering.ca/Temp/IMG_2179.JPG
> RX Setup: http://www.aceengineering.ca/Temp/IMG_2180.JPG
> 4 cavity connector is what is directly hooked up to the PC serial
port
>
> I also uploaded a video here:
> http://www.youtube.com/watch?v=DYML4xstWCQ
>
> You can see how on the RX the LED/dataoutput pin stays somewhat on
> even when there is no signal being sent. I didn't realize about
the
> lack of 12v signal to the computer. On the Com3 output (when
> normally connected to the computer) does that output a 12v signal
as
> well? I'm thinking the reason for the garbage/text on the monitor
> screen is due to sending a 5v signal to the computer serial port?
Or
> is it due to the background voltage on the data pin from the RX
unit?
>
> I am open to anything you have to say!
>
> Conrad
>
>
>
> ---------------------------------
> Pinpoint customers who are looking for what you sell.
>
> [Non-text portions of this message have been removed]
>



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: RF Link Issues - Thad Larson - Aug 12 14:34:04 2007

Did you try connecting the RX data pin to a BX24 input pin?

Com3_Out ----> TX 'Transmit the byte
RX ----------------> Com3_In 'Receive the byte
Com3_in -------> Debug.Print 'Send it to the computer

This will keep all your voltages in the 0-5 volt ranges.

The noise is likely due to high input impedance attached to a long wire. The wire will catch all sorts of electrical noise. The same thing happens when a wire is attached to a BX24 input. The ADC of that pin bounces all over if the wire is not connected. Does the computer do the same when the RX module is removed?

The BX24 produces 0 or 5 volts. The RS-232 converter uses a DC-DC converter to increase the transmit voltages. For most modern computers, the 0/5 volt signals seen from the BX24 are sufficient for communication, BUT the current supply must be there to power the signal. That is where the buffer comes in. The RX device may not have enough current to send the signal. If time is not critical, but cost is, you can search for free samples of MAX232 or equivalent devices and receive them in a week.

Best Regards,
Thad

Conrad A***** wrote: I tried your example, and still the same result. :(

Now if I have the TX side powered down and just leave the TX unit
powered and connected to the PC. I get this in the monitor window:

_w
{}_o

Just misc characters spit out, even with the TX shut off. The LED
(tied to the data pin) on the RX side still glows slightly as well.

I will definately take note on the buffer and add it once I get a
solid transmitting signal. Even if I tap on the antenna or do
anything to it, there seems to be more misc. characters spit out in
the monitor window. Just seems like a lot of noise is getting
through? So if a BX24 is fed 5v how can it produce a RS232 signal
with a 12v output?

I have a feeling this MAX232 is what I need to make this work, does
it filter out noise as well?

Conrad

---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

[Non-text portions of this message have been removed]


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: RF Link Issues - Conrad A***** - Aug 16 10:46:04 2007

Thad,

I haven't had time to try and have the BX24 output and then receive
itself yet. I will try to do that in the next few days (been really
busy as of lately) and let you know the result.

As for the the high noise...I noticed something on the SparkFun TX/RX
info that I need a capacitor on the antenna line. This would reduce
the noise and clean things up correct? Last thing I want is a flaky
wireless connection, especially if it's transmitting data.

I have just ordered a few MAX232 samples a few days ago, so hopefully
they show up soon and I can keep progressing!

Conrad

--- In b...@yahoogroups.com, Thad Larson
wrote:
>
> Did you try connecting the RX data pin to a BX24 input pin?
>
> Com3_Out ----> TX 'Transmit the byte
> RX ----------------> Com3_In 'Receive the byte
> Com3_in -------> Debug.Print 'Send it to the computer
>
> This will keep all your voltages in the 0-5 volt ranges.
>
> The noise is likely due to high input impedance attached to a long
wire. The wire will catch all sorts of electrical noise. The same
thing happens when a wire is attached to a BX24 input. The ADC of
that pin bounces all over if the wire is not connected. Does the
computer do the same when the RX module is removed?
>
> The BX24 produces 0 or 5 volts. The RS-232 converter uses a DC-DC
converter to increase the transmit voltages. For most modern
computers, the 0/5 volt signals seen from the BX24 are sufficient for
communication, BUT the current supply must be there to power the
signal. That is where the buffer comes in. The RX device may not
have enough current to send the signal. If time is not critical, but
cost is, you can search for free samples of MAX232 or equivalent
devices and receive them in a week.
>
> Best Regards,
> Thad
>
> Conrad A***** wrote:
I tried your example, and still the same result. :(
>
> Now if I have the TX side powered down and just leave the TX unit
> powered and connected to the PC. I get this in the monitor window:
>
> _w
> {}_o
>
> Just misc characters spit out, even with the TX shut off. The LED
> (tied to the data pin) on the RX side still glows slightly as well.
>
> I will definately take note on the buffer and add it once I get a
> solid transmitting signal. Even if I tap on the antenna or do
> anything to it, there seems to be more misc. characters spit out
in
> the monitor window. Just seems like a lot of noise is getting
> through? So if a BX24 is fed 5v how can it produce a RS232 signal
> with a 12v output?
>
> I have a feeling this MAX232 is what I need to make this work,
does
> it filter out noise as well?
>
> Conrad
>
>
> ---------------------------------
> Park yourself in front of a world of choices in alternative
vehicles.
> Visit the Yahoo! Auto Green Center.
>
> [Non-text portions of this message have been removed]
>



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )