0

adafruit io usage with AHT20 temp./humid. sensor
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Wed Mar 31, 2021 5:45 pm

hello everyone,

i am just getting started on the adafruit platform, i bough an adafruit HUZZAH! with an esp8266 chip (i switched from lua to arduino IDE) so i could learn on how to use this board. i also ordered the oled 128x64 feather which has a stemma connector to it, so i thought "lets buy a temperature/humidity sensor module too". but when i look it up i cannot find any way to use it with either the oled (which was my intended use: reading temps/humidity and streaming them to the oled just as in the video from the oled demo).

but since i saw a bit of adafruitIO i kinda want to have it do both. i would like it to push the sensor data from the sensor to the oled (i think you first let it print to the serial monitor and from there you let it write to the display?). i will put a link down to the dispay i have so you can see the video itself where they use the setup i currently have in front of me (unfortunately without code ;( )

product links:

adafruit HUZZAH! : https://www.adafruit.com/product/2821
adfafruit oled: https://www.adafruit.com/product/4650
adafruit temp/humid sensor (AHT20): https://www.adafruit.com/product/4566 (do note that i have this connected to a STEMMA connector cable, it works. tested in the serial console)


oled demo/video that i want to re-create: https://cdn-shop.adafruit.com/product-v ... 650-08.mp4

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by dastels on Wed Mar 31, 2021 6:26 pm


dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Wed Mar 31, 2021 6:31 pm

hello dave,

yes, i have read the guides, i also have got them both working seperately but i cannot get them to work together (serial to oled).

i am also completely lost in the adafruitIO part...

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by dastels on Wed Mar 31, 2021 6:39 pm

The OLED guide shows how to output to the display. Just take the data you're sending to serial and write it to the oled instead.

Have you looked at the Adafruit IO guides? E.g.:
https://learn.adafruit.com/welcome-to-adafruit-io
https://learn.adafruit.com/adafruit-io

Plus a couple using the Huzzah 8266:
https://learn.adafruit.com/adafruit-io-basics-esp8266-arduino
https://learn.adafruit.com/crickit-and-adafruitio

Dave

dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Wed Mar 31, 2021 7:11 pm

dastels wrote:Just take the data you're sending to serial and write it to the oled instead.




So, i don't actually how to switch the date between serial.print and display.print

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Wed Mar 31, 2021 7:14 pm

Dave,

If i do this:

Displqy.begin();

sensors_event_t humidity, temp;
aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data
Display.print("Temperature: "); displqy.print(temp.temperature); Serial.println(" degrees C");
display.print("Humidity: "); display.print(humidity.relative_humidity); display.println("% rH");

delay(500);

Would that work?

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by dastels on Wed Mar 31, 2021 7:28 pm

Off hand that looks pretty close. There's bits and pieces missing: includes, setup and loop functions...

Dave

dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Wed Mar 31, 2021 8:48 pm

so to come back at this,

i now have this code (which unfortunately updates the whole display or clears the buffer as you would say.) is there any other way to update the pixels as they did in the demo video? because i cannot read a thing if i keep doing a display.clearDisplay every 2,5 miliseconds. i choolse 10Ms origionally because that made the sensor update more frequently but then my eyes start to hurt when looking at it...

code:

Code: Select all | TOGGLE FULL SIZE
#include <Adafruit_AHTX0.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SH110X.h>
Adafruit_AHTX0 aht;
Adafruit_SH110X display = Adafruit_SH110X(64, 128, &Wire);

void setup() {
  display.begin(0x3C, true); // Address 0x3C default
  display.display();
  delay(500);
  display.clearDisplay();
  display.display();
  display.setTextSize(1);
  display.setTextColor(SH110X_WHITE);
  display.setCursor(0,0);
  display.setRotation(1);
  Serial.begin(115200);
  Serial.println("Adafruit AHT10/AHT20 demo!");

  if (! aht.begin()) {
    Serial.println("Could not find AHT? Check wiring");
    while (1) delay(10);
  }
  Serial.println("AHT10 or AHT20 found");
}

void loop() {
  sensors_event_t humidity, temp;
  aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data
  Serial.print("Temperature: "); display.setCursor (0,0); display.print(temp.temperature); Serial.println(" °C");
  Serial.print("Humidity: "); display.setCursor (0,8); display.print(humidity.relative_humidity); Serial.println("%");
  display.display();
  display.clearDisplay();
  display.display();
  delay(250);
}
Last edited by Rmaih on Wed Mar 31, 2021 9:34 pm, edited 1 time in total.

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Wed Mar 31, 2021 9:33 pm

[quote="dastels"

Have you looked at the Adafruit IO guides?
Dave[/quote]


now i have tried to modify the "demo" adafruit io sketch from the libraries.... it did connect to adafruit IO and it does register the values into the serial console but not at all on the adafruit IO space... my id and pass from adafruit io are correct and my wifi pass and ssid too... any idea how to fix this?

note: i will only send the code where i collect the sensor data since i have not modified the config.h file within the demo to connect to the IO platform

Code: Select all | TOGGLE FULL SIZE
// Adafruit IO Temperature & Humidity Example
// Tutorial Link: https://learn.adafruit.com/adafruit-io-basics-temperature-and-humidity
//
// Adafruit invests time and resources providing this open source code.
// Please support Adafruit and open source hardware by purchasing
// products from Adafruit!
//
// Written by Todd Treece for Adafruit Industries
// Copyright (c) 2016-2017 Adafruit Industries
// Licensed under the MIT license.
//
// All text above must be included in any redistribution.

/************************** Configuration ***********************************/

// edit the config.h tab and enter your Adafruit IO credentials
// and any additional configuration needed for WiFi, cellular,
// or ethernet clients.
#include "config.h"

/************************ Example Starts Here *******************************/
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>
#include <Adafruit_AHTX0.h>
Adafruit_AHTX0 aht;
// pin connected to DH22 data line


// create DHT22 instance


// set up the 'temperature' and 'humidity' feeds
AdafruitIO_Feed *temperature = io.feed("temperature");
AdafruitIO_Feed *humidity = io.feed("humidity");

void setup() {

  // start the serial connection
  Serial.begin(115200);

  // wait for serial monitor to open
  while(! Serial);

  // initialize dht22
  aht.begin();

  // connect to io.adafruit.com
  Serial.print("Connecting to Adafruit IO");
  io.connect();

  // wait for a connection
  while(io.status() < AIO_CONNECTED) {
    Serial.print(".");
    delay(500);
  }

  // we are connected
  Serial.println();
  Serial.println(io.statusText());

}

void loop() {

  // io.run(); is required for all sketches.
  // it should always be present at the top of your loop
  // function. it keeps the client connected to
  // io.adafruit.com, and processes any incoming data.
  io.run();

   sensors_event_t humidity, temp;
  aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data

  float celsius = temp.temperature;
  float fahrenheit = (celsius * 1.8) + 32;

  Serial.print("celsius: ");
  Serial.print(celsius);
  Serial.println("C");

  Serial.print("fahrenheit: ");
  Serial.print(fahrenheit);
  Serial.println("F");

  // save fahrenheit (or celsius) to Adafruit IO
  temperature->save(celsius);

  aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data

  Serial.print("humidity: ");
  Serial.print(humidity.relative_humidity);
  Serial.println("%");

  // save humidity to Adafruit IO
  //humidity->save(humidity.relative_humidity);

  // wait 5 seconds (5000 milliseconds == 5 seconds)
  delay(5000);

}


p.s. i did comment out the humidity since that one had givven me an error and i wanted to see if at least the temp. would register....

error on the humidity:
Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.13 (Windows 10), Board: "Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"





















C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\xande\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\xande\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\xande\Documents\Arduino\libraries -fqbn=esp8266:esp8266:huzzah:xtal=80,vt=flash,exception=legacy,ssl=all,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -vid-pid=10C4_EA60 -ide-version=10813 -build-path C:\Users\xande\AppData\Local\Temp\arduino_build_896345 -warnings=none -build-cache C:\Users\xande\AppData\Local\Temp\arduino_cache_324697 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.python3.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -verbose C:\Users\xande\Documents\Arduino\adafruitio_15_temp_humidity\adafruitio_15_temp_humidity.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\xande\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\xande\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\xande\Documents\Arduino\libraries -fqbn=esp8266:esp8266:huzzah:xtal=80,vt=flash,exception=legacy,ssl=all,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -vid-pid=10C4_EA60 -ide-version=10813 -build-path C:\Users\xande\AppData\Local\Temp\arduino_build_896345 -warnings=none -build-cache C:\Users\xande\AppData\Local\Temp\arduino_cache_324697 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.python3.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -verbose C:\Users\xande\Documents\Arduino\adafruitio_15_temp_humidity\adafruitio_15_temp_humidity.ino

Using board 'huzzah' from platform in folder: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4

Using core 'esp8266' from platform in folder: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4

Detecting libraries used...

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for AdafruitIO_WiFi.h: [Adafruit_IO_Arduino@4.0.2]

ResolveLibrary(AdafruitIO_WiFi.h)

  -> candidates: [Adafruit_IO_Arduino@4.0.2]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Adafruit_MQTT.h: [Adafruit_MQTT_Library@2.1.0]

ResolveLibrary(Adafruit_MQTT.h)

  -> candidates: [Adafruit_MQTT_Library@2.1.0]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for ArduinoHttpClient.h: [ArduinoHttpClient@0.4.0]

ResolveLibrary(ArduinoHttpClient.h)

  -> candidates: [ArduinoHttpClient@0.4.0]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0]

ResolveLibrary(ESP8266WiFi.h)

  -> candidates: [ESP8266WiFi@1.0]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Adafruit_Sensor.h: [Adafruit_Unified_Sensor@1.1.4]

ResolveLibrary(Adafruit_Sensor.h)

  -> candidates: [Adafruit_Unified_Sensor@1.1.4]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for DHT.h: [Grove_Temperature_And_Humidity_Sensor@1.0.1 DHT_sensor_library@1.4.2]

ResolveLibrary(DHT.h)

  -> candidates: [Grove_Temperature_And_Humidity_Sensor@1.0.1 DHT_sensor_library@1.4.2]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Adafruit_AHTX0.h: [Adafruit_AHTX0@2.0.0]

ResolveLibrary(Adafruit_AHTX0.h)

  -> candidates: [Adafruit_AHTX0@2.0.0]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_AHTX0" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Adafruit_BusIO_Register.h: [Adafruit_BusIO@1.7.2]

ResolveLibrary(Adafruit_BusIO_Register.h)

  -> candidates: [Adafruit_BusIO@1.7.2]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_AHTX0" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Wire.h: [Wire@1.0]

ResolveLibrary(Wire.h)

  -> candidates: [Wire@1.0]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_AHTX0" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\Wire" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

  -> candidates: [SPI@1.0]

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_AHTX0" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\Wire" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\SPI" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\AdafruitIO.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\AdafruitIO_Dashboard.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\AdafruitIO_Data.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\AdafruitIO_Feed.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\AdafruitIO_Group.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\AdafruitIO_Time.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\AdafruitIO_Block.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\ChartBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\GaugeBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\MapBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\MomentaryBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\SliderBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\StreamBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\TextBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\blocks\ToggleBlock.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\util\AdafruitIO_Board.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\wifi\AdafruitIO_ESP32.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\wifi\AdafruitIO_ESP8266.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\wifi\AdafruitIO_MKR1000.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino\src\wifi\AdafruitIO_WICED.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_MQTT_Library\Adafruit_MQTT.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_MQTT_Library\Adafruit_MQTT_Client.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\ArduinoHttpClient\src\HttpClient.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\ArduinoHttpClient\src\URLEncoder.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\ArduinoHttpClient\src\WebSocketClient.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\ArduinoHttpClient\src\b64.cpp

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_AHTX0" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\Wire" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\SPI" "C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src\\BearSSLHelpers.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\CertStoreBearSSL.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiGeneric.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiGratuitous.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiSTA-WPS.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiScan.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiClient.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiClientSecureAxTLS.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiClientSecureBearSSL.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiServer.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiServerSecureAxTLS.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiServerSecureBearSSL.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiUdp.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_Unified_Sensor\Adafruit_Sensor.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\DHT_sensor_library\DHT.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_AHTX0\Adafruit_AHTX0.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp

Using cached library dependencies for file: C:\Users\xande\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\Wire\Wire.cpp

Using cached library dependencies for file: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SPI\SPI.cpp

Generating function prototypes...

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_AHTX0" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\Wire" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\SPI" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" "C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/signing.py" --mode header --publickey "C:\\Users\\xande\\Documents\\Arduino\\adafruitio_15_temp_humidity/public.key" --out "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core/Updater_Signing.h"

"C:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\adafruit" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_IO_Arduino\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_MQTT_Library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\ArduinoHttpClient\\src" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\DHT_sensor_library" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_AHTX0" "-IC:\\Users\\xande\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\Wire" "-IC:\\Users\\xande\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\SPI" "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp" -o "C:\\Users\\xande\\AppData\\Local\\Temp\\arduino_build_896345\\sketch\\adafruitio_15_temp_humidity.ino.cpp.o"

C:\Users\xande\Documents\Arduino\adafruitio_15_temp_humidity\adafruitio_15_temp_humidity.ino: In function 'void loop()':

adafruitio_15_temp_humidity:96:11: error: base operand of '->' has non-pointer type 'sensors_event_t'

   humidity->save(humidity.relative_humidity);

           ^

Multiple libraries were found for "DHT.h"

 Used: C:\Users\xande\Documents\Arduino\libraries\DHT_sensor_library

 Not used: C:\Users\xande\Documents\Arduino\libraries\Grove_Temperature_And_Humidity_Sensor

Using library Adafruit_IO_Arduino at version 4.0.2 in folder: C:\Users\xande\Documents\Arduino\libraries\Adafruit_IO_Arduino

Using library Adafruit_MQTT_Library at version 2.1.0 in folder: C:\Users\xande\Documents\Arduino\libraries\Adafruit_MQTT_Library

Using library ArduinoHttpClient at version 0.4.0 in folder: C:\Users\xande\Documents\Arduino\libraries\ArduinoHttpClient

Using library ESP8266WiFi at version 1.0 in folder: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi

Using library Adafruit_Unified_Sensor at version 1.1.4 in folder: C:\Users\xande\Documents\Arduino\libraries\Adafruit_Unified_Sensor

Using library DHT_sensor_library at version 1.4.2 in folder: C:\Users\xande\Documents\Arduino\libraries\DHT_sensor_library

Using library Adafruit_AHTX0 at version 2.0.0 in folder: C:\Users\xande\Documents\Arduino\libraries\Adafruit_AHTX0

Using library Adafruit_BusIO at version 1.7.2 in folder: C:\Users\xande\Documents\Arduino\libraries\Adafruit_BusIO

Using library Wire at version 1.0 in folder: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\Wire

Using library SPI at version 1.0 in folder: C:\Users\xande\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SPI

exit status 1

base operand of '->' has non-pointer type 'sensors_event_t'



verbose output is on :)

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by dastels on Thu Apr 01, 2021 9:22 am

