Skip to main content

Posts

Showing posts with the label Tutorial

Tutorial Making PIANO KEYBOARD with LM555 IC

Hi everyone, today I will guide you how to make a powerful piano keyboard with LM555 IC. OK let's go! Piano keyboard description Here we will show how to build a piano keyboard which generate simple electronic keyboard musical notes DO, RE, MI, FA, SOL, LA, SI, DO1 and RE1, as shown in the following diagram (keyboard piano). Piano Keyboard with IC LM555 Piano keyboard operation circuit This circuit has a piano keyboard wave generator essentially comprises a 555 which operates as an astable multivibrator circuit. This type of operation is characterized by an output square wave of width defined by the designer. The outgoing wave frequency can be controlled by the resistor is connected between pins 7-8 and 2-7 in addition to the capacitor connected to pin 2 grounded. The resulting frequency can be calculated under the following equation. Where R eq is the result according to the push button is pressed on the keyboard piano. Therefore we can in our piano keyboard similar sound of an...

PIC16F887 877 programming in C Tutorial 10 ADC

Analog to Digital Converter (ADC): In this tutorial i will show how to convert analog values into digital, by using 887 (little bit differ with 877) , then display these digital value on LCD. The Analog-to-Digital Converter (ADC) allows conversion of an analog input signal to a 10-bit binary representation of that signal. This device uses analog inputs, which are multiplexed into a single sample and hold circuit. The output of the sample and hold is connected to the input of the converter. The converter generates a 10-bit binary result via successive approximation and stores the conversion result into the ADC result registers (ADRESL and ADRESH). The ADC voltage reference is software selectable to be either internally generated or externally supplied. ADC Configuration: When configuring and using the ADC the following functions must be considered: • Port configuration • Channel selection • ADC voltage reference selection • ADC conversion clock source • Interrupt control • Results forma...