This video around raspberry pi showing how to interface DHT12 humidity and temperature sensor with raspberry pi by using JAVA nad Pi4j. DHT12 its a temperature sensor with a 1-Wire and I2C interface to connect with external controllers and having 1-Wire interface makes it compatible with the older DHT11 sensor but with a higher accuracy. For this tutorial, we are going to use the I2C interface of the sensor and to interact with it, we will be using JAVA. One issue with the DHT12 I2C interface is that the device…
Read MoreTag: Sensor
R30X Finger Print Module Device Interfacing
Many of you must have heard about the fingerprint sensor which a nice way to provide security. Here i have given the interfacing of the R30X fingerprint sensor module with ARM LPC2148 board but the basics remain the same for all the micro-controllers. The first thing for interfacing the sensor with the controller is the handshaking, in which the controller first sends a signal or hex codes to the sensor and it acknowledges. After handshaking, only the controller can talk to the sensor. unsigned char Message[16] = {0XEF,0X01,0XFF,0XFF,0XFF,0XFF,0X01,0X00,0X07,0X13,0X00,0X00,0X00,0X00,0X00,0X1B}; This line…
Read MoreBMP180 Interfacing with Arduino | In Depth
This video is all about interfacing BMP180 module with Arduino. BMP180 will help us to measure environmental temperature and pressure and by using that we can calculate the altitude which can be used in various applications like weather monitoring, navigation etc. The BMP180 sensor module comes with the I2C interface and with a default address 0x77 which is not configurable limiting stacking of multiple modules to that same I2C bus. In this tutorial, we will interface the module with Arduino by using I2C interface that is analog input pin A4…
Read MoreMeasure Distance using Ultrasonic Sensor HC – SR04 | Pi4J | JAVA | Raspberry Pi
This is a simple tutorial showing how to interface HC – SR04 ultrasonic ranging module with Raspberry Pi to measure distance using JAVA. Ultrasonic ranging module HC – SR04 provides 2cm – 400cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules include ultrasonic transmitters, receiver and control circuit. The basic principle of work: (1) Using IO trigger for at least 10us high-level signal, (2) The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back. (3) IF the signal back, through…
Read More