Navigation

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

    rubyan

    @rubyan

    6
    Reputation
    4
    Posts
    401
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    rubyan Follow

    Best posts made by rubyan

    • Gas meter monitoring with optical sensor

      Hi all,

      This project enables me to read the gas meter using an optical sensor, the TCRT5000. The last digit of the meter has a reflective '6' that triggers the optical circuit. The board is powered by the well known HLK-PM01, and uses an arduino pro mini (clone). The nrf24 is fitted into a board that provides a proper 3.3v voltage. The board can receive OTA firmware upgrades 🙂

      The sketch (that i adapted from Sandor Incze & Michel Schilthuizen) uses debounce, and raises the counter only if filtered pin value goes from 0 to 1. There is no problem if the meter stops at the '6'. If the sketch starts, it asks the controller for the last known value.

      I use domoticz to present the readings. At this moment, there seems to be a problem with the large numbers that my meter uses, I still need to figure this out.

      Future updates consist of using a fuse and thermistor with the power supply to make it more safe, and to create a nice casing.

      5_1473413948459_IMG_20160909_111734.JPG 4_1473413948458_IMG_20160909_110618.JPG 3_1473413948458_IMG_20160909_110324.JPG 2_1473413948458_IMG_20160909_110304.JPG 1_1473413948458_IMG_20160909_110255.JPG 0_1473413948458_domoticz.png

      code: github

      posted in My Project
      rubyan
      rubyan
    • RE: MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

      @Fabien said:

      I try to add new hex file in MYSController 1.0 but after clicking "reload repo", it tells me 2107-15-31 is not a valid date specification. I don't have the ability to select firmware after this. And after a reboot the "reload repo" is garyed.

      @Fabien You have two or more blank lines in your firmware_config.csv. This causes the error message. If you remove them and click on Reload Repo the error will be gone.

      posted in Development
      rubyan
      rubyan

    Latest posts made by rubyan

    • RE: Gas meter monitoring with optical sensor

      The code is on github:

      https://github.com/Rubyan/MySensors/blob/master/Meterkast/Meterkast.ino

      posted in My Project
      rubyan
      rubyan
    • RE: Communication problems v2.0.0 between GW and nodes.

      I had lots of problems with receiving the ACK messages of a node. I was sending a switch off command with ACK. The ACK was never delivered 50% of the time.

       [2016-09-07 17:16:44.241 Info] RX	0;255;3;0;9;TSP:MSG:SEND 0-0-100-100 s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=ok:0
       [2016-09-07 17:16:44.241 Info] RX	0;255;3;0;9;TSP:MSG:READ 100-100-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
       [2016-09-07 17:16:44.241 Info] RX	100;1;1;1;2;0
       [2016-09-07 17:16:44.490 Info] TX	100;1;1;1;2;0
       [2016-09-07 17:16:44.537 Info] RX	0;255;3;0;9;!TSP:MSG:SEND 0-0-100-100 s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=fail:0
       [2016-09-07 17:16:44.755 Info] TX	100;1;1;1;2;0
       [2016-09-07 17:16:44.771 Info] RX	0;255;3;0;9;TSP:MSG:SEND 0-0-100-100 s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=ok:0
       [2016-09-07 17:16:44.771 Info] RX	0;255;3;0;9;TSP:MSG:READ 100-100-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
       [2016-09-07 17:16:44.771 Info] RX	100;1;1;1;2;0
       [2016-09-07 17:16:48.052 Info] TX	100;1;1;1;2;0
       [2016-09-07 17:16:48.099 Info] RX	0;255;3;0;9;!TSP:MSG:SEND 0-0-100-100 s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=fail:0
       [2016-09-07 17:16:48.899 Info] TX	100;1;1;1;2;0
       [2016-09-07 17:16:48.946 Info] RX	0;255;3;0;9;!TSP:MSG:SEND 0-0-100-100 s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=fail:0
       [2016-09-07 17:17:00.021 Info] TX	100;1;1;1;2;0
       [2016-09-07 17:17:00.068 Info] RX	0;255;3;0;9;!TSP:MSG:SEND 0-0-100-100 s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=fail:0
       [2016-09-07 17:17:00.614 Info] TX	100;1;1;1;2;0
       [2016-09-07 17:17:00.645 Info] RX	0;255;3;0;9;TSP:MSG:SEND 0-0-100-100 s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=ok:0
       [2016-09-07 17:17:00.645 Info] RX	0;255;3;0;9;TSP:MSG:READ 100-100-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
      

      When I removed the (aliexpress) NRF24L01+ Socket Adapter Board on the node and connected the radio directly to the 3.3v nano the acknowledge rate went to 100%. Strange...

      posted in Hardware
      rubyan
      rubyan
    • Gas meter monitoring with optical sensor

      Hi all,

      This project enables me to read the gas meter using an optical sensor, the TCRT5000. The last digit of the meter has a reflective '6' that triggers the optical circuit. The board is powered by the well known HLK-PM01, and uses an arduino pro mini (clone). The nrf24 is fitted into a board that provides a proper 3.3v voltage. The board can receive OTA firmware upgrades 🙂

      The sketch (that i adapted from Sandor Incze & Michel Schilthuizen) uses debounce, and raises the counter only if filtered pin value goes from 0 to 1. There is no problem if the meter stops at the '6'. If the sketch starts, it asks the controller for the last known value.

      I use domoticz to present the readings. At this moment, there seems to be a problem with the large numbers that my meter uses, I still need to figure this out.

      Future updates consist of using a fuse and thermistor with the power supply to make it more safe, and to create a nice casing.

      5_1473413948459_IMG_20160909_111734.JPG 4_1473413948458_IMG_20160909_110618.JPG 3_1473413948458_IMG_20160909_110324.JPG 2_1473413948458_IMG_20160909_110304.JPG 1_1473413948458_IMG_20160909_110255.JPG 0_1473413948458_domoticz.png

      code: github

      posted in My Project
      rubyan
      rubyan
    • RE: MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

      @Fabien said:

      I try to add new hex file in MYSController 1.0 but after clicking "reload repo", it tells me 2107-15-31 is not a valid date specification. I don't have the ability to select firmware after this. And after a reboot the "reload repo" is garyed.

      @Fabien You have two or more blank lines in your firmware_config.csv. This causes the error message. If you remove them and click on Reload Repo the error will be gone.

      posted in Development
      rubyan
      rubyan