Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. mpp
    • Continue chat with mpp
    • Start new chat with mpp
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    mpp

    @mpp

    2
    Reputation
    75
    Posts
    647
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Website github.com/MPParsley Location Belgium

    mpp Follow

    Posts made by mpp

    • RE: LowPowerLab

      Thanks for the extensive reply, I'll come back with feedback once I got to test everything.

      Quick response wrt the battery:

      • I already tested the better 3,7V Lithium battery on the new MySensors setup as well and it runs for a bit more than a week. The one in the picture (old setup) has been running for about half a year (since January).
      • When using the 3x LR44 on the old setup it runs for months, with MySensors it runs a bit over a day.
      posted in General Discussion
      mpp
    • RE: LowPowerLab

      Hi @scalz, thank you for all the tips. I'll checkout the dev branch. Some questions though:

      • As you can see on the WeMos picture I'm already using a 10uF capacitor. Since I use the RFM69 HW version I should use a 100uF capacitor?
      • It is mounted over the Ground and 3V pins, is this correct?
      • Should I only use it on the gateway or also on the node?
      • Where can I find documentation on the decoupling capacitor for esp8266 or can you tell me what pins I should mount it over?
      • Could you also point me to some documentation (a schematic perhaps) about how to build a filter?

      Kind Regards

      posted in General Discussion
      mpp
    • RE: LowPowerLab

      Here are some pictures: http://imgur.com/a/xZNoA

      posted in General Discussion
      mpp
    • RE: LowPowerLab

      @scalz well, I'm only using the moteino as gateway with the script from moteino itself. I read a lot about antenna's (and know that it's advised to use the same antenna on receiver and transmitter) but to my surprise I got really good results by using a wire on the gateway and coils on the nodes.

      I had also noted improved performance when using ATC in my old setup.

      Now for my MySensors setup I am using coiled antenna's on both gateway (esp8266) and node (pro mini).

      I could run some tests with wire antenna's on the gateway and node aswell. I'll try to post some pictures as well.

      All my gateways are usb powered (through an adapter in an electrical outlet). My old setup (moteino gateway) had a serial connection to a Raspberry Pi. It seems unlikely but could the Esp8266 wifi transmissions (2.4ghz) cause interference with the rfm radio (433mhz)?

      posted in General Discussion
      mpp
    • RE: LowPowerLab

      Hi,

      Thanks for the extensive reply, I'll try to respond as good as possible;

      I'm not sure what you mean by driver version, I'm using MySensors 2.1.1

      I'm using the same nodes in both setup: an 8MHz Arduino Pro Mini with an RFM69HW with coiled antenna's connected as described here and a HTU21D. Everything is powered by 3x LR44 batteries or a single AA 3.6V Lithium battery.

      In my old setup I'm indeed using a true Moteino board as gateway with half wire antenna. In my MySensors setup I'm using an ESP8266 with RFM69HW and coiled antenna.

      The only difference here is that my Moteino gateway uses the standard Moteine half length wire antenna.

      Code can be found here:
      https://gist.github.com/MPParsley/d4339c2abb332640218c277e11d9f69c

      And here:
      https://gist.github.com/MPParsley/a3d36fe774b96c87ef33c5f887a8771f

      posted in General Discussion
      mpp
    • RE: LowPowerLab

      Hey, sorry I somehow created a new topic instead of a response to an existing one. Thank you for your response.

      I'm trying to understand how the rfm69 library is being used in MySensors.

      I like the fact that it supports encryption (which MySensors doesn't support?).
      Also the fact that it buffers radio transmissions is nice and especially useful wrt the failing ACK (NACK's) I keep getting. With MySensors I need to add wait() calls after each transmission just to get the ACK. This doesn't make much sense to me and it's causing high drain on the battery.
      Something else which is making MySensors more expensive wrt to energy is the fact that each sensor reading sends another transmission (something that is more compressed in the rfm69 example sketches e.g. "node:temp:hum:pressure" is sent in one message). But I understand this is the cost of all the nice features MySensors and the MQTT gateway have to offer.

      In the end I don't understand why my nodes run for months with a moteino sketch (sending temperature+humidity every minute) and the same functionality on the same node only runs for a day with mysensors code. I read a lot about using caps to solve power issues but there must be a software issue (since I get that hardware running for months with a moteino sketch)? Is it the buffering that is different, is the sleep less efficient (LowPower.h), ... the only thing that I see which can explain this is that there is a sleep of 500ms between sending temperature & humidity which means the device needs to be awake about 100x longer.

      posted in General Discussion
      mpp
    • LowPowerLab

      Indeed the rfm69 library works together with the pro mini but I can't get it to work on the ESP8266.

      How do you get it to run for so long? What is the interval you're using?

      posted in General Discussion
      mpp
    • RE: Is the most of errors ( NACK , NO REPLAY , FAIL PDT) related to new library ?

      Are you still using delays between transmissions?

      I never had these transmission errors when using the rfm69 library from lowpowerlab. With that lib my nodes would run for months on 3x LR44 batteries. With these delays the same node runs for 1 day...

      I wish there was a hybrid solution between lowpowerlab (awesome low level transmission) and mysensors (awesome features/framework). 😞

      posted in Troubleshooting
      mpp
    • RE: Is the most of errors ( NACK , NO REPLAY , FAIL PDT) related to new library ?

      The advice in this (old) thread is to downgrade to 2.0.0, is that still valid?

      posted in Troubleshooting
      mpp
    • RE: Excessive NACK

      How did you solve this finally?

      I'm also experiencing a huge amount of NACK's. Adding large delays solves the NACK's but isn't an option as I want to use batteries.

      posted in Development
      mpp