Navigation

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

    Robbie_

    @Robbie_

    1
    Reputation
    11
    Posts
    362
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Robbie_ Follow

    Best posts made by Robbie_

    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      @user2684 Thanks for your reply. Ive tested the following;

      i editted the NodeManager.cpp and added _dht->begin(); to the beginning of "SensorDHT::onLoop()"

      I also disabled both debug, still the same issue.

      In your other post you mentioned "Would you please ensure pin 7 is HIGH during the 10s sleep?"

      My log looks as following;

      PWR G=6 V=7
      REG I=1 P=3 P=6 T=0
      REG I=2 P=3 P=7 T=1
      NodeManager v1.30
      INT1 M=255
      INT2 M=255
      RADIO OK
      PRES I=200, T=23
      PRES I=201, T=30
      BATT V=3.26 P=94
      SEND D=0 I=201 C=0 T=38 S= I=0 F=3.26
      PRES I=1 T=6
      PRES I=2 T=7
      READY
      
      MY I=100 M=1
      SEND D=0 I=200 C=0 T=48 S=STARTED I=0 F=0.00
      ON P=7
      DHT I=1 T=nan
      OFF P=7
      SLEEP 60s
      SEND D=0 I=200 C=1 T=48 S=SLEEPING I=0 F=0.00
      
      AWAKE
      SEND D=0 I=200 C=1 T=48 S=AWAKE I=0 F=0.00
      ON P=7
      DHT I=1 T=nan
      OFF P=7
      SLEEP 60s
      SEND D=0 I=200 C=1 T=48 S=SLEEPING I=0 F=0.00
      

      Where do you want me to messure if the pin is on?

      AWAKE
      SEND D=0 I=200 C=1 T=48 S=AWAKE I=0 F=0.00
      ON P=7
      DHT I=1 T=nan
      <------------------------ I messured here and the voltage is 3.something volts
      OFF P=7
      SLEEP 60s
      <--------------------------- HERE?
      SEND D=0 I=200 C=1 T=48 S=SLEEPING I=0 F=0.00
      
      posted in NodeManager
      Robbie_
      Robbie_

    Latest posts made by Robbie_

    • RE: 💬 simple MySensors MultiSensor Board

      Hi, i printed ur boards, its cool thank you :-). However i'm having some trouble getting the radio working properly.
      It only works good when i touch the antenna..

      Im not using the ceramic 0.1uf cap. and the 10k resistor..
      is the 0.1uf cap. needed for the radio to work stable?

      And yes, im using the 4.7 - 47uF Capacitor (Elko)

      Thanks again, every cool board

      posted in OpenHardware.io
      Robbie_
      Robbie_
    • RE: [SOLVED] MySensors FOTA - Bare ATMega328p

      Nevermind i fixed it! had something to do with my radio...

      Driving me nuts 🙂

      #lovemysensors!!

      can close this topic when needed

      posted in General Discussion
      Robbie_
      Robbie_
    • [SOLVED] MySensors FOTA - Bare ATMega328p

      Hi,

      I want to know if it is possible to upload firmware to a Bare ATMega328p working with MYSController (FOTA).
      Im using the latest Mysbootloader from https://github.com/mysensors/MySensorsBootloaderRF24

      This is the result i get from the Bare ATMega flash (0A...FFFFF..)..
      After a few tries it just continues normal booting procedure

      0_1528820263706_flash.PNG

      I use this firmware also on an Arduino Pro mini where FOTA works.

      Can someone give me some advice?

      Thank you in advance.


      Edit:
      Just tried a fresh bare atmega, same result 😞

      0_1528823609857_flash2.PNG

      This is the boards.txt i'm using;

      MYSBLMOD.name=ATmega328 with MYSBootloader 1.3.0 8 MHz (2018/01)
      MYSBLMOD.upload.tool=arduino:avrdude
      MYSBLMOD.upload.protocol=arduino
      MYSBLMOD.upload.maximum_size=30720
      MYSBLMOD.upload.maximum_data_size=2048
      MYSBLMOD.bootloader.tool=arduino:avrdude
      MYSBLMOD.bootloader.unlock_bits=0x3F
      MYSBLMOD.bootloader.lock_bits=0x0F
      MYSBLMOD.build.mcu=atmega328p
      MYSBLMOD.build.board=AVR_PRO
      MYSBLMOD.build.core=arduino:arduino
      MYSBLMOD.build.variant=arduino:standard
      MYSBLMOD.f_cpu=8000000L
      MYSBLMOD.upload.speed=57600
      MYSBLMOD.bootloader.low_fuses=0xE2
      MYSBLMOD.bootloader.high_fuses=0xD2
      MYSBLMOD.bootloader.extended_fuses=0x06
      MYSBLMOD.build.f_cpu=8000000L
      MYSBLMOD.bootloader.file=MySensors/MYSBootloader_8MHz.hex

      posted in General Discussion
      Robbie_
      Robbie_
    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      @Robbie_ Narrowed down the issue with domoticz, if i #define SERVICE_MESSAGES 1 in config.h domoticz crashes, if i put it back to 0 it stays online.

      posted in NodeManager
      Robbie_
      Robbie_
    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      @user2684 Ive tested this morning a DHT22 without resistor between VIN & DATA, now it works correct. I reverted the changes back and just use the default code (1.3), everything keeps functioning. I don't understand why it works but hey, i got data! 🙂

      Somehow the following issue pops up with domoticz (also before the DHT22 was working), im not sure if anybody can help me here with it, else il open a threat at the domoticz forum. As soon ase NodeManager presents itself (via ESP8266 WiFi Gateway // MyS v2.1.0) to domoticz, domoticz goes offline. Does somebody else had the same experiance?

      posted in NodeManager
      Robbie_
      Robbie_
    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      @user2684 Thanks for your reply. Ive tested the following;

      i editted the NodeManager.cpp and added _dht->begin(); to the beginning of "SensorDHT::onLoop()"

      I also disabled both debug, still the same issue.

      In your other post you mentioned "Would you please ensure pin 7 is HIGH during the 10s sleep?"

      My log looks as following;

      PWR G=6 V=7
      REG I=1 P=3 P=6 T=0
      REG I=2 P=3 P=7 T=1
      NodeManager v1.30
      INT1 M=255
      INT2 M=255
      RADIO OK
      PRES I=200, T=23
      PRES I=201, T=30
      BATT V=3.26 P=94
      SEND D=0 I=201 C=0 T=38 S= I=0 F=3.26
      PRES I=1 T=6
      PRES I=2 T=7
      READY
      
      MY I=100 M=1
      SEND D=0 I=200 C=0 T=48 S=STARTED I=0 F=0.00
      ON P=7
      DHT I=1 T=nan
      OFF P=7
      SLEEP 60s
      SEND D=0 I=200 C=1 T=48 S=SLEEPING I=0 F=0.00
      
      AWAKE
      SEND D=0 I=200 C=1 T=48 S=AWAKE I=0 F=0.00
      ON P=7
      DHT I=1 T=nan
      OFF P=7
      SLEEP 60s
      SEND D=0 I=200 C=1 T=48 S=SLEEPING I=0 F=0.00
      

      Where do you want me to messure if the pin is on?

      AWAKE
      SEND D=0 I=200 C=1 T=48 S=AWAKE I=0 F=0.00
      ON P=7
      DHT I=1 T=nan
      <------------------------ I messured here and the voltage is 3.something volts
      OFF P=7
      SLEEP 60s
      <--------------------------- HERE?
      SEND D=0 I=200 C=1 T=48 S=SLEEPING I=0 F=0.00
      
      posted in NodeManager
      Robbie_
      Robbie_
    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      @bilbolodz said in NodeManager: plugin for a rapid development of battery-powered sensors:

      wait(10000);

      Thanks for the fast reply! Still the same issue;

      SEND D=0 I=200 C=0 T=48 S=STARTED I=0 F=0.00
      14258 TSF:MSG:SEND,100-100-0-0,s=200,c=1,t=48,pt=0,l=7,sg=0,ft=0,st=OK:STARTED
      14395 MCO:BGN:INIT OK,TSP=1
      ON P=7
      14426 MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
      14493 MCO:SLP:TPD
      14512 MCO:SLP:WUP=-1
      DHT I=1 T=nan
      OFF P=7
      SLEEP 60s
      SEND D=0 I=200 C=1 T=48 S=SLEEPING I=0 F=0.00
      
      posted in NodeManager
      Robbie_
      Robbie_
    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      @bilbolodz
      So like this?

      nodeManager.setPowerPins(6,7,10000);
      nodeManager.registerSensor(SENSOR_DHT22,3);
      nodeManager.setSleep(SLEEP,1,MINUTES);

      posted in NodeManager
      Robbie_
      Robbie_
    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      Hi User2684,

      As promised i took NodeManager for a spin. It functions well but i have an issue with powering a DHT22 from the digital pins. It just does not show any temp/hum. If i use the power from the battery it functions well.

      Any clue what this could be?

      I used setPowerPins6,7,10000 to be sure the DHT22 has enough time to start up. If i use my multimeter between pins 6,7 i see the voltage going to 3.something volts and to 0 when the 10000 miliseconds are gone.

      My config is as following;

      // before
      void before() {
        // setup the serial port baud rate
        Serial.begin(MY_BAUD_RATE);  
        /*
         * Register below your sensors
        */
        nodeManager.setSleep(SLEEP,1,MINUTES); 
      nodeManager.registerSensor(SENSOR_DHT22,3);
      nodeManager.setPowerPins(6,7,10000);
        /*
         * Register above your sensors
        */
        nodeManager.before();
      }
      posted in NodeManager
      Robbie_
      Robbie_