Forum Replies Created
-
AuthorPosts
-
Ligo GeorgeKeymaster
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.)..
Ligo GeorgeKeymasterWhere 48 is the ACII corresponds to 0
0 >> 48
1 >> 49
2 >> 50
etc..Ligo GeorgeKeymasterWhich 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..
Ligo GeorgeKeymasterTry 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 ….
Ligo GeorgeKeymasterSimply 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…
Ligo GeorgeKeymasterI 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..Ligo GeorgeKeymasterB 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_ElectronMay 20, 2013 at 1:34 pm in reply to: Difference between 8 Bit Mode and 4 Bit Mode LCD Interfacing #7396Ligo GeorgeKeymaster8 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…May 9, 2013 at 10:38 am in reply to: Why do we generally try to avoid 90 degree turns while designing PCB? #7395Ligo GeorgeKeymasterWe 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.Ligo GeorgeKeymaster1NXXXX 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..Ligo GeorgeKeymasterThe 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_designationLigo GeorgeKeymasterMost 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.
🙂February 27, 2013 at 11:13 pm in reply to: Is the frequency divided within the microcontroller? #7389Ligo GeorgeKeymasterIt 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…
Ligo GeorgeKeymasterConnect 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…………
Ligo GeorgeKeymasterMost of the ICs are manufactured using MOSFETs instead of BJTs. From the following definitions you can understand the difference..
For BJT
>Vcc – Collector VoltageFor MOSFET or FET
>Vdd – Drain Voltage
>Vss – Source Voltage -
AuthorPosts