Read RS232 data using PIC16F

Discussion in 'Electronics Resources' started by kirankumar.t2, Feb 9, 2014.

  1. kirankumar.t2

    Thread Starter New Member

    Jul 21, 2010
    Hi All,

    I am new to this micro-controller world, I want to make one PIC project, please guide and support me to make this project. I am using 16F877A PIC to read RS232 data.

    For every 5s PIC should read the RS232 data, RS232 data formate is shown as below.

    Data time voltage current
    12-12-2014 01:22:45 10.00V 1.05A
    12-12-2014 01:22:46 10.50V 1.05A

    for this project i am only interested to read voltage and current, if any one of these data crosses the threshold limit, i should get some indication by making any one port as high.

    i am using mikroC PRO for programming, i need code for the above logic.

  2. spinnaker

    AAC Fanatic!

    Oct 29, 2009

    Ok first this should be in the embedded forum.

    The programming is your job. Do you expect for someone to do the whole project for you? Check the datasheet for serial communications. There are also a lot of articles on the internet.

    To start with you will need an interface for RS232. Look at the Max232. There are tons of circuits posted on the internet.

    Get stated and if you get stuck, post back with your specific question.
  3. spinnaker

    AAC Fanatic!

    Oct 29, 2009