Joy-it SEN-KY052 Manual

Joy-it SEN-KY052 Manual

Temperature and air pressure sensor
Hide thumbs Also See for SEN-KY052:

Advertisement

3
SEN-KY052
Temperature and air pressure sensor

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SEN-KY052 and is the answer not in the manual?

Questions and answers

Summary of Contents for Joy-it SEN-KY052

  • Page 1 SEN-KY052 Temperature and air pressure sensor...
  • Page 2: Table Of Contents

    TABLE OF CONTENT 1. Introduction 2. Use with the Raspberry Pi 2.1 Connection 2.2 Installation 2.3 Program example 3. Use with the Arduino 3.1 Connection 3.2 Installation 3.3 Program example 4. Information and take-back obligations 5. Support Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 3: Introduction

    Dear customer, Thank you for choosing our product. In the following, we will show you what to consider during commissioning and use. If you experience any unexpected problems during use, you are welcome to contact us. Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 4: Use With The Raspberry Pi

    SEN-KY052 Use with the Raspberry Pi 2.1 Connection Raspberry Pi KY052 3v3 (Pin1,17) VCC, SDO, CSB GND (Pin 6) SCL (Pin 5) SDA (Pin 3) Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 5: Installation

    # Can enable debug output by uncommenting: #import logging #logging.basicConfig(level=logging.DEBUG) import Adafruit_BMP.BMP280 BMP280 sensor = BMP280.BMP280() print ('Temp = {0:0.2f} *C'.format(sensor.read_temperature())) print ('Pressure = {0:0.2f} Pa'.format(sensor.read_pressure())) print ('Altitude = {0:0.2f} m'.format(sensor.read_altitude())) print ('Sealevel Pressure = {0:0.2f} Pa'.format(sensor.read_sealevel_pressure())) Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 6: Usewith The Arduino

    SEN-KY052 Usewith the Arduino 3.1 Connection Arduino KY052 SDO, CSB, VCC Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 7: Installation

    #define BMP_CS 10 Adafruit_BMP280 bmp; // I2C //Adafruit_BMP280 bmp(BMP_CS); // hardware SPI //Adafruit_BMP280 bmp(BMP_CS, BMP_MOSI, BMP_MISO, BMP_SCK); void setup() { Serial.begin(9600); Serial.println(F("BMP280 test")); (!bmp.begin()) { Serial.println(F("Could not find a valid BMP280 sensor, check wiring!")); while (1); Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 8 3.2 Program example void loop() { Serial.print(F("Temperature = ")); Serial.print(bmp.readTemperature()); Serial.println(" *C"); Serial.print(F("Pressure = ")); Serial.print(bmp.readPressure()); Serial.println(" Pa"); Serial.print(F("Approx altitude = ")); Serial.print(bmp.readAltitude(1013.25)); // this should be adjusted to your local for- case Serial.println(" m"); Serial.println(); delay(2000); Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 9: Information And Take-Back Obligations

    Possibility of return in your area We will send you a parcel stamp with which you can return the device to us free of charge. Please contact us by e-mail at Service@joy-it.net or by telephone. Information on packaging If you do not have suitable packaging material or do not wish to use your own, please contact us and we will send you suitable packaging.
  • Page 10: Support

    Mail: service@joy-it.net Ticket-System: http://support.joy-it.net Phone: +49 (0)2845 98469 – 66 (10- 17 o‘clock) For more informations, please visit our website: www.joy-it.net Veröffentlicht: 21.05.2019 Copyright by Joy-IT...

Table of Contents