Navigation

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

    Posts made by ninkasi

    • RE: Looking for waterproof connectors

      @raptorjr said in Looking for waterproof connectors:

      I wonder if anyone have a good suggestion on waterproof connections? Preferably with different number of pins, like 2,3,4 or 5 pins. I want to use them for outdoor sensors, and sometimes as power supply connection for outdoor sensors.

      I found these: https://www.ebay.com/itm/12-Sets-2-Pin-Waterproof-Wire-Connector-Plug-Electrical-Connection/401442407633?epid=10009606705&hash=item5d77d504d1:g:GS8AAOSwLjxaXPq8&vxp=mtr

      They are available with different amount of pins, but they turned out to be pretty useless. So I'm looking for some better solution and hope that I can get some suggestions.

      No such beastie as waterproof, only water resistant to different levels. Soldering joints is of course best, but I'll admit that plug/sockets are really convenient.... If you can protect the connection itself you can use pretty much anything - I'm a fan of RJ12 or RJ45 plugs/sockets for sensors I might be moving around a lot. To make it all waterproof - sorry, water resistant - you can wrap it with heat shrink tape. If it's going to go under water, silicon sealant or even hot glue can do the trick - but I'd consider putting the join inside a water resistant box and sealing that instead.

      posted in Hardware
      ninkasi
      ninkasi
    • WeMos D1 R2 Gateway

      Hi all.

      For what it's worth, my gateway is a WeMos D1 R2 V2. Advantages over an arduino include it having wifi built in (so no shield required), it's low cost, it has a faster processor, and has more memory. I was using a number of them as discreet sensors uploading data to thingspeak, but have now migrated everything over to mysensors, with the data going to my new Vera.

      Basically, I really like the little beasties. You can also get the WeMos D1 mini, but I like the fact that standard shields will fit the D1R2. Anyhow, can get it here: http://www.aliexpress.com/store/product/WeMos-D1-WiFi-uno-based-ESP8266-for-arduino-Compatible/1331105_32455782552.html

      I also like to get these cases for them: http://www.aliexpress.com/item/Uno-MEGA328P-Case-Enclosure-Transparent-Acrylic-Box-Clear-Cover-Compatible-with-Arduino-UNO-R3-Diy-Free/32497563872.html - just need to snap one of the plastic strips if you need to use the micro usb port to power it.

      Cheers

      posted in My Project
      ninkasi
      ninkasi
    • RE: MySensors.h error when compiling: "No forward link or gateway feature activated"

      Thanks for the suggestions @mfalkvidd, and @chippey5 - thanks for the update - I had exactly the same issue, and could not work out why I was getting that 'millisWait' error. All good now!

      posted in Troubleshooting
      ninkasi
      ninkasi
    • RE: MySensors 2.0.0 Released

      @Lior-Rubin said:

      Hi, when I'm try to upload the sketch GatewayESP8266 I got the following error:

      In file included from /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/MySensors.h:299:0,
                       from /var/folders/l0/kxrb9wmd6rj651nw4gld5nx00000gn/T/arduino_modified_sketch_982538/GatewayESP8266.ino:137:
      /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/core/MyMainESP8266.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
       #include “Schedule.h”
                ^
      In file included from /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/MySensors.h:299:0,
                       from /var/folders/l0/kxrb9wmd6rj651nw4gld5nx00000gn/T/arduino_modified_sketch_982538/GatewayESP8266.ino:137:
      /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/core/MyMainESP8266.cpp:13:26: fatal error: core_version.h: No such file or directory
       #include <core_version.h>
                                ^
      compilation terminated.
      exit status 1
      Error compiling for board NodeMCU 1.0 (ESP-12E Module).
      

      Even when i try to comment the "Include Schedule.h" then i got an error about the "core_version.h" file.

      anyone ?

      Just started playing with mysensors - in my case trying to use a WeMos D1R2. I was getting the same errors - although I can happily compile other sketches on the boards so I knew it wasn't me.... well, probably not entirely. I think maybe because I've only recently started using it perhaps I don't have older libraries installed as well as the current ones? Anyhow, horrible hack is as follows:

      1. Go to https://github.com/esp8266/Arduino
      2. Download the core branch
      3. Open the zip file and go to the cores/esp8266 directory (yes you can also download just the files below individually, but I have found in the past you can have issues with corrupted files doing it that way - feel free to give it a go if you want)
      4. Copy the files Schedule.cpp, Schedule.h, and core_version.h and put them into your arduino\libraries\MySensors-master directory

      Compile away and hopefully it will work this time! Did for me...... 😉

      Note - if you decide to use your board for sensors as well you may have to copy over other supporting files.

      Cheers

      Update - for some weird reason errors came back, and I could not trace the cause easily. Decided to do a clean install - backup up my sketches, and removed the Arduino IDE along with the libraries. Note that on my mac there was a library folder both in my documents as well as in username\Library. Anyhow, reinstalled, re-downloaded everything, and my sketches compiled without an issue.

      posted in Announcements
      ninkasi
      ninkasi