16f877 delay subroutines...

Started by German Enred in Piclist14 years ago

Hi: I'm working on delays subroutines in my prog. Can someone verify if this delays "concepts" are OK? ;Delay ;...

Hi: I'm working on delays subroutines in my prog. Can someone verify if this delays "concepts" are OK? ;Delay ; ***************************** Delay subroutine retardo movlw .158 ; - 1 (1 machine cycle) movwf cont1 ; | 1 ... buc_2 mov


need to use the timer

Started by R Ramesh in Piclist14 years ago 1 reply

hi i need to write a program to find the frequency . ( that may be about 1KHz). I never used any timer here before , Can u...

hi i need to write a program to find the frequency . ( that may be about 1KHz). I never used any timer here before , Can u anyone help me I need to do in 16F877 or 16F872 Thx Ramesh


Stuck with USB :S

Started by Anonymous in Piclist14 years ago 1 reply

Hi all, I'm searching for some way to USB with a PIC :S If someone knows how to interface the 16F628 or 16F877 with a USB ...

Hi all, I'm searching for some way to USB with a PIC :S If someone knows how to interface the 16F628 or 16F877 with a USB device this will be of great help... One thing to say, that I'm searching for making the PIC as a host not as a device, so that the pic respondsto a USB


usart PIC16F877

Started by fish_camera in Piclist11 years ago 4 replies

Attempting to troubleshoot problem with usart, asynchronous mode, for a school project. Two 16F877. Using the ICD-2 in circuit debugger. We...

Attempting to troubleshoot problem with usart, asynchronous mode, for a school project. Two 16F877. Using the ICD-2 in circuit debugger. We believe our transmit chip is working but we can't get receive to function correctly. We know interupts will not work while Single stepping in debug mode, but in animate mode interupts should function, correct? How close do the clocks have to be? ...


volt meter

Started by gardown in Piclist14 years ago 4 replies

I wont to make a volt meter with my 16F877 I can do the programing but I dont know how to wire it up. I think I just need to put...

I wont to make a volt meter with my 16F877 I can do the programing but I dont know how to wire it up. I think I just need to put a resister in line the voltage will be between 0 to 20v can some help please.


16F877 RA4 pin read problem

Started by jasujonas in Piclist14 years ago 7 replies

Hello, I use PORTA as digital outputs, but in some situations I need to read current value on PORTA register, but allways get...

Hello, I use PORTA as digital outputs, but in some situations I need to read current value on PORTA register, but allways get RA4 as 0 (even when RA4 is written 1). Other bits, except RA4 is read correctly. Can someone tell me where is the problem? Many thanks,


Started by usama mourad in Piclist13 years ago 2 replies

Hi i made a program for pic 16F877 by sourceboost compiler from www.picant.com  but i don't get the correct response i expect....

Hi i made a program for pic 16F877 by sourceboost compiler from www.picant.com  but i don't get the correct response i expect. i'll be very thankfull if anyone know the reson and tell me.


Shane Tolmie's bootloader problem!

Started by ogarianoxman in Piclist15 years ago

My problems with Shane Tolmie's bootloader v7-6. i am using a PIC 16F877 at 4MHz. I have incorporated a MAX232 with 4.7uF...

My problems with Shane Tolmie's bootloader v7-6. i am using a PIC 16F877 at 4MHz. I have incorporated a MAX232 with 4.7uF capacitors. to test that i have installed serial communication properly i loaded up the program "uart.bas" (from the software section of


External Clock!

Started by AMIT KAPOOR in Piclist14 years ago 8 replies

Hello everyone, i have one doubt.. i am using 16f877 and the timer function of it .. actually the timer overflows very fast...

Hello everyone, i have one doubt.. i am using 16f877 and the timer function of it .. actually the timer overflows very fast if i use the internal clock of pic( i mean the 10MHz crystal which is connected)... there is a option of using external clock and oscillator ... so i want to use


Hi-Tech init of PORTD on 16F877

Started by KM6VV in Piclist13 years ago 1 reply

Hi to the list! I'm having problems getting an LED display (4 digits) to work with a 20 Mhz 16F877A. New (to me) compiler, PIC C, 7.83...

Hi to the list! I'm having problems getting an LED display (4 digits) to work with a 20 Mhz 16F877A. New (to me) compiler, PIC C, 7.83 OLD compiler was CCS. The Display is common cathode, digits are selected with a ULN2003 driver from RB7, RB6, RC7, RC5 pins (which appear to work), and the segments are driven through 220 ohm resistors from PORTD.


