PORT issue: 16F877

Started by steffqf in Piclist15 years ago 3 replies

Hi All: A mysterious couple of lines in some .asm code with which I am working write a value to PORTD, even though PORTD is not...

Hi All: A mysterious couple of lines in some .asm code with which I am working write a value to PORTD, even though PORTD is not connected to anything and in both cases in which it occurs the value that is written to PORTD is never retrieved. The code is part of a M'chip app


synchronous (SPI) examples?

Started by greerde in Piclist15 years ago

Does anyone have any examples using the PICs SPI? Specifically I am using a 16f877 and will be using an external clock (so i'll be...

Does anyone have any examples using the PICs SPI? Specifically I am using a 16f877 and will be using an external clock (so i'll be in slave mode), but any examples (in asm or picbasic) would be good. I have no problem outputing sync. data, but I am having all kinds of prob


16F877 AD conversion problems

Started by Vecheslav Silagadze in Piclist15 years ago 2 replies

My problems with the PIC haven't stopped coming... I'm trying to do a simple A/D conversion and am getting results that are...

My problems with the PIC haven't stopped coming... I'm trying to do a simple A/D conversion and am getting results that are quite frankly bizzare... here's the code: CONVERT CLRF LOOPRG3 MOVLW b'10101001' MOVWF ADCON0 ; select RE0 for A/D DELAY


Futurlec poor customer service

Started by Steve in Piclist15 years ago

The saga continues... I bought the inexpensive 16F877 development board from Futurlec.com. I paid them for faster shipping, they...

The saga continues... I bought the inexpensive 16F877 development board from Futurlec.com. I paid them for faster shipping, they didn't even mail it until almost a week later after I emailed for a status. In addition to this, they inexplicably added a small amount, 38 cents, to the t


TereTerm Question

Started by stdf23173 in Piclist15 years ago 6 replies

Hi All, I want to communicate with a 16F877 via RS232. The program i use for it is TeraTerm. To make "nice" menus i'd like to...

Hi All, I want to communicate with a 16F877 via RS232. The program i use for it is TeraTerm. To make "nice" menus i'd like to clear the screen and etc.... (cursor back, clear line, clear screen and etc ) Any one has experience with that ? gr


Maximum serial lines

Started by George Shaw in Piclist15 years ago

What is the maximum number of output lines you could have that would be outputting RS232 data streams (not Rx) on a say 16F877 ? ...

What is the maximum number of output lines you could have that would be outputting RS232 data streams (not Rx) on a say 16F877 ? These would be sent to a RS232 line driver. Each RS232 stream would be required to send a single ASCII code for 1A, 1B, 2A, 2B, etc up


16F877 schmitt trigered inputs

Started by Phil in Piclist15 years ago 8 replies

are these pulled up internally? The data sheet is silent on this point and Horowitz and Hill imply that schmitt trigger inputs ...

are these pulled up internally? The data sheet is silent on this point and Horowitz and Hill imply that schmitt trigger inputs aren't. Yet I'm seeing an oddness interfacing a switch that makes me wonder if they are indeed pulled high. Phil


BASIC compiler...

Started by clayforge in Piclist15 years ago 3 replies

Ok, which BASIC compiler program do people find to be "the best"? By best, I am shooting for ease of use, quality of code produced,...

Ok, which BASIC compiler program do people find to be "the best"? By best, I am shooting for ease of use, quality of code produced, and value for the dollar. I mainly want to program 16f84 and 16f877 chips, but would like to have the option to be able to use a variety o


what does the A in 16F877A means?

Started by mr_gees100_peas in Piclist13 years ago 6 replies

Hi, For a while now I've been wondering what does the A in 16F877A means? I mean what is the difference between a 16F877 and a 16F877A? ...

Hi, For a while now I've been wondering what does the A in 16F877A means? I mean what is the difference between a 16F877 and a 16F877A? My other question is what is a bootloader?


16F877 problem

Started by Gokce Mehmet AY in Piclist14 years ago 3 replies

I use a simple startup routine, where a command is send via RS232 to start the firmware. I simulated my code in ISIS 5.2 and...

I use a simple startup routine, where a command is send via RS232 to start the firmware. I simulated my code in ISIS 5.2 and MPLAB SIM packed with MPLAB IDE 6.2 and it seems that there is no problem. However when I write the code to PIC it just don't work. Program does


balancing robot

Started by haqmaq in Piclist12 years ago

Hi, I've recently completed a balancing robot which utilizes a pic 16f877 as its processor. A couple videos can be seen on my ftp server. ...

Hi, I've recently completed a balancing robot which utilizes a pic 16f877 as its processor. A couple videos can be seen on my ftp server. Its located at: 129.21.251.157 Use username: oopic and password: balbot Iheanyi ------------------------ Yahoo! Groups Sponsor --------------------~--> =20 Everything you need is one=A0click away.=A0 Make Yahoo! your home page=A0no= w. http


16f877 delays...

Started by German Enred in Piclist15 years ago

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

Hi: I'm working on delays subroutines in my prog. Can someone verify if this delays "concepts" are OK? The sample file is delay.txt Thanxs.. Germ?n Hern?ndez C. ;De


20Mhz oscillator and 16f877

Started by xeemv in Piclist15 years ago 4 replies

I have trouble getting the 20 Mhz oscillator to work with 16f877A Oscillator: Saronix 9942k 20.0000 Mhz NCH060C This is what I...

I have trouble getting the 20 Mhz oscillator to work with 16f877A Oscillator: Saronix 9942k 20.0000 Mhz NCH060C This is what I have done so far: 1) I connect the 20 Mhz oscillator to the OSC1 of the PIC and leave the OSC2 open. 2) I define my oscillator speed as


