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. Troubleshooting
  3. [SOLVED] Si7021 / Gy-21 with pro mini 3.3v

[SOLVED] Si7021 / Gy-21 with pro mini 3.3v

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 3 Posters 546 Views 3 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.
  • G Offline
    G Offline
    grumpazoid
    wrote on last edited by Yveaux
    #1

    I have hooked up a GY-21 module as per the instructions to a pro mini 3.3V (Previously working with DHT22 sensor.

    I just get "not recognized" message in the serial monitor. I have metered out A4 and A5 pins on my clone board and they are connected to the main IC.

    This page http://www.guillier.org/blog/2015/07/sht21htu21d-humidity-and-temperature-sensor/ seems indicate that this board can be used on both 3.3 and 5V arduinos.

    Am I missing something?

    Thanks.

    Raspberry Pi 3B - Domoticz + Node Red
    Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
    Arduino Mega, RFLink 433Mhz
    Sonoff/ESP8266/Tasmota switches

    YveauxY 1 Reply Last reply
    0
    • G grumpazoid

      I have hooked up a GY-21 module as per the instructions to a pro mini 3.3V (Previously working with DHT22 sensor.

      I just get "not recognized" message in the serial monitor. I have metered out A4 and A5 pins on my clone board and they are connected to the main IC.

      This page http://www.guillier.org/blog/2015/07/sht21htu21d-humidity-and-temperature-sensor/ seems indicate that this board can be used on both 3.3 and 5V arduinos.

      Am I missing something?

      Thanks.

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by Yveaux
      #2

      @grumpazoid this page https://www.mysensors.org/build/humidity_si7021 is completely dedicated to your sensor.
      Did you follow this guide?

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • G Offline
        G Offline
        grumpazoid
        wrote on last edited by
        #3

        @Yveaux That link seems to take me to the DHT22 guide....but yes I followed the Si7021 guide.

        Raspberry Pi 3B - Domoticz + Node Red
        Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
        Arduino Mega, RFLink 433Mhz
        Sonoff/ESP8266/Tasmota switches

        YveauxY 1 Reply Last reply
        0
        • G grumpazoid

          @Yveaux That link seems to take me to the DHT22 guide....but yes I followed the Si7021 guide.

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by Yveaux
          #4

          @grumpazoid Damn phones... Anyway, corrected the link.
          So, I assume you get the error message 'Sensor not detected!' as the sensor.begin() call fails.
          You also triple checked A4 runs to SDA and SCL to A5.

          What Arduino board are you using?
          Are you sure the sensor is functioning correctly?

          http://yveaux.blogspot.nl

          1 Reply Last reply
          1
          • G Offline
            G Offline
            grumpazoid
            wrote on last edited by
            #5

            @Yveaux I have just tested on a second board. This time a 5V arduino uno. Same result - as you say at "while (not sensor.begin())" call.
            This board has SCL and SDA pins as well as A4 and A5. I have tried both.
            Looks like a duff sensor then :(

            Raspberry Pi 3B - Domoticz + Node Red
            Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
            Arduino Mega, RFLink 433Mhz
            Sonoff/ESP8266/Tasmota switches

            G 1 Reply Last reply
            0
            • G grumpazoid

              @Yveaux I have just tested on a second board. This time a 5V arduino uno. Same result - as you say at "while (not sensor.begin())" call.
              This board has SCL and SDA pins as well as A4 and A5. I have tried both.
              Looks like a duff sensor then :(

              G Offline
              G Offline
              grumpazoid
              wrote on last edited by grumpazoid
              #6

              Having spent some more time fault finding, it seemed that the logic level converter chip had been soldered on wonky and one of the pins was not connected.
              Ive unfortunately damaged the PCB in an attempt to fix so a new one has been ordered from another chinese seller.

              Having now had time to read futher about the GY-21 is appears it will work with both 3.3 and 5V microcontrollers.

              Interesting to see there is a GY-21P board that includes a pressure sensor. I would be interested to hear from anyone who has used this.

              Edit 9/10/19 Just an update on this.
              I now have new sensors on order Si7021 (both 3.3 and 5v boards) and also a BME280 which has temp, pressure and humidity.

              Raspberry Pi 3B - Domoticz + Node Red
              Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
              Arduino Mega, RFLink 433Mhz
              Sonoff/ESP8266/Tasmota switches

              1 Reply Last reply
              0
              • franz-unixF Offline
                franz-unixF Offline
                franz-unix
                wrote on last edited by
                #7

                Hi, I have used a couple of
                this without any problem.

                The supplier is a chinese store, so the shipping time is quite long, but the price is very low.

                Not yet tested the version with pressure sensor.

                1 Reply Last reply
                1
                • G Offline
                  G Offline
                  grumpazoid
                  wrote on last edited by
                  #8

                  I have now received 2 new Si7021 ebay boards. One 3.3V and one 5V. Both happily working straight away.
                  I have incorporated one into one of my motion sensors so I now get motion, battery level, room temp and humidity.
                  At first my pro mini would not sleep and just kept looping in the serial monitor - but as soon as I removed the FTDI board it started to behave? Somehow the PIR kept getting triggered. maybe too much going on with everything connected on the 3.3V line.

                  Anyway very happy with the finished sensor.

                  Raspberry Pi 3B - Domoticz + Node Red
                  Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
                  Arduino Mega, RFLink 433Mhz
                  Sonoff/ESP8266/Tasmota switches

                  YveauxY 1 Reply Last reply
                  0
                  • G grumpazoid

                    I have now received 2 new Si7021 ebay boards. One 3.3V and one 5V. Both happily working straight away.
                    I have incorporated one into one of my motion sensors so I now get motion, battery level, room temp and humidity.
                    At first my pro mini would not sleep and just kept looping in the serial monitor - but as soon as I removed the FTDI board it started to behave? Somehow the PIR kept getting triggered. maybe too much going on with everything connected on the 3.3V line.

                    Anyway very happy with the finished sensor.

                    YveauxY Offline
                    YveauxY Offline
                    Yveaux
                    Mod
                    wrote on last edited by
                    #9

                    @grumpazoid Good to hear and thanks for reporting back :+1:

                    http://yveaux.blogspot.nl

                    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