background preloader

Win32 Disk Imager

Win32 Disk Imager

DS18B20 Temperature Sensor with Raspberry Pi - Raspberry Pi Measure temperatures with a 1-wire DS18B20 sensor and Raspberry Pi home > raspberry pi | electronics | education The Raspberry Pi does not have any ADC (analogue to digital converter) pins in its GPIO, and so a digital temperature sensor should be used. The sensor of choice around the world is the Dallas DS18B20 1-Wire temperature sensor pictured above. They are relatively cheap, very easy to find, easy to use, and supply readings accurate to +/-0.5 degrees across the range -10 to +85 degrees Celcius.In order to interface this with the Raspberry Pi we just need one resistor - a 4k7 which acts as a pull-up resistor - and connect everything up as shown below: Raspberry Pi and DS18B20 Temperature Sensor - Python Log on to your Raspberry Pi, and at the command prompt enter the following: sudo modprobe w1-gpio && sudo modprobe w1_therm to load in the 1-wire communication device kernal modules required to use the temperature sensor. ls -l /sys/bus/w1/devices/ sudo nano checktemp #! chmod +x checktemp

Temperature Sensor Project using DS18B20 - PrivateEyePi Project Note: This project replaces an older tutorial that used the alarm.py program to poll only one sensor. You can still use alarm.py to do this but you will be restricted to one temperature sensor. This tutorial you will build one or more digital temperature gauges linked to your Raspberry Pi that can be viewed on the WWW or your smart phone. At the end of the project you will have a WWW dashboard that looks similar to this: What you need: Raspberry Pi Model A or BThe following parts are available through the PrivateEyePi Store:DS18B20 sensor(s) (TS01), one per temperature reading you want on the dashboard4.7k resistor (one per sensor) (TS01)Jumper wire cables and breadboard or wire, soldering iron and solder (JW01, BB01) Step 1: Build and test the Electronics: Figure 1. If you want to add multiple sensors daisy chain the middle pin of the sensors. Figure 2. Once built, follow the following steps to test that it is working: Log in to your Raspberry Pi Note: Type: sudo nano /boot/config.txt Figure 3.

Connecting a temperature sensor to GPIO In this exercise, we're going to connect a Dallas DS18B20 temperature sensor to a breadboard, and read the temperature through the Raspberry Pi's GPIO pins. The DS18B20 has a 1-Wire interface, which means that one of its leads is used for serial communications. The other two leads need to be connected to 3.3V and 0V. The sensor itself contains a small circuit that generates serial output. It also contains a unique serial number so that several sensors can be connected in parallel and still be addressed individually. The circuit diagram and photoraphs on the right show how I set up my bread board. Before you can use the sensor, you need to load two kernel modules with these commands: sudo modprobe w1-gpio sudo modprobe w1-therm These modules are device drivers that interpret data from the DS18B20. Next, you need to type these commands to find the address of the DS18B20 and read from it: cd /sys/bus/w1/devices/28* cat w1_slave #! chmod +x ds18b20.py Run this script by typing this command: . #! .

Tutorial 5 - Conexión remota al Raspberry Pi usando SSH (Secure Shell) SSH (Secure Shell) es un protocolo de comunicación que permite conectarse remotamente con servidores o diferentes tipos de máquinas que lo soportan, de acuerdo a la página de su creador algunos países lo tienen prohibido, porque esta puede ser la puerta de entrada para hackear servidores. En nuestro caso va ha ser utilizado de manera local en nuestros proyectos y es usado ampliamente en diferentes lugares del mundo. En general este programa permite hacer conexiones seguras de forma remota a nuestro Raspberry Pi a través de cualquiera de los métodos que vimos en nuestros tutorial 4. Esto quiere decir que, no necesitará utilizar una segunda pantalla, teclado y mouse ya que podrá operar remotamente su Raspberry Pi. Activación del servicio SSH en el Raspberry Pi Luego inicie el servicio con el siguiente comando: sudo /etc/init.d/ssh start Y para que se ejecute automáticamente al iniciar el Raspberry Pi, ingrese el siguiente código: sudo update-rc.d ssh defaults Instalación de Putty en Windows

Tutorial Básico Archives - Frambuesa Pi Colombia - Raspberry Pi en español Una de las formas más comunes de conectar su Raspberry Pi, es por medio de un dongle Wi-Fi. Este es un accesorio que tiene querer adquirido por separado y ocupa uno de los puertos USB disponibles. Existe una gran cantidad de marcas que han sido probadas y que se ha demostrado que funciona con solo conectar el dispositivo. Los siguientes dongles han sido probados por la comunidad, en lo posible trate de adquirir alguno con estos, ya que la configuración de uno no probado puede llegar ser una tarea bastante tediosa. Materiales Dongle Wi-Fi USBSistema operativo RaspbianTeclado y mouse que compartan el mismo dongleRouter inalambrico con asignación de dirección IP DHCP (No se preocupe, la mayoría de los routers vienen con esta opción por defecto. Dongle WiFi para Raspberry Pi Instalación del Dongle WiFi Paso 1. Leer mas Ayudanos a difundir este mensaje: Me gusta: Me gusta Cargando... Es posible conectar directamente el Raspberry Pi a su PC utilizando un cable de red CAT-5. Menú principal Leer mas

Related: