IIC (I2C) Communication on Raspberry Pi by using JAVA

MCP23017 with raspberry Pi using I2C Communication

This tutorial is all about IIC (I2C) communication on Raspberry Pi by using JAVA and for that, I have used Pi4J library. To demonstrate this in the tutorial I have used MCP23017 Port expander IC with Raspberry Pi. MCp23017 is a 16 Bit input/output Port Expander ICcomes with I2C Interface. To interact with the IC suing IIC (I2C) port  here we have used Pi4J and JAVA. MCP23017 Features: 16-bit input/output port expander with interrupt output Cascadable for up to 8 devices on one bus 25mA sink/source capability per I/O Supports 100kHz, 400kHz,…

Read More

Measure Distance using Ultrasonic Sensor HC – SR04 | Pi4J | JAVA | Raspberry Pi

uLTRASONI 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

First Look at Orange Pi Zero (The SBC with Wi-Fi and Ethernet)

Orange Pi Zero | First Look

What’s Orange Pi Zero ? It’s an open-source single-board computer. It can run Android 4.4, Ubuntu, Debian. It uses the AllWinner H2 SoC and has 256MB/512MB DDR3 SDRAM(256MB version is Standard version.       Features: CPU H2 Quad-core Cortex-A7 H.265/HEVC 1080P. GPU ·Mali400MP2 GPU @600MHz ·Supports OpenGL ES 2.0 Memory (SDRAM) 256MB/512MB DDR3 SDRAM(Share with GPU)(256MB version is Standard version)

Read More