- This topic has 2 replies, 2 voices, and was last updated 11 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Hi,
Currently i was using strip force sensing resistor and microcontroller 8051 board for my final year project. My problem is how to interface the strip force sensing resistor with 8051 ? Is this project difficult to program ? Thanks.
Hi,
Connet your sensor to an ADC and then interface the ADC to the 8051. Not that much difficult, you can find a lot of examples of interfacing ADC with 8051 from the web.
Hi,
The strip force is like normal resistor. It connect with LED then when press the strip the LED will light up. My strip force range is 10g-1kg. Now the problem is when i step on the strip, the LED still will light up. Below is my program:
ORG 0000H
MOV R1, #00000000B
TEST: ORL P3, #0FFH
JNB P3.0, CASE1
AJMP TEST
CASE1: MOV A, R1
MOV P1, A
XRL A, #00001111B
MOV P1, A
AJMP TEST
END