• RE: Recommendation for PCB fab?

    Today I received another order from Elecrow. This time it took 18 days to receive from the date of order. However, they did send me 12 boards instead of 10, so that's nice. :)

    posted in General Discussion
  • RE: Arudino Mega hangs when serial GW is down

    @etxmsol
    The line of code needed to force your node to move on when no uplink is available

    #define MY_TRANSPORT_WAIT_READY_MS 3000
    

    Have a look at this post for details

    posted in Development
  • RE: nRF5 Bluetooth action!

    @d00616 Your posting says,

    At the moment on Arduino, there is no definition of various OUTPUT modes. If you want to access all nRF5 output modes, you have to use hwPinMode and the OUTPUT_... macro.

    Exactly which macro would that be? It looks to me as though what most users will want is the function nrf5_pinmode(..,..), which appears to do all the actual work. Is that right? It is defined in the file nrf5_wiring_digital.c.

    Meanwhile, hwPinMode appears to be merely a straight pass-through for pinMode:

    
    void hwPinMode(uint8_t pin, uint8_t mode)
    {
      pinMode(pin, mode);
    }
    
    posted in My Project
  • RE: Connect esp nodes to ethernet gateway

    If you wan to run all nodes throug one gateway you need NRF24 on all of your devices. Both gateway and sensor nodes. But you only use the Gateway code on the Gateway and sensor code on the rest of them and only the Gateway needs a connection to your WiFi.

    posted in General Discussion
  • RE: nRF5 Bluetooth action!

    @NeverDie said in nRF5 Bluetooth action!:

    I think this is about as energy efficient as it's ever going to get

    Epilog: I ran it overnight on a 10F capacitor, and it dropped only 0.011v per hour. I'm very happy with that, considering it's listening every 100ms as to whether or not it has received a packet. :)

    posted in My Project
  • RE: nRF5 Bluetooth action!

    I'm sorry, but I can't help you any more than I already have.

    posted in My Project
  • RE: Connect esp nodes to ethernet gateway

    If you want to use the MySensors library and connect each ESP directly to your controller you will have to use the Gateway code with local sensors on all of your ESPs. Then you do not need any NRF24 radios. Check that your controller is capable to handle multiple MySensors Gateways.

    posted in General Discussion
  • RE: nRF5 Bluetooth action!

    @NeverDie said in nRF5 Bluetooth action!:

    I think this is about as energy efficient as it's ever going to get, short of chipping away at the number of bits in the frame/packet size, as I indicated earlier.

    I also measured the current between the peaks shown in the scopeshot. By increasing the period between listens, I was able to do the measurement using a uCurrent Gold. Doing so, I found that the current drawn was 10.7ua using the Low Frequency crystal oscillator, and 11.2ua using the Low Frequency RC oscillator. I'm now sure how to square that with some of the earlier measurements I had taken with the nRF52832 sleeping using the MySensors sleep routine, as those measurements came out to about 6ua. Perhaps the difference is the extra current required to run the PPI in this configuration? With neither oscillator configured, and no PPI, it measures, as I said earlier, at 2.2ua, which is close to what the datasheet predicts.

    posted in My Project
  • RE: nRF5 Bluetooth action!

    @Mike_Lemo said in nRF5 Bluetooth action!:

    The link you attached links me to a getting started page not wireing two nrf's together

    Your question was ambiguous. When you said "connect" I just assumed you meant wirelessly connect.

    Sorry, I can't help you. Seems like @scalz has gotten I2C to work with it though, but more likely for reading a TH sensor than for the purpose of wiring two nRF52832's. Still, that would prove that it works. If you know the I2C protocol, it shouldn't be hard to go from that to wiring two nRF52832's together.

    posted in My Project
  • RE: nRF5 Bluetooth action!

    @Mike_Lemo said in nRF5 Bluetooth action!:

    Any idea how I reach to this code?

    Yes, it's all explained in detail by @d00616 here: https://www.openhardware.io/view/376/MySensors-NRF5-Platform

    Also you say you don't experience any issues with I2C like that?

    Haven't tried I2C on this platform yet. I'd be very surprised if it didn't work though, as that's ARM Cortex M4 stuff, which is well vetted. i.e. no real dependency on anything Nordic per se.

    posted in My Project

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.