Arduino Temperature Data Displayed Over the Web Using an Ethernet Shield

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

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

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

    Excellent. I find the command to refresh every 5 seconds very useful. 👍

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

    Awesome! Thank you for the tutorial!

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

    Love your project. Do have a couple of questions.
    1) for some reason my Current and Min temps show -196.60F but the Max temp shows the correct temp. This seems to be a problem with chrome and firefox.
    2) How could I get it to show each temp sensor instead of the average?
    Thank you so much

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

    Short and clear, thanks for sharing pal.

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

    How to find device address of sensor as in this video temperature sensor is given and I want to find pir sensor data

  • @AlejandroH4
    @AlejandroH4 5 ปีที่แล้ว +1

    how did you do the conection between the shield and the router?

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

    can it use single lm35?

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

      Yes. My sketch has some specific code for the DS18B20 sensors, so you would need to modify it to make it work with the LM35.

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

    how about using lm35

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

      Zaqy Q W That would work fine and would probably be simpler since no external libraries would be required.

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

    i can not compile the code :C

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

    the webpage is not working the program is not creating a webpage what did i do wrong please reply

  • @dandeak1608
    @dandeak1608 8 ปีที่แล้ว

    Don't know why but it doesn't connect to my Ip address, and therefore can't connect to the website.
    I've tried putting my ip address static but that doesn't work.
    I have a intel galileo gen 1 board with a built in ethernet.
    I modified a little bit the code so I can use it for my light sensor.
    Don't know why but I can't access the website even if the code is running fine and the upload is ok.
    Can you please help me?

    • @electricks6149
      @electricks6149  8 ปีที่แล้ว

      I am not familiar with the galileo, but since it has built in ethernet it may have a real mac address. The ethernet shield I'm using doesn't have a mac address, so I just made one up: byte mac[] = {
      0x48, 0xC2, 0xA1, 0xF3, 0x8D, 0xB7}; You may need to use the real mac address in that line if there is one for the galileo. Also, I'm not checking the return value for the Ethernet.begin() command. You could try getting the return value into a variable and printing it out to Serial to see what it is. I believe it returns 1 on success and 0 on failure.

    • @dandeak1608
      @dandeak1608 8 ปีที่แล้ว

      You're right that was the problem. Fortunately I realized my mistake in time and now it's working. Thanks for the awesome tutorial and for replying to my comment!
      A great day to you sir!

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

      CAN you please tell me how to make changes in code if we wanted to implement the code with LDR?

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

    how do i configure this on a yun? please help me out im a noob ;((

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

      yun shields are pretty easy to play with

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

    Some of you guys have problem with connecting your ethernet shield. Here is some of the reason: 1) Make sure your ethernet cable is working properly and is straight ethernet cable but not cross over ethernet cable. They are different.( I have changed my ethernet cable and then it works!) 2) Make sure the first three byte of your IP address u assign to your ethernet shield is the same as the IP address assigned by DHCP. Look at your computer IP address. If the first three bytes are 192.168.0.xxx, then you must assign the IP address to your ethernet shield with the first three bytes same as 192.168.0.xxx. You cannot assign 192.168.1.xxx. The first three bytes must be the same. The fourth byte can be any value but not the same as your computer or any other device.

  • @gianrho
    @gianrho 8 ปีที่แล้ว +1

    hi! can I have a copy of your html codes? it would be a big help :)

    • @electricks6149
      @electricks6149  8 ปีที่แล้ว +1

      +gianrho Sure. I added a link to the source code in the description.

  • @SaeedAhmed-ix8nm
    @SaeedAhmed-ix8nm 6 ปีที่แล้ว

    can you please help me how to save the data in sd card. I am using the ethernet shield and Arduino Mega

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

      I have a video that explains how to write to an SD card (th-cam.com/video/tTp43eLqytA/w-d-xo.html ). The source code is in the description, so you should be able to copy parts of that sketch into your ethernet shield sketch.

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

    please do a video of posting data to an online server not a local one. so that the website can be accessed globally.

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

    can the ethernet shield host a webpage ?

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

      I am generating a dynamic web page in this video. You could generate a static web page the same way, or have a static HTML file on the SD card if the ethernet shield has an SD card slot. When a request comes in, you would read the page from the SD card and write the data to the requestor using the EthernetClient object.

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

    Simple & Fantastic... Goog Work

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

    please can i have the code for ETHERNET SHILED AND ARDUINO MEGA2560 USING DHT 11
    i mean the same project but using ARDUINOMEGA 2560 AND ETHERNET SHIELD AND DHT11 PLEASE

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

      I don't think the code would need to change as long as the ethernet shield is compatible with the mega2560. There is a link to the source code in the description.

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

    can you help me brother

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

    Thanks!

  • @93alejo
    @93alejo 7 ปีที่แล้ว

    can you make ti work with Nagios monitoring ??

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

      oscar guaqueta I'm not familiar with Nagios, but if it can be configured to check the HTTP return code for the status, then it should work fine. If it hits the temperature URL and a 200 code is returned, the status is 'Good'.

    • @93alejo
      @93alejo 7 ปีที่แล้ว

      the Arduino wed server is telling me that the temperature is -196.60 F and it doesn't change, it mean is no working properly how can I fix it, please

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

      Are you using the DS18B20 sensor? If so, you may want to try wiring it up without the ethernet shield and write the values out to the serial monitor. If you are still getting incorrect values then double check your wiring.

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

    can i have this coding??

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

      There is a link to the source code in the description.