sensor

How to connect a Lego Mindstorms NXT Ultrasonic Sensor to the Raspberry Pi

How to connect a Lego Mindstorms NXT Ultrasonic Sensor to the Raspberry Pi

Abstract Directly connect a Lego Mindstorms NXT Ultrasonic Sensor to a Raspberry Pi. A TCA9517 I2C bus buffer and an additional GPIO pin for SCL is necessary. A short C++ program to read the measured distance is provided. Introduction Raspberry Pi (Pi), despite some shortcomings, is definitely my favorite SBC. By far the biggest community …

How to connect a Lego Mindstorms NXT Ultrasonic Sensor to the Raspberry Pi Continue Reading

beginning sensor network arduino.jpg

Beginning Sensor Networks with Arduino and Raspberry Pi [EPUB] -E-book

E-Book description: The world of microcontrollers and increasingly capable and popular small computing platforms is enabling many more people to learn, experience, and complete projects that would previously have required dedicated (and expensive) hardware. Rather than purchase a commercial or made-for-consumers kit, enterprising developers can now build their own solutions to meet their needs. Sensor …

Beginning Sensor Networks with Arduino and Raspberry Pi [EPUB] -E-book Continue Reading

Adding More Temp Sensor

Adding More Temp Sensor

Since my previous post I have added a couple additional temperature sensors to my piHouse project.  One is an outdoor temperature sensor that I previously programmed but never installed outside, and the other is a new sensor in my bedroom.  This involved some hardware planning and effort installing because I had to run a cable …

Adding More Temp Sensor Continue Reading

Test DS18B20 sensor

Test DS18B20 sensor

sudo modprobe w1-gpio sudo modprobe w1-therm cd /sys/bus/w1/devices ls cd 28-xxxx (change this to match what serial number pops up) cat w1_slave The interface is a little unreliable, but fortunately it tells us if there is a valid temperature to read. It’s like a file, so all we have to do is read The response …

Test DS18B20 sensor Continue Reading

Scroll to Top