Measuring force with Arduino and Matlab
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a calibration problem with the following code. This code accesses an Arduino. The Arduino is in turn connected to a force sensor via an amplifier. The aim of the Matlab code is that when a known weight is placed on the force sensor, for example 3kg, the value is displayed in Matlab as 30 Newtons via the Arduino.
Matlab displays values between -1030 and -1020 as the zero point for the measurement. With Arduino, the values on the serial monitor for the zero point fluctuate between 267-269.
The aim is to set Matlab to zero and to display 30 newtons in Matlab when, for example, 3 kg is applied.
The following voltages were determined via Manuware when different weights were applied to the force sensor:
kg Volt
1 0,06
3 0,18
4 0,23
5 0,3
6 0,39
7 0,44
8 0,46
9 0,52
10 0,6
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!