Search Engine www.edaboard.com

pic18f4520 Lcd

Add Question

48 Threads found on edaboard.com: pic18f4520 Lcd
hi all, i have this project to do and it was working fine until i added "adc_read", i don't get any error on Mikroc pro after building but in practice it's not working. please can you help me to figure out the problem. i'm using pic18f4520 with lcd, keypad and a sensor. unsigned long kp=0,mpres=0, wei=0, mwei=0, res=0, count=0, x=0;
Hi, All I wants to interface a 2*16 lcd with 8bit mode in assembly language in which the external crystal is 20Mhz in where I have already try but still there is no output, the code samples are below mentioned. So, any one can guide . #INCLUDE p18F4520.inc R1 EQU 81H R2 EQU 82H lcd_DATA EQU PORTB lcd_CTRL EQU PORTD
Hi I want to interface Glcd with pic18f4520 I am using PIC18 basic simulator Can anyone give the exact code to draw a sinusoidal wave on the Glcd with minimum numbers of variables and loops? Thanks
Hello dears, This website is such a magnificent job. Great effort, in a smart way with interactions of great experienced members. I`m doing a small project, concerning automation/control/monitoring about a green-house. I`m using a pic18f4520. I`m coding in Assembly. I'm using as output an 2*40 lcd (LMB402CFC): as an interface for the user.
Im getting this warrning pic18f4520\main.c:42:Warning suspicious pointer conversion I want to show characters on the lcd, here is my code /* Main.c file generated by New Project wizard * * Created: Fri Feb 21 2014 * Processor: pic18f4520 * Compiler: MPLAB C18 */ #include #include
MASTER IC - pic18f4520 SLAVE IC - 24C04 (EEPROM IC 4Kbytes memory I2C interface) lcd using in 4 bit mode data lines of lcd connected to PORTB(RB7 To RB4) db7-RB7 db6-RB6 db5-RB5 db4-RB4 en-RD2 rw-RD1 rs-RD0 bl-RD3 master ic sends data "ABC" to eeprom ic and while receiving same data from eeprom ic, master ic gets special (...)
Master IC - pic18f4520 Slave IC - ds1307 ACKNOWLEDGEMENT from slave ic error... can anyone help me how to rectify error? 20x4 lcd in 4 bit mode 100504
hi I'm using pic18f4520, the temperature sensor doesnt give the correct values. the values isnt consistent at all too. Temperature sensor is connect to AN12 of the IC I display the ADC reading into the lcd, the values kept jumping from 50 , 70, 100 back to 50. Can anyone tell me whats wrong with it. thanks
Hi all, Need some help to display the result to the lcd JHD162A lcd. exp : 6+4=10 below is my c-program. I am using MPlab. #include <pic18f4520.h> #include //-------------------------------- #define bit0 PORTAbits.RA0 #define bit1 PORTAbits.RA1 #define bit2 PORTAbits.RA2 #define bit3 PORTAbits.RA3 (...)
Hi all, Need some help to display the result to the lcd JHD162A lcd. exp : 6+4=10 below is my c-program. I am using MPlab. #include <pic18f4520.h> #include //-------------------------------- #define bit0 PORTAbits.RA0 #define bit1 PORTAbits.RA1 #define bit2 PORTAbits.RA2 #define bit3 PORTAbits.RA3 (...)
hi i'm using mcc18 compiler. I need to display the voltage on my lcd (tc1602A) using microcontroller (pic18f4520). I'm stuck after while(ADCON0bits.DONE), and i dunno how to display the value on lcd. Please help! #include #include #include ADCON0=0b00000001; ADCON1=0b00000111; ADCON2=0b10000
Hi guys, my pic18f4520 have a crystal circuit of 20mhz. I want to have a 4 bit lcd. connections DB4 to RD0 DB5 to RD1 DB6 to RD2 DB7 to RD3 RA1 to E RA2 to R/W RA3 to RS lcd pin 1 to Gnd lcd pin 2 to +5V lcd pin 3 to GND Please tell me what is wrong here. Is any resistor needed? Here is (...)
Hi guys, my pic18f4520 have a crystal circuit of 20mhz. connections DB4 to RD0 DB5 to RD1 DB6 to RD2 DB7 to RD3 RA1 to E RA2 to R/W RA3 to RS lcd pin 1 to Gnd lcd pin 2 to +5V lcd pin 3 to GND Please tell me what is wrong here. Is any resistor needed? Here is the code: //20MHZ OSCILLATOR #include (...)
I'm using TC1602A lcd and pic18f4520 microchip. the lcd display square black box when I tried to display something. When i connect 5V from the fixed 5v power supply, it can display what I want. Can anyone tell me what wrong with it ? I tried to use potential meter to reduce the current but it burned.
Hi I have problem in pic18f4520 lcd DISPLAY. (1) The physical set up with PCI18F4520 and lcd is using PORTDbits.RD4 and RD5 as RS and Enable. RW pin is connected to ground. (2) I use MPLAB V8.9 and C18 compiler. 4-bit mode lcd data using PORTD. (3) The problem is I use PICkit2 to program and use Vdd from kit2. It (...)
Can anyone help me check whether this code is correct anot ? //Define .hex file// #include #include #include //Define Configuration bits// #pragma config OSC = INTIO67 //Set to use internal oscillator // No external oscillator #pragma config WDT = OFF //Turn off watchdog timer #pragma config LV
Then all I can think is that you have a faulty canned oscillator, faulty board or faulty pic18f4520. Can't think of anything else to try.
i want to measure the oxygen rate of person using pulse oximeter sensor and display it in lcd using pic giving input in the form of voltage to pic controller.According to the voltage level,i want to vary display in maximum voltage will be 440mv and min will be 1/0mv.i want to display 99% if my voltage is 440mv else 1% for
Im using micro chip c18 compiler. im sensing the oxygen level of the person using pulse oxymeter sensor and tranmitting the sensed value as the input to the pic18f4520. now i want to display the output in lcd with respective to sensed values of sensor..plzz send me the coding
i want to display different values from sensor through pic18f4520 in lcd. im using embedded c language.plzz help me by sending the code