Arduino Temperature Data Displayed Over the Web Using an Ethernet Shield

  Рет қаралды 70,078

Electricks

Electricks

Күн бұрын

Пікірлер: 42
@Racov
@Racov Жыл бұрын
Excellent. I find the command to refresh every 5 seconds very useful. 👍
@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.
@spartman
@spartman 6 жыл бұрын
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
@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
@Ahmadnaweed786
@Ahmadnaweed786 4 жыл бұрын
please do a video of posting data to an online server not a local one. so that the website can be accessed globally.
@markdanielbriva6122
@markdanielbriva6122 2 жыл бұрын
up
@AlejandroH4
@AlejandroH4 5 жыл бұрын
how did you do the conection between the shield and the router?
@markdanielbriva6122
@markdanielbriva6122 2 жыл бұрын
same question
@GaryMcKinnonUFO
@GaryMcKinnonUFO 5 жыл бұрын
Short and clear, thanks for sharing pal.
@gigovelasco3370
@gigovelasco3370 6 жыл бұрын
the webpage is not working the program is not creating a webpage what did i do wrong please reply
@luqmankassim
@luqmankassim 5 жыл бұрын
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.
@andrasparanici5491
@andrasparanici5491 4 жыл бұрын
Awesome! Thank you for the tutorial!
@FluqioxoDresults
@FluqioxoDresults 7 жыл бұрын
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
@gianrho
@gianrho 8 жыл бұрын
hi! can I have a copy of your html codes? it would be a big help :)
@electricks6149
@electricks6149 8 жыл бұрын
+gianrho Sure. I added a link to the source code in the description.
@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?
@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 (kzbin.info/www/bejne/qoXTZWabgdasqqM ). The source code is in the description, so you should be able to copy parts of that sketch into your ethernet shield sketch.
@zagy6127
@zagy6127 7 жыл бұрын
how about using lm35
@electricks6149
@electricks6149 7 жыл бұрын
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
@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.
@xenpaul
@xenpaul 7 жыл бұрын
Simple & Fantastic... Goog Work
@electricks6149
@electricks6149 7 жыл бұрын
Thanks!
@Golip69
@Golip69 7 жыл бұрын
can the ethernet shield host a webpage ?
@electricks6149
@electricks6149 7 жыл бұрын
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.
@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.
@samsamsamirasimo
@samsamsamirasimo 7 жыл бұрын
can you help me brother
@amirulashraaf2946
@amirulashraaf2946 7 жыл бұрын
can i have this coding??
@electricks6149
@electricks6149 7 жыл бұрын
There is a link to the source code in the description.
@quickinstru7598
@quickinstru7598 7 жыл бұрын
Thanks!
Arduino Ethernet Shield Webserver
24:46
BINARYUPDATES
Рет қаралды 116 М.
Adding Wired Ethernet to Arduino
8:55
misperry
Рет қаралды 38 М.
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 22 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Simple Web Server with Arduino Ethernet Shield
19:05
Eli the Computer Guy
Рет қаралды 68 М.
Arduino-Python Communication via Ethernet
6:22
Anas Kuzechie
Рет қаралды 4,9 М.
Sending Temperature and Humidity Data to MySQL Server(PHPMYADMIN) using Arduino
28:32
Embedotronics Technologies
Рет қаралды 213 М.
Building a Wireless Temperature Sensor with ESP8266 & Arduino
19:19
Andrew Godwin
Рет қаралды 90 М.
Arduino and External EEPROM
7:58
Electricks
Рет қаралды 157 М.
IoT Based Temperature Monitoring System | ESP-32 Based Temperature Monitoring
10:17
Ethernet Shield for Arduino
19:33
TWiT Tech Podcast Network
Рет қаралды 5 М.
Arduino Ethernet Shield - Getting Started
15:20
Saravanan AL
Рет қаралды 119 М.
Workbench Essentials When Starting Arduino! (Beginner Guide)
8:14