+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Member level 1
    Points: 531, Level: 4

    Join Date
    Dec 2012
    Posts
    37
    Helped
    0 / 0
    Points
    531
    Level
    4

    WIFI Module for PIC and syncronization

    Hi

    I have created a board based on PIC15F876A running a finite state machine. I want to add a wifi module so that I can read/write command to this board via HTTP. I checked online several modules:

    RN131
    OpenPicus
    CC3000
    GA1000 Wi-Fi
    EasyWiFi Board

    Any other suggestion?

    Can you also please help me to understand the best way to sync up the communication between the two pic ? The one on the module and the other on my board. This is a general question I am trying to answer but I was not able to find any valuable resource on the web. I would like to know the optimal way to let subsystems to communicate among them in a distributed system. In this case
    I want to make the two pic communicate each other. What If one pic is trying to send data via SPI while the other is reading the input from a sensor?

    Thanks a lot

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 12,735, Level: 27
    Achievements:
    7 years registered

    Join Date
    Nov 2008
    Location
    Norwich, UK
    Posts
    2,123
    Helped
    598 / 598
    Points
    12,735
    Level
    27

    Re: WIFI Module for PIC and syncronization

    the RN171 has an onboard TCPIP stack which is easy to use
    http://www.microchip.com/wwwproducts...?product=RN171


    so long as you are using interrupts microcontrollers can carry out several IO tasks simultaneously (within limits) and DMA makes things even easier as it handles transfers between the IO device and memory without program intervention



    •   AltAdvertisement

        
       

  3. #3
    Full Member level 3
    Points: 1,665, Level: 9

    Join Date
    Apr 2012
    Posts
    166
    Helped
    10 / 10
    Points
    1,665
    Level
    9

    Re: WIFI Module for PIC and syncronization

    but RN 171 is not a web server, but a client.



    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 5
    Points: 12,735, Level: 27
    Achievements:
    7 years registered

    Join Date
    Nov 2008
    Location
    Norwich, UK
    Posts
    2,123
    Helped
    598 / 598
    Points
    12,735
    Level
    27

    Re: WIFI Module for PIC and syncronization

    Quote Originally Posted by arbj2 View Post
    but RN 171 is not a web server, but a client.
    have a look at the Microchip MRF modules
    http://www.microchip.com/pagehandler...ucts/home.html

    which use a TCP/IP stack on the host microcomputer and will support a HTTP server



  5. #5
    Member level 1
    Points: 531, Level: 4

    Join Date
    Dec 2012
    Posts
    37
    Helped
    0 / 0
    Points
    531
    Level
    4

    Re: WIFI Module for PIC and syncronization

    Quote Originally Posted by horace1 View Post
    have a look at the Microchip MRF modules
    http://www.microchip.com/pagehandler...ucts/home.html

    which use a TCP/IP stack on the host microcomputer and will support a HTTP server

    Thanks.

    What is the difference between RN 171 an OpenPicus?
    Do you have any schematic for interfacing the module with an exsisting PIC?

    Thanks



  6. #6
    Full Member level 3
    Points: 1,665, Level: 9

    Join Date
    Apr 2012
    Posts
    166
    Helped
    10 / 10
    Points
    1,665
    Level
    9

    Re: WIFI Module for PIC and syncronization

    have a look at the Microchip MRF modules
    http://www.microchip.com/pagehandler...ucts/home.html

    which use a TCP/IP stack on the host microcomputer and will support a HTTP server
    Sure but it doesn't have a on-board TCP/IP stack like the RN171. An on-board stack is preferable (my opinion) as
    I do not have to accommodate the stack on the host mcu, this saves a lot of space.

    OpenPicus is a complete development system whereas the RN 171 is a wifi module. With openPicus you can make your own application and use the on-board PIC mcu to to do the job, whereas for a RN171 you need to add another mcu to control it.



  7. #7
    Member level 1
    Points: 531, Level: 4

    Join Date
    Dec 2012
    Posts
    37
    Helped
    0 / 0
    Points
    531
    Level
    4

    Re: WIFI Module for PIC and syncronization

    Quote Originally Posted by arbj2 View Post
    Sure but it doesn't have a on-board TCP/IP stack like the RN171. An on-board stack is preferable (my opinion) as
    I do not have to accommodate the stack on the host mcu, this saves a lot of space.

    OpenPicus is a complete development system whereas the RN 171 is a wifi module. With openPicus you can make your own application and use the on-board PIC mcu to to do the job, whereas for a RN171 you need to add another mcu to control it.
    Thanks.
    1. How to interface RN171 to a PIC
    2. When 1 is completed are there any limitation compared with OpenPicus? If I understood correctly
    OpenPicus doesn't have an onboard TCP stack and can be used as http server ( I need to connect to the board from remote computer so I need to board listening for incoming http request). if I use the RN171 I should first establish a connection to the computer when data shoud be sent from board.



    •   AltAdvertisement

        
       

  8. #8
    Advanced Member level 5
    Points: 12,735, Level: 27
    Achievements:
    7 years registered

    Join Date
    Nov 2008
    Location
    Norwich, UK
    Posts
    2,123
    Helped
    598 / 598
    Points
    12,735
    Level
    27

    Re: WIFI Module for PIC and syncronization

    the RN171 has both UART and SPI interfacxes
    the simplest way is to have a PIC with two UART - connect one to a PC for debugging and the other to the RN171

    there is sample code available from
    http://www.microchip.com/Microchip.W...Name=en559511#



--[[ ]]--