Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Can I use a GY-21 temperature/humidity sensor with the Pro2?
#6

Hi Robin,

The code you posted for adding support for the GY-21 sensor, for me seems fine and placed on the correct places, however I haven't tested it yet because I don't have any GY-21 module like yours. I have some GY-21 modules but they are fitted with the HTU21, and they work with the existing code.

Seems those modules can be fitted with three types of sensors.
Could you please tell me what reference is writen on the sensor chip of your module?

Just for curiosity could you post the info you get after compiling the software?
Something like this:

Quote:Sketch uses 12004 bytes (39%) of program storage space. Maximum is 30720 bytes.
Global variables use 1241 bytes (60%) of dynamic memory, leaving 807 bytes for local variables. Maximum is 2048 bytes.



Rgs,
Werk_AG

Reply


Messages In This Thread



Users browsing this thread: 1 Guest(s)