Coder Social home page Coder Social logo

sergo101 / stm32f103_max21105_ms5611_vario Goto Github PK

View Code? Open in Web Editor NEW

This project forked from har-in-air/stm32f103_max21105_ms5611_vario

0.0 0.0 0.0 13.59 MB

Basic altimeter/variometer that fuses accelerometer and barometric sensor data to minimize response lag.

C++ 1.10% C 98.47% Assembly 0.34% Makefile 0.09%

stm32f103_max21105_ms5611_vario's Introduction

STM32F103 altimeter/variometer with LCD display

Features

Basic altimeter/variometer that fuses accelerometer and barometric sensor data to minimize response lag.

Hardware

1.STM32F103C8T6 microcontroller 2.MAX21105 accelerometer+gyroscope 3.MS5611 barometric pressure sensor 4.Salvaged 80x48 lcd front display from old motorola clamshell phone

I am using a homebrew imu breakout board with MAX21105+MS5611+HMC5883L. The magnetometer is not required for the vario functionality. Using it gives you absolute yaw (compass heading) information.

I salvaged a tiny 80x48 pixel LCD display from an old Motorola clamshell phone and used this for altitude/climbrate display. It has an I2C interface.

I used separate breakout boards for the micro-controller and the sensors that I'd designed earlier. So there is no PCB layout for the unified schematic. The battery is a salvaged 3.7V 500mAH lipoly battery. Also added a USB to lipoly charger board.

Software development environment

Ubuntu 18.04LTS, gcc-arm toolchain, openocd, stlink v2 clone for flashing. STM32CubeMx for generating the low level hardware driver files and headers, and startup code.

Issues

1.OpenOCD does not sync with this particular micro-controller unless the reset button is pushed. No such issue with GD32F103RCT6 (which is a cheap clone of the STM32F103RCT6). Go figure. 2.Uart serial printf with floats does not work.

stm32f103_max21105_ms5611_vario's People

Contributors

har-in-air avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.