As to the IO issue. Are the feeds set up in you AdafruitIO account? Are you certain you are using the correct name/key when you set up the feeds in the code.

Dave

dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by dastels on Thu Apr 01, 2021 9:26 am

For your display issue, it's your ordering and timing. Clear immediately before printing to it, and don't display between the two. Something like.

Code: Select all | TOGGLE FULL SIZE
void loop() {
  display.clearDisplay();
  sensors_event_t humidity, temp;
  aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data
  Serial.print("Temperature: "); display.setCursor (0,0); display.print(temp.temperature); Serial.println(" °C");
  Serial.print("Humidity: "); display.setCursor (0,8); display.print(humidity.relative_humidity); Serial.println("%");
  display.display();
  delay(250);
}

Your output is a weird blend of serial and display.
Some advise: one statement per line. When you put several on a line like this it gets hard to understand.

Dave

dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Thu Apr 01, 2021 1:56 pm

hey dave,

thank you for your help. i have made some adjustments to the code, it might still be a little messy but now i have this:

Code: Select all | TOGGLE FULL SIZE
#include <Adafruit_AHTX0.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SH110X.h>
Adafruit_AHTX0 aht;
Adafruit_SH110X display = Adafruit_SH110X(64, 128, &Wire);

void setup() {
  display.begin(0x3C, true); // Address 0x3C default
  display.display();
  delay(500);
  display.clearDisplay();
  display.display();
  display.setTextSize(2);
  display.setTextColor(SH110X_WHITE);
  display.setCursor(0,0);
  display.setRotation(1);
  Serial.begin(115200);
  Serial.println("Adafruit AHT10/AHT20 demo!");

  if (! aht.begin()) {
    Serial.println("Could not find AHT? Check wiring");
    while (1) delay(1000);
  }
  Serial.println("AHT10 or AHT20 found");
}

