element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
1 Meter of Pi
  • Challenges & Projects
  • Design Challenges
  • 1 Meter of Pi
  • More
  • Cancel
1 Meter of Pi
Blog Blog-2 Interfacing both the HaT's(Enviro+Auto) together
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: embeddedguy
  • Date Created: 30 Nov 2020 5:51 AM Date Created
  • Views 484 views
  • Likes 5 likes
  • Comments 0 comments
  • 1meterofpi
  • embedded
Related
Recommended

Blog-2 Interfacing both the HaT's(Enviro+Auto) together

embeddedguy
embeddedguy
30 Nov 2020

In the first Blog-1, I had just started with the Enviro HaT but I did not have any idea of how to interface the Automation HaT or both the HaT's connected together

with Pico Hat. During the last days, I had plugged in the Automation HaT, and installed the required software, tried the demo examples, and tested their functional

working demo!

Also, one more task was to solder the Pico HaT Hacker on the 40-pin GPIO header and connect both the HaTs. There were some basic challenges to get both the

HaTs working together. I had questions in my mind before I get started.

 

1) How will both the HaTs be working plugged in together in the little space?

2) Can I only use the available sensors on the Enviro by just connecting the I2C wires? and plug in the Auto HaT in the main header?

 

I started by soldering the Pico HaT on the main header and the 40-pin male header on the second header. While connecting the Enviro Hat together with Automation

HaT there were initial errors to access the I2C sensor ltr559. The problem was that I was only connecting the 4-wire I2C sensors. The BME280 was working nice, the

ltr559 was showing up in the list of I2C devices but while trying to access the sensor the error was about Error No. 121, I/O error.

image

The solution was that I need to connect all the grounds and 5/3.3 V pins marked in the above picture.

Finally, I have both the HaTs working together with an additional DPS310 Temperature/Pressure sensor from Infineon connected with the Automation HaT I2C interface.

The next part is that I want to have more sensors at various places in the 1m3 space and there might not be a possibility to connect them over the same I2C interface bus

because of the limitation of available I2C addresses. The MQTT protocol with ESP could be one of the possible thing I could try to send sensor data from various places.

imageimage

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube