vincentspm
Newbie level 6
anyone who know how to design a circuit and program code for angle measurement using PIC16F877A and output to LCD display.
the similar product pic as i attach.
the similar product pic as i attach.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Old Nick said:Use a high quality linear pot as the hinge, connect as a voltage divider. The voltage in the middle of the divider vill vary linearly with angle. Use the pic to measure the voltage, convert to an angle and then send to a 7 segment display or similar.
ByteToStr(number, bytestring)
WordToStr(number, wordstring)
LCD_OUT(1,1,bytestring)