The Hat ENV is a remarkable device that can detect temperature, humidity, air pressure, and magnetic field. It communicates via the I2C protocol, enabling you to obtain four types of environmental data with just two pins. Its compact size makes it an ideal tool for collecting environmental data. Product features include a temperature range of -20 to 60 ℃ with an error of ±0.2℃, a humidity range of 20 to 95 %RH with an error of 0.1%, and an air pressure range of 300 to 1100hPa with an error of ±1hPa. The typical magnetic field is - ±1300μT (x, y-axis), ±2500μT (z-axis) with a resolution of 0.3μT. The package includes 1x ENV Hat, and it can be used in applications like weather stations and compasses. There are also official channels, a forum, relevant libraries, and datasheets available, along with an Arduino example and a pin map.






Using the M5StickC Environmental Sensor Hat is easy. First, connect it to your M5StickC device through the provided pins following the pin map. Once connected, it will start collecting environmental data automatically. You can access this data through the relevant libraries and use it for your projects like setting up a weather station or a compass. When handling the device, be gentle as it is a delicate electronic component. Avoid exposing it to extreme temperatures, high humidity for long periods, or strong magnetic fields that are beyond its specified range. To keep it in good working condition, clean it gently with a dry, soft cloth if it gets dirty. Also, make sure to update the relevant libraries regularly to ensure accurate data collection and compatibility with your projects.