Same cystal for Two Microcontroller

Started by R Ramesh in Piclist14 years ago 1 reply

Hi all   Can I use a Same clock ( 20MHz ) crystal for two Microcontroller ( 16F877, 16F872). When I tested it, it is...

Hi all   Can I use a Same clock ( 20MHz ) crystal for two Microcontroller ( 16F877, 16F872). When I tested it, it is working . But for a long will it give any problem ?   Have anyone using like this ?   Thanks


HPWM

Started by Anonymous in Piclist14 years ago 2 replies

Using a 16F877, I want to use PortC.2 for HPWM 1.  Does this have to be DEFINED or can I just write; HPWM 1, 130, 5000 ...

Using a 16F877, I want to use PortC.2 for HPWM 1.  Does this have to be DEFINED or can I just write; HPWM 1, 130, 5000 Sid


K149 programmer

Started by laughty g in Piclist15 years ago 3 replies

Hi, Recently I have just constructed a K149 programmer to program the 93LC46B serial eeprom. I have removed the USB portion. ...

Hi, Recently I have just constructed a K149 programmer to program the 93LC46B serial eeprom. I have removed the USB portion.   I have read on the website that this programmer is capable of programming 16F877 chip too. However, although my programmer board can be detec


Multiplexing PIC ADC

Started by Bakkal Adil in Piclist13 years ago 3 replies

It is possible to build a multiplexing circuitry for the PIC ADC? so we can have more channels than what a PIC have ( ex : 5 for...

It is possible to build a multiplexing circuitry for the PIC ADC? so we can have more channels than what a PIC have ( ex : 5 for 16F876 and 10 for 16F877 ). Speed is not a important point in this.   (no external interfaced ADCs please) _________________________


LCD Character shifting

Started by R Ramesh in Piclist14 years ago 2 replies

Hi all, Is there anybody encountr the problem on LCD display. I am using the LD display MDL(S) 20464 . and 16F877 When i...

Hi all, Is there anybody encountr the problem on LCD display. I am using the LD display MDL(S) 20464 . and 16F877 When i on the system after some hours my character on the Display slightly moves right to left one by one slowly then the whole the diplsy suddenly disappears.


I don't programming that 18F458 and 12F675

Started by cnt in Piclist15 years ago 7 replies

Hello, I've a problem with my programmer! I'm using a jdm programmer and ic-prog v1.05A. I can programming 16F84 and 16F877 without any...

Hello, I've a problem with my programmer! I'm using a jdm programmer and ic-prog v1.05A. I can programming 16F84 and 16F877 without any problem. I try to programming 18F458 and 12F675 but I don't programming them :( could you tell me what I am doing now? thanks for your advices sory for my english CNT TEK.


Assembler code for a simple chronometer using an LCD display

Started by ottoniel_ojeda in Piclist9 years ago

Greetings guys... I'm looking for a already made code to build a basic chronometer to (.99 seconds scale) to make use of a 16x2 LCD display...

Greetings guys... I'm looking for a already made code to build a basic chronometer to (.99 seconds scale) to make use of a 16x2 LCD display using only assembler.. The processor will be a 16f877 and a 4Mhz clock , the idea is to build over that code more functions like alarm , date , and AM/PM 24H display. Thanks in advance for any help.. Otto ------------------------------------...


CAN bus with MicroController

Started by R Ramesh in Piclist13 years ago 2 replies

Hi all,   Now I am trying to use CAN  bus with 16F877 IC, if anybody used CAN bus with micrcontroller , can please send...

Hi all,   Now I am trying to use CAN  bus with 16F877 IC, if anybody used CAN bus with micrcontroller , can please send some CAN bus details,   Thanks Ramesh __________________________________________________


Re: 16F877 Table Lookup

Started by Bill Davis in Piclist15 years ago

Richard, I think you've sent this message to me by mistake. I think it was meant for someone else.  I down loaded the...

Richard, I think you've sent this message to me by mistake. I think it was meant for someone else.  I down loaded the later version of MPLAB and did programmed socope.asm on the 16f819 chip,


PIC 16F877 Development Board

Started by rtstofer in Piclist15 years ago 38 replies

A while back there was a discussion on the best way to get started with PICs. The development board from ...

A while back there was a discussion on the best way to get started with PICs. The development board from http://www.futurlec.com/PICDevBoard.html was mentioned so I bought one. This is a great board! It has: