element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Summer of Sensors Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Summer of Sensors Design Challenge
  • More
  • Cancel
Summer of Sensors Design Challenge
Blog In The Air Tonight - Testing the HS4000-EVK
  • Blog
  • Forum
  • Documents
  • Design Challenge
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Summer of Sensors Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ntewinkel
  • Date Created: 14 Oct 2022 12:14 AM Date Created
  • Views 1119 views
  • Likes 8 likes
  • Comments 8 comments
  • zmod4510-evk
  • HS4001
  • zmod4510
  • air quality
  • HS4000-EVK
  • humidity
  • Summer of Sensors Design Challenge
  • renesas
  • summer of sensors
  • In the Air Tonight
  • aqi
  • sensor
Related
Recommended

In The Air Tonight - Testing the HS4000-EVK

ntewinkel
ntewinkel
14 Oct 2022
In The Air Tonight - Testing the HS4000-EVK

I had hoped to have some more useable information to share with you for this blog post, but I kept running into obstacles with every turn of the plans I had for the HS4000-EVK. So I will share with you my journey with the HS4000-EVK.
Hopefully others in this challenge will have better results than me, and maybe I'll learn something from them as we continue the journey.

The HS4000-EVK is an evaluation kit for Renesas' HS4001 temperature and humidity sensor. Temperature and humidity are important factors in air quality, and the plan was to gather data from both the HS4001 as well as from the ZMOD4510 to get a more accurate indication of outdoor air quality. The AQI calculations use temperature and humidity as part of the equation.

The point of the EVK is to make it easy to evaluate the tiny HS4001 sensor without having to invest in building your own boards and applications. For the price it's great value, as technician time does not come cheap.
Unfortunately, I was unable to get the software to run properly to give it the first out-of-the-box test.   

Renesas HS4000-EVK

I'm assuming that, because the other software (for the ZMOD4510-EVK) works properly on the systems I used, it's probably not my setup here.
Hopefully tech support will reply with an easy fix!

In the meantime, I moved on to the next step in testing this sensor: using it directly with an Arduino board.

The documentation has a fair bit of information on how to interface to a microprocessor using I2C, which is excellent. I was also able to download a lot of sample apps that provide the necessary code on how to gather the measurements from the sensor.

I was unable to find any information about the little daughter board for the pinout, but with a little sleuthing through documents I found these images that help identify which pins to use. The sensor chip is directly useable via I2C.

HS4001 I2C pinsHS4001 I2C sample circuit

The sensor is tiny, so I snapped a picture of the daughter board with my microscope.

HS4001 daughter board under microscope

Using those images, combined with the microscope image, I was able to follow the traces to identify which pin is which on the daughter board.
I would double-check the connections with a multimeter, just in case there's some fancy traces happening under the sensor chip. The back of this little board doesn't appear to contain any traces.

EDIT: I had the pins marked incorrectly (see discussion in the comments below). Here is the corrected (hopefully!) version, but don't trust me on this as I've already mislead you once before Laughing
HS4001 daughter board pinout - oops     HS4001 daughterboard pinout   

For the ZMOD4510 sensor I was able to find an easy-to-use Arduino library, complete with an example sketch, so I had hoped to find the same for this HS4001 sensor, but unfortunately it appears that no Arduino support is offered for it.
Many of the other samples are in C, so it should be possible to adapt it with a bit of effort.

The other hurdle I then ran into is that the HS4001 daughterboard uses a tiny connector. This matches the tiny connector on the EVK board, but makes it much more difficult to connect to standard Arduino and breadboard connectors. As I don't have connectors or adapters to fit this small size, I would have to solder regular jumper wires directly to the pins - I'd probably solder to the extension cable to allow the sensor board itself to still be used with the EVK board.

It might be that I'm a hobbyist and lean more towards Arduino as a first go-to for any of my projects, and maybe professional hardware/firmware engineers are more able to pick up and implement sample code into their environments, but I feel that given the general availability and support of the Arduino environment all around the world by so many people, including many professionals, that not providing easy support for their hardware can lead to missed opportunities.

To me it would make more sense if this HS4001-EVK was created as part of an Arduino shield, as it would likely be much easier for more people to try it out. Plus it would likely be easier to build and support the hardware and firmware. Maybe create a Renesas Arduino shield into which the various modules could be plugged for evaluation. The EVK could include a Renesas-built Arduino compatible board for that purpose. The Arduino IDE even has built-in graphing support that would do much of what the Windows software does, or use Processing or similar to create a more complete user interface - this would also solve the problem of supporting more than just the Windows OS.

At this point, I've decided to shelve the HS4000-EVK while focusing on the ZMOD4510 instead.
In a pinch I can just use hardcoded values for temperature and humidity, or I can fall back on using the BME280 that I've already successfully used in a few other projects.

I'll try to get back to the HS4001 sensor at some point in the future, as I don't think it will take too much effort to use it with my Arduino boards, and it would also be a nice addition to my ongoing hummingbird feeder project. This might have to wait until after the end of this In the Air Tonight challenge though.

  • Sign in to reply
  • ntewinkel
    ntewinkel over 2 years ago in reply to jc2048

    I've updated the image in my post to something hopefully more correct Smile  The smaller font size illustrates my lower confidence level Laughing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 2 years ago in reply to jc2048

    Thanks for that, good lesson for me to always check for pin1, and not just trust the orientation of the package markings .

    >Now you need to see if it still works.
    Thankfully I had not hooked it up, due to not being able to find the Arduino library :D  Some strange luck there hah!

    I think the docs do have the I2C commands outlined in detail, so I could go that route, and I think the samples are in C so it should be easy-ish to port, but for this challenge the focus is on the AQI sensor, so I'll deal with that part first.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 2 years ago in reply to DAB

    Renesas aren't trying to sell boards. It's an evaluation board for the device. They are in the business of selling millions of chips, not making boards at a loss. The people they're intended to help (design engineers) should be able to very easily figure out how to use them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 2 years ago in reply to ntewinkel

    Never assume. Always read the datasheet.

    The package drawing is clear that the pin 1 is the opposite corner to the inlet hole.

    image

    Now you need to see if it still works. You might be lucky, but make sure you get the supply the right way round - it won't survive having the actual supply pins wired back to front. To check if it's alive, send a command to it and see if the SDA and SCL lines waggle up and down properly and it returns acks.

    If you work with a generic I2C library for the Arduino, it shouldn't be too difficult to talk to it, even without a specific library for the part. A couple of commands to set it up to work continuously, then read the stored result whenever you want to, might be easiest. The trickiest bit would be checking the CRC that covers the data coming back, but you can just ignore that to start with.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 2 years ago in reply to jc2048

    Thanks for confirming!

    I wrongfully assumed the stamped numbers on the sensors would put “up “ for the sensor the same way it shows in the documentation!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
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