Proper connections using Parallax's 433MHz Transceivers
eiplanner
Posts: 112
Hello all,
I am still working with the Parallax 433 MHz transceivers to communicate between my BS2 and Prop PDB.
Because I have let the smoke out of one of my modules, I want to clarify a few things before attempting to
hook up my new one.
Below are the wiring diagrams that Beau in another thread. I wanna make sure that I am correctly applying
this configuration. Please correct me where I might be wrong.
On my Propeller:
* Should I have 3 dedicated pins (1 for data, 1 for transmit and 1 for receive) with the transmit pin going through
a 330 ohm resistor? (Both the trans pin and the rec pin terminating on the TX-RX of the module)
On my BS2:
* Should I be using voltage dividers on all lines to the module (5v input, trans/recv, and data pins) or will the module
regulate its own voltage? Beau listed the RF transmitter and RF receiver modules but I am using the Transceiver
module on my BS2 Homework Board and need to get correct connecting arrangement of resistors.
Thanks for your expertise on this.
Raymond
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
and so, the journey continues..........
I am still working with the Parallax 433 MHz transceivers to communicate between my BS2 and Prop PDB.
Because I have let the smoke out of one of my modules, I want to clarify a few things before attempting to
hook up my new one.
Below are the wiring diagrams that Beau in another thread. I wanna make sure that I am correctly applying
this configuration. Please correct me where I might be wrong.
On my Propeller:
* Should I have 3 dedicated pins (1 for data, 1 for transmit and 1 for receive) with the transmit pin going through
a 330 ohm resistor? (Both the trans pin and the rec pin terminating on the TX-RX of the module)
On my BS2:
* Should I be using voltage dividers on all lines to the module (5v input, trans/recv, and data pins) or will the module
regulate its own voltage? Beau listed the RF transmitter and RF receiver modules but I am using the Transceiver
module on my BS2 Homework Board and need to get correct connecting arrangement of resistors.
Thanks for your expertise on this.
Raymond
Beau's Diagrams: Use this schematic when using the RF transmitter (#27980) 4.7K 1K +3.3V >---/\/\---o---/\/\---> DATA | TX >----------o Vss >---------------------> GND +5V >---------------------> +5V Use this schematic when using the RF receiver (#27981) 4.7K 1K GND >---/\/\---o---/\/\---> DATA | RX >----------o Vss >---------------------> GND +5V >---------------------> +5V Use this schematic when using the RF transceiver (#27982) as a Transmitter 330 TX >---/\/\---------> DATA Vss >----------------> GND +3.3V >----------------> TX-RX Use this schematic when using the RF transceiver (#27982) as a Receiver RX >------------------> DATA Vss >------------------> GND Vss >------------------> TX-RX
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
and so, the journey continues..........
Comments
I'm trying to do something similar and think that I've got some issues with my 27982 transcievers. when you look at the LINX technologies datasheet for the TRM-XXX-LT module the max voltage is 3.6V. however when you look at the Parallax datasheet it says 3.3 - 5.0V. I've checked the pins on the actual chip and if you put 5V on the Vdd pin of the 27982 you dod get about 3.3V on the Vcc pin of the LINx module.
one problem I've had is getting the data through one module over the air and out the data pin on the other module. A lot of the time I'm getting partial data out. I'm not sure if I'm using the right configuration on my serial command. i'm using the drive mode, but I've seen reference to open mode. What are you using? i'm also using the same pin for both transmit and receive. Do you pull the receive pin high or low?
Thanks,
Dave
These Parallax Transceivers (27982) are quite the problem child to put it lightly. I have been working with mine every day for two weeks or more and have yet
to get a consistent result. When I set the TX-RX pin to low for receiving data, it automatically starts receiving trash out of the air. This makes it extremely difficult
to ever get the modules synchronized.
I have used all kinds of programming configurations to no avail. Changing baud rates, using preambles, serin, pulsein, pin mode, i've pulled them high, pulled them low, voltage dividers,
filter caps, and all kinds of other unorthodox methods, and still no usable results. There always seams to be an incoming stray bit that throws everything off.
It's the same on my Pro Dev Board in Spin. I can't get it to sit at a waitpeq command for more than half a second. The modules are just picking up too much trash.
It won't even hold at a serin command that has to wait for a signal before receiving data. It just picks up some arbitrary high bit and starts receiving all on it's own.
I am not a veteran programmer, but I have been at this serial stuff for a couple months and I believe that I pretty well have the gist of what needs to be done and several
ways to accomplish it, but I don't know if it will happen with these modules. I have been considering removal of the LINX chip from the board to be used as illustrated on its
datasheet. That way maybe I could take more control of it and possibly filter it better.
Currently, I am working on a totally non-synchronized method of sending long pulses of 1's and 0's from my Prop Transceiver to my BS2 transceiver. I am having some luck
with generating good signals by making my stamp check the length of the pulse with a looping BUTTON command. It continuously runs the loop until it gets a complete signal
such as %111111111111111 then leaves the loop to assign a bit value to a byte variable. Then back to the loop to get the next piece of data. It's a little slower but right now,
it's the only way I can get the data across .
Sorry not much help. I've searched the forums many times myself and haven't come across and real solutions for these modules between the Pro & Stamp. I haven't
tried coms between two Props yet. I was wanting to use the buttons on my PDB to remote control my Boe-Bot just for fun and practice with the two different boards
and languages.
I'm still determined though so maybe, I'll have a usable object sooner or later.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
and so, the journey continues..........
You can keep playing around, but you really need to look into well established techniques for reliable digital transmission over a noisy communications link. This sort of thing is used all the time in amateur radio and the CRC examples for the Stamp are a good starting point.
There's nothing wrong with the Parallax transceivers and they work well for a lot of people. Unfortunately, the same frequencies are used for a lot of devices and, in noisy areas, you have to add your own error recovery layers.
My conclusion is that what im sending is drowning in this rubbish data, but why wont anything registered when im in PDN high mode? ive tried all the different tecniques of manchester coding, sync-bytes etc etc without any success so far. I've got some tricks up my sleeve left to try. If im not successful this weekend I'll grab my mechatronics teacher/assistants at school on monday to get some advice... If you've solved this already (since it was a couple of days since you posted) I'd be glad to hear from you!
I had them talking in just a couple minutes after hooking up the hardware. It truly was a no-brainer!
--Steve
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
haha, lucky you! though struggeling to get this to work is a good way to learn it all, since this is a part of my engineering education I MUST know how this works in every little detail, and its a nice feeling when you get it up and running if you've been working for it some time^^
EDIT!
@eiplanner
I've got the RF-connection up and running today! I measured the Tx-Rx pin on the transmit side just to discover it wasnt logic 1, So i checked my code again and nothing was wrong, but just to be on the safe side i removed my DDRB and PORTB assignments (i set PORTB to 0xFF, s
Glad you got yours working!
Post Edited (ToeTag) : 3/1/2010 1:01:31 AM GMT
These work flawlessly with very good range, about 2 city blocks, line of site.