fix typo
parent
ba8ee8489e
commit
d8d58bae2d
|
@ -6,7 +6,7 @@ This scale was simply around when the project started.
|
|||
|
||||
To connect the scale to the computer a Arduino Nano development board is used.
|
||||
The Atmel ATmega 328P micro-controller is integrated in the scale case.
|
||||
It reads the PWM signal, interprates the weight, and sends it on UART (over USB).
|
||||
It reads the PWM signal, interprets the weight, and sends it on UART (over USB).
|
||||
|
||||
The scale has a JP1 header on the board.
|
||||
Pin 1 is the one near the switch.
|
||||
|
@ -24,12 +24,12 @@ It's frequency is around 3 Hz (it's not exact).
|
|||
The high and low duty cycle encode the current weight measured.
|
||||
The high duty cycle decreases when the weight increases.
|
||||
The low duty cycle increases when the weight increases.
|
||||
The low duty cycly is linearly proprotional to the weight.
|
||||
The low duty cycle is linearly proportional to the weight.
|
||||
It still needs a minimum weight to start measuring correctly.
|
||||
The origin of this linear curve is not at 0.
|
||||
|
||||
The micro-controller code is written in C.
|
||||
It reads the state of the scale usinf pin 3.
|
||||
It reads the state of the scale using pin 3.
|
||||
It reads the weight on the scale using pin 5.
|
||||
By programming the curve parameters in the code it can calculate the weight.
|
||||
These parameters have been experimentally identify, using the measured values in `scale.ods`.
|
||||
|
|
Loading…
Reference in New Issue