Search found 14 matches
- Wed Apr 15, 2020 5:08 pm
- Forum: ESP-IDF
- Topic: Issues: latest toolchain install on Windows
- Replies: 13
- Views: 23688
Re: Issues: latest toolchain install on Windows
I never got it working, and still no help from Espressif.
- Fri Dec 06, 2019 6:27 pm
- Forum: ESP-IDF
- Topic: Improved getting started for the ESP32 newbie
- Replies: 2
- Views: 4082
Improved getting started for the ESP32 newbie
Hi Espressif friends -
I recently got introduced to an ESP32 board and got started working on it. I had a couple of issues that slowed down my ramp up, so I thought I'd share it so you might be able to improve the experience for future newbies. :)
Getting Started guide
Your getting started guide ...
I recently got introduced to an ESP32 board and got started working on it. I had a couple of issues that slowed down my ramp up, so I thought I'd share it so you might be able to improve the experience for future newbies. :)
Getting Started guide
Your getting started guide ...
- Tue Nov 12, 2019 12:27 am
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Re: Reading temperature and humidity
If you are storing the data for processing, it will be more efficient all the way down the line to work with integers rather than decimals. Efficiency = lower cost. APIs are really for computers to interact (efficiently when possible). The presentation to your eyeballs is the only place where it ...
- Mon Nov 11, 2019 12:15 am
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Re: Reading temperature and humidity
The temperature/humidity sensors have very limited memory, so they save space wherever possible. On a device that measures temperature from 0-100, you can get away with a 10-bit integer register (2^10=1024) to store it, with one decimal place of precision. A float value is 32 bits, and more ...
- Sun Nov 10, 2019 12:03 am
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Re: Reading temperature and humidity
Post what you need.
Post what you have tried.
we'll help where we can.
Tom
Much appreciated, Tom. I think I'm good now.
The issue was that I followed the instructions at https://github.com/espressif/esp-iot-solution#preparationmake for my Windows v3.3 tool chain. I kept getting build errors ...
- Sat Nov 09, 2019 9:28 pm
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Re: Reading temperature and humidity
Are you using the HTS221 temp/humid sensor ?
if so: https://github.com/espressif/esp-iot-solution/blob/master/README.md
I didn't realize I am, but I am. I took a second look at the spec sheet to confirm. I'm new to MCUs and honestly don't know many things, but I'm learning.
I got a solution ...
- Sat Nov 09, 2019 1:30 am
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Re: Reading temperature and humidity
I guess a better way to ask my question is, if my temperature reading is 30.4 C, why is it stored as 304?To convert to decimal
I assumed the values are stored with accuracy of 0.1, but as an integer because maybe they store better than floats.
- Sat Nov 09, 2019 12:11 am
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Re: Reading temperature and humidity
Gotcha.temprature_sens_read is not what you want. It is for reading esp32 internal temperature.
In the samples, why are temp and humidity divided by 10?
- Fri Nov 08, 2019 2:33 am
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Re: Reading temperature and humidity
I found this sample, which uses a very different approach than the function I found for temperature earlier.
Is this what is recommended?
https://github.com/espressif/esp-iot-so ... ain/main.c
Thanks,
David
Is this what is recommended?
https://github.com/espressif/esp-iot-so ... ain/main.c
Thanks,
David
- Fri Nov 08, 2019 12:55 am
- Forum: ESP-IDF
- Topic: Reading temperature and humidity
- Replies: 15
- Views: 17825
Reading temperature and humidity
I'm using an ESP32 Azure IoT Kit. I want to send temperature and humidity along as telemetry to my IoT hub.
I cannot find almost any information on how to do this. I came across one post here where someone refers to using uint8_t temprature_sens_read() (note that the word temperature is misspelled ...
I cannot find almost any information on how to do this. I came across one post here where someone refers to using uint8_t temprature_sens_read() (note that the word temperature is misspelled ...