We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
is it possible to show speed on STM32F407IGHx board by integrating the value which we get from onboard accelerometer ?
If you want a example to play with that uses the accelerators,
There is a CMSIS-PACK for the MCBSTM32F400 called 'Demo'
Open the Pack installer, C:\Keil_v5\uv4\PackInstaller.exe
- On the top left of the window, select the "Boards" tab, - Below it for search, type "MCBSTM32F400" and press enter. - Select the board from the list below – on the right side of the dialog updates with Software Packs relevant to this device - For Packs, install the Keil:STM32f4xx_DFP pack (if necessary) - On the top right of the screen, select the yellow "Examples" tab. - On the "Demo (MCBSTM32F400)" row, click the "copy" button - a dialog pops up. - Pick a directory, click both the checkboxes, and press OK - a new Keil µVision session opens with the example.
Demo.c, line 357 calls Accelerometer_GetState()
=====
On the http://www.keil.com/books/genbooks.asp page, take a look at the 'Numerical Recipes in C' book - it might help you.
Or, google around
electronics.stackexchange.com/.../implementing-differentiation-and-integration-in-a-digital-control-system
i could able to show acceleration as 9.8 m/s2 on lcd by using accelerometer. now i want to show velocity in numberical value by integrating the acceleration.