how to program PIC 16F877A

Discussion in 'Embedded Systems and Microcontrollers' started by jptee, Dec 2, 2007.

  1. jptee

    Thread Starter New Member

    Dec 2, 2007
    5
    1
    Hi all,

    I need help in programming PIc 16F877A from Microchip. i will connect Rf transceiver to PIC. How could I determine wether there are signal received by PIC?
     
    nanu likes this.
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Placing your own post under another is hijacking, and we discourage the practice.

    If you are using a transceiver, it implies two-way communication. Is this the case?

    We have no information on the device doing the receiving, so there is no way to answer your question sensibly. We need more information.
     
  3. mgfr

    New Member

    Nov 28, 2006
    5
    0
    beenthere is right. what kind of RF transceiver do you use?
     
  4. jptee

    Thread Starter New Member

    Dec 2, 2007
    5
    1
    Thanks for reply.

    I using the walkie talkie transceiver board from Aztech. It is for two way communication.

    My project title is Wireless Transmitter-Detector for Mobile Object Tracking. The transmitter with GPS receiver module is attached to mobile object while the detector is held by user.

    For transmitter part, my PIC input will be RF transceiver and GPS receier module. The output is RF transceiver.

    For detector part, the PIC input are RF transceiver and LCD display. The output is RF transceiver.

    The GPS receiver module will consistenly send data into PIC and saved. When user request data, the RF transceiver will input signal to PIC. Then, PIC will output the data to RF transceiver at transmitter.

    Hope can get help. Thanks
     
  5. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    What does the data sheet for the tranceiver say about its signals? Does one change state on a received data frame? If so, use it to alert the PIC that there is a data input.
     
  6. jptee

    Thread Starter New Member

    Dec 2, 2007
    5
    1
    I dun hv any data sheet for transceiver board. It is a walkie-talkie transceiver board. I purchased the full set walkie-talkie from Aztech.
     
  7. jptee

    Thread Starter New Member

    Dec 2, 2007
    5
    1
    Can i test the signal transmitted and received by transceiver board through the following program at PIC?

    unsigned temp_res;

    void main(){
    PORTA = 0b00000000;
    PORTC = 0b00000000;
    ADCON1 = 0b00000100;
    TRISA = 0b00001111;
    TRISC = 0b00000000;

    do{
    temp_res = Adc_Read(1);
    PORTC = temp_res;
    }while (1);
    }

    I will connect my output to computer. But i not sure used wat software to see the signal.
     
  8. dishit_s

    New Member

    Jan 8, 2008
    2
    0
    Hi,jptee please let me know if u r facing problem in programming PIC or interfacing RF transceiver with PIC. As I have worked on PIC i will be able to help u if have any programming related problems.
     
  9. jan_ram

    New Member

    Jan 11, 2008
    2
    0
    hi all,

    I am using 16F877A PIC Microcontroller.. I have bought the microchip burning kit for programming it.. I dunno what software to use for burning my embedded C program.. Can anyone help me please..
     
  10. disney_snoopy

    Member

    Feb 19, 2009
    28
    0
    hi jptee,

    i look through ur code and i found that the PORT A and PORT C u declare as output...
    Izit there r no input???
     
Loading...