Temperature using LM35 and wind direction using 3 optointerrupters with a 16F873A PIC


Results 1 to 11 of 11

Threaded View

  1. #1
    Join Date
    May 2007
    Posts
    3

    Talking Temperature using LM35 and wind direction using 3 optointerrupters with a 16F873A PIC

    Hi!

    First of all I'm a newbie on all this pic programming, This thread it's cos I need some help with coding on pic basic, I'm gonna make a little explanation about my project hope anyone can help me.

    I gotta make a code that senses temperature using a LM35 temperature sensor, and the optointerrupters have to read the wind direction for example im gonna use 3 kind of discs colored with many positions, and each one of the sensors is gonna sense light in many positions, each one of them is gonna represent 3 different truth tables, and this ones are gonna show many wind directions has north , south , west and many others.

    disk1|disk2|disk3|decimalnumber|direction
    0 0 0 0 NORTHEAST
    0 0 1 1 NORTH
    0 1 0 2 WEST
    0 1 1 3 NORTHWEST
    1 0 0 4 EAST
    1 0 1 5 SOUTHEAST
    1 1 0 6 SOUTHWEST
    1 1 1 7 SOUTH

    I'm using a PIC 16F873A and a max232

    This has to be send using to a computer via serial port, I'm seriously in need, i know there's experienced people around please help with this coding, or at least give me some clues where to start.

    Have to say after all this im gonna send all the data to a program in VB that shows all the data taken from the sensors , im very skilled doing .net and java programming, but i never programmed pics before, i already have a pic programmer, please help!
    Last edited by gerardobe; - 21st May 2007 at 09:38.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts