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

Send/Receive data using BLE and MBED | BBC Microbit

BLE Microbit

This video is all about sending and receiving data between BBC Microbit and any BLE enabled smart phone. Over here I have used C/C++ (MBED) as the programming language as other language (Python/JavaScript) don’t support UART data transfer service.

Read More

Getting Started with Smallest Arduino | Digispark AtTiny85

The Digispark is an Attiny85 based microcontroller development board similar to the Arduino line, only cheaper, smaller, and a bit less powerful. With a whole host of shields to extend its functionality and the ability to use the familiar Arduino IDE the Digispark is a great way to jump into electronics, or perfect for when an Arduino is too big or too much. Specs: Support for the Arduino IDE 1.0+ (OSX/Win/Linux) Power via USB or External Source – 5v or 7-35v (12v or less recommended, automatic selection) On-board 500ma 5V…

Read More