Posts

Showing posts with the label Moving

PIC16F887 877 programming in C Tutorial 7 LCD Moving Display n Custom Characters

Image
LCD; Moving Display & Custom Character : You can display your custom characters by using mikroc custom character tool. Go to tools>>customer character then make the character you want to display. After this click on 'generate code'. It will generate a customchar function just copy and paste above the main function. customchar has two parameters; row and position in that row. Just pass these parameters where you want to see your custom character on LCD. You can also move the text, left and right, on LCD screen; by using the LCD commands. _LCD_SHIFT_LEFT and   _LCD_SHIFT_RIGHT are the commands. There are various other commands in mikroc, i forget to tell you in lcd tutorial, these are: LCD Commands Now lets write a code to display and move the custom character, back and forth, (of your choice) on LCD screen. Code: // LCD module connections sbit LCD_RS at RB4_bit; sbit LCD_EN at RB5_bit; sbit LCD_D4 at RB0_bit; sbit LCD_D5 at RB1_bit; sbit LCD_D6 at RB2_bit; sbit LCD_D7 ...

Explanation of Errors in Moving Coil Instruments

Errors in Moving Coil Instruments The errors that usually occur in PMMC instruments are 1.        The frictional error. 2.        Temperature error. 3.        The error owing weakening of permanent magnet. 4.        Stray magnetic field error. 5.        Thermo-electric error. 6.        Observational error. 1.        The frictional Error: The friction of the pivot in the jewel produces a frictional torque which affects the instrument reading. This error is more serious for sensitive instruments designed for low operating torque. Remedy: The frictional error in PMMC instruments can be produced by providing proper pivoting and balancing i.e. these errors may be reduced by adopting a moving system of light construction and large deflecting torque. 2.      ...

Advantages and Disadvantages of Moving Coil Instruments

Advantages and Disadvantages of Moving Coil Instruments Advantages: 1.        Uniform scale. 2.        High sensitivity 3.        Low power consumption. 4.        No hysteresis loss. 5.        Not much affected by stray magnetic fields. 6.        Very effective and efficient eddy current damping. 7.        High torque / weight ratio. 8.        Very accurate and reliable. 9.        Can be used in vertical and horizontal position due to spring control and 10.     Can be designed to cover a wide range of currents and voltages by using shunt and series resistances respectively Disadvantages: 1.        Can be used only for D.C measurements. 2.        Mo...