Stm32f030c8 lis2dh12 акселерометр
22 USDStm подключён к акселерометру по spi2. Нужно написать код для stm для считывания показаний с акселерометра, а затем их откалибровать и передать на компьютер для того что бы их можна было проанализировать. Сделать такой себе аналог serial port для ардуино.
-
110 1 Добрый вечер! С радостью выполню ваш заказ, имею огромный опыт веб разработки (4 года). Постоянно на связи - обращайтесь!
-
154 2 0 Доброго времени суток! Задание ясно, уже даже есть некоторые идеи, готов взяться за Ваше задание прямо сегодня и предоставить наилучший результат в кратчайшие сроки!
-
Доброго времени суток. Могу помочь с вашим проектом. Пишите в личку, обсудим.
-
Добрый день, на данный момент проблемы с акселерометром нету, но нужно исправить код.
uint8_t Buffer[1];
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
HAL_UART_Receive_IT(&huart1, (uint8_t*)Buffer, 1);
if(Buffer[0] == 1){
HAL_UART_Transmit_IT(&huart1,(uint8_t*)"Ok", 2);}
else
HAL_UART_Transmit_IT(&huart1, (uint8_t*)Buffer, 1);
}
Выполняется приём и else, то есть даже когда я отправляю с телефона 1 мне обратно на телефон приходит 1. Но я не понимаю почему не выполняется условие if.
-
Вы уверенны что посылаете именно 1 а не 0x31 - 1 в ascii? Просмотрите в дебаге что находится в буфере после приема.
Также не забывайте очищать буфер после обработки.
-
Current freelance projects in the category C & C++
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 2 days 16 hours back ∙ 5 proposals |
Development of a Minecraft Java Seed Map / Seed Viewer for the websiteDevelopment of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an… C & C++, HTML & CSS ∙ 2 days 23 hours back ∙ 14 proposals |
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 7 days 6 hours back ∙ 2 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 10 days 7 hours back ∙ 8 proposals |
Software development for Arduino (RF modules 3–7.5 GHz, automatic frequency scanning)It is necessary to develop a system on Arduino for the automatic search of active analog video signals and the automatic tuning of the transmitter to the detected frequency.It is planned to use three separate transceiver modules: 3000–4200 MHz; 4900–6000 MHz; 6100–7500… C & C++, Embedded Systems & Microcontrollers ∙ 11 days 8 hours back ∙ 5 proposals |