https://oldena.lpnu.ua/handle/ntb/55843
Title: | Development of digital compass based on AVR microcontroller and MEMS ACCELEROMETER-magnetometer module LSM303DLHC |
Other Titles: | Розробка цифрового компасу на AVR мікроконтролері та MEMS – модулі АКСЕЛЕРОМЕТРА – магнітометра LSM303DLHC |
Authors: | Головатий, А. Теслюк, В. Колесник, К. К. Табала, В. В. Holovatyy, A. Teslyuk, V. Kolesnyk, K. Tabala, V. |
Affiliation: | Національний університет “Львівська політехніка” Lviv Polytechnic National University |
Bibliographic description (Ukraine): | Development of digital compass based on AVR microcontroller and MEMS ACCELEROMETER-magnetometer module LSM303DLHC / A. Holovatyy, V. Teslyuk, K. Kolesnyk, V. Tabala // Computer Design Systems. Theory and Practice. — Lviv : Lviv Politechnic Publishing House, 2019. — Vol 1. — No 1. — P. 12–26. |
Bibliographic description (International): | Development of digital compass based on AVR microcontroller and MEMS ACCELEROMETER-magnetometer module LSM303DLHC / A. Holovatyy, V. Teslyuk, K. Kolesnyk, V. Tabala // Computer Design Systems. Theory and Practice. — Lviv : Lviv Politechnic Publishing House, 2019. — Vol 1. — No 1. — P. 12–26. |
Is part of: | Computer Design Systems. Theory and Practice, 1 (1), 2019 |
Issue: | 1 |
Issue Date: | 28-Feb-2019 |
Publisher: | Видавництво Львівської політехніки Lviv Politechnic Publishing House |
Place of the edition/event: | Львів Lviv |
DOI: | doi.org/10.23939/cds2019.01.012 |
UDC: | 519.2.4 681.5 621.382 |
Keywords: | цифровий компас апаратно-програмна платформа Arduino Uno R3 МК ATmega328P-PU акселерометр магнітометр МЕМС модуль LSM303DLHC САПР Proteus Design Suite мова програмування C середовище програмування Arduino IDE для МК платформи Arduino вбудоване програмне забезпечення digital compass Arduino Uno R3 AVR microcontroller ATmega328P-PU accelerometer magnetometer MEMS module LSM303DLHC Proteus Design Suite C programming language Arduino IDE embedded software |
Number of pages: | 15 |
Page range: | 12-26 |
Start page: | 12 |
End page: | 26 |
Abstract: | У роботі розроблено цифровий компас на МК AVR з використанням МЕМС – модуля
акселерометра – магнітометра LSM303DLHC. Розроблено структуру та спроектовано апаратне
забезпечення цифрового компасу. Описано алгоритми калібрування акселерометра та
магнітометра LSM303DLHC. Описано алгоритм обчислення кутів нахилу (кутів тангажу і крену)
цифрового компасу. Описано алгоритм визначення курсу (напрямку) компаса без компенсації і з
компенсацією нахилу. Розроблено алгоритм роботи та програмне забезпечення цифрового
компасу. Створено модель та макет цифрового компасу. Проведено моделювання і тестування
розробленого цифрового компасу. In the paper, the digital compass based on AVR microcontroller has been developed using MEMS accelerometer-magnetometer LSM303DLHC. The structure and hardware of the digital compass have been developed. The calibration algorithms of the accelerometer and magnetometer of the LSM303DLHC module have been described. The calculation algorithm of the pitch and roll angles has been described. The heading calculation algorithm of the digital compass without tilt compensation and with tilt compensation has been described. The operation algorithm and embedded software of the digital compass have been developed. The model and prototype of the digital compass have been created. The simulation and operation test of the developed digital compass have been performed. |
URI: | https://ena.lpnu.ua/handle/ntb/55843 |
Copyright owner: | © Національний університет „Львівська політехніка“, 2019 © Holovatyy A., Teslyuk V., Kolesnyk K., Tabala V., 2019 |
URL for reference material: | https://www.st.com/content/st_com/en/products/mems-and-sensors/ecompasses.html https://www.memsic.com/magnetic-sensors/ http://en.wikipedia.org/wiki/Compass http://en.wikipedia.org/wiki/Lodestone https://en.wikipedia.org/wiki/Earth%27s_magnetic_field https://www.livescience.com/32732-how-does-a-compass-work.html http://www.cypress.com/?docID=221 http://cache.freescale.com/files/sensors/doc/app_note/AN4248.pdf https://www.pololu.com/file/0J434/LSM303DLH-compass-app-note.pdf https://www.st.com/en/mems-and-sensors/lsm303dlhc.html https://www.st.com/resource/en/datasheet/DM00027543.pdf |
References (Ukraine): | 1. Electronic resource: https://www.st.com/content/st_com/en/products/mems-and-sensors/ecompasses.html 2. Electronic resource: https://www.memsic.com/magnetic-sensors/ 3. Compass.” [Online]. Available: http://en.wikipedia.org/wiki/Compass[2] “Lodestone”. [Online] .Available: http://en.wikipedia.org/wiki/Lodestone 4. Electronic resource: https://en.wikipedia.org/wiki/Earth%27s_magnetic_field 5. Electronic resource: https://www.livescience.com/32732-how-does-a-compass-work.html 6. Grygorenko V., “Cypress application note – magnetic compass with tilt compensation-an2272”. [Online].Available: http://www.cypress.com/?docID=221. 7. Application note AN4248: “Implementing a Tilt-Compensated eCompass using Accelerometer and Mag-netometer Sensors”, 2012, http://cache.freescale.com/files/sensors/doc/app_note/AN4248.pdf. 8. Application note AN3192: “Using LSM303DLH for a tilt compensated electronic compass” https://www.pololu.com/file/0J434/LSM303DLH-compass-app-note.pdf. 9. Electronic resource: https://www.st.com/en/mems-and-sensors/lsm303dlhc.html 10. Electronic resource: https://www.st.com/resource/en/datasheet/DM00027543.pdf |
References (International): | 1. Electronic resource: https://www.st.com/content/st_com/en/products/mems-and-sensors/ecompasses.html 2. Electronic resource: https://www.memsic.com/magnetic-sensors/ 3. Compass." [Online]. Available: http://en.wikipedia.org/wiki/Compass[2] "Lodestone". [Online] .Available: http://en.wikipedia.org/wiki/Lodestone 4. Electronic resource: https://en.wikipedia.org/wiki/Earth%27s_magnetic_field 5. Electronic resource: https://www.livescience.com/32732-how-does-a-compass-work.html 6. Grygorenko V., "Cypress application note – magnetic compass with tilt compensation-an2272". [Online].Available: http://www.cypress.com/?docID=221. 7. Application note AN4248: "Implementing a Tilt-Compensated eCompass using Accelerometer and Mag-netometer Sensors", 2012, http://cache.freescale.com/files/sensors/doc/app_note/AN4248.pdf. 8. Application note AN3192: "Using LSM303DLH for a tilt compensated electronic compass" https://www.pololu.com/file/0J434/LSM303DLH-compass-app-note.pdf. 9. Electronic resource: https://www.st.com/en/mems-and-sensors/lsm303dlhc.html 10. Electronic resource: https://www.st.com/resource/en/datasheet/DM00027543.pdf |
Content type: | Article |
Appears in Collections: | Комп'ютерні системи проектування теорія і практика. – 2019. – Том 1, № 1 |
File | Description | Size | Format | |
---|---|---|---|---|
2019v1n1_Holovatyy_A-Development_of_digital_12-26.pdf | 1.01 MB | Adobe PDF | View/Open | |
2019v1n1_Holovatyy_A-Development_of_digital_12-26__COVER.png | 403.54 kB | image/png | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.