Author Topic: Tiny project: temp sensor. Step 1 - add wifi  (Read 487 times)

0 Members and 1 Guest are viewing this topic.

Offline MoriambarTopic starter

  • Supporter
  • ****
  • Posts: 502
  • Country: it
Tiny project: temp sensor. Step 1 - add wifi
« 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.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6266
  • Country: es
Re: Tiny project: temp sensor. Step 1 - add wifi
« Reply #1 on: August 15, 2023, 07:51:30 am »
Skip the attiny completely, any wifi soc can handle that.
A cheap esp8266 for example.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: Moriambar

Offline liaifat85

  • Regular Contributor
  • *
  • !
  • Posts: 172
  • Country: bd
Re: Tiny project: temp sensor. Step 1 - add wifi
« Reply #2 on: August 15, 2023, 11:18:37 am »
You can use ESP-01 instead. It is cheaper. https://www.theengineeringprojects.com/2019/05/introduction-to-esp-01.html
And smaller of course.
 
The following users thanked this post: Moriambar

Offline MoriambarTopic starter

  • Supporter
  • ****
  • Posts: 502
  • Country: it
Re: Tiny project: temp sensor. Step 1 - add wifi
« Reply #3 on: August 15, 2023, 01:34:00 pm »
Thanks, I'll try and go with an esp-01
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf