background preloader

Sensor de temperatura

Facebook Twitter

Probados y funcionales

Ultrasonic Distance Measurement Using Python – Part 1. LEDs, buzzers and switches are the most common items people attempt to interface to their Raspberry Pi’s.

Ultrasonic Distance Measurement Using Python – Part 1

Something I found in eBay that is a little bit different is an ultrasonic measurement module. This allows you to measure the distance to the nearest wall or solid object. Ultrasonic Distance Measurement Using Python – Part 2. Following on from my Ultrasonic Distance Measurement Using Python – Part 1 article I decided to make my Python script a little bit more sophisticated. In this example the script takes three measurements and calculates the average. This is displayed and one second later it takes another average.

This allows the script to be used to constantly measure distances and print them to the command line. The Ultrasonic module is connected as before to the Raspberry Pi using a small piece of breadboard and some jumper cables. The Trigger accepts a 3.3V output from the Pi but the Echo pin must be converted to 3.3V from 5V before it reaches the GPIO input. MCP9808 Temperature Sensor Python Library. To install and use the MCP9808 Python library follow the steps below.

MCP9808 Temperature Sensor Python Library

Before you get started make sure your board is connected to the internet through an ethernet or wireless connection so you can download dependencies. You'll also want to be familiar with connecting to a Raspberry Pi or BeagleBone Black terminal with SSH. First install dependencies by executing in a terminal: Python and Raspberry Pi Temperature Sensor. DeviceHive is powerful and yet easy.

Python and Raspberry Pi Temperature Sensor

To make it even easier to understand, let’s take this simple example of the fun project that you can build in just a few hours. How about building a remote temperature sensor and a remotely controlled LED? This can be a very good starting point to built from. it involves replacing LED with power relay and controlling light in your room, adding humidity sensors and, say, light sensors to better monitor the environment and report everything on your mobile device.

This sample can work on virtually any embedded linux board that has (1) python (2) 1-wire kernel drivers In order to do this, you will need: Raspberry Pi Temperature Server. The Raspbian Linux distribution for the Raspberry Pi includes some useful kernel drivers for accessing devices connected to the Pi’s GPIO pins.

Raspberry Pi Temperature Server

Based on the tutorial from the University of Cambridge Computer Laboratory I’ve been playing around with the DS18B20 digital thermometer on the Pi. I’ve connected the sensor to the Pi using a standard electronics breadboard and the excellent Adafruit Pi Cobbler breakout connector kit (kudos to Mills for her excellent soldering skills). When the required GPIO kernel modules are loaded a file containing sensor output is written to the /sys/bus directory (see tutorial link above for more) which contains the current thermometer reading.

Raspberry Pi & DS18B20 digital thermometer. DS18B20 Programmable Resolution 1-Wire Digital Thermometer. Raspberry Pi Temperature Sensor. In this tutorial, we will be building a circuit to connect a temperature sensor to our Raspberry Pi, and writing a program to read the sensor data.

Raspberry Pi Temperature Sensor

The circuit we will build is going to connect to the Raspberry Pi using the GPIO pins. GPIO stands for General Purpose Input/Output. General purpose because all they are is simple connections that can be either high or low, a binary choice. This means we can easily do things that involves binary choices, and it will still be nice and simple to understand what is going on. TMP006 Temperature Sensor Python Library. Are you looking for an easy way to measure the temperature of something without having to attach a sensor directly to it?

TMP006 Temperature Sensor Python Library

Consider using a non-contact temperature sensor like the TMP006! This sensor reads the infra-red radiation, or heat, emitted from an object and can be easily read over an I2C connection. With the TMP006 Python library you can now use the TMP006 non-contact temperature sensor with your Raspberry Pi or BeagleBone Black project! Before you get started make sure your Raspberry Pi is running the latest Raspbian or Occidentalis operating system, and your BeagleBone Black is running the latest official Debian operating system. It will also help to familiarize yourself with the TMP006 sensor by reading its Arduino guide. MAX31855 Thermocouple Sensor Python Library. MCP9808 Temperature Sensor Python Library.