RS 485 using 16F84A


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    GREECE
    Posts
    120

    Exclamation RS 485 using 16F84A

    Hello,hello,hello my friends,
    My project is to read a protocol from a device and display the DISPLAY DATA using the PIC 16F84A.

    That is the code like :

    ELECTRICAL

    RS 422/ RS 485

    8 bit data

    1 stop

    even parity

    38.4k baud

    ----------------------------------------------------------------

    | HEADER | CONTROL BYTE | DISPLAY DATA |

    ----------------------------------------------------------------

    Header (1 byte) Display address (0-126) + 80 hex

    ( control byte and display data will be sent )

    Control (1 byte) bit 0 =contact 1 ( 1=on, 0=off )

    bit 1 = contact 2 ( 1=on, 0=off )

    bit 2 = don't care

    bit 3 = don't care

    bits 4-5 = brightness data

    bit 4 = 0, bit 5 = 0 (0 brightness)

    bit 4 = 0, bit 5 = 1 (1/7 brightness)

    bit 4 = 1, bit 5 = 0 (1/2 brightness)

    bit 4 = 1, bit 5 = 1 (full brightness)

    bit 6 = reserved (clear to 0)

    bit 7 = cleared to 0

    Display Data(16 bytes) 16 displayable ASCII characters

    in the range 20 hex to 7E hex.All 16 characters must be sent.



    Any idea how I can I read that data info using my 16f84a?

  2. #2
    Join Date
    Feb 2005
    Location
    GREECE
    Posts
    120


    Did you find this post helpful? Yes | No

    Lightbulb

    A question?

    Can I read the serial RS-485 stream using the 16F84A?Or I have to use PIC with hardware USART?

    It is necessary to use rs485 converter?

    Please help me

Similar Threads

  1. Code works on 16F84A but not on 16F88?
    By pharaohamps in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th November 2009, 18:29
  2. RS 485 network
    By mychangl in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 25th November 2008, 09:35
  3. ICSP using a 16F84a to program 24CXX
    By aftab in forum mel PIC BASIC
    Replies: 26
    Last Post: - 8th April 2007, 11:39
  4. RS 485 wireless communication
    By Armadus in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 26th January 2006, 19:30
  5. 16F84A and Optrex LCD
    By coyotegd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th October 2005, 16:08

Members who have read this thread : 1

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