Thanks alot for this video. I tried the same in cube mx itself than in Keil IDE. I followed the exact procedures. The leds are blinking as per set datarate but the x y z data is not updating. Can you give your suggestion for this issue
I just ran into the same issue but fixed it by changing a flag set in one of the control registers. Find the spot in the initialization code where he is initializing control register 4 and OR the value to be placed in the register with 08(hex). This changes an update blocker flag and solved my issue. Hope it works for you too.
Hello, I am following your videos and they are really helpful. Is it possible for you to make video on IMU. Can you explain how Accelerometer and gyroscope raw data is used to get angles and how can we use filters to improve our readings. It will be really helpful if u add magnetometer too. My suggestion will be make a video on MPU9250 which is having all the sensors and its really cheap. Regards
@@mutexembedded2206 well u can use stm32 with any gyro accelero and magnetometer and show us how to get the correct angles from it. May be processing software will help to visualize the data. Infact processing is really simple and u can easily transfer the data from stm32 via serial. Kindly consider this thought as getting raw data's from accelero gyro and magnetometer is really easy but utilizing those values to get a perfect angles are really confusing. Regards
could you please tell me what's the requirements to watch this tutorial , which programming language i should to learn it before starting this tutorial ?, thank you
Hi, Need to have some background in C programming before starting this series.. Refer to Tutorial 1, there I mentioned the software you need to install. Good luck
Hello. First of all thanks for the great video. I have a nucleo board, so my question is, can I do the same projects that you show with discovery board with my nucleo board? I mean, at least most of them, using HAL and cube MX. Thanks a lot!
Hello sir, I am using the stm32f407vg Discovery Board using cube IDE, but when I run the code it update the value once and the led doesn't toggle, it just blinking high, I am not able to now why it is not updating the values and toggling the led . Please help me to sought out my problem.
Sir, I am also sending my github project link, so please have a look on it, and same problem is happening with me when i tried it with mpu6050 by going through your tutorials, please help me sir , and link :- github.com/AmmuRawat/LIS3DSH_SPI
@@amanrawat4250 Hi Aman, I recommend you go over my video again very carefully, do all parameters the same as mine. see if you can get it working. I looked at your code, I can't tell easily.
Hi, I would like to know if the value read from the register (0x0F) should be (0x33)? I'm trying to read an external module (LIS3DH) into this register (0xFF), but I'm getting 0x3F as a response.
Hi! I have a question about your calibration. Where did this came from: " __X_Scale = (2*1000)/(x_max - x_min); " ? As i understand __X_Bias is from the chapter about Sensitivity (3.1.1 Datasheet), but i havent found information about this. My first thought was that "2" is from your scale, but I see you've chosen +- 16g scale. Thanks for answer :)
Sensitivity describes the gain of the sensor and can be determined, for example, by applying 1 g acceleration to it. As the sensor can measure DC accelerations this can be done easily by pointing the axis of interest towards the center of the Earth, noting the output value, rotating the sensor by 180 degrees (pointing to the sky) and noting the output value again. By doing so, ±1 g acceleration is applied to the sensor. Subtracting the larger output value from the smaller one, and dividing the result by 2, leads to the actual sensitivity of the sensor. This value changes very little over temperature and also time. The sensitivity tolerance describes the range of sensitivities of a large population of sensors.
Oh god, yes please. I am trying to get this working, but I have no idea where to get the pinout information. I were not able to find a document that shows the connection of the gyroscope to the chip (similar to the schematic at the beginning of this video). There is one measly graphic in the boards user manual that shows the gyroscope connected to the I2C-System (but not which one of the three available I2C). Also in a very short paragraph it says "The STM32F429ZIT6 controls this motion sensor through the SPI interface." (so not I2C at all?)
@@batuhantopal9277 bende i2c kullanıyorum ama bunların filtreler yardımı ile ypr yapılıyor onu yapamadım Arduino da var ama STM de yazılmamış kendim ugrastim bir yere kadar ama sonunu getiremedim