2Chx3dof Magnetrometer supported M-Series Random Sequence Generator Servo Control

Dependencies:   mbed

Sampling Frequency

Sampling Frequency in main.cpp

#define SampleFreq     200   // [Hz]

Auto Stop Setting

Auto-stop Timer 15sec after

    // auto-stop when 15sec after
    if(smpl_cnt>3000){stop_dump();}

The number of 3000 means Sample Count. The number is given by SampleFreq[Hz] * Auto-Stop Time [sec].

M-Series Random Sequence

M-series Random Update Term in main.cpp

// M-series update flag
#define  M_TERM  200;

Unit is sample count.

cf.) 200 equals to 200 [samples] which equals to 1 [second] where SampleFreq = 200 [Hz}.

See above.

M-Series Random Servo Control

History

e MPU-9250-MagSensServo tip

2021-02-10, by mfurukawa [Wed, 10 Feb 2021 21:59:00 +0000] rev 11

e


KRS2572HV supported; 180 deg rotation; MPU-9250-MagSensServo

2021-02-03, by mfurukawa [Wed, 03 Feb 2021 06:01:27 +0000] rev 10

KRS2572HV supported; 180 deg rotation;


Finished MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 17:24:02 +0000] rev 9

Finished


M-Sequence register(16), tap(4), Maximum-Length Validated MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 17:12:57 +0000] rev 8

M-Sequence register(16), tap(4), Maximum-Length Validated


TEXT Dump 200Hz Stable MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 15:44:38 +0000] rev 7

TEXT Dump 200Hz Stable


stable commit; MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 15:39:02 +0000] rev 6

stable commit;


ASCII output finished MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 15:04:04 +0000] rev 5

ASCII output finished


LED_flash notice method added MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 14:29:33 +0000] rev 4

LED_flash notice method added


init_sensor func added; MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 14:28:36 +0000] rev 3

init_sensor func added;


M-Series Servo Works MPU-9250-MagSensServo

2021-02-02, by mfurukawa [Tue, 02 Feb 2021 13:46:13 +0000] rev 2

M-Series Servo Works