pc communicate with pic16f877


Closed Thread
Results 1 to 2 of 2
  1. #1
    meyou's Avatar
    meyou Guest

    Default pc communicate with pic16f877

    Please,
    i need to do a program in java on my pc that controls and sends data to a pic16f877(master) via an interface max232.
    The master also communicates with 31 slaves and all of them are programmed with picbasic to serially communicate each other.

    Thank you very much.

  2. #2
    CBUK's Avatar
    CBUK Guest


    Did you find this post helpful? Yes | No

    Default

    i take it your 'remote' pics will be operating under RS485 or so fourth (effectively and addressed RS232). the only thing i can think to suggest is ditch the 16F877 for the master and look for a pic with 2 hardware USART ( i think they exist) and use hserout/ hserin and hserout2/ hserin2 for two hardware comms.

    or use the 16f877 but using hserout/ hserin for your RS485 comms(hardware USART to ensure the timing and speed is there for the network), and serin/ serout for the RS232(bog standard non hardware controlled communications ideal for the PC comms where missing an address because of the program being in a different location may not end the world.. but will eventually catch up) remembering to use the correct driver chips for the line loading etc.

    Chris

Similar Threads

  1. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  2. Replies: 14
    Last Post: - 20th March 2008, 13:54
  3. PIC16F877 sends/receives data to/from a PC
    By ovidiu in forum Serial
    Replies: 1
    Last Post: - 2nd December 2006, 14:09
  4. USB interface from PIC16F877 to PC
    By headshouter in forum USB
    Replies: 0
    Last Post: - 26th February 2006, 04:58
  5. PIC16F877 to PC via max232 HELP!!
    By loredana in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 11th May 2005, 17:42

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