Instruction Time

Started by Paul in Piclist13 years ago 12 replies

Hi. I am after a clear answer cause i'm trying the PIC Datasheets and its giving me a headache! What i would like to know is, say my...

Hi. I am after a clear answer cause i'm trying the PIC Datasheets and its giving me a headache! What i would like to know is, say my PIC16F877 is running on a 4MHz clock, how long does it take for example to turn a bit on? If i did this: bsf LED bcf LED How long would the LED be on for? 1us? I have read that most instructions take 1 cycle, which do not? I'm guessing Goto and Call? Hop


Serial Network

Started by rooster_0429 in Piclist13 years ago 3 replies

I am trying to connect several PIC16F877 chips together across a serial bus. One will be the master the others will be slaves. To test ...

I am trying to connect several PIC16F877 chips together across a serial bus. One will be the master the others will be slaves. To test the concept I have hooked two mark III boards together. One writes to the serial port an occasional letter to trigger an event the other polls and reads from the port to listen for that trigger. Each one when used with the Bo


Query

Started by Arun in Piclist14 years ago

Hi all I am a new entrant into this group. I am a Masters student in Switzerland. I am working on a project titled...

Hi all I am a new entrant into this group. I am a Masters student in Switzerland. I am working on a project titled "Solar GPS receiver". I am using a GPS proto board for the same. It has a PIC16F877 on board. I have some experience worki


HELP: LCD-PIC and Delays (TMRO)

Started by ed_mdiaz in Piclist16 years ago 2 replies

hi! any sample program for interface LCD(alphanumeric dot matrix) to PIC and programs related with delays, using PIC16F877 and ...

hi! any sample program for interface LCD(alphanumeric dot matrix) to PIC and programs related with delays, using PIC16F877 and PIC16F84... tnx! eD


PIC16 ok with Tait, PIC18 not

Started by Karlo Campos in Piclist15 years ago

Had the programmer working already. However, it can't program the PIC18's (PIC18F448 & 458). It did good with PIC16F877. I used...

Had the programmer working already. However, it can't program the PIC18's (PIC18F448 & 458). It did good with PIC16F877. I used Tait's Classic Programmer and IC Prog as the software with IO drivers in WinXP (did some tweaking though). I tried reading a correctly-programmed


[PIC]: 12F675 interrupt on change, a lost sunday...

Started by Vasile Surducan in Piclist15 years ago 3 replies

Hi groups ! I have spend a whole sunday trying to understand why interrupt of change are not working for me. I have played...

Hi groups ! I have spend a whole sunday trying to understand why interrupt of change are not working for me. I have played with those on PIC16F877 and works ok there. According to DS41190A datasheet, using interrupt of change means: In the main program: - en


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


Cant return from interrupt (PIC16F877)

Started by farroos in Piclist15 years ago 3 replies

I have this small program that is supposed to do some routines when a USART recieve inturrept happens. I does the routines but...

I have this small program that is supposed to do some routines when a USART recieve inturrept happens. I does the routines but it doesnt return from inturrept to Main. I have attached a copy of the assemply code. Dont worry about the rotines, I'm sure they work. I dont know


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.


IC-Prog problem with internal oscillator setting

Started by a_drunken_dwarf in Piclist15 years ago 2 replies

Hi, I'm using IC-Prog to download a 'blink' hex file (supposed to make led's blink) to my PIC16f877. I've done successful downloads...

Hi, I'm using IC-Prog to download a 'blink' hex file (supposed to make led's blink) to my PIC16f877. I've done successful downloads to the PIC before (it's 'verfied' the code after it sent it to the PIC). However, the PIC doesn't flash LEDs after the program is sent to it. I'm no


Infrared Communications using PIC

Started by kalyanramuv in Piclist15 years ago 5 replies

Hi all, I am working Infrared Communications between two Pic's. I am new to PIC. Can anybody help me with the driver for...

Hi all, I am working Infrared Communications between two Pic's. I am new to PIC. Can anybody help me with the driver for MCP 2155 in assembly level program using PIC16F877. I would be very thankful to you. Any help on using MCP 2155 code using


usart PIC16F877

Started by fish_camera in Piclist12 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? ...


Need help with PIC16F877 USART

Started by farroos in Piclist16 years ago 2 replies

Hi again, I wrote this small program to test PIC's USART (Synchronous Slave reception). The program gives port A the value...

Hi again, I wrote this small program to test PIC's USART (Synchronous Slave reception). The program gives port A the value 1010 1010 and port B the value 0000 0000. But when an interrupt happens (enterrupt happens when the data starts comming in the DT line, pin 26) the val


ISO low voltage barometric pressure sensor.

Started by schnauzerguy in Piclist15 years ago

Hello. looking for information on a pcb mountable barometric pressure sensor that can run off of 3.0 to 3.3V. Seems like all the...

Hello. looking for information on a pcb mountable barometric pressure sensor that can run off of 3.0 to 3.3V. Seems like all the Motorola sensors run on a nomimal 5.0V. Anyone out there know of a sensor? I am planning on connecting to a PIC16F877 (low voltage version)


i2c master mode and i2c firmware controlled master mode

Started by wantoniet in Piclist14 years ago 3 replies

I need explanations to understand the meaning of this. PIC16f877 has a register SSPCON and the four LSB are the configuration...

I need explanations to understand the meaning of this. PIC16f877 has a register SSPCON and the four LSB are the configuration I2C. If are '1000' means i2c master mode but if are '1011' are i2c firmware controlled master mode. What is the diference btw them? In the tru


A/D Special event trigger

Started by kalyanramu vemishetty in Piclist14 years ago 2 replies

Hi all, In PIC18f452/ PIC16f877, there is "Special Event Trigger " for A/D conversion. Did anybody ever use this special event...

Hi all, In PIC18f452/ PIC16f877, there is "Special Event Trigger " for A/D conversion. Did anybody ever use this special event trigger. I am using PIC-C and working with special event trigger. But so far I didn't have success with it. I couldn't make it work with interrupts


A/D interrupt

Started by kalyanramu vemishetty in Piclist14 years ago

Hi all,   In PIC18f452/ PIC16f877, there is "Special Event Trigger " for A/D conversion.   Did anybody ever use this...

Hi all,   In PIC18f452/ PIC16f877, there is "Special Event Trigger " for A/D conversion.   Did anybody ever use this special event trigger.   I am using PIC-C and working with special event trigger. But so far I didn't have su


time stamp

Started by Vibha Ravindran in Piclist15 years ago

Hi!   I am using PIC16F877 and am programming in assembly. I was wondering if there a

Hi!   I am using PIC16F877 and am programming in assembly. I was wondering if there a


Pic Basic Pro

Started by JCullins in Piclist12 years ago

Has anyone used the PIC18f4220 with Pic Basic Pro I have tried to program it and got the code error 0008   40...

Has anyone used the PIC18f4220 with Pic Basic Pro I have tried to program it and got the code error 0008   40 DIP with 40 pin ZIF adapter used with the PIC16f877 chip.