Navigation

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

    benhub

    @benhub

    7
    Reputation
    18
    Posts
    354
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    benhub Follow

    Best posts made by benhub

    • RE: My gateway fails to answer

      Thank you very much! It seems that the (or at least one) reason for my issue was the step up booster on the sensor node.

      This post gave me the hint, that the step up booster might produce noise:
      https://forum.mysensors.org/topic/4796/battery-powered-sensors/67?_=1606408518798

      So, now I power the nrf24l01 directly from the batteries and not through the step up booster anymore. Now the node is able to connect. There are still errors in the communication but not so many.

      posted in Troubleshooting
      benhub
      benhub
    • RE: Is this the end of nrf24l01?

      @BearWithBeard Wow, thanks for this detailed answer!

      Today, I received an answer from Ebyte:

      Yes, because of the shortage of chips, E01-ML01D is temporarily out of stock. It will be available in next mouth, if you have a purchase plan, please book as soon as possible.

      @skywatch So, there is hope 🙂

      posted in General Discussion
      benhub
      benhub
    • RE: Node sends data only once when battery powered

      Sorry. Forget it. It was just some misunderstanding in the mycontroller UI.
      I just saw that my sensors were in state "NEW" in mycontroller. I had to put it into state "REGISTERED". Don't ask me, why I thought that it worked via USB — I now think, that it never really worked, maybe i read the wrong line and saw another sensor in the list.

      posted in Hardware
      benhub
      benhub
    • RE: My gateway fails to answer

      Wow! Thank you for your quick answer! That already helped a little bit.

      At least I now saw, that the connection works, when my sensor node is powered via USB. So it seems to be a power issue on the sensor node. I'll dig deeper on this side.

      posted in Troubleshooting
      benhub
      benhub
    • RE: Why are the measured values so different? Are my humidity sensors faulty?

      Many thanks for your answers! I tried that thing with the sodium chloride solution and the values of my HYT221 sensor was far off (66%) whereas the measured values from the SI7021 showed 76%.

      So I now configured an offset in MyController for the HYT221 sensors.

      Thanks for your hints!

      posted in Hardware
      benhub
      benhub

    Latest posts made by benhub

    • 2021 EU customs regulatory changes — where should I buy now?

      Hi all,

      These EU customs regulatory changes have hit me very hard. At least here in Austria, we have to pay taxes now, even for very small orders. These taxes are not the problem, for my last package I had to pay € 0.57. The problem is more that the post office (Österreichische Post) adds a fee of € 5.00, which is more than the actual price + shipping + taxes.

      So, do you have any recommendation, how I could avoid this?
      Any specific seller you can recommend?
      Any specific shipping method?
      I heard there are sellers, which ship from within the EU (i.e. pay the taxes for me). But how could I find them?

      Would be cool if you could help me. Otherwise this becomes an expensive hobby now.

      Ben

      posted in General Discussion
      benhub
      benhub
    • RE: 💬 Easy/Newbie PCB for MySensors

      @sundberg84 Cool! Thanks for your quick response!

      But... you know there is a RFM version of the EasyPCB right?

      Yes, I know, but I already have nrf24 boards at home which I want to use too. So cool that it should be possible.

      posted in OpenHardware.io
      benhub
      benhub
    • RE: Is this the end of nrf24l01?

      @BearWithBeard Wow, thanks for this detailed answer!

      Today, I received an answer from Ebyte:

      Yes, because of the shortage of chips, E01-ML01D is temporarily out of stock. It will be available in next mouth, if you have a purchase plan, please book as soon as possible.

      @skywatch So, there is hope 🙂

      posted in General Discussion
      benhub
      benhub
    • RE: 💬 Easy/Newbie PCB for MySensors

      I'm thinking about switching to RFM69 with some of my nodes. From what I saw, RFM69 uses the same pins as nrf24l01 (except for pin 9 on Arduino). So, theoretically, would it be possible to connect the RFM69 to the nrf24l01 Easy PCB board (Rev 10) — of course, I will not fit directly and I have to create some adapter. But it should be possible, right?

      posted in OpenHardware.io
      benhub
      benhub
    • Is this the end of nrf24l01?

      Hi! I have many nrf24l01 chips at home, but it looks like all of them are useless cheap crap. So I looked for better ones and found this thread about Ebyte.

      Sounds promising, from what I read there, so I wanted to give the E01-ML01D a try. But buying them seems not so easy. Sold out everywhere.

      Nordic itself writes on their product page:

      Not recommended for new designs

      So, is this the end of nrf24l01? Or where could I buy new modules, if I need them? What would you recommend for new projects?

      posted in General Discussion
      benhub
      benhub
    • RE: My gateway fails to answer

      Thank you very much! It seems that the (or at least one) reason for my issue was the step up booster on the sensor node.

      This post gave me the hint, that the step up booster might produce noise:
      https://forum.mysensors.org/topic/4796/battery-powered-sensors/67?_=1606408518798

      So, now I power the nrf24l01 directly from the batteries and not through the step up booster anymore. Now the node is able to connect. There are still errors in the communication but not so many.

      posted in Troubleshooting
      benhub
      benhub
    • RE: My gateway fails to answer

      Wow! Thank you for your quick answer! That already helped a little bit.

      At least I now saw, that the connection works, when my sensor node is powered via USB. So it seems to be a power issue on the sensor node. I'll dig deeper on this side.

      posted in Troubleshooting
      benhub
      benhub
    • My gateway fails to answer

      Hi! For a long time now I'm having troubles with my gateway. My setup is

      • a Raspberry Pi 3 running RaspberryOS Buster, with
      • an Arduino Nano connected via USB to act as serial gateway, using
      • an nrf24l01 wireless chip.

      The problem is, that when a node tries to connect to the gateway, I see the following messages on the gateway:

      0;255;3;0;9;3128482 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;3128488 TSF:MSG:BC
      0;255;3;0;9;3128492 TSF:MSG:FPAR REQ,ID=1
      0;255;3;0;9;3128495 TSF:CKU:OK,FCTRL
      0;255;3;0;9;3128499 TSF:MSG:GWL OK
      0;255;3;0;9;3128719 !TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      

      So, as far as I understand, the gateway receives the initial request from the node and tries to answer. But for some reason the sending fails. This raises some questions for me:

      • Does it mean the sending itself fails on the gateway side? Or does the gateway somehow know that the data is not received by the node?
      • Should the TSF:MSG:SEND work, even if the gateway is not used by a controller (i.e. when connected to the Arduino IDE debug console)?

      What I already did: I replaced already every part:

      • I replaced the nrf24l01 chip with another one.
      • I used the nrf24l01 with and without an external voltage regulator YL-105.
      • I used a NRF24L01+PA+LNA with external antenna for the gateway
      • I used another NRF24L01 module with antenna for the gateway
      • I used a shielded nrf24l01 adapter with antenna like this one
      • I played around with the MY_RF24_PA_LEVEL parameter.
      • I used capacitors on both ends.
      • I replaced the Arduino Nano of the gateway with another one.
      • I cleared the EEPROM for the gateway and the node.
      • I checked the wiring multiple times (including measuring with a multimeter).
      • I used another node.
      • I added step-up boosters to the battery powered nodes.
      • I replaced the raspberry pi.
      • I reinstalled the operating system on the raspberry pi.
      • I switched from MyController to OpenHAB with the same result.
      • I replaced USB cables.
      • And much more.

      The node and the gateway are both on my desk (so no long distance). The gateway code that runs on the gateway:

      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Enable and select radio type attached
      #define MY_RADIO_RF24
      
      // Set LOW transmit power level as default, if you have an amplified NRF-module and
      // power your radio separately with a good regulator you can turn up PA level.
      #define MY_RF24_PA_LEVEL RF24_PA_LOW
      
      // Enable serial gateway
      #define MY_GATEWAY_SERIAL
      
      // Define a lower baud rate for Arduinos running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender)
      #if F_CPU == 8000000L
      #define MY_BAUD_RATE 38400
      #endif
      
      // Enable inclusion mode
      #define MY_INCLUSION_MODE_FEATURE
      // Enable Inclusion mode button on gateway
      //#define MY_INCLUSION_BUTTON_FEATURE
      
      // Inverses behavior of inclusion button (if using external pullup)
      //#define MY_INCLUSION_BUTTON_EXTERNAL_PULLUP
      
      // Set inclusion mode duration (in seconds)
      #define MY_INCLUSION_MODE_DURATION 60
      // Digital pin used for inclusion mode button
      //#define MY_INCLUSION_MODE_BUTTON_PIN  3
      
      // Set blinking period
      //#define MY_DEFAULT_LED_BLINK_PERIOD 300
      
      // Inverses the behavior of leds
      //#define MY_WITH_LEDS_BLINKING_INVERSE
      
      // Flash leds on rx/tx/err
      // Uncomment to override default HW configurations
      #define MY_DEFAULT_ERR_LED_PIN 4  // Error led pin
      #define MY_DEFAULT_RX_LED_PIN  6  // Receive led pin
      #define MY_DEFAULT_TX_LED_PIN  5  // the PCB, on board LED
      
      #include <MySensors.h>
      
      void setup()
      {
      	// Setup locally attached sensors
      }
      
      void presentation()
      {
      	// Present locally attached sensors
      }
      
      void loop()
      {
      	// Send locally attached sensor data here
      }
      

      So I don't have any ideas anymore and hope that someone here can help me at least for one more step.

      posted in Troubleshooting
      benhub
      benhub
    • Would it be possible to run the MAX4466 with battery?

      Hi!

      I'd like to build a noise sensor, which senses the noise level (ideally in some comparable unit... decibel?). My idea is to do this using the MAX4466 microphone chip.

      https://www.adafruit.com/product/1063

      I'm not good at reading & understanding the specification sheets, but I guess I should find this information there:
      Would it be possible to run such a node with Arduino Mini Pro on battery power?

      Thanks for your help!

      posted in Hardware
      benhub
      benhub