Skip to main content

Posts

Showing posts from October, 2019

social

pop

Generation of Electricity from Biomass - Electrical energy from Biomass, combustion, gassification

GENERATION OF ELECTRICAL ENERGY FROM BIOMASS 1.1. INTRODUCTION Energy is the most vital issue for all living-being on earth. Modern life style has further increased its importance since a faster life means a faster transport, faster communication, faster manufacturing processes etc. All these lead to an increase in energy required for all these modern systems. These energy come from different sources and one of these sources is the biomass or biofuel energy production (generation) source. 1.2. DEFINITION OF BIOMASS Biomass or Biofuel is a fuel that is developed from organic materials, renewable and sustainable source of energy used to generate electricity or other forms of energy. It is the organic material that is used for the production of energy known as biomass . 1.3. DESCRIPTION  OF BIOMASS The biomass plant is a renewable source of energy because wastes residues will always exist be it in terms of scrap wood, forest resources, manure etc...Developing ...

Interfacing 16x2 LCD with PIC microcontroller

Interfacing a 16X4 LCD In this project, a 16X2 LCD is connected to PORTB of PIC 16F877A microcontroller and the microcontroller is operated from an 8MHz oscillator. The message to be displayed is "welcome to 16x2 LCD display". A reset button is include to be able to reset the microcontroller. The circuit is drawn using proteus software and the code below is written in mikroC PRO for PIC.  Circuit diagram of a 16X2 LCD MikroC code of 16X2 LCD display  // begin configuration of LCD sbit LCD_RS_direction at TRISB0_bit; sbit LCD_EN_direction at TRISB1_bit; sbit LCD_D4_direction at TRISB2_bit; sbit LCD_D5_direction at TRISB3_bit; sbit LCD_D6_direction at TRISB4_bit; sbit LCD_D7_direction at TRISB5_bit; sbit LCD_RS at RB0_bit; sbit LCD_EN at RB1_bit; sbit LCD_D4 at RB2_bit; sbit LCD_D5 at RB3_bit; sbit LCD_D6 at RB4_bit; sbit LCD_D7 at RB5_bit; // End of LCD configuration void main() { char txt[]="welcome to 16x2...

Interfacing a 16X4 LCD

Interfacing 16X4 LCD Simulation is done with Proteus ISIS code: MikroC Requirements: 16X4 LCD PIC16F877A 8 MHz oscillator A variable resistor (5k) 22pF capacitor A resistor (10k) Circuit Diagram of 16X4 LCD and code is shown below  // Begin LCD configuration sbit LCD_RS_direction at TRISB0_bit; sbit LCD_EN_direction at TRISB1_bit; sbit LCD_D4_direction at TRISB2_bit; sbit LCD_D5_direction at TRISB3_bit; sbit LCD_D6_direction at TRISB4_bit; sbit LCD_D7_direction at TRISB5_bit; sbit LCD_RS at RB0_bit; sbit LCD_EN at RB1_bit; sbit LCD_D4 at RB2_bit; sbit LCD_D5 at RB3_bit; sbit LCD_D6 at RB4_bit; sbit LCD_D7 at RB5_bit; // End of LCD configuration void main() { char txt1[]="welcome to 16x4"; char txt2[]="LCD display";   char txt3[]="by"; char txt4[]="EKETECH"; TRISB=0X00;   // Configure PORTB as output PORTB=0X00;        // initialise PORTB while(1)        ...