Transceiver ER900TRS Easy Radio


Closed Thread
Results 1 to 4 of 4
  1. #1

    Default Transceiver ER900TRS Easy Radio

    Hi

    I have a Problem with my ER900TRS Easy Radio Transceiver!

    When I use this Syntax: hserout ["A",DEC3 Adval[0],"B",DEC3 Adval[1],13,10]

    I Receive on my PC Corrupt data,why?!

    But when I use this:hserout ["A",Adval[0],"B",Adval[1],13,10] , without DEC3 is all OK!

    I try some Pause after HSEROUT but nothing is happend!

    I use 19200 Baudrate and 4 Mhz 18F452,its all fine just the DEC syntax make Problem.

    Maybe someone have the same Trouble and a answer for me.

    Thank You for any help.

    Ragards Pesti

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Pesti,
    What kind of data is stored in ADVAL? What I am going to say may not be right, it is worth investigating on your part however . . . DEC forces HERSEROUT to send data as Decimal numbers. When you send without using it, I think it is going out as ASCII. Apparently your "reciever (I.E. computer, serial LCD . . . )" is expecting ASCII. To communicate both devices must speak the same language.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pesticida View Post
    When I use this Syntax: hserout ["A",DEC3 Adval[0],"B",DEC3 Adval[1],13,10]
    This will send out:
    A
    (3 decimal characters denoting the value in Adval[0])
    B
    (3 decimal characters denoting the value in Adval[0])
    (CR)
    (LF)

    But when I use this:hserout ["A",Adval[0],"B",Adval[1],13,10] , without DEC3 is all OK!
    This will send out:
    A
    (the actual value of Adval[0], as in a single byte value)
    B
    (the actual value of Adval[1], as in a single byte value)
    (CR)
    (LF)

    Big difference between the two...

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Hi

    I found the mistake,I use after HSEROUT just 10 mS Pause this is to cheap,I'm using now 50 mS and all is oK!

    The receiver part need ~20 mS to be Ready,My problem is that i dont use the Busy and Host Ready Input.So I msut to take Greater Pause Intervalls.

    Thank you

    Regards Pesti

Similar Threads

  1. Car radio (Car radio and electronics support forum)
    By freewillover in forum Forum Requests
    Replies: 1
    Last Post: - 1st July 2009, 19:41
  2. Replies: 5
    Last Post: - 6th September 2007, 04:59
  3. Newbie radio link issue
    By George in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 28th February 2007, 04:28
  4. LPRS/miniature radio modules
    By fowardbias in forum Off Topic
    Replies: 1
    Last Post: - 20th September 2005, 01:03
  5. Help With Easy Radio Modules
    By hughgoodbody in forum General
    Replies: 5
    Last Post: - 25th May 2005, 09:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts