go_away

Author Topic: pic16f877a  (Read 1278 times)

0 Members and 1 Guest are viewing this topic.

Offline srdp45Topic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
pic16f877a
« on: March 29, 2011, 05:46:27 AM »
Hi, im new to pic and learning now. i want to write pic16f877a program, which takes input from c source code. the output from c code i have saved it in a file(output.txt). that file will be having two values, r and theta values.
my issue is i want to write pic16f877a program which takes this two values(r,theta) that is, it should receive and transfer values to and from microcontroller using rs232, respectively. please help me.

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 99
Re: pic16f877a
« Reply #1 on: March 29, 2011, 07:42:59 AM »
Start with downloading and installing MPLAB and the HiTech C compiler from Microchip (they are free).
http://www.microchip.com/
Also download the data sheet for the 16F877A and the Mid-Range Family Reference manual from Microchip.

Next go through this tutorial:
http://www.gooligum.com.au/tutorials.html

And do read the Help topics in MPLAB (they are good and contain much useful info).

Then download Microchip App Notes that cover the the parts of PICs you need to use. For example: AN774 is for doing Serial communication using the UART and has example code.

Lastly, do web searches (Google) to find other example code. There is lots out there since the 16F877A is a very popular PIC with hobbist.

 


Get Your Ad Here

data_list