Hi,
I am a C# programmer new to dotnet micro computing, I have the sensor below working picking up the vibration event, problem is the sensor is too sensitive is there a way of reducing this sensitivity?
great,
we need to set different levels of vibration on different machines where this will be deployed, is this done through code or on the unit itself. If done by C# code do you have any examples of the code to use please?
It is very rare that you need to configure a sensor, so it’s almost always done in the code.If you are using the same accelerometer for all machines, you would read raw values and convert them to acceleration values. The sample code available depends on which microcontroller and accelerometer you choose. The FEZ domino should have examples as to how to use analog and digital pins; if you choose an analog accelerometer, then you would be reading the raw values via the analog pins.
Another alternative would be to use different accelerometers for different machines. For example, if one machine operates at 2g, while another can vibrate significantly at 10g, you would get better results if you chose a low g accelerometer for the first, and a high g accelerometer for the second.