Building a Wireless Temperature Sensor with ESP8266 & Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

ความคิดเห็น • 73

  • @vonrollveeg
    @vonrollveeg 5 ปีที่แล้ว +31

    I'm 71. It does my soul good to see there are still bright creative people in the world. Good work. I'm going to play around with this.

    • @bitschips
      @bitschips 4 ปีที่แล้ว +1

      Go for it and build it!!

    • @ilyushin78
      @ilyushin78 3 ปีที่แล้ว

      Are you alive?

  • @TysonClugg
    @TysonClugg 7 ปีที่แล้ว +17

    Great stuff Andrew!
    I have one suggestion. Instead of placing the voltage divider between Vcc and ground, place it between an available output pin and ground. In this way, you can switch that part of the circuit off to both save power, and prevent heating of the thermister which will skew your readings. Activate the output pin, wait a short moment for the circuit to quiesce, take the voltage reading, and deactivate the output pin again.

    • @AndrewGodwin
      @AndrewGodwin  7 ปีที่แล้ว +3

      Yes, I did that in a previous revision, I'm not sure why I didn't here. Thanks for the tip!

    • @TeamRiceUSA
      @TeamRiceUSA 6 ปีที่แล้ว

      Tyson Clugg nice commits on Mr. Godwin wifi temp

  • @peterharris7682
    @peterharris7682 4 ปีที่แล้ว

    A very useful video Andrew. I used it as the basis for a remote temperature sensor but with a few changes
    Firstly I needed an external antenna and couldn't find a suitable 8266 with a uFL antenna socket so I used an ESP32 which worked fine
    Secondly I used a DS18B20 temperature sensor instead of your thermistor which was easier as it didn't need complex calibration and calculations
    Thirdly, I needed to extend the battery life. I found even deep sleep mode wasn't good enough as the board is still drawing 6.5mA when asleep. I therefore ended up using a TPL5110 Nano Power Timer (the Sparkfun version) which works a treat and only draws 35nA of power when sleeping. It was dead easy to implement and since the main board effectively does a cold boot each time it is woken up I don't get the occasional lock-ups I got using the ESP32 deep sleep mode.
    Once again thank you
    Peter

  • @DavidJJJ
    @DavidJJJ 4 ปีที่แล้ว +3

    Great project, I’ve done the same thing except I’m using an esp32 and sending the data directly to MySQL (and then reading it with grafana from there). I have 5 sensors around the house and I use the MAC address to distinguish between the sensors in the database. Works quite well. I’m also doing the deep sleep thing and have a 5 minute timeout between temperature reads. I’m also using an stm based temp/humidity sensor.

  • @sadistfcfm
    @sadistfcfm 6 ปีที่แล้ว +1

    Wow, i knew i know you before... what a coincidence being working on both ESP8266 and django channels! Great work man.

  • @adityatyagi1869
    @adityatyagi1869 5 ปีที่แล้ว

    Excellent video, Andrew. My embedded systems project team used your video to learn how to wire our temperature sensor to our ESP8266. Keep up the good work! Strong presentation skills with intuitive explanations and top-notch video editing. Consider making more videos.

  • @Gerry2xs
    @Gerry2xs ปีที่แล้ว

    Thanks Andrew. Like your video, nicely explained.

  • @mikeperry2561
    @mikeperry2561 ปีที่แล้ว

    Very well explained!

  • @RaiyanKamal
    @RaiyanKamal 3 ปีที่แล้ว

    Hi Andrew thanks for this tutorial. I often see ESP32 but this is the first time I heard of ESP8266. If I may, I'd like to request a video review comparing these two components.

  • @0nedon
    @0nedon 11 หลายเดือนก่อน

    well done video and well explained, really helpful to help me decide on my next project, thank you Andrew. - Would i be able to use the ESP32 in place of the ESP8266?

  • @jseneque
    @jseneque 7 ปีที่แล้ว +3

    Awesome first video!!! Keep it going

  • @SaurabhRastogiRC
    @SaurabhRastogiRC 7 ปีที่แล้ว

    Very good video ...... Andrew. Looking for more from you.

  • @bitschips
    @bitschips 4 ปีที่แล้ว +1

    Nice video, very good very well explained and interesting! Thanks for time.

  • @dbrgn
    @dbrgn 7 ปีที่แล้ว

    Nice video. You can also get an even simpler circuit by using a DS18B20 one-wire temperature sensor.

  • @Taylor-zq3qr
    @Taylor-zq3qr 5 ปีที่แล้ว +1

    Andrew. Love the video! Can you update your description to include a shopping list and make a waterproof/resistant sensor?

  • @steve42lawson
    @steve42lawson 6 ปีที่แล้ว

    0:17 "Only a _couple_ of the steps? What about the rest of the steps?!? Are you going to leave, a quivering mess, while you cackle maniacally over my smallness?!?" Sorry, just messing with you. Great video! It gave me all I needed to proceed with my own project. I've always wondered how you pass data using POST and GET. The documentation I found on this lacked examples, making the whole thing rather vague, for me. Your example cleared that all up, so thanks!
    One *Note* Though: At 13:13, why would you have the LED glow for the 10 second idle period, and extinguished for the short data acquisition period? Wouldn't you want that the other way around, so there's not such a load on the battery?

  • @sausage5849
    @sausage5849 6 ปีที่แล้ว +1

    Good job with this video. Great explanations too. Subbed!

  • @ryandoyle9674
    @ryandoyle9674 3 ปีที่แล้ว

    Super helpful, thanks Andrew! Your video was comprehensively informative and clear ... as a newbie in this space, I really appreciate the completeness of your explanations. I was wondering about expanding this project to also track humidity and light for a fuller picture of the atmosphere. Any thoughts on how I might accomplish this?
    How might I add a photoresistor to this circuit? Could I swap the thermistor for a DHT11 and track both temperature and humidity with the same component? Am I thinking along the right track?

  • @athief
    @athief 6 ปีที่แล้ว +4

    battery life given a full charge would have been very useful. How long does it last with that setup? 3 hours? 3 days?? 3 weeks???

    • @1_HighDuke
      @1_HighDuke 4 ปีที่แล้ว +1

      It's probably a very power-hungry setup. Measuring and transmitting every 10 seconds will eat up the battery in no-time. If you want longer battery life, first measure & transmit less often. And second, implement deep sleep so that you reduce consumption between polls.

  • @kollaattori2494
    @kollaattori2494 2 ปีที่แล้ว

    Am I missing something? To my knowledge there is NO analog pin (A0) in ESP8266.

  • @MrHandsomejackuk
    @MrHandsomejackuk 6 ปีที่แล้ว

    excellent project maybe worth lookig at a sonoff th10 as this has all the hardware built in it is mains powered but could be battery powered too

  • @dlseverns
    @dlseverns 5 ปีที่แล้ว

    Really well done and thorough. Thank you!

  • @nothingtoseehere5760
    @nothingtoseehere5760 2 ปีที่แล้ว

    Just brilliant! I wonder if you have tried putting it in a chest freezer and if it still connects? I am worried about the freezer insulation acting as a Faraday cage but don't have anything that I can control/test with...

  •  5 ปีที่แล้ว +2

    Hi, can you put the parts list in the description. I’d like to try to build the same

  • @101appsCoZa
    @101appsCoZa 4 ปีที่แล้ว

    great video. thanks!

  • @phil4000n
    @phil4000n 2 ปีที่แล้ว

    very interesting. Couple of questions: never heard before of influxdb and grafana, do you mean to heavy to run the ESP8266 as a server? Do you have or now a good tuto, but sounds steep learning curve.
    I'm not getting if you found an advantage on using Adafruit Huzzah Feather ESP8266 over nodeMCUv2 Amica, can you comment.
    Excellent that you show the physical soldering, too rare on YTUBE.

  • @rolocox100
    @rolocox100 6 ปีที่แล้ว

    fantastic clear talk and video. would it be possible link a microwave radar sensor such as the RCWL-0516 and then output this via the ESP8266 to make a low cost remote motion sensor.

  • @Brickkzz
    @Brickkzz 4 ปีที่แล้ว

    great video! subscribed!

  • @aquilax
    @aquilax 7 ปีที่แล้ว

    Nice and informative. I wonder how easy it will be to hijack the connection with second WiFi with the same SSID?

  • @hackinblack7102
    @hackinblack7102 6 ปีที่แล้ว

    very good video,very clear...but i cant help thinking it would be easier, and more accurate, if you used a 'smarter' sensor; either a linear output thermistor, or a temp to voltage converter IC; then you wouldn't need to measure anything (your temperature measurement AND you resistance measurement both introduce errors) most sensors give 10mV per degreeC and upto +/_1% accuracy. you could probably even use a normal IN4148 diode as a sensor; almost any PN junction shows a mV change with temperature.

    • @leglessinoz
      @leglessinoz 6 ปีที่แล้ว

      Hack In Black or one could use an LMT01 digital sensor.

  • @KM6VV
    @KM6VV 6 ปีที่แล้ว

    Thanks for publishing! Where can I find ESP_thermometer? I've downloaded and looked in arduino-examples-master per your link below, but haven't been able to find it.

  • @mohammedzaman1937
    @mohammedzaman1937 7 ปีที่แล้ว +1

    awesome! is it possible to control a led/relay remotely based on a set temperature on this one.

  • @mhamzahkhan
    @mhamzahkhan 5 ปีที่แล้ว

    Kind of off topic question... what stand are you using for your monitors? I am pretty sure I have the same desk as yours (ikea galant?) and I'm looking for a better monitor stand that I can use.

  • @ytbTheogr
    @ytbTheogr 6 ปีที่แล้ว

    That's a very good project idea! Can you please tell me which version of influxdb did you use? I'm trying to write data to influx via http with arduino and i get "Method Not Allowed". Thanks

  • @felixlaurencelle7016
    @felixlaurencelle7016 6 ปีที่แล้ว

    I loved that video! I was going to start that project but i have 0 knowledge about the software part. Do I need to install InfluxDB and Grafana on one of my computer? And do i name the "host" that computer IP Adress? Do you suggess an video to learn that process better? Thanks a lot in advance!

    • @Dreathan
      @Dreathan 6 ปีที่แล้ว

      I got same questions... Did you receive an answer?

  • @whatmust8146
    @whatmust8146 ปีที่แล้ว

    Thermistor is the way to go. You can get one for free from old battery pack particularly the Ryobi one. I have done a ton and never need to buy any thermistor. I build many thermistor base Arduino one with multiple reading of temp. I am doing IOT now with every thing if possible over wifi and web base.
    Reduce reuse recycle is way harder than to buy anything everything brand new. People choose the latter because the former is way harder and more work to do. I always choose the 3 R's because that is me. Reduce Reuse Recycle.
    Everyone needs to do their part by doing the R's!!!!!!

  • @sodapop111
    @sodapop111 6 ปีที่แล้ว +2

    can you specify the resistors and the type of thermistor you used? (basically the parts used in this video because it is vaguely said)

    • @AndrewGodwin
      @AndrewGodwin  6 ปีที่แล้ว +2

      The thermistor is a 4K7 NTC type. The resistors are, I believe, 2kOhm on one side of the divider and 4.7kOhm on the other, standard carbon type.

  • @ExopMan
    @ExopMan 2 ปีที่แล้ว

    How would you update this build now using more modern/smaller components? Thank you!

  • @manojrjadhao
    @manojrjadhao 6 ปีที่แล้ว

    Hi, Andrew, it is really nice introduction of wireless sensor. I am also working on same board. I have a question, is there a way where we can make the device use very less power from battery and let it lasts for more than 6 months? I am thinking making its size and cheaper.

    • @AndrewGodwin
      @AndrewGodwin  6 ปีที่แล้ว

      The ESP8266 board has a deep sleep mode where you can save battery - you can make it sleep for intervals of up to 70 minutes, and then wake up and send a measurement. You could probably stretch it out to a few months of battery if you made the recording interval 5 minutes or so and used a couple of AAs.

    • @manojrjadhao
      @manojrjadhao 6 ปีที่แล้ว

      Hi, thanks for quick reply. Can you tell me, how much power will be required for a day if I keep the interval of 5 minutes? I am thinking of using this battery: www.amazon.in/Robu-Samsung-2600mAh-18650-Lithium/dp/B0765SL77F?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=f1cf1053-27c4-4cda-8c82-682d058ea547

    • @Ed19601
      @Ed19601 6 ปีที่แล้ว

      Manoj Jadhav when you Google esp8266 deep sleep you will find the current use in deep sleep as well as the current use while making WiFi contact. Add to that the current flowing through the ntc. That gives you the amount of current over 5 minutes
      There are 12*24 periods of 5 min in a day

  • @servant74
    @servant74 6 ปีที่แล้ว

    Question: Could I put say, 3 thermistors on one of these devices? I need each away at 1 then 2 and 3 meters from the ESP8266?

  • @MatthewPotter-m4k
    @MatthewPotter-m4k หลายเดือนก่อน

    pls is there a list of parts to get im new and kinda lost

  • @3vedinishit
    @3vedinishit 4 ปีที่แล้ว

    Hi Andrew.. is it possible to make contactless temperature sensor(like temp. gun) using ESP8266 ?

  • @Electromaniaworld
    @Electromaniaworld 6 ปีที่แล้ว

    can you show to to setup plotting of that graps ?

  • @yvindmathiassen7617
    @yvindmathiassen7617 6 ปีที่แล้ว

    are there coming more videos like this? I liked it very much, I subbed you just in case :)

    • @AndrewGodwin
      @AndrewGodwin  6 ปีที่แล้ว

      Hopefully! I have plans for the next one, need to find time to film it.

  • @dand8282
    @dand8282 7 ปีที่แล้ว +1

    does that send the password in the url in clear text? https is a pain w/8266...

    • @AndrewGodwin
      @AndrewGodwin  7 ปีที่แล้ว +1

      It does - as you say, HTTPS is a pain. In my case it's only going over a local network, thankfully.

  • @etiennemp7100
    @etiennemp7100 5 ปีที่แล้ว

    Hi ! What's the name of the graph interface that you use ?

  • @mikepickell8792
    @mikepickell8792 6 ปีที่แล้ว

    Is there a bluetooth type?

  • @Varunsharma014
    @Varunsharma014 4 ปีที่แล้ว +1

    Andrew, I am designing a product on which I need someone with knowledge of electronics to help. Can you help me out? I can pay you fee for your services. Thank you.

  • @gouravdabade
    @gouravdabade 4 ปีที่แล้ว

    what is the range ?

  • @VoeViking
    @VoeViking 6 ปีที่แล้ว +1

    Bit vague in the important stuff. If you really want to make a good video start at the beginning, first the earth cooled than the dinosaurs came, after that I installed this server in this manner using this and that...

  • @jpthedelawarebeeman6239
    @jpthedelawarebeeman6239 4 ปีที่แล้ว

    How do I get Fahrenheit and not Celsius ?

  • @bhekintanzi6761
    @bhekintanzi6761 4 ปีที่แล้ว

    Parts list?

  • @thehomeschooldev6126
    @thehomeschooldev6126 4 ปีที่แล้ว

    #Thehomeschooldev #IoTEngineering

  • @MrBobWareham
    @MrBobWareham 6 ปีที่แล้ว

    I was most interested in the project until you used the adafuit hazzah being a very expensive product like all adafruit products so will not be following your video thanks!!

    • @Ed19601
      @Ed19601 6 ปีที่แล้ว +1

      Bob Wareham get a wemos D1 mini

  • @deDutchRooster
    @deDutchRooster 5 ปีที่แล้ว

    Parts list?