Search Engine

pic16f877a Keypad

Add Question

74 Threads found on pic16f877a Keypad
hello everyone.. I'm trying to interface a 4x4 matrix keypad to 16f877a.. the following code written in hi tech c is not working.. the program is printing characters of the array randomly without a keypress.. please help.. i'm using mplab 8.85.. using lcd 16x2.. NOTE: if I change the value of TRISC to 0x00, the code works fine.. but then i'm not
hello there i just want to seek help how to make a password database to be written in eeprom of pic16f877. in our project we need at least ten members and have a password each. its a 6-digit password and can be modified. pls help im a newbie in pic. thanks
Dear all, ?C:pic16f877a compiler:PCW C compiler keypad:4 x 4 language: PIC C (c programming) Do anyone have the sample code on how to program the keypad? How to read the input from keypad? Thanks.may u all be well and happy
hey, anybody here who can help me build a schematic design in interfacing an Analog IC AD9850 to a pic16f877a.. I really am having difficulties on the biasing/connecting the AD9850 as well as other components that the AD9850 might need to function properly.. I'm a newbie in this hobby.. I'm planning to build a signal generator with the AD9850 c
Just any 40-pins mcu, pic16f877a will do. All these may not be perfect solution. Like, a parallel to serial interface may also do the job, but I am not sure if that is alright for a scanning keypad arrangement. Wait for more feedback from other experts reading this Forum, maybe. John
Hello all, I would like suggestions/advices/tips for making a gamepad with pic16f877a controller. I am planning to have atleast 20 buttons and 2 or 4 potentiometers(Joystick) for the gamepad with USB interface. So, Can anyone tell me is this is possible with pic16f877a. Secondly, Where can I find information about writing an USB interface for
for pic16f877a. Help me with the coding please
hey guys... currently im doing my project to invent a "Miniature digital pin number lock" using pic16f877a which consist of 4x4 keypad and 2x16 LCD as well as a Servo Motor to act as a lock... I really need someone to help me in programming according to the flow chart below as I dont know how to start.... Im using Mikro C Compiler... Hope som
sorry.... I'm use the pic16f877a as my project. The problem i was faced is i can't get the value through the LCD (HD44780) when press the keypad (4x3). So, any one have mickroC coding for me as a refrence or trying.... Thanks...... Regards Kevin
you can; pic16f877a has some EEPROM you can store your data even when power is removed. There are a lot of techniques how to connect a keypad to a 877. you may look at the microchip homepage for some circuit connections
I have a question for all the brilliant minds of EDA board: How can I interface a 4x4 keypad with a pic16f877a? Oh, and I'm using CCS compiler. Thanks :D
Hi ,i have interfaced keypad,encoder mm74c922,lcd jhd162a and pic16f877a to display the key pressed. I am connecting keypad encoder to PIC. I am using mplab ide.and hitechc c compiler. My program is as below.I am using Proteus software for simulation.there is no error while building but it doesn't display the key pressed . I have (...)
hi , any one can help me to provide me a schematics with interfacing pic16f877a with keypad to control my design of alarm car system , also to provide me a code represent this design . thnk u very much
hi, I am interfacing the keypad on a single port using B0-B7. I am having problem with the key detection.. kindly help. int keypad(){ int i; int key=0; output_B(0x01); // Start with column 1 while((input_B() & 0xF0) == 0){ // While no key pressed output_B(input_B() << 1); // next column key++; // column number if(key==4){
i am using pic16f877a, 20 mhz oscillator, mikroCPRO for PIC - compiler, 2x16 LCD, 4x4 keypad and a USB pic PLUS programmer. the main menu is displayed on the LCd screen initialy. when the user presses the key using keypad, it should display the sub menu and again it must get the user input and ask for the quantity required. after pressing (...)
hi , I wrote this code to display a pressed key (1-16) on LCD but when i press a key it make all the screen full of this character ? char t; unsigned i; void main(){ TRISD=0x00; Lcd_Config(&PORTD,2,3,0,7,6,5,4); keypad_Init(&PORTB); while(1){ while(keypad_Read()==0){
Dear friend, Actually pic16f877a has 4 ports. You can use portd for lcd,portb for keypad and portc for RF.Use porta for sensors. I am not familir with your language, so try yourself I will sufficient logic for u.
Dear friend, Below program is for 4*1 keypad reading. list p=pic16f877a #include"" cblock 0x20 r0,r1 endc org00 goto main org 04h retfie main bsf status,5 bcf status,6 movlw 0xf0 movwf trisb movlw 0x00 movwf trisc bcf status,5 bsf portb,0 top btfsc portb,4 goto l1 btfsc portb,5 goto l2 btfsc portb,6 goto l3 b
Please help me by sending a 3x4 keypad programming for pic 16f877a and the key pressed will be displayed on the LCD. keypad is connected to port d and LCD to port b.
hello every one! can some body help me : i am using a keypad with lcd display in pic16f877a. i wanted to store the values of keypressed into an array. can anyone tell me the exact way and syntex. thanks in advance.
hello everybody am trying to connect LCD and keypad to pic16f877a but after compile the code and connect the schematic in Proteus when i Press on the keypad no out put on the LCD i upload the micobasic program and the Proteus here
Hi, in my FYP for microcontroller, I proceeding a project about an RF interface with keypad as an Input,& LCD as output.(pic16f877a)my problem is i cant find any program that uses RF interface with keypad and LCD. How can i send data, using RF .. example.. enter a digit in keypad PIC1.. and then . send to another (...)
hi . .evry one. . please help me. .i need to know how to pogram a numpad/keyboard as an input of the microcontroler(pic16f877a) and i also want 2 know how to program it. . it goes like this. . if i press 1 the delay of my program will be 1 hr. . and if i press 2 . .2 hrs is the delay of the program. . the number that i pressed will also be displ
hi there, anyone could help me out in writing a C language code for a 3x4 keypad and a 16x2 lcd? the idea is writing a 10 integer number that could be display in an lcd, thus storing it into the microcontroller? i am still very new to PIC microcontroller thats y im gonna need some help ---------- Post added at 23:19 ------
Hi, i have started studying about pic16f877a!!:wink: I searched for books and e-books, but i couldn't get what i need..:-( I want the explanations with examples in C programming!! E-book!! When i searched, i found only 18f series book,:oops: but i am in need of 16f series and in particular, 16f877a...!! Thanks in advance!!
Thanks for the reply, Yes, I've already used mikroC to display text on LCD with pic16f877a. I have no idea about RTC chips but I'll try about it. Maybe you still have more ideas bro? Cheerz!
Hi, I am designing a digital temperature monitoring system using pic16f877a and sensor (PT100). I am required to measure and display the temp on a 16x2 LCD. I am using MPLab with Hi-Tech C-Compiler. I have a code but it does not seems to work. I need help on the codings.
Hi, I have a 4x3 keypad that i would like to connect to a pic16f877a. I understand that i have to use some pullup resistors connecting at the rows. I have seen different versions in the forum as to how to connect. I am connecting to Port C0-C6 of the PIC. I had already use 10kohms resistor connecting to the rows then directly to the PIC. Is this
Hi I have a problem. Is it possible to have 2 keypads from 1 PIC (pic16f877a). Simulating it on proteus doesn't work. Do you have any idea how to do this? my code does work, but in simulating it. The code does not work.
Description: A number is displayed on the LCD for 1 second, after that a user has to answer it by pressing the number on the keypad within 3 seconds interval. How do you implement this? waiting for an input with in a certain amount of time else I will display a "No answer" notification on the LCD. If the user answers it within the 3 s
I have thought that the for any one who wants to change password he should start with # following new six digits and finally old six digits to verify whether he is authinticated or not. So i only need to upgrade my code with that part of changing PIN and make it saved to EEPROM of pic16f877a.
anyone can help us in programming pic16f877a in fingerprintscanner using mikrobasic that will open the locker
I've connected a 4X1 keypad to pic16f877a and enabled the internal pullups. But the keypad refuses to work. If I make the keypad 4X3 or 4X4 it works without any problem. What might be the problem? Should I disable Comparators? If yes what is the Command to disable it, like CMCON = 0... Also want to set PORTB and PORTD as (...)
Hi! I need a 4x1 keypad scan code for pic16f877a. I have attached the schematic. 4x1 keypad is connected to portb Initial settings OPTION_REG.B7 = 0; // all pull-ups enabled TRISB = 0b00001111; I don't want to use the keypad library. I just need to scan the portb for 0b00001110, 0b00001101, etc... I want (...)
Hello guys, First off, I would like to point out that this is my first effort on PIC programming so pardon the possible amateur questions and unimportant details. I've been playing with the pic16f877a to create an interface for a vending machine. So any progress on my code can and was monitored using an lcd display+ keypad combo connected on th
printf( " the distance travelled is:); cannot be printed on lcd. It is more than one line. Do you want to use pic16f877a and 20X4 LCD? or do you want to use 40X4 LCD?
hello! can i please know how does the EEPROM of pic16f877a read and write? I am doing a project which involves saving passwords, so how many four character passwords can it save? Does a 4*4 keypad work with interrupts?
hi i m new to pic programming. i m doing my project using pic16877a,keypad and lcd , i want to make pic to update time continuously(timer0 interrupt) , so furthermore i m thinking to write data to eeprom.(i have read that there should be minimum 20ms delay between successive use of routines EEPROM_Write and EEPROM_Read) so if i add a delay to
hello. Im going a make a simple clock using pic16f877a ,keypad and lcd.There i have used timr0 interupt ,furthermore i would to like to set my microcontroller to sleep mode,when there is no user.Also I have read that internal oscillator will be turned off in sleep does that timer0 interrupt work in sleep mode ..... thanks.
i need 4x3 keypad with glcd interfaced with pic16f877a....anything i type should appear on glcd. i need its proteus design with .c and hex file please.
Have a look at this link:- This is for PIC18F4550 you can modify it for pic16f877a
Hello I am trying to write a program in MikroBasic which will allow me to input decimal numbers via a 3x3 keypad so as to use the result to modify some variable in the program, for e.g. counters. Can someone guide me through the process. Thank you.
Dear All I have made a simple calculator using pic16f877a in Mikroc. Now I want to improve it. I want to do operations on string instead of single single digit. Like 220*450, 556+778 etc. earlier its is just for single digit like 4+8, 9-4 etc. pls help me in this regard and Also I want to make functions of arithmetic operations. Do help me plz.
Hi i am trying keypad interfacing using pic16f877a,this code is giving a error,but this same is code working fine in 8051 with little modification of ports.Can any body figure it out what's the intention is to give four char password. unsigned char pass; #define c1 RA5; #define c2 RA6; #define c3 RA7; #define r1
I'm making a timer in which I can input time using keypad and the numbers I pressed should appear in the the LCD.. And when I press ( * ),the countdown will start..Also the countdown timer should appear in the LCD.. Please help me with's my code.. unsigned short kp; unsigned short cnt; int hour_ones,min_ones,min_tens; char
Hi friends i'm doing my final year project . i got struck here. I want to receive option(only two options) from uart and based on that i have to generate a random code and display in lcd.. and i have to get it from 4x3 keypad if it matches i want to enable a pin else another pin. Actually the rand() function generates random numbers of different si
Hi friends i want to know how to get a string of characters from keypad 4x3, like getting 4 numbers continuously pressed one by one, and storing in a variable.
I need help please i want to scan 4x3 keypad and display the pressed key on seven segment display. Required is c source code and proteus simulations. Your help please , this is my project.
This is an open letter to all member of this forum that i have designed a digital temperature monitoring system in which i can set two digits set point using a 4*3 keypad. My microcontroller is pic16f877a and LM35 sensor. I can not interface my keypad correctly. Could anybody help me by giving code in hi-tech c . It is very much need to me. (...)