PDA

View Full Version : Easy Radio Transceiver ER400TS-02



kt88seamp
05-23-2010, 07:17 AM
Has anyone heard of this easy radio transceiver unit?

www.lprs.co.uk/ (http://www.lprs.co.uk/)

Datasheet:

www.lprs.co.uk/redirect.php?action=url&goto=www.lprs.co.uk%2Fdatasheets%2FER400TS-02.pdf (http://www.lprs.co.uk/redirect.php?action=url&goto=www.lprs.co.uk%2Fdatasheets%2FER400TS-02.pdf)

I am trying to get started with using it and the datasheet I feel is under documentes the device, but I am sure they did the best they can. I am trying to send and recieve data with it using the propeller and fullduplexserial. I am kind of lost and do not know where to begin, as I cannot find and samples or examples that work with this device. Has anyone used it? Where should I start in coding in spin for this unit?

Leon
05-23-2010, 11:59 AM
I can't see anything wrong with the documentation. You put serial data into one transceiver and it comes out of the other one. If you aren't sure of anything, why don't you ask them about it?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM

kt88seamp
05-23-2010, 01:29 PM
Yeah, i'm figuring it out. Got a serial terminal on it and analyzing how it behaves. Will probably get it tomorrow or the next day.

Jay Kickliter
05-23-2010, 10:09 PM
Those look like Radiometrix modules. I wonder if they are the same hardware.

kt88seamp
05-24-2010, 07:56 AM
Here is my progress. According to my oscilloscope, I got the RF modules to transmit. It only transmits with the BS2 serout functions, not full-duplex serial. My scope indicates that the serial data is being outputted to the propeller pin, however the serin is not acknowledging it. Am I using serin it correctly?

Cats92
05-26-2010, 03:59 AM
I have used EASYRADIO transcievers (ER400TRS sold by DEVANTECH : robot-electronics.co.uk) to command a bot from a PC.

On the PC side I use a RF04-400 module (an ER400TRS with connection for the USB port of the PC).
And to send the messages the Propeller PST tool is all you need to make tests.
Note that the modules use 19200 bauds (You can download a tool for changing this on the site of Devantech, if you want)

On the Bot side
I used a simple ER400TRS module with 9 pins noted from 1 to 9 when you look at the module on the side
with the name Easyradio.
And I connect this pins as follows:
1 to an antenna (a 16,4 cm piece of wire)
2 to Ground
3 an 4 not connected

5 connected with a 22 K ohms resistor to pin 21 of the Propeller (for RX)
6 connected with a 22 K ohms resistor to pin 20 of the Propeller (for Tx)
7 and 9 to ground
8 to 5 volts (stabilized)

To receive the commands I use the Fullduplexserialplus Object in a programm looking like this:

(note that Propeller pin 21 is Rxpin and 20 Txpin)

Byte mystring[20] ' a string to store the message received

OBJ

fullD : "FullduplexserialPlus"

PUB MAIN

fullD.start(Rxpin, Txpin,0, 19200)

repeat
waitbotID
fullD.getstr(@mystring)
comchar:=mystring[0]
case comchar
"f":
forward(100)
"b":
backward(100)

........

PUB waitbotID | byteread
byteread :=0
repeat until (byteread==75) ' all messages from a bot begins with the bot number : here 75
byteread := fullD.Rx