DevHeads IoT Integration Server
The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.
JoinDevHeads IoT Integration Server
The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.
Joinseeking-collabs
firmware-and-baremetal
middleware-and-os
edge-networking
pcb-and-analog
jobs
iot-cloud
code-review
devheads-feed
general-dev-chat
Issues with MATCH ROM Command in DS18B20 Sensor Communication on STM32 Using UART
How to Expand 10-Bit ADC Signal for 16-Bit SPI Communication Between Two Arduino Unos
Hard Fault When Using STM32 Nucleo-F446RE with Wiznet W5500 via SPI
Resolving Device Not Found Error for PIR Sensor on ESP32 with Zephyr RTOS
Optimizing CAN ISR to Prevent WDT Panics on ESP32-S3 with MCP25625
Synchronizing Sensor Data Over CAN Bus with AVR128DA48 and Zephyr
Debouncing Joystick Input for Frequency Control on STM32 NUCLEO-F401RE
InterruptIn
object is set to trigger on the rising edge, it sometimes also triggers on the falling edge when the joystick returns to neutral.
...Improving Gesture Recognition Consistency on ESP32 with TinyML
TinyML
on an ESP32
with an accelerometer (MPU6050). My goal is to detect specific gestures (e.g., wave, swipe) using machine learning. I trained a model using Edge Impulse and successfully deployed it onto the ESP32. However, when I run the inference code, I get inconsistent results, and sometimes the output is incorrect even when performing the same gesture. Occasionally, the ESP32 throws the following error:
```
E (1155) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
- IDLE (CPU 0)...Implementing Failsafe Mechanism for Firmware Updates on ESP32
ESP.restart()
is called. However, ESP.restart()
only restarts the app, ignoring the GPIO0 state.
During the restart process, I've captured the following logs and debug messages:
"Restarting..."
"CPU reset..."...Debugging Issue with OpenOCD on STM32F411 in CLion
How can I set variable increments for a rotary encoder?"
For example, I would like my value to increment by 0.1 between 0 and 10, then by 0.5 between 10 and 20, and then by 1 from 20 to 200.
Do you have any solutions to propose?
Below is the code that I would like to upgrade....
How can I reduce false positives in vibration anomaly detection on an AVR128DA48?
What causes HardFault_Handler errors and inaccurate predictions in STM32 air quality monitoring Sys?
STM32F746
using TinyML
. The system uses a temperature, humidity, and gas sensor to predict the Air Quality Index (AQI) via a model I trained and deployed. While the code works, I sometimes get inaccurate predictions, and occasionally, the STM32 throws a HardFault_Handler
error.
Here’s the simplified inference code:
```c...Why doesn't my GPIO pin stay high below 200 Hz in my frequency counter code?
How can I implement a recovery mechanism for CAN Bus errors on the AVR128DA48 to avoid manual resets
Why is my assembler subroutine for Shellsort not sorting the array when integrated with a C program
Shellsort
with a C
program, the sorting algorithm has been tested as a standalone program and works correctly, but we are encountering issues when linking it with the C
code. Specifically, the output array contains the original numbers in the same order instead of being sorted.
We are passing the pointer to the array through the RCX
register, which is the correct method for passing function parameters in Intel 64
. Since the C
source code was provided by our lead, we suspect there might be an issue in our assembly code.
We are using this function signature in the C
code to call the assembly routine:```...Trying to implement a real-time data processing feature using Edge Computing on the AVR128DA48
Ensuring 16-bit THUMB Instruction Encoding for Code Execution from SRAM on STM32F103
arm-none-eabi-as
, load the machine code into SRAM with OpenOCD's mwh
command, set the PC to the beginning of SRAM using reg pc 0x20000000
, and step through the instructions.
The assembly code I wrote is a simple loop:
```assembly...Normalizing Input Data for CNN Model in Image Recognition System on ESP32
ValueError: Input data not properly normalized
ValueError: Input data not properly normalized
ESP32 Voice Commands Processed but LED Unresponsive in MicroPython TinyML Home Automation System
MicroPython
and TinyML
on an ESP32
microcontroller to recognize specific voice commands ("turn on" and "turn off") for controlling an LED. Why does the LED remain unresponsive even though commands are being processed correctly? Because my Audio data is being received.
yet LED does not react to commands.
```python...