Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    4-20mA sensors to interface with pycom sipy

    Scheduled Pinned Locked Moved Discussion
    pycomsipy4-20ma sensor4-20ma currenti2c
    6 Posts 2 Posters 1.2k Views 2 Watching
    Loading More Posts
    • 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.
    • N Offline
      noboz32
      last edited by

      Hi
      I wanted to design IIOT based automation system for Biogas fuel steam boilers to boil water at high temperature at very low power (using 24 V battery)
      I am using 4-20mA sensor connected with 4-20mA current loop receivers to sense the amount methane gas and wanted interface the sensors with Pycom sipy to read the sensor readings and the output device work according to sensor readings.

      Please Share reference code for interfacing the 4-20mA sensors output with pycom sipy

      Note: Multiple 4-20mA Sensors like Gas sensor, Temperature sensor , Steam Pressure sensor

      your expert advice regarding any other expansion boards to be used or any schematic will be very helpful for us

      sebS 1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb @noboz32
        last edited by

        @noboz32

        We do not have any ready made code for interfacing with these devices. I would recommend searching with google to see if anyone has produced a micropython library for the device.

        A quick search by me brought up a library by our very own @robert-hh: https://github.com/robert-hh/ads1x15

        This should allow you to interface with the board easily but I am afraid we cannot provide any direct support other than for general usage of Pycom modules.

        1 Reply Last reply Reply Quote 0
        • N Offline
          noboz32
          last edited by

          Hi
          Thanks for the library.
          But before going to test forward i was able to install all the updates in pycom but i am not able to check the I2C connectivity with pymakr i am searching for tutorial which will help me

          please suggest from where i should learn ??

          sebS 1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb @noboz32
            last edited by

            @noboz32

            A I2C example can be found here: https://docs.pycom.io/chapter/tutorials/all/i2c.html

            1 Reply Last reply Reply Quote 0
            • N Offline
              noboz32
              last edited by

              yes i understand completely with you I ll be the one who ll make a suitable code

              I just need to know the simple way to find out i2C device connectivity with pycom by using command line

              sebS 1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb @noboz32
                last edited by

                @noboz32

                Do you mean just seeing what devices are connected to I2C? If so, please see the i2c.scan() function: https://docs.pycom.io/chapter/firmwareapi/pycom/machine/I2C.html#i2cscan

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post

                Pycom on Twitter

                Pycom