Shop OBEX P1 Docs P2 Docs Learn Events
UART and Radio transmission — Parallax Forums

UART and Radio transmission

hterrollehterrolle Posts: 30
edited 2008-03-06 12:19 in General Discussion
Hi,

I made some test today with the ER400TRS radio transmition. The Baud rate is 19200.

So for the test i have only set the UART for transmission. And i find out that i can send only between 400 and 440 caracter per second no more ?

As i would like to send the output of my camera to the computer using radio transmission i would need somme things more efficient than the ER400TRS. which is good enough to send order to the robots.

Does some one knows what kind for module could be usefful to send frame (5 to 6) per second in 256 color·(1byte) from a robots to the computer ?

thanks·

Comments

  • hterrollehterrolle Posts: 30
    edited 2008-03-04 23:32
    does 400 to 440 caracter means around 3200 TO 3500 zero or one.

    can i increase the rate or it is normal ?
  • hterrollehterrolle Posts: 30
    edited 2008-03-05 22:21
    It look like my question seams stupid or what ?

    I just need to know if the rate is normal or not or if i can increase it ?
  • HueyHuey Posts: 23
    edited 2008-03-06 01:38
    could you post the link to the reference or datasheet that you are using?

    I found this datasheet minutes after posting.

    It seems that the baud rate could be set at 19200.

    also a possible Uart constructor could be this:

    private int txPin = CPU.pin0 // the 'Serial Data Input' pin on the module
    private int ctsPin = CPU.pin2 // the 'Busy Output' pin on the module
     
    Uart txUart = new Uart(Uart.dirTransmit, txPin, Uart.dontInvert, ctsPin, CPU.speed19200, CPU.stop1);
    

    Although I am positive the Pete would be able to give you more help than I could.· I hope this sheds some light for ya.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Huey


    Double Bachelor of Science
    CPET - Computer Engineering Technologies
    CIS - Computer Information Systems
    MSU-Northern
    Chair of MSU-Northern IEEE Student Branch

    Post Edited (Huey) : 3/6/2008 1:56:03 AM GMT
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-03-06 12:19
    You can reliable receive up to 28800 baud and reliable transmit up to 57600 baud.
    The ram-to-ram throughput is however limited to about 10kilobits/seconds, which
    is slightly better than 9600 baud. 9600 baud equals 960 bytes. Due to internal
    copying (parameter passing) I would say 500 bytes/second throughput is
    normal.

    regards peter
Sign In or Register to comment.