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 MoreTag: Technology
Checking out BBC micro:bit
The BBC micro:bit is a pocket-sized, codable computer that allows anyone to get creative with technology. Made possible through a major partnership with 31 organisations, a micro:bit has been given to every 11 or 12 year old child in year 7 or equivalent across the UK, for free. ————————————————————————————————— Can be programmed with high-level online IDEs using the BBC’s website at http://www.microbit.co.uk/create-code including: Microsoft TouchDevelop IDE Microsoft Blocks CodeKingdoms Javascript MicroPython mbed enabled Online IDE at developer.mbed.org Easy to use C/C++ SDK Dedicated micro:bit runtime libraries for rapid development…
Read More