Easy Radio Transceiver ER400TS-02
kt88seamp
Posts: 112
Has anyone heard of this easy radio transceiver unit?
www.lprs.co.uk/
Datasheet:
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?
www.lprs.co.uk/
Datasheet:
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?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
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[noparse][[/noparse]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[noparse][[/noparse]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