EmbeddedRelated.com
The 2024 Embedded Online Conference

PIC16F877 - AD7730 SPI Connection Problem

Started by Triontech Technology in Piclist19 years ago 1 reply

Hi,   I wonder if any of you guys could help me out a bit. I am trying to hook the PIC16F877 to AD7730 (ADC loadcell controller for...

Hi,   I wonder if any of you guys could help me out a bit. I am trying to hook the PIC16F877 to AD7730 (ADC loadcell controller for Analog Dev) thru SPI.   I set the AD7730 to work in continuous conversion mode, monitoring the RDY line once data has been updated.   I am having problem getting the PIC to


Thermometer + LCDisplay

Started by Eugene Lai in Piclist20 years ago 6 replies

i had constructed thermometer (which using PIC16f84) and LCDisplay (which using PIC16f877). Then how can combine together???? ...

i had constructed thermometer (which using PIC16f84) and LCDisplay (which using PIC16f877). Then how can combine together????


srf04

Started by sreenu_dindi in Piclist20 years ago 3 replies

Hi, I am trying to measure the distance using srf04. I am using ccs compiler. The pic16f877 is unable to recognize the echo.. ...

Hi, I am trying to measure the distance using srf04. I am using ccs compiler. The pic16f877 is unable to recognize the echo.. Though srfo4 is returning an echo, i had verified it with an OScilloscope. my program is main() { int echo_t


PLC vs PIC

Started by pondindustrial in Piclist19 years ago 35 replies

Hi all, I'm fairly new to PIC microcontrollers and have been experimenting for the last month or so with a PIC16F877. I...

Hi all, I'm fairly new to PIC microcontrollers and have been experimenting for the last month or so with a PIC16F877. I have an extensive background in PLC (ladder logic) and VB programming. Curious, what is the difference in a PLC and a PIC, seems the memory


Pic16f877->RS232->VB6

Started by onmyownja in Piclist19 years ago 2 replies

WANT TO KNOW IF YOU AR USING RS232 FOR INPUTING AND OUPUTING DATA VIA THE MSCOMM PORTS USING VISUAL BASIC , THE INPUT FROM...

WANT TO KNOW IF YOU AR USING RS232 FOR INPUTING AND OUPUTING DATA VIA THE MSCOMM PORTS USING VISUAL BASIC , THE INPUT FROM THE SESOR THROUGH THE MICROCONTROLLER TO THE RS232 WHAT FORM DOES VISUAL INTERPRET AS? MEANING DOES VB SEE ZEROS AND ONES OR CHARACTERS


Corrupted RTC Data

Started by pondindustrial in Piclist19 years ago 5 replies

Hi group, I recently placed a DS1307 RTC on a breadboard and wired it to a PIC16F877 and started reading data. I was...

Hi group, I recently placed a DS1307 RTC on a breadboard and wired it to a PIC16F877 and started reading data. I was displaying this data on a PC through serial, via VB. Every once in a while (couple of minutes) I would read a mess for the date and time, but ONLY for


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

Started by Vasile Surducan in Piclist21 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


IC-Prog problem with internal oscillator setting

Started by a_drunken_dwarf in Piclist20 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 Piclist20 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 Piclist17 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? ...


i2c master mode and i2c firmware controlled master mode

Started by wantoniet in Piclist20 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 Piclist19 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



The 2024 Embedded Online Conference