RF Communication over ESP, BLE or other


+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    2,896

    Default RF Communication over ESP, BLE or other

    I need to make radio remote control with this needed specs:

    1. The remote controller should be light, small and low battery consumption
    2. The range is not much important. Anything between 50-150 meters is OK
    3. Receiver can be ON all the time
    4. Transmitter should be sleeping if no key is depressed
    5. Wake up and transmission should be completed under 100ms max.

    Can the Bluetooth Low energy modules talk to each other?

    or

    Can the WiFi modules like ESP12 etc talk to each other like an RF tranceiver?

    And if these are in sleep mode, how fast can wake up and complete a transmission?

    Thanks,
    Ioannis

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    1,609

    Default Re: RF Communication over ESP, BLE or other

    ble is lucky to get 10m
    espnow is said to have that sort of range, not sure of wake up time. very low power sleep is fairly easy to do.
    esp as wifi has a 20m range without some sort of assistance and takes 3 or 4 seconds to wake
    rfm69 and the like can do it easily
    This is more entertaining than Free to Air TV

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,177

    Default Re: RF Communication over ESP, BLE or other

    Ioannis,

    What will you transmit? 1-byte at once? 1 bit?
    Multiple bytes?
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    2,896

    Default Re: RF Communication over ESP, BLE or other

    The project is about controlling small car for children. They are owned by renting shops.

    These are electric remote controlled cars with one or two 12v/7a batteries, 2-5 motors like the ones in small rechargeable vacuum cleaners.

    The one motor is for the steering, the rest for the wheels. Some are 4x4 so max 5 motors.

    The problem is that these are bad chinese designs and the renting shop has major problem that the remote control of one car, interferes with the other, so it is dangerous when cars are near.

    Usually the remote control is carried by the parent of the children in the car for the renting period, so he can prevent any accidents. The children also has control of the car but with lower priority.

    My task is to design a new remote with the main specs on my #1 post.

    The data sent can be kept at minimum, say 2-5 bytes at a time.

    I have experience with ASK systems since I use them in my designs, but the delay is they introduce is too much.

    Ioannis

  5. #5
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,177

    Default Re: RF Communication over ESP, BLE or other

    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    2,896

    Default Re: RF Communication over ESP, BLE or other

    Well, this is promising!

    Thanks Sayzer,
    Ioannis

  7. #7
    Join Date
    May 2013
    Location
    australia
    Posts
    1,609

    Default Re: RF Communication over ESP, BLE or other

    what range ? they look very much like nrf24l01 . i don't get much over 6m under best conditions with them without
    directional antenna
    This is more entertaining than Free to Air TV

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    2,896

    Default Re: RF Communication over ESP, BLE or other

    6m? that is not distance... that is besides!

    Are you sure that your modules are OK? Seems too short. Even BT does it better.

    From the Annex forum, Francesco (the developer of the Annex WiFi I assume) said that it is possible with the ESP modules. Use of the SLEEP command of the interpreter will put the module to sleep for almost zero current draw. Also Wake up and transmission is fast enough, possible through input trigger (button press etc). Have to try and see how it goes.

    Ioannis

  9. #9
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,177

    Default Re: RF Communication over ESP, BLE or other

    Quote Originally Posted by Ioannis View Post
    6m? that is not distance... that is besides!

    Are you sure that your modules are OK? Seems too short. Even BT does it better.

    From the Annex forum, Francesco (the developer of the Annex WiFi I assume) said that it is possible with the ESP modules. Use of the SLEEP command of the interpreter will put the module to sleep for almost zero current draw. Also Wake up and transmission is fast enough, possible through input trigger (button press etc). Have to try and see how it goes.

    Ioannis
    For ESP, wake up could be fast but then it needs to connect via a protocol;
    Using TCP type protocol, connection may take some time especially after when connection is lost and a reconnect is needed; If there is not a disconnection command, and it is a lost of connection, then is a mess.
    If one ESP is operating in AP mode, and other is connecting to this AP as client, and later on, the client wakes up then, AP already had the mac of client in buffer; client will now try to reconnect. The messy pary starts there. It can not connect because AP thinks that the same MAC is already connected and does not give you access. Hello hell.

    Let me re-state a statement here:

    Quote Originally Posted by Ioannis View Post
    Experience is gained only in action!

    Ioannis
    Last edited by sayzer; - 22nd May 2020 at 15:13.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  10. #10
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    2,896

    Default Re: RF Communication over ESP, BLE or other

    ESPs are not communicating on TCP protocol.

    Using ESP-NOW the communication, as Francesco says, is rapid.

    Have not tried it yet. I have no experience on the ESP modules and need some reading before I understand how to do any flashing, connecting etc.

    I have two ESP8266 modules from Ai and hopefully will soon put it on the breadboard.

    https://cicciocb.com/annexhelp/V1.41...=onudp#ESP-NOW

    Ioannis
    Last edited by Ioannis; - 22nd May 2020 at 21:11.

  11. #11
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,177

    Default Re: RF Communication over ESP, BLE or other

    Quote Originally Posted by Ioannis View Post
    ESPs are not communicating on TCP protocol....

    Ioannis
    ESP-NOW does not use TCP protocol. This is true, but ESP does.
    NodeMCU also has TCP protocol.
    Why there is no TCP in ESP-NOW, one may ask; I have no idea. Need to check further.





    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  12. #12
    Join Date
    May 2013
    Location
    australia
    Posts
    1,609

    Default Re: RF Communication over ESP, BLE or other

    This is more entertaining than Free to Air TV

  13. #13
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,177

    Default Re: RF Communication over ESP, BLE or other

    Thank you Richard; It was a good video indeed.

    Here is another one for ESP to ESP.
    Surprising result; over 1KM comm distance.

    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Defective ESP-07
    By MichelJasmin in forum Ethernet
    Replies: 10
    Last Post: - 14th April 2016, 04:18
  2. 5V to 3.3V communication
    By MOUNTAIN747 in forum General
    Replies: 13
    Last Post: - 26th January 2016, 00:16
  3. Communication between PC and PIC16f876
    By knsteam in forum Serial
    Replies: 11
    Last Post: - 26th June 2007, 09:59
  4. Help with 2 way communication
    By jessey in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd April 2007, 09:11
  5. communication between 3 pic16f877
    By mesamune80 in forum Serial
    Replies: 0
    Last Post: - 4th May 2006, 16:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts