Hello All,
I am working on STM32F051 microcontroller, I have assigned one pin as ADC and I am using an single axis industrial accelerometer to measure the vibration of a motor. I have here two questions:
Thanks,
Ashok
I am working on STM32F051 microcontroller, I have assigned one pin as ADC and I am using an single axis industrial accelerometer to measure the vibration of a motor. I have here two questions:
- when ever I am trying to look for the values of vibration of motor while debugging in keil. when ever there is a sudden release of energy while stopping or starting the motor, debugger is not working/ program suddenly stops. especially during the below marked red lines. Hw can I eliminate?
- The output from accelerometer is in mv i.e., 20 to 50mv. I need to connect this output to microcontroller ADC input. Is it better to clamp the signal or it is better to amplify the signal for a better result ?
Thanks,
Ashok