Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Carywin
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Carywin

    • Carywin

      RS485 Baud Rate Errors - Mixing HWSerial Devices Can Cause Problems
      Troubleshooting • • Carywin  

      2
      2
      Votes
      2
      Posts
      362
      Views

      No one has replied

    • Carywin

      RFM69 + RS485 Sensor Network Question
      Hardware • • Carywin  

      4
      0
      Votes
      4
      Posts
      1379
      Views

      Carywin

      Thanks for the responses. I guess I'll try a simple RFM repeater up there instead, and wait to see if bridging becomes available.
    • Carywin

      Max Message Rate and Stress Response Questions
      General Discussion • • Carywin  

      3
      0
      Votes
      3
      Posts
      1068
      Views

      Carywin

      Thanks, I will look at doing some stress testing I think. I'm starting to see the occasional missed message already and I'm only averaging 1 message per 3 seconds. Does anyone know how the RFM modules handle collision/retransmission?
    • Carywin

      MQTT - RFM69 Gateway stops communicating randomly and doesn't recover
      Troubleshooting • • Carywin  

      14
      1
      Votes
      14
      Posts
      3107
      Views

      Carywin

      @gieemek Glad to hear it's working. I don't think SoftSPI needs to be atomic in its transactions the same way hardSPI does, so you're probably not missing anything important.
    • Carywin

      MQTT/Ethernet Gateway using Leonardo(32u4), W5100, RFM69H, Hard SPI
      My Project • • Carywin  

      6
      2
      Votes
      6
      Posts
      2605
      Views

      gvorster

      @Carywin Thanks for the instructions!! I followed it and just got it working on a Leonardo clone. I am receiving messages from nodes on the Mosquitto broker on a Raspberry Pi. 0;255;3;0;9;TSF:MSG:SEND,0-0-51-213,s=213,c=1,t=23,pt=2,l=2,sg=0,ft=0,st=OK:10280 0;255;3;0;9;Sending message on topic: sensors-out/213/213/1/0/23 0;255;3;0;9;TSF:MSG:READ,213-51-0,s=213,c=1,t=23,pt=2,l=2,sg=0:10281 0;255;3;0;9;TSF:MSG:ACK REQ 0;255;3;0;9;TSF:MSG:SEND,0-0-51-213,s=213,c=1,t=23,pt=2,l=2,sg=0,ft=0,st=OK:10281 0;255;3;0;9;Sending message on topic: sensors-out/213/213/1/0/23 0;255;3;0;9;TSF:MSG:READ,207-51-0,s=207,c=1,t=23,pt=2,l=2,sg=0:21655 0;255;3;0;9;TSF:MSG:ACK REQ 0;255;3;0;9;TSF:MSG:SEND,0-0-51-207,s=207,c=1,t=23,pt=2,l=2,sg=0,ft=0,st=OK:21655 0;255;3;0;9;Sending message on topic: sensors-out/207/207/1/0/23 0;255;3;0;9;TSF:MSG:READ,213-51-0,s=213,c=1,t=23,pt=2,l=2,sg=0:10282 0;255;3;0;9;TSF:MSG:ACK REQ mosquitto_sub -v -t 'sensors-out/#' -u XXXXXXX -P XXXXXXX sensors-out/0/255/0/0/18 2.1.1 sensors-out/0/255/0/0/18 2.1.1 sensors-out/213/213/1/0/23 10217 sensors-out/208/208/1/0/0 24.69 sensors-out/213/213/1/0/23 10218 sensors-out/213/213/1/0/23 10219 sensors-out/213/213/1/0/23 10220 sensors-out/213/213/1/0/23 10221 sensors-out/213/213/1/0/23 10222 sensors-out/213/213/1/0/23 10223 sensors-out/208/208/1/0/0 24.69 sensors-out/213/213/1/0/23 10224 I am using Mysensors 2.1.1. and didn't need to do anything on the nodes. Never worked with a Leonardo and spend a lot of time getting the serial port working on Win7. Also need to press reset everytime right before uploading a sketch. Also need to add: void setup() { while (!Serial) {;} } otherwise Serial monitor shows nothing.