DevHeads IoT Integration Server

DII

DevHeads IoT Integration Server

The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.

Join

seeking-collabs

firmware-and-baremetal

middleware-and-os

edge-networking

pcb-and-analog

jobs

iot-cloud

code-review

devheads-feed

general-dev-chat

Anyone using any tft display with capacitive touch?

Anyone using any tft display with capacitive touch?

any good resources for getting started with the DCMI on stm32s?

hey there, any good resources for getting started with the DCMI on stm32s? got an ov7670 here

How to Optimize Energy Calculations for STM32 Energy Meter Without Overloading Interrupts?

Hello team, so I have been working on an energy meter for some time using stm32f103c8t6 as my controller, zmct103 current transformer for measuring AC current and then using LM324 op-amp in differential mode to measure ac voltage. I have been able to get data with ac load, but my readings(adc readings) and calculations(energy calculation) are done inside interupt. I know the interrupt is meant to be short, is there a better way to handle calculations? I will appreciate your insights. here is t...

Anyone who's done Embedded CI/CD

Anyone who's done Embedded CI/CD I'm trying to plan the architecture for a project I'm working on a console I'm building on an ESP32-S3 Would love to see how you've set it up before....

Anyone who used FreeRTOS before can suggest me a good documentation for it

Anyone who used FreeRTOS before can suggest me a good documentation for it

Choosing Between Interrupts and Polling for Critical Applications Like Airbags in Static Real-Time S

Hi.. critical applications like airbag it's better to use interrupt or polling with it in static real-time system...

Hi...I am trying to flash image on sd card but I failed . Board is STM32Mp135

Hi...I am trying to flash image on sd card but I failed . Board is STM32Mp135
attachment 0

Garbled Characters in HAL_UART_Transmit_IT on STM32 F303RE Causes and Solutions

I’m using HAL_UART_Transmit_IT in two places with the Nucleo F303RE board. In HAL_UART_RxCpltCallback, I use it to echo received UART data, and it works fine. In Print_CAN_Frame, I send messages every 3 seconds. Previously, I used HAL_UART_Transmit, which worked, but after switching to HAL_UART_Transmit_IT, I get garbled characters in TeraTerm. Both functions use the same UART configuration: BaudRate 115200, WordLength 8B, StopBits 1, Parity None, TX/RX Mode. The issue appears only with interrupt-driven transmission. What could be causing this behavior, considering both functions take identical arguments, and how should I handle potential buffer or timing issues? Here is my code file;...
attachment 0

How to solve this error?

@Marvee Amasi how to solve this error
attachment 0

Why Does movl (%eax), %edx Crash After Using Custom malloc_ Implementation in Assembly?

I have implemented a custom memory allocation function using sys_mmap for memory allocation. Here’s my code for the malloc_ function: ``` malloc_: pushq %rbp...

Have anyone worked with nucleo board lwip to send data to aws iot core

Have anyone worked with nucleo board lwip to send data to aws iot core

How to Preserve 64-bit Register Values When Using movl in x86_64 ROP Constraints

In x86 64 machine code, when the movl instruction is used with a register destination, it zeroes the higher order bytes of the 64 bit register. How can I use movl while preserving the original value of the full 64-bit register? For example, if I
movq %rsp, %rax
movq %rsp, %rax
and then call
movl %eax, %edx
movl %eax, %edx
is there a way to use movl or perform some other operations after movl so that %rdx retains the original value of %rsp? I cant use movq bcus in my current situation *a ROP attack, only movl instructions are available in my gadget farm actually. I also have access to andb, orb, cmpb, and testb instructions...

have you used a higher baud rate for ESP32s?

have you used a higher baud rate for ESP32s?

How can I change VEX instructions between 16, 32, and 64-bit modes?

Does anyone understand how to work with MASKMOVDQU, cus I'm stuck by it's instruction from the page 902 of the Intel x64 manual . I am confused on how to adjust the register sizes for this instruction. Here the documentation mentions that the default memory location is DS:DI/EDI/RDI, but the opcode includes 0x66 How should I handle this 0x66? Should I replace it with 0x67 or use the REX.W prefix for EDI/RDI registers to adjust for the different sizes? So there is a VEX version of this instruction listed as:...

What IDE setup do you use for remote debugging with GDB/KGDB and OpenOCD?

Hello @MCU, MPU & Firmware ! If you use GDB or KGDB, what is your IDE setup while debugging remote device with a openocd running on it?...

Can connecting a 5V device without level shifting cause these errors?

I'm integrating industrial sensors with AWS IoT Core using ESP32, configuring MQTT communication to send sensor data to the cloud. The 5V TTL serial device is a temperature sensor using RS232 protocol. When connecting it directly to the ESP32's 3.3V UART pins, I notice occasional garbage values in received data through serial monitoring tools. This caused incorrect sensor readings to be sent to the cloud, resulting in inaccurate IoT analytics. To troubleshoot, I've observed the garbage values using a serial terminal and scope measurements. I haven't tried reducing the baud rate yet, but I have verified the issue persists across multiple cloud connections. Can connecting a 5V device without level shifting cause these errors?...

any method of increasing the rendering speed of a display with the esp_lcd component?

any method of increasing the rendering speed of a display with the esp_lcd component?

Fixing CAN Bus Overload Issues in Multi-Node Sensor Systems Using AVR128DA48 and MCP2515

Hey guys, I previously worked on an automated irrigation system where different sensors (moisture, temperature) spread across large farmland communicate with a central controller over the CAN Bus. Each sensor node is equipped with an AVR128DA48 microcontroller and an MCP2515 CAN controller to relay data about soil conditions to the controller for real-time decision-making. I’ve set up the CAN Bus network and successfully initialized the CAN controller on each sensor node. The sensor data is being collected properly, and I've verified that the SPI communication between the AVR128DA48 and the MCP2515 is working correctly. However, I’m running into an issue when attempting to synchronize the sensor data broadcasts. The issue occurs during message reception on the central controller. While I’m able to send data from individual sensors, the central node fails to synchronize the data streams. The can_recv() function sometimes receives data, but other times it throws an -EBUSY (Bus Busy) error, suggesting the bus is overloaded or not handling multiple messages well....

How to Ensure Reliable Data and Predictions for Skin Cancer Detection Using ESP32 and TCS3200?

Am working on an AI-powered health monitoring system using an ESP32 and a TCS3200 Color Sensor to analyze skin pigmentation and detect potential cancerous cells by identifying irregularities in skin color. The sensor initializes correctly, but I am encountering inconsistent data, leading to incorrect predictions about potential skin cancer. my aim is to: - Use machine learning to analyze color data and predict the presence of cancerous cells based on irregular pigmentation....
Next