Arduino Barometric Pressure WebServer

Posted on Feb 5, 2014

This example shows how to use SPI communications to read data from a SCP1000 Barometric Pressure sensor, and how to then post that data to the web by using your Arduino/Ethernet Shield combo as a simple web server. Using the Ethernet library, your device will be able to answer HTTP requests by responding with just enough HTML for a browser to dis

Arduino Barometric Pressure WebServer
Click here to download the full size of the above Circuit.

play the temperature and barometric pressure values outputted by your sensor. After completing your circuit and uploading the example code below, simply navigate to your Ethernet shield`s IP address, in a browser, to see this information. Your Barometric Pressure sensor will be attached to pins 6, 7, and 11 - 13 of your Arduino/Ethernet shield combo, and powered via your device`s 3. 3 volt output. Connect the DRDY (Data Ready) pin on your sensor to digital pin 6 on your combo, and the CSB pin (Chip Select) to digital pin 7. Your sensor`s MOSI (Master Out Slave In) pin should then be connected to digital pin 11, and it`s counterpart MISO (Master In Slave Out) to digital pin 12. Finally, connect the SCK pin, the SPI clock input on your sensor, to digital pin 13 on your device, and make sure that the two share a common ground. After wiring your sensor, your shield should be connected to a network with an ethernet cable. You will need to change the network settings in the program to correspond to your network.

Leave Comment

characters left:

New Circuits



Popular Circuits

Hall effect sensor as Toilet Tank Refiller
FM Transmitter (2N2222)
Simple CB transmitter with BD329
MAX6953 Development board
LED Chaser
Class A 40W into 8 Ohms Amplifier
Single-Ic Alarm
Simple Motorcycle Wiring Diagram for Choppers and Cafe Racers
Sense Small Inductance Changes Over A Wide Range
kode kunci satu transistor
5v 1a power supply using lm2575
LED current limiter accepts ac or dc
Electronic Locker Circuit
Metal detector 8