Authorized Online Retailers:

AMAZON
AMAZON-jp
amzuk

1 Overview

In Lesson 4, we learned how to  read remote the DHT11 temperature/humidity sensor through browser.
In this lesson, we will use another powerful sensor called BMP180 which read  pressure, temperature, sea level pressure and altitude data. We will use W5100 Arduino Shield to send the data to remote browser.

2 Hareware preparation

Quantity
Osoyoo UNO Board 1
Ethernet Shield W5100 1
USB cable 1
BMP180 1
Jumper wires several
Breadboard 1

3 hardware connection

Connect the BMP180 with UNO as following diagram:

4 Upload sketch to your Arduino

Step A)Install library: (if you have installed Adafruit BMP085 library, please skit this step)

Download the library from https://osoyoo.com/wp-content/uploads/2018/05/Adafruit_BMP085_Library.zip.

Then in your Arduino IDE ->Sketch->Include Library->Add .ZIP Library and select the adafruit_bmp085_library.zip file you just downloaded, and upload it to Arduino.

Step B) Download sample code from  https://osoyoo.com/driver/ethernet_iot/lesson5/w5100-lesson5.zip, unzip the file and double click the w5100-lesson5.ino file, load the sketch into Arduino IDE.

Open your Serial Monitor, you can see your router will assign an IP address to your Arduino   as following:

In above example, 10.0.0.45 is the IP address of my Arduino.
Now use another computer or your cell phone’s  browser to visit url : http://10.0.0.45
Your browser will show following result: