EEVblog Electronics Community Forum
Electronics => Projects, Designs, and Technical Stuff => Topic started by: Moriambar on August 15, 2023, 07:39:26 am
-
Hi there,
I'm trying to create a very small project: a temperature sensor based on a DS18B20 model.
DISCLAIMER
kind of a beginner here
/DISCLAIMER
I currently have the sensor and the code, but what I'd like to do is add wifi to it. The idea is "simple": everything should be asleep (it'll be battery powered, but that's a "step 2"), unless I try and "poke" in some way to the board via wifi obtaining the temperature read.
Originally I thought about using an ESP32 board but it seems to me some kind of a waste: a fully fledged board just to read a temp sensor (which I can do via a simple ATTINY85) is overkill.
So my question is: is there a way to "attach wifi" to an attiny in order to be able to:
- wake it from sleep
- read sensor value
- be power efficient
without wasting and entire esp32?
Just adding wifi is a piece of the puzzle, then interrogating the board, of course, is another story and, having never worked with wifi project, I don't have a clue on where to start.
I appreciate everything you can come up with (even pointers, tutorials, etc.).
Cheers.
-
Skip the attiny completely, any wifi soc can handle that.
A cheap esp8266 for example.
-
You can use ESP-01 instead. It is cheaper. https://www.theengineeringprojects.com/2019/05/introduction-to-esp-01.html (https://www.theengineeringprojects.com/2019/05/introduction-to-esp-01.html)
And smaller of course.
-
Thanks, I'll try and go with an esp-01