107 Threads found on edaboard.com: pic18f4520 Lcd
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 (...)
Microcontrollers :: 11.04.2013 18:00 :: eiphan :: Replies: 8 :: Views: 131
Hi, try this , i just finished on the same board that you are using now....
; Labs for pic18f4520, lcd...
; lcd CODE with lookup table made on 1-10-2008
list p=18f4520
#include p18f4520.inc
CONFIG OSC = HS ;INTIO7 if internal clock
CONFIG FCMEN = OFF
CONFIG IESO = OFF
CONFIG PWRT = ON
CONFIG BOREN = OFF
CONFIG WDT = (...)
Microcontrollers :: 17.10.2008 10:25 :: mabdulrahman :: Replies: 1 :: Views: 3738
I am Using pic18f4520 And want to Transmit Binary 8 bit data serially (when i press a button on the keypad ) through TWS434. Also at the other end i need to receive the same data On pic18f4520 with RWS434..
If I Press A Button of Keypad I need To transmit and Display The Code on lcd simultaneously....
I am weak in Programing and was in a (...)
Microcontrollers :: 04.04.2011 17:26 :: Kulkarnitejas :: Replies: 0 :: Views: 647
please, i need help on displaying characters on nokia3310 lcd screen. The best i could have were 2 or 3 layers of lines drawn at the bottom of the screen. I interfaced it with pic18f4520 and i am using 8MHz oscillator to drive the PIC. Could that be a problem because most projects use 20MHz.
My codes and circuit design runs on proteus but the
Microcontrollers :: 10.01.2010 08:38 :: senatorsegun :: Replies: 34 :: Views: 48182
hihi...i having problem to search for the dc motor source code... this is my first doing c programming project n i only on my third lesson in school...pls giv me some advices...thanks=)
Microcontrollers :: 31.05.2006 18:52 :: zenten :: Replies: 3 :: Views: 4571
I need some of the lcd C program source code , Buzzer and 7segment source code. Thank for helping
Microcontrollers :: 29.06.2006 07:55 :: raymtoh :: Replies: 0 :: Views: 919
hello sir, i am learning pic microcontroller i am using pic 18f4520 controller if any body known lcd programing plz forward my mail
Microcontrollers :: 21.04.2008 11:03 :: mallikarjunj :: Replies: 3 :: Views: 937
Equipment:
pic18f4520 MCU
2x8 lcd with HD44780
I am using Pickit2 to program the lcd in assembley language using MPLAB IDE.
The project is to display my name on the lcd, any ideas on how to get started on this project? How to interface the two pieces of hardware would be much appreciated.
Microcontrollers :: 04.12.2008 19:00 :: russ4789 :: Replies: 3 :: Views: 1786
Now don't tell me you want to know how to do with 4 figures!!!
Dora.
Added after 2 minutes:
Ummm... yes please
However, I'm still having problems with the 3 digit 'thingy' - whenever it goes over 127, the numbers turn into characters like / . * ). Could you explain how this has happened and
Microcontrollers :: 23.12.2009 12:18 :: jamwaffles :: Replies: 6 :: Views: 1748
please, i need help on displaying characters on nokia3310 lcd screen. The best i could have were 2 or 3 layers of lines drawn at the bottom of the screen. I interfaced it with pic18f4520 and i am using 8MHz oscillator to drive the PIC. Could that be a problem because most projects use 20MHz.
My codes and circuit design runs on proteus but the ha
Microcontrollers :: 10.01.2010 08:44 :: senatorsegun :: Replies: 2 :: Views: 1678
its ok tahmid..now project is to use the fan to cool the fuel cell stack when the temperature is high.and the lcd display is to monitor the voltage,current,air pressure and temperature.after thaT I NEED to interface with the computer to display the readings of those four.u learn usart b4?if u have the schemetic diagram of pic18f4520 mcu board pls s
Microcontrollers :: 25.01.2010 03:58 :: falcoz :: Replies: 10 :: Views: 2847
i am doing a project for my final yr. I already done with voltage n current reading on lcd.now i need to use PT1000 tmep sensor to monitor the temp and disply it on my lcd.Anyone can help with code.using pic18f4520
Microcontrollers :: 25.01.2010 10:31 :: falcoz :: Replies: 0 :: Views: 639
Hi,
I am working with 8051 with 24C02.
Can any body give me hint or example code.
How to Interface Serial Memory 24C02 with PIC18F using MSSP?
Thanks in Advance
--
Karam
Microcontrollers :: 25.05.2010 19:29 :: karan123 :: Replies: 1 :: Views: 489
Hello,
I am working on a Anti-House Breaking System project which operates 24 hour/day surveillance.
I am planning to put it on sleep mode until the PIR sensor or Glass-Break sensor detects a break-in. How can this be done? (if possible)
I am aware of the 7 different operating modes but unsure of whether to use the Sleep or Idle modes and h
Microcontrollers :: 01.07.2010 06:34 :: hez_91 :: Replies: 2 :: Views: 483
Hello!
I have EasyPic2 development board. Also I have one "big" lcd display with 4 rows and 40 columns and one industrial keyboard with 16 buttons.
lcd display is connected with PIC16F877A through PORTB and keyboard is connected through PORTD.
My task was to create a menu on display and using keyboard to step through that menu and change cer
Microcontrollers :: 08.10.2010 18:39 :: vojke :: Replies: 4 :: Views: 695
Hi...
I have interfaced the lcd with pic18f4520 as...
EN - RA1
RW- RA2
RS - RA3
D4-D7 - RD0-RD3
The code I wrote, goes as follows...
#define PIN_ENABLE_lcd PORTAbits.RA5
#define PIN_RW_lcd PORTAbits.RA2
#define PIN_RS_lcd PORTAbits.RA3
#define DATA_lcd (...)
Microcontrollers :: 28.12.2010 10:10 :: scorrpeio :: Replies: 13 :: Views: 623
Programming digital pot using
pic18f4520
I am trying to program mcp41100 digital pot using
pic18f4520 spi communication.
I am using the following code on MPLAB C18 compiler and am using a picdem 2 plus demo board :
#include
//pic 18 library for all p18 microP
#include // SPI Library
#define SPI_C
Microcontrollers :: 17.03.2011 09:46 :: rohit21agrawal :: Replies: 4 :: Views: 1242
Hi,
I'm trying to interface a pic18f4520 to a SED1335 based lcd. Using the provided CCS C driver and this code:
while(TRUE) {
glcd_fillScreen(ON);
delay_ms(1000);
glcd_fillScreen(OFF);
delay_ms(1000);
glcd_pixel(10,10,1);
delay_ms(1000);
glcd_pixel(10,10,0);
delay_ms(1000);
} (...)
Microcontrollers :: 31.03.2011 21:48 :: Gepard1973 :: Replies: 0 :: Views: 397
Hi,
I am a beginner and new to embedded.started using pic dem plus 2 having pic18f4520.i need a source code in c for ocular om16214 lcd interfacing(16X2,4 bit mode).plz help me out.thx
Microcontrollers :: 27.06.2011 12:31 :: sam217 :: Replies: 2 :: Views: 864
Hello,
Does anyone know how to set time in RTC? We're using pic18f4520 in MikroC Pro. We tried the code below but the output in our lcd is one that is counting very fast that we cannot see the data anymore. Please help me on this endeavor. Any help is greatly appreciated. Thank you.
char seconds, minutes, hours, day, month, year; // Glob
Microcontrollers :: 01.07.2011 05:20 :: sarah.sanchez :: Replies: 0 :: Views: 477
hi,
i am currently working on a project using pic18f4520 in MikroC. it has to read the LM35s connected to each of the 6 ADC channels (AN0-AN5). also, we wanted to display those values in the lcd. please see code below. but the output in the lcd shows the same value for all of the ADC channels even if the LM35 is exposed to different (...)
Microcontrollers :: 02.07.2011 11:41 :: sarah.sanchez :: Replies: 1 :: Views: 647
Hi all,
I'm working on a project that makes use of RTC and the pic18f4520's ADC module on MikroC. The code that I drafted (please see below) builds in MikroC but doesn't work on breadboard. The RTC counts up but does not have a display in the lcd the whole time. Instead, it follows the delay of the ADC so the output in the lcd only (...)
Microcontrollers :: 12.07.2011 12:08 :: sarah.sanchez :: Replies: 2 :: Views: 759
Hi! I am working on a project that is capable of moving a motor (in a time based manner) every after 30 minutes. The time will be based on an RTC in such a way that when I turn on the system, it looks at the time in the RTC to know which position the motor should be in and then after 30 minutes, it will move to the next position again. Codes below
Microcontrollers :: 28.07.2011 06:45 :: jinang :: Replies: 2 :: Views: 643
Hi guys,
I'm have try implement the code from mikroC example : lcd.
I just see the lcd just showed first row with black dot nothing else just like without programming into it.
The circuit connection will be same as example shown in the library's schematic lcd diagram.
Any of you can help me ?
I'm new to MikroC.
These purpose's for (...)
Microcontrollers :: 01.09.2011 15:51 :: Linspire :: Replies: 5 :: Views: 1587
this is my test on MMC/SD card on the Devkit8000 board. The OS is Linux, it is easy to read and write files to SD card.
That's nice.
However Brittany Snow, Linspire is implementing his design with a pic18f4520 which does not support Linux.
BigDog
Microcontrollers :: 02.09.2011 05:55 :: bigdogguru :: Replies: 125 :: Views: 7614
Hi guys,
I have tested successfully for Keypad 4x4 by referring the MikroC user manual keypad library coding.
I did test on 7Hz only which trigger interrupt and fed into CLKIN as clock signal.
However, I found out when I use HS mode, 20Mhz to run testing, it seem the coding doesn't working properly.
Does anyone here can suggest idea how to solv
Microcontrollers :: 27.09.2011 12:29 :: Linspire :: Replies: 2 :: Views: 652
I'm just curious why it's like this.
I though I can keep my another pic18f4520 for backup purpose.
Is it possible for you to try the PIC which causes you problems on another hardware? or with some another programm? I know, you can say your problem is solved, but you can check this if you want to go in deep why tha
Microcontrollers :: 07.10.2011 08:56 :: dhruv_electro :: Replies: 7 :: Views: 878
I have several problem for my coding.
1.lcd cant display correctly when shifting my keypad input after 8 inputs from keypad.
2.lcd cant display correctly when I output the 8's keypad input with append of ".txt".
Example: when I key in ABCDEFGH with keypad.
lcd display just show ABCDEFFHHH
Then I assigned string of ".txt" to these (...)
Microcontrollers :: 08.10.2011 16:02 :: Linspire :: Replies: 2 :: Views: 422
First of all you have missed something i.e.. the visual part. I understood it like this ,your system is going to take a file name from user and create one file with that name , then again it is going to take user input and save the data in that file. That file may be stored in a sd card or in any other memory that?s not the
Microcontrollers :: 09.10.2011 17:28 :: Linspire :: Replies: 5 :: Views: 686
Does anyone here ever write a code for power saving mode for pic18f4520 ?
I'm trying to say is, in power saving mode; the PIC is in "IDLE" mode, which also turn off the lcd also, so that the consumption of current flow from power source / battery will not be that much.
Regards
Linspire
Microcontrollers :: 14.10.2011 13:18 :: Linspire :: Replies: 24 :: Views: 1749
Guys,
How should I set proper value for comparator and set digital input for port A.
i want to use data pin of lcd to be connected to port A
My lcd isn't working properly at all.
Regards
Linspire
Microcontrollers :: 15.10.2011 14:51 :: Linspire :: Replies: 0 :: Views: 249
Guys,
Any idea how to write a proper coding for ATD for showing the voltage level of my battery 5V ?
I want to implement this to check whether the battery face low battery scenario.
I'm not used to ATD field.
Hope someone can guide me.
I have tried simple coding for mikroC.
Here's the coding:
unsigned int temp;
// lcd module con
Microcontrollers :: 28.10.2011 12:43 :: Linspire :: Replies: 3 :: Views: 424
i use 4bit custom lcd in mikroc with pic18f4520 it work ok with text but i cant send value of variable in lcd
i try to use
IntToStr(time4_lectures, txt);
or
sprintf(buffer,"%d",time4_lectures);
but it not work ok
///////////////////////////////////////the function in mikroc
void lcd_Custom_Out_Cp(char *text)
Microcontrollers :: 04.12.2011 22:39 :: mahm150 :: Replies: 2 :: Views: 1470
What type of help do you need?
What compiler are you using?
What voltage are you supplying the dsPIC30F?
Making “The lcd Expansion Board” for
Microcontrollers :: 28.12.2011 07:43 :: bigdogguru :: Replies: 4 :: Views: 638
My circuit is constructed as below. I'm a new beginner in programming. Desperately need help for the programming of this system. I have modified coding from similar project, but it keep on getting syntax error. Need help in modifying the AVR code for HSM20G into PIC code for HSM20G. Facing syntax error in rx part.
70113
Microcontrollers :: 03.03.2012 09:29 :: Ayie29 :: Replies: 16 :: Views: 629
Good morning, I'm new here ... =)
Using the library T6963c and a pic18f4520 has crafted a program that reads and displays pictures and text into a graphic lcd (240x128) 21-pin.
The program works well and the images are printed correctly, but sometimes fails to boot and reset takes too long to restart the program, something at least 40s, in
Microcontrollers :: 13.03.2012 15:36 :: gicristhie :: Replies: 3 :: Views: 552
hi all,
i want to use a pic and a keypad to display a description on a lcd.
when you press a certain code the corresponding description of that code must be displayed.
the code must be 2 digits, ranging from 00 to 99.
can any one help me with a sample code for reading the 2 digit code that has been enterd into keypad.
note: after entering
Microcontrollers :: 05.04.2012 11:39 :: isabella :: Replies: 5 :: Views: 694
Hi can anyone provide some assistance
I'm having trouble implementing A to D on a pic18f4520 and displaying it on a Nokia 3310 screen.
The screen code that I have works (Tested), its just the A to D code that I'm having trouble with.
All I need is to display the voltage from a sensor seen on RB0 (Volts to 3 decimal places) and would like to add
Microcontrollers :: 06.04.2012 15:15 :: Soprano64 :: Replies: 1 :: Views: 341
Hi, I am working on a project to display the temperature from a thermistor on a lcd display. Here is a list of components I am using.
HD44780
pic18f4520
LM35cz
I am working in assembly language and my question is how to take the 10 bit ADC result my PIC gives me in the ADRES register and display it in Fahrenheit on the lcd. I am (...)
Microcontrollers :: 26.04.2012 23:54 :: ark55800 :: Replies: 3 :: Views: 639
Hi, I am unable to initialise this 16x2
lcd Display, could any one here help please? Went through past threads and still unable to solve :(
Using a
pic18f4520 with 4Mhz crystal
First line is filled with black boxes, second line is clear
#include
#include
#include
#include
#pragma confi
Microcontrollers :: 12.06.2012 10:04 :: Elekid :: Replies: 12 :: Views: 396
i want to interface 16x2 lcd with pic18f4520 controller,
i have one code but that is not working, i am using MPLAB IDE and c18 compiler
Microcontrollers :: 26.06.2012 15:12 :: Surender Reddy :: Replies: 4 :: Views: 889
Hi everyone, How u guys doing??
i'm doing a Digital visitor counter using pic18f4520 as my project. i've an idea of doing it n it is like this, i'l keep two sensors S1 and S2 in entry-cum-exit door, if the person crosses sensorS1 and then sensor S2, the counter get incremented,similarly, if the sensor S2 is active and then the sensor S1, it gets
Microcontrollers :: 17.07.2012 20:48 :: 105adarsh :: Replies: 23 :: Views: 1167
Using
pic18f4520, PORTA for the key encoder,
coded for keypad only. Guys please help
#include
#include
void main()
{
int keyInputs;
char keypress;
ADCON1=0X0f;
TRISA=0b11111111
while(1)
{
if(PORTAbits.RA4==1)
{
keyInputs = PORTA & 0x0f;
switch(keyInputs)
{
case 0: keypress ='1';
Microcontrollers :: 19.07.2012 12:55 :: caramelz :: Replies: 2 :: Views: 188
Hi,
Im currently doing my school project. My task is to read the battery voltage and to display on lcd in percentage.
I'm using P18f4520 ADC AN0 channel to get the voltage from the batteries. And I'm using 4 LifePO4 batteries connected in series.
Total voltage of the batteries is about approx. 14.5V. Min V is 2.5V, and Max V is 3.7V.
I
Microcontrollers :: 07.08.2012 10:43 :: applecrepe :: Replies: 5 :: Views: 330
Hi,
I am new in micro-controller i need to know how can i program the PIC so that it can read the input from the barcode reader and decode the information onto the lcd screen. For example, Item: Apple Price: $3
I am using ICD2 and PICDEM 2 PLUS DEMO BOARD.
Appreciative your help, Thank You.
Clark.
Microcontrollers :: 10.10.2012 21:33 :: clarkO :: Replies: 11 :: Views: 175
my maximum voltage range is 440mv and min will be 1 or 0 mv.i want to display 99% if my voltage range is 440mv else 1% for 1mv.i want to display it in lcd using pic18f4520 and i got my input from pulse oximetry sensor.please send me the coding
Microcontrollers :: 01.12.2012 05:12 :: sudhag :: Replies: 1 :: Views: 157
Am using AN0 pin to read a voltage from external source but in lcd it is showing always 4.99v which is my vdd voltage and when am connecting AN0 to ground it shows 0v,itz not showing external supply voltage what to do to read the external voltage?
Microcontrollers :: 01.12.2012 07:20 :: srjth.m1 :: Replies: 13 :: Views: 298
83958
thanks for the link
- - - Updated - - -
83960
this is the pic18f4520 im using.
83961
This is the thermal sensor for my project.
83963
and this is the lcd im using..
Microcontrollers :: 05.12.2012 07:41 :: InNeedOfHelp :: Replies: 123 :: Views: 2154
Check the datasheet of pic18f4520 and PIC18F452.
what is I2C?
Microcontrollers :: 07.12.2012 08:56 :: jayanth.devarayanadurga :: Replies: 11 :: Views: 259
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
Microcontrollers :: 09.12.2012 14:02 :: roselin :: Replies: 0 :: Views: 93