16f877 cant use ICSP

Started by Anonymous in Piclist14 years ago 13 replies

I have built an ICSP programmer that has worked fine fro my 16f84a both onthe board and in their circuits. But now i picked up...

I have built an ICSP programmer that has worked fine fro my 16f84a both onthe board and in their circuits. But now i picked up some 877's and 16f88's. both support HVP and LVP. In the doc's it states HVP is active all the time and works with standard HVP programmers. I


Sunshine power-100 pic16f877

Started by arjanmeameijer in Piclist15 years ago

Hello, I begon working with the pic on school recently. The problems is we only have an Sunshine Power-100 programmer with...

Hello, I begon working with the pic on school recently. The problems is we only have an Sunshine Power-100 programmer with supports a lot of mocropic's but not the 16f877. Is the some kind of third party driver to make it work??? Gr. Arjan Meijer


16f877 usart

Started by German Enred in Piclist15 years ago

Hi: I'm making a program. it work across the UART (asyncronus mode), i need this write the 56 registers of n ASIC IC, then...

Hi: I'm making a program. it work across the UART (asyncronus mode), i need this write the 56 registers of n ASIC IC, then it can send a flow of bytes to RCIF, write address (PortD) and at the same time write the value of this address taked of RCIF to PORTB -config d


pic16f877-lcd

Started by syl_chris in Piclist15 years ago 1 reply

i need simple souce code can display 'hello' at lcd use 16f877,,,,urgent coz i dont know wat mistake of my source code,i cant...

i need simple souce code can display 'hello' at lcd use 16f877,,,,urgent coz i dont know wat mistake of my source code,i cant display any words.....urgent...i need ur help,thx.


Re: 'Tiny' Bootloader

Started by edua...@gmail.com in Piclist10 years ago

Hi, I'm having big trouble getting the tiny bootloader to work on my 16F877. The original one isn't ready for the pic16f877 or the pic16f877A....

Hi, I'm having big trouble getting the tiny bootloader to work on my 16F877. The original one isn't ready for the pic16f877 or the pic16f877A. And I haven't managed to modify the ASM in a way that it works on it. Could you please send me the modified ASM for the PIC16F877 and the PIC16f877A?. > > > > --- In , "John Kent" wrote: > > Has anyone any experience in us


Hi 16F877 USART

Started by Anonymous in Piclist15 years ago

Hi: I'm making a program. it work across the UART (asyncronus mode), i need this write the 56 registers of n ASIC IC, then it...

Hi: I'm making a program. it work across the UART (asyncronus mode), i need this write the 56 registers of n ASIC IC, then it can send a flow of bytes to RCIF, write address (PortD) and at the same time write the value of this address taked of RCIF to PORTB -config data-(in or


MPASMWIN messages

Started by stdf23173 in Piclist15 years ago 1 reply

I assembled with mpasmwin from MPLAB 6.3 a piece of code. It seems to be ok but i get a lot of messages like the 302. Can i...

I assembled with mpasmwin from MPLAB 6.3 a piece of code. It seems to be ok but i get a lot of messages like the 302. Can i safely ignore those ? Message[302] E:\PROJECTS\16F877\MAIN.ASM 60 : Register in operand not in bank 0. Ensure that bank bits are correct.