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:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Phone Call answering machine (PIC16F870)
    Battery Tester
    Anatek Lab Supply
    Sensor Alarm using thyristor circuit
    Model 300 Receiver
    sequencer circuit
    Barricade warning lights flashing circuit
    Multivibrator infrared transmitter circuit
    QJ3 series of manually operated auto-voltage start-up circuit
    High Voltage Power Supply for Valve Preamplifiers



    Top