Communication between Arduino Unos with Parallax BoE sheld using Parllax 27982

I am working on swarm robot networks and I am using Boe-Bot base with Arduino Uno + Boebot shield for prototyping purposes.
( http://postimg.org/image/6jqnwkaqj/931ae8b4/)

I wanted two such arduino-uno sets to communicate using the Parallax 27982 433 MHz RF transceivers.

I am still at the wiring stage and am confused about how to wire the RF modules. I did read the other thread on these forums about it but it seemed inconclusive

This is the pin configuration for the Parallax 27982 433 MHz RF transceiver.(http://postimg.org/image/q7gzte1ml/9768bd4d/)

This is the pin availability on the Parallax Shield for Arduino Uno

(http://postimg.org/image/ykvvfjfm9/)

Now there are separate pins for TX and RX for the Arduino Shield
But only one data pin for both TX and RX for the RF Module.

These are the options i am thinking of

  1. Wire both 0 and 1 pin from the Shield to the single data pin of the RF module in the hope that theyll do the job when the TX-RX selector switches the mode of the RF Module (?)

  2. Wire the data pin of the RF module to port 0 of the Arduino shield and keep shifting it between input mode and output mode in the code itself

I am afraid to try it out yet because i dont want to damage the MOSFETs on the RF module. Does anyone have successful experience with these ? Or if some one can offer me some help with this

/Ashwin

No one replied …zzz nvm I will paste the connection between arduino and the parallax 27982 containing the chip TRM 433 Lt

It seems i have to use soft serial. Anyone know what precautions i need to take

While i was waiting for you to reply , I proceeded to hunt for some help on my own.
This is my current setup : 2 arduinos connected to parallax tranceivers as shown in above photographs from previous post

I came ac-cross this tutorial http://arduino.cc/en/Tutorial/SoftwareSerial which is to see if the RF modules are even communicating.
Now i adapted this code slightly. Here it is ( i split between transmitter and receiver for a start)

For Transmitter
#include <ctype.h>
#define bit9600Delay 84
#define halfBit9600Delay 42
#define bit4800Delay 188
#define halfBit4800Delay 94
byte rtselect = 9;
byte datapin = 8;
byte SWval;
void setup() {
pinMode(rtselect,OUTPUT);
digitalWrite(rtselect,HIGH); // When rtselect is 0 module is in receive mode . When rtselect is 1 module is in transmit mode.
digitalWrite(13,HIGH); //turn on debugging LED
if (rtselect==HIGH)
{pinMode(datapin,OUTPUT);}
if(rtselect==LOW)
{pinMode(datapin,INPUT);}

SWprint(‘h’); //debugging hello
SWprint(‘i’);
SWprint(10); //carriage return
}
void SWprint(int data)
{
byte mask;
//startbit
digitalWrite(datapin,HIGH);
delayMicroseconds(bit9600Delay);
for (mask = 0x01; mask>0; mask <<= 1) {
if (data & mask){ // choose bit
digitalWrite(datapin,HIGH); // send 1
}
else{
digitalWrite(datapin,LOW); // send 0
}
delayMicroseconds(bit9600Delay);
}
//stop bit
digitalWrite(datapin, HIGH);
delayMicroseconds(bit9600Delay);
}
void loop()
{

SWprint(toupper(SWval));
}

FOR RECEIVER

#include <ctype.h>
#define bit9600Delay 84
#define halfBit9600Delay 42
#define bit4800Delay 188
#define halfBit4800Delay 94
byte rtselect = 9;
byte datapin = 8;
byte SWval;
void setup() {
pinMode(rtselect,OUTPUT);
digitalWrite(rtselect,HIGH); // When rtselect is 0 module is in receive mode . When rtselect is 1 module is in transmit mode.
digitalWrite(13,HIGH); //turn on debugging LED
if (rtselect==HIGH)
{pinMode(datapin,OUTPUT);}
if(rtselect==LOW)
{pinMode(datapin,INPUT);}

SWprint(‘h’); //debugging hello
SWprint(‘i’);
SWprint(10); //carriage return
}
void SWprint(int data)
{
byte mask;
//startbit
digitalWrite(datapin,HIGH);
delayMicroseconds(bit9600Delay);
for (mask = 0x01; mask>0; mask <<= 1) {
if (data & mask){ // choose bit
digitalWrite(datapin,HIGH); // send 1
}
else{
digitalWrite(datapin,LOW); // send 0
}
delayMicroseconds(bit9600Delay);
}
//stop bit
digitalWrite(datapin, HIGH);
delayMicroseconds(bit9600Delay);
}
void loop()
{

SWprint(toupper(SWval));
}

Observation 1 ) Based on what I read for the parallax datasheet : A constant HIGH is used to synchronize,two RF modules which I changed ( in the tutorial if was Low)

Observation 2 ) I made it difficult to alter between transmit and receive the module as a safety precaution.

Ideally I should be getting an output on my computer console as the receiving bobot is connected to my system . I know its too much to hope , but well it didnt .
Could you tell me where I could be going wrong ?

I hope you've solved your problem.
I know it's a little late but i need to ask:
Can you wire the RF Transceiver directly to the Arduino (without the shield)?

ty