28125 Parallax Inc, 28125 Datasheet - Page 338

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Once you’ve solved for m, you can plug m back into either of the two y = mx + b
equations you started with to get b.
So, the two equations for solving for m and b turn out to be:
Let’s plug our sample values from Table F-2 into the equations and see what the scale
factor (m) and offset constant (b) will be for the left photoresistor. First, calculate m:
Then, use m, y
y (
b
b
b
b
m
m
m
m
m
y
2
=
=
=
y (
=
=
=
=
=
2
=
y
7
215
. 6
y
y (
y (
y (
(
(
116
2
x (
x (
x (
159
1
mx
2
76
215
152
=
=
y
2,
2
2
2
2
2
2
1
2
mx
mx
mx
)
and x
=
+
(
=
x
y
x
y
x
y
. 1
2
1
. 1
b
2
1
56
36
1
1
1
1
m
1
+
+
37
37
)
)
)
)
)
)
x (
b
) b
)
)
2
×
2
to calculate b:
152
x
and
1
)
)
b
=
y
2
mx
2

Related parts for 28125