Search Engine

pic16f877a Keypad

Add Question

1000 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. 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.
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
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
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, 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.
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 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.
Hello Guys, I need help regarding Interfacing 128x64 Graphic Display and 3x4 keypad with pic16f877a i Have designed it as 98003 here i have connected keypad to port B and LCD to port C and port D. using the below Code //this is KBD.c #byte kbd = 6 // on to port B (at address 6)
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, 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){
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.
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, 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.
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
Hi, i am new to PIC programming. I am doing a small project on "toll collection system" using pic16f877a and Hi Tech C compiler. I have think of the codes in the normal C language but does not know how to convert it into the Hi Tech C compiler language. I have also no idea on how to start writing the program. Can anyone help me please? Than
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?
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
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. (...)
I want to implement a circuit made by a pic16f877a which is interfaced to 10 push buttons ;when one button is pressed the others can not be activated. and each push button correspond to a digits which is displayed on the 7segment display. So this button correspond to each number which is displayed on the 7segment. How can I proceed,I am prop
Hello everybody,I would like to take measurements of voltage of 0.005V using pic16f877a in ccs c compiler,how can I proceed for reading that very small voltage I am using the attached circuits for push buttons implementation;so can you plz help me to think on this?I am suing the special buttons which are not reacting when I use the ordinary push bu
Hello everyone. Would like to ask some question here. Currently I am doing a project that PIC will detect key pressed by keypad and show it on a 7-segment. The PIC will output 4 bit BCD to drive the 7-segment by CD4511. There is no problem to show number on 7-segment. But problem do occurred when I testing keypad circuit. I have attached two dif
Hi, I need to design a 4x4 keypad matrix that will be placed behind a solid aluminium face-plate on an instrument - keys activated by touch. Do anybody know where I can start? I have seen this on some instruments, so it is certainly do-able. Regards
hello does someone out there can give some links or something about the routine of a matrix 4*4 keypad (im working in expanded mode) thx in advance
Multiplex LED Drive ,4x4 keypad sampling