• AVR Freaks

RN4870 - can't send data continously

Author
extronic
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2018/09/06 00:10:53
  • Location: 0
  • Status: offline
2018/09/21 06:01:52 (permalink)
0

RN4870 - can't send data continously

Hello
 
I plan to make a walkie-talkie using RN4870. I send 8-bit sound samples and receive them using Transparent UART feature. But I can't get the modules to send them continously. There are always some latencies and breaks during comunication. Have a look on the screenshot:
  • yellow - sample sound wave to ATtiny416 ADC
  • green - data being send from ATtiny416 to the RN4870
  • orange - data received by another RN4870 transmited to another ATtiny416
  • blue - sample sound wave outputed by the receiver
How to fix this?
 
Have a nice weekend!

Attached Image(s)

#1

4 Replies Related Threads

    Jim Nickerson
    User 452
    • Total Posts : 6736
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: RN4870 - can't send data continously 2018/09/21 07:01:48 (permalink)
    0
    I wonder if you have seen these apps, they work with Bluetooth and or wi-fi https://play.google.com/s...?q=intercom&c=apps
    #2
    extronic
    Starting Member
    • Total Posts : 33
    • Reward points : 0
    • Joined: 2018/09/06 00:10:53
    • Location: 0
    • Status: offline
    Re: RN4870 - can't send data continously 2018/09/21 07:10:59 (permalink)
    0
    No, how they can help me? I plan to connect two RN4870 modules, not a phone with any app.
    #3
    Jim Nickerson
    User 452
    • Total Posts : 6736
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: RN4870 - can't send data continously 2018/09/21 07:13:35 (permalink)
    0
    They demonstrate that with the right software what you describe is possible.
    #4
    extronic
    Starting Member
    • Total Posts : 33
    • Reward points : 0
    • Joined: 2018/09/06 00:10:53
    • Location: 0
    • Status: offline
    Re: RN4870 - can't send data continously 2018/09/21 07:20:38 (permalink)
    0
    I know is't possible :) Have you seen my oscilloscope screenshot? Why RN4870 in the receiver unit doesn't receive the data all the time if the transmitter is broadcasting it continuously? 
     
    Both modules are configured to 115200 baud. Each sample is just one byte captured with 8kHz frequency. 
    #5
    Jump to:
    © 2020 APG vNext Commercial Version 4.5