A program to monitor some parameters for a motor

Dependencies:   mbed-dev BufferSerial

Thanks to David Lowe for https://developer.mbed.org/users/gregeric/code/Nucleo_Hello_Encoder/ which I adapted for the use of TIM2 32bit timer as an encoder reader on the Nucleo L432KC board.

Revisions of main.cpp

Revision Date Message Actions
15:8adff67fe707 2017-06-14 Create encoder counter based on index counting, update readData() with new parsing options, adjust speed computation to avoid interrupts, clean code. Quasi final version. File  Diff  Annotate
14:e5f5b345b2fe 2017-06-03 Correct ADC & DAC factors for DCPS load conditions, add table with these corrective additions File  Diff  Annotate
13:e08e3540c30b 2017-06-02 Calibrate DAC2 and ADC2 values File  Diff  Annotate
12:8c355d78e081 2017-06-02 Add relay on PB_5 and serial parsing for it File  Diff  Annotate
11:7a9837acbea0 2017-05-30 Fix speed conversion coefficient error (12.5 -> 125) File  Diff  Annotate
10:8862c8779b71 2017-05-30 Add encoder speed algorithm File  Diff  Annotate
9:4d736d29ce19 2017-05-27 Testing ADC with shunt File  Diff  Annotate
8:28ad0ba5a673 2017-05-19 Small improvements File  Diff  Annotate
7:7f59b69d8895 2017-05-18 Serial read implemented with interrupt (serial.attach() method) File  Diff  Annotate
6:5d4c09973041 2017-05-14 Preliminary encoder with 3 ADC inputs and one DAC output File  Diff  Annotate
5:29372f6cb533 2017-05-13 classical encoder implementation File  Diff  Annotate
4:4f115819171f 2017-05-13 Excluding the first 16 bit encoder, not needed File  Diff  Annotate
2:958e9094b198 2017-03-11 System ticker on Nucleo L432KC board changed from TIM2 to TIM7, so that one may use TIM2 for a 32bit encoder counter. File  Diff  Annotate
1:a611582bffa7 2017-03-08 TIM1 fixed File  Diff  Annotate
0:789510d98ade 2017-03-08 Adapting attempt to L432KC File  Diff  Annotate