Altitude Monitor Via Wifi

by tejalmamaniya in Circuits > Wireless

1001 Views, 7 Favorites, 0 Comments

Altitude Monitor Via Wifi

pres_at_alt.png

We use barometer MS5607 to get the altitude reading. The datasheet of the sensor is provided here.

Secondly we use an inbuilt module to give us updates on the reading, ie. the Wi-Fi.

Thus we can get regualer updates of the readings without any delay

Connections

temp_1611112348.jpg
temp_138096168.jpg
temp_-289909603.jpg

MS5607 : Linkit

GND : gnd

VIN : 3V3

SCL : A5/SCL

SDA : A4/SDA

Also, Since Linkit one already has all the necessary hardware inbuilt, we just need to connect the WiFi/Bluetooth antenna to the board

Note: The antenna connector socket is very delicate, connect using soft hands

Router

126425203_orig.gif

You will need a WiFi router (regardless of internet connection)

Once you have set up the router, note the Network SSID, the Network Password and encryption type (WPA/WEP/OPEN)

Note: Mobile hotspot will also do

Code`

I have attached my code with the instructable, you'll need to edit the Network SSID and Password with you SSID and password on line 10&11.

In the code I'm updating the altitude information obtained from the sensor;

You may edit the code to print analog inputs, inputs from sensors, or anything you can imagine to do with the board.

Also, you'll have to add the intersema.h header file in your libraries prior, or you'll get a compilation error

Compile and Run

IMG_20151127_205029.jpg
IMG_20151127_205023.jpg
IMG_20151127_205035.jpg

When you upload the code to the board, open your serial monitor

Copy the IP address that is displayed(You can now close the serial monitor and arduino software if you wish)

Paste the IP address in your browser and you may see the output like in the picture