Navigation

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

    OliverDog

    @OliverDog

    10
    Reputation
    40
    Posts
    570
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    OliverDog Follow

    Best posts made by OliverDog

    • RPi3 GPIO MySensors Gateway + LEDs + LNA Radio + DLink enclosure

      Project built based on an old D-Link router enclosure.

      It is a Raspberry Pi 3 running Home Assistant with a RPi GPIO Gateway.

      Dedicated power supply for the radio, wired through a 5v to 3.3v regulator from the 3A 5V power supply.
      Ethernet and 2 USB ports available for connections.

      No soldering.
      Easy to build with some Hot Glue... took me 3 hours.

      0_1498570198661_1.jpg
      0_1498570220444_1 - Cópia.jpg

      posted in My Project
      OliverDog
      OliverDog
    • RE: [SOLVED] Multisensor Node stops working after some days...

      thanks @gohan I solved the problem by changing the power supply...

      Now I'm powering through USB using a phone charger... so I'll never know if it was a soldering problem on VIN or a low current problem from the other disassembled phone charger... but it is working now...

      Thanks for the help...

      posted in Troubleshooting
      OliverDog
      OliverDog
    • RE: RPi3 GPIO MySensors Gateway + LEDs + LNA Radio + DLink enclosure

      2_1498570291465_1 - Cópia (4).jpg 1_1498570291464_1 - Cópia (3).jpg 0_1498570291463_1 - Cópia (2).jpg

      posted in My Project
      OliverDog
      OliverDog
    • RE: Video How To: Battery Powered Chair Occupancy (Contact) Sensor

      I had just cleaned it!!! My wife gave up caring about this desk...😏

      I found my multimeter fuse was burned... so I wired its base poles and now I can measure:

      Sleeping + Reed Disconnected - most time 6 uA
      Sleeping + Reed Connected - most time 9 uA
      When sending new status to gateway - 25 - 230 uA (around 140 uA most times)
      Sending time was less than 1 second.

      2 AA will give me 29 years (battery certainly will die first)
      2 AAA - 12 years.
      1 CR2032 - 2,5 years.

      Thanks for the help...

      posted in My Project
      OliverDog
      OliverDog

    Latest posts made by OliverDog

    • RE: Mi-Light controller for Mysensors

      Hi.
      is this thread still alive?

      Can I use this to solve my problem?
      This is the problem:

      • I want to control my pool lights (controlled by RGB-FUT037 from milight - 2.4ghz) using the original Mi-Light Wall Panel Controller T3 - which sends 2.4ghz... but both are in different floors. Fut037 is inside que pool's machine house and the Wall Panel is on Gourmet's Balcony.

      What I need:

      • An arduino node receives the code from Wall Panel using maybe a NRF24L01 module, then send to another arduino node through wifi (NodeMCU / ESP8266), which finally, reproduces the code using another NRF24L01, reaching the FUT037.
      posted in My Project
      OliverDog
      OliverDog
    • RE: Water Leak Detection

      Yes, I understand how to make a reed talk to my Home Automation, but I don't see any wires outcomming from those Class D @zboblamont posted above.

      My Newbie question was about those Class D beeing a reed sensor, or electronic switch, that sends a open/close signal or if I would need a DIY way to read a ordinary water flow meter...

      But after check Datasheet from V200H I could notice a small plug on top and the wired pulse info... so It would act like a reed sensor with a pulse for each liter spent!
      Now I got it.

      But How much does it cost???
      And won't be better an external sensor, just like that I posted, called Flume Water Monitor, once Class D could lower pressure from system?

      posted in Hardware
      OliverDog
      OliverDog
    • RE: Water Leak Detection

      Sorry about newbie question, but how could I read water flow on Home Assistant using those Class D? Do they send measurement wirelessly or do I need to build some reading sensor outside?

      By the way, have you seen Flume Water Monitor? For $ 199,00

      https://www.flumetech.com/

      It has already been integrated with HASS
      https://www.home-assistant.io/integrations/flume/

      posted in Hardware
      OliverDog
      OliverDog
    • RE: Water Leak Detection

      @NeverDie

      @chrismyers81 and @TD22057, from arduino forum, found a way to use it. Check here:
      https://forum.arduino.cc/index.php?topic=256231.msg2494469#msg2494469

      But this rope will certainly disagree with my wife's idea of ​​beautiful decor! 😅

      Despite all the work on finding the best place to place the sensor, accidents can occur, of course, but have those people worked on finding that place properly?

      I think the best way avoiding those disasters is reading the main water flow and create automations based on volume of water, linked with others events, just like garden irrigation, people in the bathrooms, pool filling, car wash, time of day and, of course, flood sensors at strategic points. This is the way I will do!

      The problem is how to measur water flow without adding chinese components in contact with your water!

      posted in Hardware
      OliverDog
      OliverDog
    • RE: Water Leak Detection

      @TD22057

      Great work, and thanks for the quick answer!
      I will try using it...

      I noticed you have coded a sonar sensor library as well.
      I have another projeto for auto flushing an urinal, and got this sensor:
      https://www.aliexpress.com/item/32332773388.html?spm=a2g0s.9042311.0.0.3b60b90avbfLZ9

      Could it work with your library?

      Thanks again!!!

      posted in Hardware
      OliverDog
      OliverDog
    • RE: Water Leak Detection

      Great job @TD22057

      Could you share your sketch???

      I´m working in something similar, but without the water sensor.
      The valve is similar as well, buy it has 3 way, but still with 5 wires.

      Do you remender, or could check, how did you configured the valve sensor? Debouncering or not?

      I want select water from two different places, so the 3 way...

      My project has a button to local valve operation, two leds to indicate from where water is comming, H-bridge to control the valve motor, and I use Home Assistant receiving and controlling valve status, and receiving the signal from valve´s status sensor.

      Here is my code:

      #define MY_DEBUG
      #define MY_RADIO_NRF24
      #define MY_REPEATER_FEATURE
      #define MY_NODE_ID 10
      
      #include <SPI.h>
      #include <MySensors.h>
      #include <DHT.h>  
      // #include <Bounce2.h>
      
      // PINAGEM
      #define int1 6   // ATUADOR PRA H BRIDGE
      #define int2 7   // ATUADOR PRA H BRIDGE
      #define button 4    // BOTAO LOCAL PARA MUDANÇA
      #define info_rua 11   // SENSOR RETORNO DA VALVULA QUANDO RUA SELECIONADO
      #define info_cist 12  // SENSOR RETORNO DA VALVULA QUANDO CISTERNA SELECIONADO
      #define led_rua 9    // LED ACENDE PRA ÁGUA DA RUA
      #define led_cist 10   // LED ACENDE PRA ÁGUA DA CISTERNA
      
      #define CHILD_ID_ACT 0   
      #define CHILD_ID_ESTADO 1     
      
      // MOTOR
      boolean buttonState = LOW;
      int rotDirection = 0;     // 0 PRA CISTERNA E 1 PRA RUA
      int pressed = false;
      bool initialValueSent = false;
      bool state;
      
      //sensores de fim de curso
      int valor_rua = 0; 
      int valor_cist = 0; 
      
      MyMessage msgSwitch(CHILD_ID_ACT, V_STATUS);   // SWITCH PARA MUDAR O ESTADO
      MyMessage msgState(CHILD_ID_ESTADO, V_TRIPPED);  //SENSOR DO ESTADO
      
      void presentation()  
      { 
        sendSketchInfo("Seletor Agua", "1.0");
        wait(200);
        present(CHILD_ID_ACT, S_SPRINKLER);
        wait(200);
        present(CHILD_ID_ESTADO, S_SPRINKLER);
      }
      
      void setup()  { 
        pinMode(int1, INPUT);
        pinMode(int2, INPUT);
        pinMode(button, INPUT);
        pinMode(info_rua, INPUT);
        pinMode(info_cist, INPUT);
        pinMode(led_rua, OUTPUT);
        pinMode(led_cist, OUTPUT);
      
        //definir estado inicial da valvula
        digitalWrite(int1, LOW);
        digitalWrite(int2, HIGH);
        digitalWrite(led_rua, LOW);
        digitalWrite(led_cist, HIGH);
        send(msgSwitch.set(0));
        
        // setup do botao e dos sensores de fim de curso
        digitalWrite(button, HIGH);
        digitalWrite(info_rua, HIGH);
        digitalWrite(info_cist, HIGH);
      }
      
      
      void loop()  { 
        valor_rua = digitalRead(info_rua);
        valor_cist = digitalRead(info_cist);
        
        // valores iniciais
        if (!initialValueSent) {
          Serial.println("Sending initial value");
          send(msgSwitch.set(0));
          send(msgState.set(0));
          Serial.println("Requesting initial value from controller");
          request(CHILD_ID_ACT, V_STATUS);
          wait(2000, C_SET, V_STATUS);
        }
        
        // ler estado do botão
        if (digitalRead(button) == true) {
          pressed = !pressed;
        }
        while (digitalRead(button) == true);
        wait(20);
        
        // se botao pressionado
        if (pressed == true & rotDirection == 0) {
          digitalWrite(int1, HIGH);
          digitalWrite(int2, LOW);
          digitalWrite(led_cist, LOW);
          rotDirection = 1;
          send(msgSwitch.set(1));
          wait(20);
        }
        if (pressed == true & rotDirection == 1) {
          digitalWrite(int1, LOW);
          digitalWrite(int2, HIGH);
          digitalWrite(led_rua, LOW);
          digitalWrite(led_cist, HIGH);
          rotDirection = 0;
          send(msgSwitch.set(0));
          wait(20);
        }
        
        if (valor_rua == 1) {
          digitalWrite(led_rua, HIGH);
        }
        if (valor_rua == 0) {
          digitalWrite(led_rua, LOW);
        }
        if (valor_cist == 1) {
          digitalWrite(led_cist, HIGH);
        }
        if (valor_cist == 0) {
          digitalWrite(led_cist, LOW);
        }
        
      }
      
      void receive(const MyMessage &message) {
        if (message.isAck()) {
           Serial.println("This is an ack from gateway");
        }
      
        if (message.type == V_STATUS) {
          if (!initialValueSent) {
            Serial.println("Receiving initial value from controller");
            initialValueSent = true;
          }
          state = message.getBool();
          if (state == 0) { 
            digitalWrite(int1, LOW);
            digitalWrite(int2, HIGH);
            digitalWrite(led_rua, LOW);
            digitalWrite(led_cist, HIGH);
            rotDirection = 0;
            send(msgSwitch.set(0));
          }
          if (state == 1) { 
            digitalWrite(int1, HIGH); 
            digitalWrite(int2, LOW);
            digitalWrite(led_rua, HIGH);
            digitalWrite(led_cist, LOW);
            rotDirection = 1;
            send(msgSwitch.set(1));
          }
        }
      }
      
      posted in Hardware
      OliverDog
      OliverDog
    • RE: How to cheat thermostats?

      Hi!
      After 1 year, Did this post result in any sketch?

      I want to use a similar valve @executivul suggested, with 5 wires as well!

      Did you get success using mysensors @KimmoHop ?

      Tks

      posted in General Discussion
      OliverDog
      OliverDog
    • RE: Video How To: Battery Powered Chair Occupancy (Contact) Sensor

      I had just cleaned it!!! My wife gave up caring about this desk...😏

      I found my multimeter fuse was burned... so I wired its base poles and now I can measure:

      Sleeping + Reed Disconnected - most time 6 uA
      Sleeping + Reed Connected - most time 9 uA
      When sending new status to gateway - 25 - 230 uA (around 140 uA most times)
      Sending time was less than 1 second.

      2 AA will give me 29 years (battery certainly will die first)
      2 AAA - 12 years.
      1 CR2032 - 2,5 years.

      Thanks for the help...

      posted in My Project
      OliverDog
      OliverDog
    • RE: Video How To: Battery Powered Chair Occupancy (Contact) Sensor

      Great!!! Got it working, but can't measure the consumption...
      My multimeter shows always 000.
      The sensors is working fine and reporting properly while connected to multimeter, but always 0 current...
      Tried 200u, 2000u, 20m and 200m, always reporting zero... Is is that low?

      Did I connect something wrong??? (multimeter in series with positive battery pole and circuit line in (Radio+APM+1M ResistorPin3)
      Or is my aliexpress multimeter that bad???

      0_1502410544175_20170810_210709.jpg

      posted in My Project
      OliverDog
      OliverDog
    • RE: Video How To: Battery Powered Chair Occupancy (Contact) Sensor

      Thanks for sharing this awesome project...

      I want to install all my windows with reed sensors powered by 2AA alcaline batteries and would like they last more than 5 years... and I think your project fits perfectly
      How long do those used batteries last?

      Did you implement what @Nca78 suggested?

      I have already cut LED and Power Regulator from Arduino Pro Mini 3.3v and will change bootloader.
      Have you choosen the best (lowest power consumption) bootloader to use?

      I would try the MYSBootloader_1MHz.hex from MySensors GitHub.
      Would the optiboot_atmega328_01M_009600_NOLED from GertSanders better for low power?

      Thanks for the help...

      posted in My Project
      OliverDog
      OliverDog