void loop() {
  sensors_event_t humidity, temp;
  aht.getEvent(&humidity, &temp);// populate temp and humidity objects with fresh data
  display.setCursor (75,0); display.print(temp.temperature); display.setCursor (110, 0); display.println("C");
  display.setCursor (80,50); display.print(humidity.relative_humidity); display.setCursor (113, 50); display.println("%");
  display.setTextSize(1);
  display.setCursor (0, 0); display.print("Temperatuur: ");
  display.setCursor (0, 50); display.print("luchtvocht..: ");
 
  display.display();
  delay (5000);
  display.clearDisplay();
 
 
}


this makes it update at 5 seconds which is perfect for the type of usage i want to use it for :) also, i noticed that if i have the serial monitor open while uploading it gives a com - permission error. though it is working now.

i tried to use adafruit io but it sends data, but adafruitIO does not "save/receive" data... so i moved over to blynk which works fine too

(any way i can mark yours as best answer? :) )

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Thu Apr 01, 2021 1:58 pm

dastels wrote:As to the IO issue. Are the feeds set up in you AdafruitIO account? Are you certain you are using the correct name/key when you set up the feeds in the code.

Dave

yes, they are named the same a in the dashboard. tried another demo (adafruitio_15_temp_humidity) and that one gave me NaN as output to the adafruit io page (though i was using the DHT11 but somehow i think i managed to break that with overvolting when using another arduino and a powersupply)

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by dastels on Thu Apr 01, 2021 2:07 pm

Yes, having a serial connection open will mess up code upload. The Arduino IDE wll usually disconnect its serial monitor but it is still an occasional problem.

There isn't an answer rating/voting system here.

Getting the feed id just right has been an issue for me in the past. Admittedly I don't use AdafruitIO a whole lot.

Dave

dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: adafruit io usage with AHT20 temp./humid. sensor

by Rmaih on Sun Apr 04, 2021 6:19 am

I have one last question,

Am i capable of powering my adafruit HUZZAH! Via lets say a charger brick of a phone which outputs 5V 1 amp? Because the max is 5v 100 mA for the usb port. But usb ports on a computer are already 0.5 amp for usb 2.0

Rmaih
 
Posts: 9
Joined: Wed Mar 31, 2021 5:33 pm

Please be positive and constructive with your questions and comments.