Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Landis & gyr infrared energy meter reader

Landis & gyr infrared energy meter reader

Scheduled Pinned Locked Moved My Project
6 Posts 6 Posters 1.6k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sullivan Buchs
    wrote on last edited by
    #1

    Here is my job for reading energy meter Landis & gyr by infrared Arduino and MySensors.
    Work with arduino mega but i have one with software serial work on arduino uno, nano etc. the schematic is on github.

    github

    HonkH zookazimZ Gert GaljoenG 3 Replies Last reply
    2
    • S Sullivan Buchs

      Here is my job for reading energy meter Landis & gyr by infrared Arduino and MySensors.
      Work with arduino mega but i have one with software serial work on arduino uno, nano etc. the schematic is on github.

      github

      HonkH Offline
      HonkH Offline
      Honk
      wrote on last edited by
      #2

      @sullivan-buchs how did you get 7e1 mode on an uno working?
      I have some Energy Meters working with Meter-Bus and the IEC1107 protocol. Couldn't find a proper working software lib for serial communication. I solved the problem using the hardware Serial ports on my Mega.

      1 Reply Last reply
      0
      • S Sullivan Buchs

        Here is my job for reading energy meter Landis & gyr by infrared Arduino and MySensors.
        Work with arduino mega but i have one with software serial work on arduino uno, nano etc. the schematic is on github.

        github

        zookazimZ Offline
        zookazimZ Offline
        zookazim
        wrote on last edited by
        #3

        @sullivan-buchs - I've had a look at github but can't find an explanation for how it works. As a newbie to mysensors can you explain how you 'read' the meter?

        bjacobseB 1 Reply Last reply
        0
        • zookazimZ zookazim

          @sullivan-buchs - I've had a look at github but can't find an explanation for how it works. As a newbie to mysensors can you explain how you 'read' the meter?

          bjacobseB Offline
          bjacobseB Offline
          bjacobse
          wrote on last edited by
          #4

          @zookazim
          Hi as the below circuit shows, the sensor read the electricity usage form the meter via IR, the meter have a Ir LED that transmit the usage, this can be picked-up/read with a IR receiver LED/transister. this is via the electrically circuit providing the data to the Arduino, this can if the protocol is correct, convert this to useful data

          https://github.com/prophetmaster/landisgyre350/blob/master/images/Arduino-IR-Collision-Detection-Module-Pin-Outs.png

          1 Reply Last reply
          0
          • B Offline
            B Offline
            Bojkas
            wrote on last edited by
            #5

            Hello, please, can you help me edited for my electricity meter? I use Nodemca v3 and IR receiver and transmitter. Trying to use https://raw.githubusercontent.com/prophetmaster/landisgyre350/master/landisgyr no mysensors/landis.ino, but without defining IR TX and RX I can't compile it.

            
            
            
            
            
            
            
            
            
            
            VAROVÁNÍ: Falešný .ci adresář 'MySensors' v knihovně
            VAROVÁNÍ: Falešný .mystools adresář 'MySensors' v knihovně
            VAROVÁNÍ: Falešný .ci adresář 'MySensors' v knihovně
            VAROVÁNÍ: Falešný .mystools adresář 'MySensors' v knihovně
            C:\Users\BeliveIT\Documents\Arduino\mysensor_landis_gyr\mysensor_landis_gyr.ino: In function 'void setup()':
            
            mysensor_landis_gyr:54:3: error: 'Serial1' was not declared in this scope
            
               Serial1.begin(IRSERIALSPEED, IRSERIALCONF);
            
               ^
            
            C:\Users\BeliveIT\Documents\Arduino\mysensor_landis_gyr\mysensor_landis_gyr.ino: In function 'void loop()':
            
            mysensor_landis_gyr:73:5: error: 'Serial1' was not declared in this scope
            
                 Serial1.begin(IRSERIALSPEED, IRSERIALCONF);
            
                 ^
            
            mysensor_landis_gyr:85:5: error: 'Serial1' was not declared in this scope
            
                 Serial1.begin(IRSERIALSPEED, IRSERIALCONF);
            
                 ^
            
            C:\Users\BeliveIT\Documents\Arduino\mysensor_landis_gyr\mysensor_landis_gyr.ino: In function 'void serialEvent1()':
            
            mysensor_landis_gyr:102:10: error: 'Serial1' was not declared in this scope
            
               while (Serial1.available()) {
            
                      ^
            
            exit status 1
            'Serial1' was not declared in this scope
            
            1 Reply Last reply
            0
            • S Sullivan Buchs

              Here is my job for reading energy meter Landis & gyr by infrared Arduino and MySensors.
              Work with arduino mega but i have one with software serial work on arduino uno, nano etc. the schematic is on github.

              github

              Gert GaljoenG Offline
              Gert GaljoenG Offline
              Gert Galjoen
              wrote on last edited by
              #6

              @Sullivan-Buchs thanks for your code, quiet unique piece. The only working one I found!
              I changed the hardware a little to use the TX led from the same sensor board.
              Sended a pull request, if you prefer to adopt it.

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              17

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular