Skip to main content

Posts

Showing posts with the label Direction

SOUND DIRECTION AND LOCALISATION WITH PIC16F876A

Detecting Sound Students often want to use ‘sound’ as an input within electronic projects. Unfortunately sound is not as easy to use as light and temperature, as there is not an instant ‘single component’ solution, as is the case with, for example, an LDR for light or a thermistor for temperature. The main problems with detecting sound are: 1) electret microphone inserts are low cost, but only produce a very small signal, which requires amplification 2) the background noise level can vary considerably, and so some form of calibration is required 3) some noises, such as a hand-clap, are very quick and so can be ‘missed’ with some electronic circuits (e.g. when using a microcontroller) Fortunately these problems can all be overcome at low-cost, by using an electret microphone with three common transistors. The circuit shown in Figure 1 will produce an analogue signal between 0 and 3V that can be detected, for instance, with the analogue input pin of a PIC microcontroller (e.g. 16F876). T...

Direction Sensor CMPS03

CMPS03 Compass Module Overview Compass is a tool for navigation for a direction, a direction in this article referred to is the magnetic module CMPS03 Compas. Magnetic Compass Module CMPS03 often used in making robots in the contest. Magnetic Compass Module Functions in the contest  CMPS03 usually to provide a reference where the robots are in position and lead anywhere, then the position and direction provided by the Magnetic Compass Module reference sebgai CMPS03 the next robot motion. Magnetic Compass Module uses I2C data communication lines to mirokontroler. With adalanya I2C data communication lines from this CMPS03 this module can be connected directly to a microcontroller that suport with I2C data communication channels such as AVR ATMega. Magnetic Compass Module CMPS03 require 5 V voltage with 15mA current. CMPS03 Circuit Diagram Because the module using I2C Magnetic Compass CMPS03 we can use 5 lines are: VCC + 5 V on pin 1 SCL with Pull Up resistor 10 K SDA with Pull Up re...