{"id":3411,"date":"2023-12-20T04:40:12","date_gmt":"2023-12-20T04:40:12","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=3411"},"modified":"2023-12-20T04:40:12","modified_gmt":"2023-12-20T04:40:12","slug":"interfacing-aht-sensor-with-vega-aries-boards","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-aht-sensor-with-vega-aries-boards\/","title":{"rendered":"Interfacing AHT sensor with VEGA ARIES boards"},"content":{"rendered":"\n<p>In this tutorial, we will see how to interface AHT sensor using I2C bus with ARIES v3.0 Board. AHT sensors are used to measure temperature and humidity. AHT25 is a quick-response, calibrated, reliable temperature and humidity sensor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">AHT Sensor<\/h2>\n\n\n\n<p>AHT15 temperature and humidity sensor uses standard pitch plug type. The connector can be easily replaced in the application. AHT15 is in protection waterproof and dustproof PTFE membrane that does not affect RH measurement response time. Allowing the sensor use in harsh environmental conditions (like spray water and high contact) Dust), ensuring the best precision performance, making the AHT15. The best choice in the most demanding application conditions. The applications of AHT sensor includes HVAC, dehumidifiers, test and inspection equipment, consumer goods, automotive, automatic control, data loggers, weather station, home appliances, humidity regulation, medical and other related temperature and humidity detection and control. For more details refer the <a href=\"file:\/\/\/C:\/Users\/mydhi\/Downloads\/Aosong_AHT15_en_draft_0.pdf\">datasheet<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"667\" height=\"222\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtsensor.png\" alt=\"\" class=\"wp-image-3412\" style=\"width:343px;height:114px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtsensor.png 667w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtsensor-300x100.png 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows 10 or above\/Linux (64 bit)<\/li>\n\n\n\n<li>Arduino IDE<\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\" target=\"_blank\" rel=\"noreferrer noopener\">VEGA ARIES Board support package<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Components Required<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ARIES v3.0 Board<\/li>\n\n\n\n<li>USB type C to USB type A cable<\/li>\n\n\n\n<li>Adafruit AHT sensor<\/li>\n\n\n\n<li>Jumper Wires<\/li>\n<\/ul>\n\n\n\n<p><strong>Not<\/strong><strong>e:<\/strong>&nbsp;All of the following boards can be used for this project<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv2.php\">ARIES v2.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\">ARIES v3.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesmicro.php\">ARIES Micro<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesdot.php\">ARIES DOT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesiot.php\">ARIES IoT<\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>Note ::<\/strong> If you are using ARIES v2 boards, 4.7 KOhms pull-ups are required on SDA and SCL lines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connection Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/Screenshot-from-2023-09-23-19-08-47-1024x414.png\" alt=\"\" class=\"wp-image-3457\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/Screenshot-from-2023-09-23-19-08-47-1024x414.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/Screenshot-from-2023-09-23-19-08-47-300x121.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/Screenshot-from-2023-09-23-19-08-47-768x311.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/Screenshot-from-2023-09-23-19-08-47.png 1531w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Connections<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>AHT Sensor<\/strong><\/td><td><strong>ARIES V3 board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>3.3V<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>SCL<\/td><td>SCL-0<\/td><\/tr><tr><td>SDA<\/td><td>SDA-0<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong><em>Connection pins of AHT module &amp; ARIES v3.0 Board<\/em><\/strong><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<p>Open and set up the Arduino IDE as described in\u00a0<a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with ARIES v3.0<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure you have selected&nbsp;<strong>ARIES v3<\/strong>&nbsp;Board from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Board<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA Processor: ARIES Boards<\/strong>&nbsp;-&gt;&nbsp;<strong>ARIES v3<\/strong><\/li>\n\n\n\n<li>Select Programmer as VEGA XMODEM from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Programmer<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA XMODEM<\/strong><\/li>\n\n\n\n<li>Also select appropriate port from\u00a0<strong>Tools<\/strong>\u00a0->\u00a0<strong>Port\u00a0-> COM* (ARIES Board)<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"415\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/12\/1-8.png\" alt=\"\" class=\"wp-image-4600\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/12\/1-8.png 847w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/12\/1-8-300x147.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/12\/1-8-768x376.png 768w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<p>Now, Open&nbsp;<strong>Files<\/strong>&nbsp;-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;<strong>-&gt;&nbsp;Wire-&gt;&nbsp;adafruit_aht25_test<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"646\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtexample-1024x646.png\" alt=\"\" class=\"wp-image-3414\" style=\"width:547px;height:345px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtexample-1024x646.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtexample-300x189.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtexample-768x484.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtexample.png 1262w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Required Libraries<\/h2>\n\n\n\n<p>Arduino libraries extend the standard Arduino API and are created by the community. They simplify complex code. Each Arduino IDE version includes a library manager for easy installation. The libraries needed for this project are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Adafruit_AHTX0<\/li>\n\n\n\n<li>Adafruit Unified Sensor<\/li>\n\n\n\n<li>Adafruit SH110X<\/li>\n<\/ul>\n\n\n\n<p>To install the libraries required for this project.<\/p>\n\n\n\n<p>Go to\u00a0<strong>Tools -> Manage Libraries<\/strong>\u00a0-> and search for Adafruit_AHTX0<\/p>\n\n\n\n<p>Click on<strong>&nbsp;Install all<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"548\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtlibrary.png\" alt=\"\" class=\"wp-image-3415\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtlibrary.png 975w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtlibrary-300x169.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtlibrary-768x432.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"976\" height=\"547\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtLibrary2.png\" alt=\"\" class=\"wp-image-3416\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtLibrary2.png 976w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtLibrary2-300x168.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtLibrary2-768x430.png 768w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Once you have downloaded the required libraries you can upload the code to ARIES board.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtckt-1024x576.jpeg\" alt=\"\" class=\"wp-image-3418\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtckt-1024x576.jpeg 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtckt-300x169.jpeg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtckt-768x432.jpeg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtckt-1536x864.jpeg 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtckt-2048x1152.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once the program is uploaded open the serial monitor in 115200 baud rate. This demo will give weather reading of the environment. You can see the temperature and humidity readings displayed on the serial monitor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"524\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtoutput-1024x524.png\" alt=\"\" class=\"wp-image-3419\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtoutput-1024x524.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtoutput-300x154.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtoutput-768x393.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/ahtoutput.png 1137w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how to interface AHT sensor using I2C bus with ARIES v3.0 Board. AHT sensors are used to measure temperature and humidity. AHT25 is a quick-response, calibrated, reliable temperature and humidity sensor. AHT Sensor AHT15 temperature and humidity sensor uses standard pitch plug type. The connector can be easily replaced [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":3418,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94],"tags":[75,95,76,7,66,77,31,24],"class_list":["post-3411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aries-with-arduinoide","tag-aries-v2-board","tag-aries-v3-board","tag-c-dac","tag-cdac","tag-iic","tag-thejas-32","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=3411"}],"version-history":[{"count":7,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3411\/revisions"}],"predecessor-version":[{"id":4602,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3411\/revisions\/4602"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/3418"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=3411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=3411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=3411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}