Wireless modules - help with code not working


Closed Thread
Results 1 to 32 of 32

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Location
    IO93ok
    Posts
    190

    Default Wireless modules - help with code not working

    Following on from the thread where I asked re simple setup I bought the modules from Ciseco.

    I've made up a board based on the schematic below and also some code, however it doesn't work. I have made a small test code just to get the module to transmit but no joy.

    I can see on the scope that the pic sends the serout at 1 second intervals but I can't seem to get the module to transmit.

    Factory default according to the site is 9600baud in transparent serial mode. The modules are the ARF version from Ciseco as per previous thread.

    I've tried serout and serout2.

    Can anyone see what the problem may be ?

    Code:
    '
    INCLUDE "ALLDIGITAL.pbp"
    Include "modedefs.bas" 
    DEFINE OSC 10
    
    
    TRISA=$00001000
    CMCON=7
    
    
    TESTBIT VAR BYTE
    
    
    TESTBIT = 1
    
    
    TEST:
        SEROUT PortA.2,N9600,["BOB",TESTBIT] '9600bps
        PAUSE 1000
        GOTO TEST
    
        
    END
    Name:  868.jpg
Views: 1522
Size:  35.4 KB
    Last edited by tasmod; - 26th April 2013 at 10:21.

  2. #2
    Join Date
    Dec 2011
    Location
    IO93ok
    Posts
    190


    Did you find this post helpful? Yes | No

    Default Re: Wireless modules - help with code not working

    In the example I have the module input pin incorrect.

    I've tried the other pin and still no success.

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: Wireless modules - help with code not working

    Does it need a short delay before the first transmission?

    No need for pull-up or down resistors on lines?

    (Just throwing ideas,)

    Robert

  4. #4
    Join Date
    Dec 2011
    Location
    IO93ok
    Posts
    190


    Did you find this post helpful? Yes | No

    Default Re: Wireless modules - help with code not working

    Hi Robert,

    Thanks for the ideas.

    I incorporated a start delay in one version of the code but it made no difference.

    It's all at 3.3v. According to code samples on Ciseco forum it should work with direct connection but i did wonder about this myself.
    Maybe I'll try them. Documentation is sparse and confusing.

    I wrote a routine that cycled through all the baud rates available, one by one, per second, but the module just didn't transmit. I watched the module input pin signals on a scope and could see the pic output arriving every second, so the code worked.

    I've just received an account email for Ciseco forum activation and have posted on their forum regarding the problem. They only offer support via the forum.

    Rob

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Wireless modules - help with code not working

    Did you try HSEROUT?

  6. #6
    Join Date
    Dec 2011
    Location
    IO93ok
    Posts
    190


    Did you find this post helpful? Yes | No

    Default Re: Wireless modules - help with code not working

    Thanks Dick,

    Tried that but no luck.

    Seems from info from the user forum that they are faulty.

    I can see signal applied to module from pic but there's no output, the main module is clocking but the rf output part isn't responding.

    Rob

Similar Threads

  1. Wireless modules and simple setup, what is required?
    By tasmod in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 11th April 2013, 17:57
  2. Low latency Wireless RF transceiver modules?
    By mark155 in forum General
    Replies: 0
    Last Post: - 4th March 2010, 05:20
  3. Wireless modules FCC approved
    By Michael in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 7th September 2008, 02:23
  4. Software RS232 and wireless modules
    By Michael in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th August 2008, 05:27
  5. Wireless comms with Linx LR modules
    By telemark in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd July 2006, 01:58

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