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

Ultrasound Detector with 567PLL and LM386 ICs
One Direction Motion Sensor
Interface a uC to PC RS232 with MAX232A
pcb Driving 10x10 LED matrix with AVR
capacitive sensor
emf meter project
Demodulating Receiver
USB Live Oscilloscope: Digital Input Board
Single Span HF Test Oscillator