Serin serout problem


Closed Thread
Results 1 to 40 of 337

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    yes they are on the same vdd and ground,
    I just tried seperating them by putting the sedning end on a battery but no diferent.
    Also the receiving, here is only one wire that is going in , the other wires are used for the LCD, obviously, the lcd works. I am putting the scope on the incoming port adn there is a signal in . The signal is sent every 500ms, Maybe that is too slow ?? and the receiving cant see it ..

    ken

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    yes they are on the same vdd and ground,
    I just tried seperating them by putting the sedning end on a battery but no diferent.
    Also the receiving, here is only one wire that is going in , the other wires are used for the LCD, obviously, the lcd works. I am putting the scope on the incoming port adn there is a signal in . The signal is sent every 500ms, Maybe that is too slow ?? and the receiving cant see it ..

    ken



    Which is why:
    serin portB.3 , n2400 , 1000 , loop , [ temp.highbyte , temp.lowbyte , tempf.highbyte , tempf.lowbyte ]

    It sits in a tight loop for 1000 ms waiting for anything to come across the serial lines. If nothing happens for 1000 ms, it jumps back to 'loop', which almost immediately goes back into the waiting loop. It's not going to miss anything.

    Is the try1 counter going up by one about once a second on both ends?

  3. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    try counter , what is that ?
    I just moved the circuit to somewhere else on the breadboard, no changes

    k

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    try counter , what is that ?
    I just moved the circuit to somewhere else on the breadboard, no changes

    k
    3 or 4 posts ago, I changed the code, added a couple of counters...
    making the lcd work for you!

  5. #5
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    aa ok , i see that, my compiler does not recognize the 'dec3' command
    picbasic pro 2.46

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    aa ok , i see that, my compiler does not recognize the 'dec3' command
    picbasic pro 2.46
    I'm running 2.46, using it just fine, no space between dec and 3. Just replace it with DEC and see what happens.

  7. #7
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    ok, working now, Try2 was not initialized

    the sending counter works, but is about incrementing once every .5 seconds
    With temperature showing on the first line
    The second lcd (receiving) nothing on the first line , and the counter is not counting, The counter starts when the wire (input) is disconnected
    but NO Tc anf Tf
    k
    Last edited by lerameur; - 24th December 2006 at 00:51.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  3. serout and serin problem
    By nicolelawsc in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th April 2006, 19:44
  4. Replies: 11
    Last Post: - 13th July 2005, 19:26
  5. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 15:54

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