Forum Replies Created

Viewing 15 posts - 211 through 225 (of 228 total)
  • Author
    Posts
  • in reply to: PULLDOWN AND PULLUP resistors #7557
    Ligo George
    Keymaster

    What do you mean?? Connecting Switches using Pull Down and Pull Up resistors??

    For that you need to configure the required pins as input… by writing to corresponding TRIS registers (eg: TRISA, TRISB etc)… then you can read the status of each pins by reading corresponding PORT registers (eg: PORTA, PORTB, etc.)..

    in reply to: ASCII CODE DISPAY IN PIC16F690 #7555
    Ligo George
    Keymaster

    Where 48 is the ACII corresponds to 0
    0 >> 48
    1 >> 49
    2 >> 50
    etc..

    in reply to: ASCII CODE DISPAY IN PIC16F690 #7553
    Ligo George
    Keymaster

    Which compiler you are using???
    If you are using MikroC Pro… there is a built in function IntToStr() use it..

    If you are using other compiler… extract digit by digit… and display it…
    for eg: 45 can be displayed by following method..
    i = 45;
    DisplayCharacter((i%10)+48);
    i = i/10;
    DisplayCharacter((i%10)+48);

    Hope you got the logic..

    in reply to: pic16f877a interfacing with pc #7548
    Ligo George
    Keymaster

    Try it yourself.. it is simple…

    When sending data from PC to PIC.. send it byte by byte…… If you need to send a sentence…
    just transmit and receive byte by byte… and you can use a terminator (eg: ‘.’ for the end of a sentence) to know the end of a sentence….

    PIC Microcontroller also has interrupt feature… you may use it, to reducing the continuous uart reading load ….

    in reply to: 7 Segment Display Multiplexing help #7546
    Ligo George
    Keymaster

    Simply write a function to write 3 digit number to multiplexed display…
    as given in the tutorial…
    ..
    Let ‘i’ be an integer and display() is the function to write to display..
    if(switch 1 pressed)
    i++;
    if(switch 2 pressed)
    i–;
    if(switch 3 pressed)
    save i;
    display(i)

    It is very simple… just apply the logic…

    in reply to: pic16f877a interfacing with pc #7544
    Ligo George
    Keymaster

    I also experienced this problem, while using uart and wifi module… I think this problem is due to less buffering space in pic microcontroller…there is only one RSR register for saving the received data…. So if the received data is not read, no data will be received further…
    So try transmitting byte by byte..

    in reply to: What is BC in BC107 Transistor? #7401
    Ligo George
    Keymaster

    B means Silicon.
    C means Small signal transistor.
    These representations were introduced in 1966 as a part of proElectron designation and registration system for active components. For more details you can refer
    http://en.wikipedia.org/wiki/Pro_Electron

    Ligo George
    Keymaster

    8 Bit mode and 4 bit mode differs in how data is send to LCD.
    In 8 Bit Mode, character data (8 bit ASCII) and LCD commands are send through data lines D0 – D7 of the LCD. Enable Pin (E) of the LCD is used to provide data strobe…
    But 4 Bit Mode uses only 4 data lines D4 – D7. In this the 8 bit data and commands are divided into two parts and sent sequentially through the 4 data lines.
    The idea of 4 bit mode is introduced to save pins of microcontroller (serial communication LCD saves more pins). 4 bit mode interfaced lcd will be a bit slower than 8 bit mode. But this speed difference is not significant as LCDs are slow speed devices.
    Due to these reasons 4 bit mode is commonly used…

    Ligo George
    Keymaster

    We generally try to avoid 90 degree and acute angle turns while pcb designing to avoid acid trap and reflections that may caused with high frequency signals.
    For high frequency signals 90 degree turns acts as a capacitive load, which reflects signals and results in poor impedance matching… Even in low frequency signals these sharp angles may cause acid traps especially for narrow tracks.
    Acid trap occurs on every PCBs especially for high density PCBs in which chemicals or etchants may get trapped in corners and reduces the width of track or may create short circuits.

    in reply to: What is 1N in 1N4007 Diode ? #7393
    Ligo George
    Keymaster

    1NXXXX is an American Standard numbering system used for Semiconductor Devices which in now adopted globally. It is named with Joint Electronic Device Engineering Council (JEDEC) identification number.

    1N means Single Junction semiconductor.
    2N means Double Junction semiconductor.

    1 stands for 1 junction. Since the diode is made by two dissimilar P and N semiconductor types..a junction is formed between them.
    N stands for semiconductor diode and 4007 is the identification number of that particular diode..

    in reply to: What is OA in OA79 Diode ? #7392
    Ligo George
    Keymaster

    The designation of OA is inherited from old European designation system for Vacuum Tubes.
    O – Cold Cathode
    A – Low Current Diode
    For More Details please visit this page ..
    http://en.wikipedia.org/wiki/Mullard%E2%80%93Philips_tube_designation

    in reply to: Why JK Flip Flop is named so ? #7391
    Ligo George
    Keymaster

    Most of the texts and articles says that J and K have no other significance expect that they are adjacent letters in English alphabets….. But actually those letters have significance…. It was named in the honor of Jack Kilby, an engineer at Texas Instruments who invented the integrated circuit in 1958.
    🙂

    in reply to: Is the frequency divided within the microcontroller? #7389
    Ligo George
    Keymaster

    It depends on peripherals and program………

    We usually use a crystal oscillator for generating clock of a microcontroller… or we can use the internal RC oscillator available with some microcontrollers…. The frequency of this clock is termed as Fosc …

    But some microcontrollers have internal PLL, thus by using it we can multiply the crystal or RC oscillator frequency to a large value…. In this case Fosc is the resultant frequency…

    While using some peripherals like timers you can divide this Fosc by using prescalar by writing appropriate registers…

    in reply to: How to generate TONES with a microcontroller? #7387
    Ligo George
    Keymaster

    Connect a pin of the microcontroller to a piezoelectric speaker or an ordinary speaker (voltage and current ratings should be considered while connecting an ordinary speaker). Then you can generate a tone of particular frequency by making the pin high and low in that frequency.

    MikroC Pro for PIC Microcontrollers provides built in library routines for tone generation…………

    in reply to: Why Vdd and Vss instead of Vcc and GND ? #7386
    Ligo George
    Keymaster

    Most of the ICs are manufactured using MOSFETs instead of BJTs. From the following definitions you can understand the difference..

    For BJT
    >Vcc – Collector Voltage

    For MOSFET or FET
    >Vdd – Drain Voltage
    >Vss – Source Voltage

Viewing 15 posts - 211 through 225 (of 228 total)
>