Navigation

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

    Posts made by ArduiSens

    • eeBUS

      Hello all,
      Is someone having experience with the (new) communication protocol used for energy devices like solar panel inverters, washing machines …? In Europe this protocol is trying to be the norm (many companies are supporting this protocol or are having the intention to do this). I read this protocol is available in the open domain.

      Links found:
      https://www.eebus.org/
      https://www.eebus.org/media-downloads/#_SPECIFICATIONS
      https://en.wikipedia.org/wiki/EEBUS
      https://www.youtube.com/watch?v=VV0igaf1rZs
      Meet EEBUS, EV charging and more. Dr Maren Fiege, EEBUS Initiative e.V. & Gerhard Paris, Audi AG – 1:20:55
      β€” Supergen Energy Networks Hub

      Dutch info: https://fwd.nl/smarthome/zo-werkt-eebus-de-taal-voor-slimme-energienetwerken/

      Are there ideas to write libraries, coding, hardware … to support this protocol with MySensors?

      posted in General Discussion
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Dual Channel 0-10V Dimmer

      Hi Mardah, how this the progress on this project related to the software and testing?
      kind regards

      posted in OpenHardware.io
      ArduiSens
      ArduiSens
    • RE: RS485, no communication

      hello, maybe a hardware issue
      please check

      Ref https://forum.mysensors.org/topic/4854/building-a-wired-rs485-sensor-network/99

      he 510 ohm pull up and pull down resistors are usually mounted on the master side. Theoretically it
      would be best to install it in the middle of your bus line. The 120 ohm termination resistor must always
      be used on distances greater than 1 meter and/or baud rates higher than 9600. It’s best to install it as a
      norm as noise and reflections will cause havoc on your communication once implemented in the field.
      The termination resistors should be mounted at both ends of the bus line. Please note that adding bias
      resistors will load the driver IC output. With the indicated values the max number of units on the bus
      line is limited to eight 12kΩ, sixteen 24kΩ, or thirty-two 48kΩ units.
      For further protection transient suppressors can be installed across the differential lines, from the Vcc to
      D+ and from GND to D-.!
      RS485.jpg

      posted in Troubleshooting
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Building a wired RS485 sensor network

      I see there is a possibility the combine Ethernet with RS485.
      Maybe you can check the setup as they did here:

      https://www.openhardware.io/view/649/RS485-Ethernet-Gateway#tabs-comments

      https://github.com/feanor-anglin/GetWired-Project/blob/master/GetWired Ethernet Gateway/Gateway.ino

      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Building a wired RS485 sensor network

      @Flyer said in πŸ’¬ Building a wired RS485 sensor network:

      ng to build

      Hi Flyer, As far as I know this is not possible.

      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: Who has experience with (E34-DTU-2G4D20) Full Duplex RS232/RS485 to nRF24L01P ?

      This can maybe a solution for having a bridge between RS485 and nRF24L01.

      posted in Feature Requests
      ArduiSens
      ArduiSens
    • Who has experience with (E34-DTU-2G4D20) Full Duplex RS232/RS485 to nRF24L01P ?

      Re: Bridge between RF24 and RS485
      https://www.aliexpress.com/item/4000512016252.html?spm=a2g0o.productlist.0.0.7879a483YoMye0&algo_pvid=fd05d00f-4103-4e95-a0c1-f8af3889cffa&algo_expid=fd05d00f-4103-4e95-a0c1-f8af3889cffa-10&btsid=0bb0623b16125608659071681e09c9&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
      thanks

      posted in Feature Requests
      ArduiSens
      ArduiSens
    • RE: sending two messages one after another

      Hello all,
      is this solution added to the standard MySensor library?
      If so, in which version is it implemented?

      I want to be sure there are no missing messages when having a list of messages to be sent.

      many thanks in advance

      posted in Development
      ArduiSens
      ArduiSens
    • RE: Set output pin High before message initialising

      @mfalkvidd
      OK, the before() works!

      0 MCO:BGN:INIT NODE,CP=RSNNA--,VER=2.1.1
      3 MCO:BGN:BFR
      running before() function
      2006 TSM:INIT
      2011 TSF:WUR:MS=0
      2012 TSM:INIT:TSP OK
      2014 TSM:INIT:STATID=25
      2016 TSF:SID:OK,ID=25
      2018 TSM:FPAR
      2036 TSF:MSG:SEND,25-25-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2850 TSF:MSG:READ,0-0-25,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      2855 TSF:MSG:FPAR OK,ID=0,D=1
      4043 TSM:FPAR:OK

      thanks for the cooperation mfalkvidd & rejoe2

      posted in Feature Requests
      ArduiSens
      ArduiSens
    • RE: Set output pin High before message initialising

      hello rejoe2, you have to power the MAX chip before you come into the loop() because the first time you have to send the node configuration to the gw.
      Putting the

      pinMode(SENSOR_POWER_PIN, OUTPUT);
      digitalWrite(SENSOR_POWER_PIN, HIGH);

      code in the setup() is also too late.
      If the MAX isn't powered before, you get error messages because the node can't connect to the gw.

      btw the DE-PIN is not related to powering the transceiver --> right, it's a similar management, it was an example to find a solution

      posted in Feature Requests
      ArduiSens
      ArduiSens
    • Set output pin High before message initialising

      Is there a way to set an output pin high before sending the init message to the gateway?
      so before
      // Initialize messages
      MyMessage msgTemp(CHILD_ID_TEMP,V_TEMP);
      MyMessage sleepMsg(CHILD_ID_SLEEP, V_TEXT);

      I want to save energy (300Β΅A) so I want to power the MAX485 only when sending messages.
      This is manageable in the sketch (set output pin high after returning from sleep mode, low before sleep) but at first start it isn't. I walked through the libraries but I didn't find the code where the DE pin is managed in order to send data to the MAX chip whch will send the data to the gateway. If I could find this I can make a similar set-up. Thanks in advance.

      posted in Feature Requests
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ MySensors @Eindhoven Maker Fair 2017 2-3 September

      Great job guys, I saw many interested people.
      The setup of the automated doll house was fascinating, also my son loved the sensor house (with the ghost)
      Only this, I saw myself in one of taken pictures but unfortunately without the MySensor t-shirt ;-(

      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: NodeManager v1.6-dev: comments and issues

      Hello,

      I see a problem when using setSleepSeconds / setPowerPins in combination with the serial RS485 option.

      void before() {
      // setup the serial port baud rate
      Serial.begin(MY_BAUD_RATE);
      nodeManager.setSleepSeconds(30);
      nodeManager.setPowerPins(11,12,1000);

      /*

      • Register below your sensors
        */
        nodeManager.registerSensor(SENSOR_DS18B20,3);

      gives a temperature value of 7368:
      0;255;3;0;9;TSF:MSG:READ,3-3-0,s=255,c=3,t=22,pt=5,l=4,sg=0:7368
      3;255;3;0;22;7368
      RECV S=3 I=255 C=3 T=22 P=


      void before() {
      // setup the serial port baud rate
      Serial.begin(MY_BAUD_RATE);
      nodeManager.setReportIntervalSeconds(50);

      /*

      • Register below your sensors
        */
        nodeManager.registerSensor(SENSOR_DS18B20,3);

      gives a correct value:
      0;255;3;0;9;TSF:MSG:READ,3-3-0,s=1,c=1,t=0,pt=7,l=5,sg=0:19.75
      3;1;1;0;0;19.75
      RECV S=3 I=1 C=1 T=0 P=

      posted in NodeManager
      ArduiSens
      ArduiSens
    • RE: NodeManager v1.6-dev: comments and issues

      FYI
      I already had report this in "https://forum.mysensors.org/topic/6534/nodemanager/100", but in that case I was already using V1.6-dev version.

      *ArduiSens 4 days ago

      @user2684, why does NodeManager take so many sketch memory?
      e.g.
      (#define BATTERY_MANAGER 1; #define DEBUG 1; #define MODULE_DS18B20 1)
      sketch NodeManager RS485 config for DS18B20 --> 28730 bytes (93%) of program storage space. Maximum is 30720 bytes.

      own sketch for RS485 SR04T --> 17078 bytes (55%) of program storage space. Maximum is 30720 bytes.

      OK, DS18B20 and SR04T are not the same but DS18B20 is less complex, so 38% more memory is pretty much.*

      posted in NodeManager
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ NodeManager

      @Sergio, I know and it's OK. I'm just playing (trying to convert my RS485 projects).
      In the cases above I'm using Nano boards.

      posted in OpenHardware.io
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ NodeManager

      @user2684, why does NodeManager take so many sketch memory?
      e.g.
      (#define BATTERY_MANAGER 1; #define DEBUG 1; #define MODULE_DS18B20 1)
      sketch NodeManager RS485 config for DS18B20 --> 28730 bytes (93%) of program storage space. Maximum is 30720 bytes.

      own sketch for RS485 SR04T --> 17078 bytes (55%) of program storage space. Maximum is 30720 bytes.

      OK, DS18B20 and SR04T are not the same but DS18B20 is less complex, so 38% more memory is pretty much.
      Do I miss something?

      posted in OpenHardware.io
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ NodeManager

      @user2684, found the RS485 settings (thanks), but having problems with disabling the BATTERY_MANAGER option.
      We don't need this option in a RS485 serial wired network (or RS485 serial gateway).

      config.h:
      #define BATTERY_MANAGER 0

      gives following compiling errors:
      sketch\NodeManager.cpp: In member function 'void NodeManager::process(Request&)':
      NodeManager.cpp:3722: error: 'setBatteryReportSeconds' was not declared in this scope
      case 40: setBatteryReportSeconds(request.getValueInt()); break;
      NodeManager.cpp:3723: error: 'setBatteryReportHours' was not declared in this scope
      case 41: setBatteryReportHours(request.getValueInt()); break;
      NodeManager.cpp:3724: error: 'setBatteryReportDays' was not declared in this scope
      case 42: setBatteryReportDays(request.getValueInt()); break;

      exit status 1
      'setBatteryReportSeconds' was not declared in this scope

      posted in OpenHardware.io
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ NodeManager

      Hello, is there an option to use the (fantastic) Node Manager in a RS485 wired set-up?

      posted in OpenHardware.io
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Building a wired RS485 sensor network

      Nofox,

      1. The 510 ohm pull up and pull down resistors (between A (D+) and 5V / between B (D-) and ground) are usually mounted on the master side (which is your gateway). Theoretically it would be best to install it in the middle of your bus line.
      2. check if your power supply has enough power to feed all your nodes
      3. check that all the ground lines of your boards are connected with each other.
      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Building a wired RS485 sensor network

      @nofox it's what gohan stated, the 120ohm resistors should only put on the first and last node of you network. And you can only use a "bus" network topology for RS485.You should use the other wires of you Ethernet cable to accomplish this like kimot wrote.

      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: Bridge between RF24 and RS485

      I know but not with the interface RS485 to Ethernet or NRF24L01+.
      Only RS485 to USB which doesn't work when connecting to Synology NAS, in this case you also should wire it up to your NAS.

      posted in Feature Requests
      ArduiSens
      ArduiSens
    • RE: Bridge between RF24 and RS485

      This would be a great step forward because today I can't find a good solution for connecting a RS485 wired sensor network to my Synology NAS without using USB (USB is complicated when using Arduino boards)

      By option 1, do you mean a gateway-interface device like translating RS485 data into Ethernet?

      I can do some integration testing πŸ˜‰

      posted in Feature Requests
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Building a wired RS485 sensor network

      FYI
      0_1491315316611_upload-40d28ad1-8ba3-4a11-aa7b-5bd1e84424d2

      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Building a wired RS485 sensor network

      Google for simple Modbus Master dcouments (arduino forum)

      The MAX485 is not the best RS485 chip because of it's own internal impedance.
      The chip in the diagram can be change by MAX485, MAX...
      0_1491314500978_upload-db69c9ce-43b6-430d-8807-74438ad83b96

      https://datasheets.maximintegrated.com/en/ds/MAX1487-MAX491.pdf

      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: πŸ’¬ Building a wired RS485 sensor network

      The 510 ohm pull up and pull down resistors are usually mounted on the master side. Theoretically it
      would be best to install it in the middle of your bus line. The 120 ohm termination resistor must always
      be used on distances greater than 1 meter and/or baud rates higher than 9600. It’s best to install it as a
      norm as noise and reflections will cause havoc on your communication once implemented in the field.
      The termination resistors should be mounted at both ends of the bus line. Please note that adding bias
      resistors will load the driver IC output. With the indicated values the max number of units on the bus
      line is limited to eight 12kΩ, sixteen 24kΩ, or thirty-two 48kΩ units.
      For further protection transient suppressors can be installed across the differential lines, from the Vcc to
      D+ and from GND to D-.!
      0_1491314128147_upload-f4c63383-2b9a-4f3d-bd48-1e25fcf9dc76

      posted in Announcements
      ArduiSens
      ArduiSens
    • RE: Can't compiling GatewayW5100 sketch --> include SPI.h problem

      Hello,
      I have had some other problems too, one of them was the reconnections-after-30-sec problem with Domotics (via Synology). To solve this I have compiled my UNO (with ethernet shield at top) 2 minutes ago and now I have full contact with Domotics (on Synology NAS). Start playing now ...

      thanks for the inspiration!

      posted in Bug Reports
      ArduiSens
      ArduiSens
    • RE: Arduino UNO ethernet gateway problem

      Hello,
      You will solve the problem when compiling your arduino sketch with IDE 1.6.8.
      I have compiled my UNO with ethernet shield at top 2 minutes ago and now I have full contact with Domotics (on Synology NAS).
      go for it!

      posted in Troubleshooting
      ArduiSens
      ArduiSens
    • Ethernet Gateway code for UNO with plugged-in ethernet shield

      Dear all,

      The MySensor program of the Ethernet gateway didn't work.
      I saw a few posts saying to change background code / hardware if you work with UNO / Ethernet shield.
      The comments about that are not clear for me, the reason way I post this issue.
      The goal is to connect with Domoticz (on Synology) via the MySensor Ethernet gateway.
      Can someone gives me a hint or link to a solved post?

      thanks in advance πŸ˜‰

      posted in Troubleshooting
      ArduiSens
      ArduiSens
    • RE: Can't compiling GatewayW5100 sketch --> include SPI.h problem

      After installing the Arduino IDE 1.8.1 it is solved.
      Other problem: I didn't find the last used arduino libraries in the 2.1.1 - Latest Release
      e.g. Adafruit_BMP085
      BH1750
      Bounce2
      DHT
      ...
      Or do I have to load these (https://github.com/thozza/MySensors-Arduino/tree/master/libraries) to my library folder?

      thanks in advance

      posted in Bug Reports
      ArduiSens
      ArduiSens
    • RE: Can't compiling GatewayW5100 sketch --> include SPI.h problem

      @tbowmo said in Can't compiling GatewayW5100 sketch --> include SPI.h problem:

      t

      Hello,
      I'm using version 1.6.4 with arduino Uno
      regards,

      posted in Bug Reports
      ArduiSens
      ArduiSens
    • Can't compiling GatewayW5100 sketch --> include SPI.h problem

      Dear MySensor team,

      I've downloaded the 2.1.1 - Latest Release
      compiler log of the GatewayW5100 sketch :

      In file included from C:\Users\User\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23:0,
      from C:\Users\User\Documents\Arduino\libraries\MySensors/MySensors.h:290,
      from GatewayW5100.ino:116:
      C:\Users\User\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:17: fatal error: SPI.h: No such file or directory
      #include <SPI.h>
      ^
      compilation terminated.

      Thanks!

      posted in Bug Reports
      ArduiSens
      ArduiSens