Communication between two PicChip


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: Communication between two PicChip

    I can some steady activity on the HSEROUT port. Seems to me the receiving end is a problem. I used another picF88 chip in case it would be a hardwire pin problem, but still the LCD is not showing the input. I removed the First LCDOUT and juste the one after the HSERIN and the L:CD is showing blank...

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: Communication between two PicChip

    Are you using HSERIN for the receive side?

    Just do this -

    LCDOUT $FE,$1

    Topp:

    HSERIN [X]
    LCDOUT X

    Goto Topp
    Charles Linquist

  3. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: Communication between two PicChip

    this is what I have now. the tiny rail of the breadboard seems to be defective, although I tested it with my multimeter and it seems to be conducting, but then if I put the wire from the transmitting pic directly to the receiving chip leg then I could see something on the LCD. that fixed. I am sending 5 or 22 or 85 from the TX pic and I am always receiving 49 on the RX chip....
    Mainloop:

    Pause 50


    Hserin [encoded22]
    PAUSE 100

    lcdout $FE,1, "input ", bin encoded22
    pause 200


    goto Mainloop

    end

  4. #4
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: Communication between two PicChip

    I removed the defines commands for HSERIN, ans used the serout command. It WORKS !!!. But i would like to make the HSEROUT AND HSERIN command works. I still get the number 48 or 49 showing up. sometimes after a minute or so the LCD shows some erratic behaviour, showing a lot oo???oo?? on both of the line.....
    any ideas?

    k

  5. #5
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: Communication between two PicChip

    i CHANGES BREADBOARD, USED BRAND NEW CHIPS, STILL i AM GETTING 49 IN THE RECEIVING PIC................ANY IDEAS ???? OUPS CAPS LOCK...

    Ken

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