+ Post New Thread
Results 1 to 9 of 9
  1. #1
    Full Member level 3
    Points: 2,302, Level: 11
    Achievements:
    7 years registered
    jpsganesh's Avatar
    Join Date
    Aug 2009
    Location
    India
    Posts
    175
    Helped
    22 / 22
    Points
    2,302
    Level
    11

    Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    Please find the attached block diagram, I wanted to do data logging and control from my Laptop/PC through wifi router or direct wifi from laptop. So only one nRF24L01 or ESP8266 module will be used. Is it possible to do this with nRF24L01 or ESP8266 module? Which protocol I need to use at wireless side to send and receive data from/to PC/Laptop?
    I'm plannign to use PIC16F887 microcontroller with few sensors, LEDs and relays.

    Click image for larger version. 

Name:	WiFi data logger.JPG 
Views:	21 
Size:	29.4 KB 
ID:	110265

    •   AltAdvertisment

        
       

  2. #2
    Member level 3
    Points: 437, Level: 4

    Join Date
    Mar 2014
    Posts
    59
    Helped
    4 / 4
    Points
    437
    Level
    4

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    I don't know for nRF24L01, but for the esp8266 you can find a lot of stuff in the forum.
    http://www.esp8266.com


    1 members found this post helpful.

  3. #3
    Advanced Member level 5
    Points: 9,012, Level: 22
    Achievements:
    7 years registered
    Easyrider83's Avatar
    Join Date
    Oct 2011
    Location
    Tallinn, Estonia
    Posts
    1,588
    Helped
    362 / 362
    Points
    9,012
    Level
    22

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    Only one common thing between nrf2401 and wifi is a frequency. Be sure - it is not possible.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  4. #4
    Full Member level 3
    Points: 2,805, Level: 12
    ds18s20's Avatar
    Join Date
    Jun 2006
    Location
    San Francisco
    Posts
    171
    Helped
    13 / 13
    Points
    2,805
    Level
    12

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    I'm not familiar with nRF24L01 but with ESP it is most defenietly possible to control things behind it using simple NetCat such as echo "0xEA" | nc 192.168.1.55 333 -w 3

    The ESP can act as a simple Ethernet to serial bridge so all your MCU needs to do is listen for strings and take action; in the example above 0xEA would do something which the MCU can recognize coming from the ESP

    To setup the ESP as server I use the following sequence:

    Code:
    AT+CIFSR 
    AT+CIPMODE=1
    AT+CIPMUX=1
    AT+CIPSERVER=1,333
    AT+CIPSTO=120
    AT+CIPMUX=0
    Now the ESP will accept TCP connections on port 333 and will pass all traffic to its serial interface. From there it is up to your MCU to take action.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  5. #5
    Full Member level 3
    Points: 2,302, Level: 11
    Achievements:
    7 years registered
    jpsganesh's Avatar
    Join Date
    Aug 2009
    Location
    India
    Posts
    175
    Helped
    22 / 22
    Points
    2,302
    Level
    11

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    Thank you all for your replies.
    Anybody have all list of commands with its definition? If so please share.



  6. #6
    Full Member level 3
    Points: 2,805, Level: 12
    ds18s20's Avatar
    Join Date
    Jun 2006
    Location
    San Francisco
    Posts
    171
    Helped
    13 / 13
    Points
    2,805
    Level
    12

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    The AT commands depend on the firmware; they seem to change almost daily as new commands are added; I found the following BEGINNER’S GUIDE helpful when I first started playing with the module


    1 members found this post helpful.

  7. #7
    Full Member level 3
    Points: 2,302, Level: 11
    Achievements:
    7 years registered
    jpsganesh's Avatar
    Join Date
    Aug 2009
    Location
    India
    Posts
    175
    Helped
    22 / 22
    Points
    2,302
    Level
    11

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    When I was searching internet to buy ESP8266 module I found some different configuration like below mentioned.
    ESP-01 ESP8266 / ESP-09 ESP8266 / ESP-12 ESP8266
    What it is stands for ESP-01 or 09 or 12



    •   AltAdvertisment

        
       

  8. #8
    Full Member level 3
    Points: 2,805, Level: 12
    ds18s20's Avatar
    Join Date
    Jun 2006
    Location
    San Francisco
    Posts
    171
    Helped
    13 / 13
    Points
    2,805
    Level
    12

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    those are the various hardware versions of ESP8266; there are about 10 now and more are being released quickly so that number is probably larger than 10 already by the time you read this:

    Click image for larger version. 

Name:	esp8266.png 
Views:	8 
Size:	763.0 KB 
ID:	113154



  9. #9
    Newbie level 4
    Points: 30, Level: 1

    Join Date
    Jan 2015
    Posts
    7
    Helped
    0 / 0
    Points
    30
    Level
    1

    Re: Is it possible to access data from nRF24L01 / ESP8266 through WiFi router

    You probably will be able to use WiFi over nRF24L01 if you're willing to write the 802.11 protocol stack on your PIC. Not worth it though - better use the ESP8266 or a dedicated WiFi module.



--[[ ]]--