Skip to content

STM32F4 firmware solution to control the Adafruit LSM303AGR: read data and calibration.

Project details

STM32F4 referenced boards : Nucleo-64 STM32F411 or STM32F410.
Gyroscope and Magnetometer board: Adafruit LSM303AGR.

Using one of 2 above Nucleo boards, connected to the Adafruit LSM303AGR via I2C bus, develop the firmware in the STM32F4 chip for…
1) Read Gyroscope and Magnetometer data from a serial connection with a host PC. This will be done using an ASCII protocol from a simple application like YAT (serial COM 115200@8N1).
1.1) Read data from the Gyroscope
1.2) Read data from the Magnetometer
1.3) Every N seconds print the Gyroscope data. And command to stop this loop.
1.4) Every N seconds print the Magnetometer data. And command to stop this loop.

2) Perform the Gyroscope and Magnetometer calibrations.
The Gyroscope and Magnetometer calibrations could be done following the Adafruit instructions and using the relative external suggested apps.

No problems if you have different solutions for the calibrations, if yours will work fine.

The LSM303AGR interrupt pins are not required. Only the I2C communication.

The STM32F4 Fw project must be done using the STM32CubeMX (API-library and project generation) and STM32CubeIDE.

Awarded to:

Project budget: €900 EUR
budget limits: €750-1500 EUR
number of bids: 36
average bids: €1335

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

Awarded to:

Project budget: €900 EUR
budget limits: €750-1500 EUR
number of bids: 36
average bids: €1335

Project details

STM32F4 referenced boards : Nucleo-64 STM32F411 or STM32F410.
Gyroscope and Magnetometer board: Adafruit LSM303AGR.

Using one of 2 above Nucleo boards, connected to the Adafruit LSM303AGR via I2C bus, develop the firmware in the STM32F4 chip for…
1) Read Gyroscope and Magnetometer data from a serial connection with a host PC. This will be done using an ASCII protocol from a simple application like YAT (serial COM 115200@8N1).
1.1) Read data from the Gyroscope
1.2) Read data from the Magnetometer
1.3) Every N seconds print the Gyroscope data. And command to stop this loop.
1.4) Every N seconds print the Magnetometer data. And command to stop this loop.

2) Perform the Gyroscope and Magnetometer calibrations.
The Gyroscope and Magnetometer calibrations could be done following the Adafruit instructions and using the relative external suggested apps.

No problems if you have different solutions for the calibrations, if yours will work fine.

The LSM303AGR interrupt pins are not required. Only the I2C communication.

The STM32F4 Fw project must be done using the STM32CubeMX (API-library and project generation) and STM32CubeIDE.

Skills: C# ProgrammingElectronicsEmbedded SoftwareMicrocontrollerSTM32

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

Other freelancers

Responsive image

Augurs Technologies

Leading Tech Solutions Provider at Freelancer

4.9 (353 reviews)

Responsive image

Ismet A.

.NET/Blockchain Senior Developer & Project Manager

3.1 (25 reviews)

Responsive image

Borko R.

Senior full stack developer.

4.8 (17 reviews)

Responsive image

Mohammad Suman K.

C# | MSSQL | VB | MySQL | .NET Core | MS ACCESS

5.0 (584 reviews)

×

Hello!

Do you have an idea or project. Contact us and we'll get it done for you

× Do you have an idea or project?