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

How to Detect and Track Eggs Passing a Specific Checkpoint in a Conveyor Belt Setup?

Hey everyone! I was working on my egg-counting project, and it’s going really well so far! Now, I want to detect only the eggs that pass a specific checkpoint on a conveyor belt, rather than detecting all the eggs in the scene. Any suggestions on how to set this up? Maybe something to help track just the eggs as they pass a certain point?...

Can anyone guide me on porting FreeRTOS to STM32F411CEU6

@Umesh Lokhande sorry for mentioning. As you work with FreeRTOS a lot can you please guide me how should I can port one for my STM32F411CEU6

Successfully Trained YOLOv5 for Egg Counting: Need Advice on Real-Time Detection

Hey everyone! I wanted to give you an update on my egg-counting project. I decided to train a model using a dataset from Roboflow and chose YOLOv5 as the model. After setting up all the necessary dependencies in VS Code, I started training, but it was taking a really long time. So, I switched to Google Colab for its free GPU support, which turned out to be a great decision, the training only took 20 minutes! I tested a few different egg images, and they were successfully detected and counted! My next goal is to implement real-time detection. Does anyone have any suggestions on the best approach for that?...
attachment 0

Best ML Model for Real-Time Egg Counting on Raspberry Pi

hello everyone! I’m working on a real-time egg-counting project using a Raspberry Pi and computer vision. Originally, I thought I could use OpenCV with contour detection for a quick, lightweight solution. The plan was to convert images to grayscale, reduce noise with blurring, and use edge detection to find contours representing eggs. But as I tested it, contour detection turned out to have several big limitations that made it unreliable for this project. One of the main issues was "lighting sensitivity" even small changes in light, shadows, or reflections would throw off the detection completely, often causing the egg count to vary wildly. Another major problem was "overlapping eggs"—if eggs were close together, contour detection often couldn’t separate them and would count multiple eggs as one. Lastly, "background interference" was a big challenge. The algorithm would sometimes pick up background textures or objects as “eggs,” adding false positives to the count. ...

Warning During YOLOv5 Training Should I Ignore It or Address It

Hello, I am training a custom model on YOLOv5, and during training, I encountered the following warning. Can I ignore it and let the training complete, or could it cause problems later?...
attachment 0

Tools to Detect License Infringement in Code for Zephyr I2C Driver Based on Linux Kernel

Hello Guys, This is related to a PR i am about to raise It is a native I2C driver to zephyr I had taken the inspiration of the code from the linux kernel...

Techniques to Mitigate Memory Fragmentation in uC/OS-III for SAMD21 Applications

Hey, I'm developing a uC/OS-III application for Microchip SAMD21 (32KB SRAM) and struggling with memory fragmentation. The app allocates fixed-size buffers for sensor data, causing issues with new buffer allocations later on. What techniques or best practices can help mitigate fragmentation in uC/OS-III on resource-constrained MCUs like SAMD21? Specifically looking for strategies on: Memory pooling, Buffer sizing optimization, Dynamic memory allocation alternatives...

Does anyone know how to reset a USB port on MacOS?

Hello Everyone! Does anyone know how to reset a USB port on MacOS?...

Fixing TensorFlow Lite Dynamic Tensor Error and Optimizing Mask R-CNN on Raspberry Pi

I'm deploying a fine-tuned Mask R-CNN model (ResNet-101) on a Raspberry Pi 4 (4GB RAM) running Raspbian OS, using TensorFlow Lite v2.6 for aerial object detection. During inference, I get the following error:
ValueError: TensorFlow Lite currently supports models with fixed-size input tensors, but the model has dynamic-sized input tensors. Expected input shape: [1, 1024, 1024, 3], but received input shape: [1, 512, 512, 3].
ValueError: TensorFlow Lite currently supports models with fixed-size input tensors, but the model has dynamic-sized input tensors. Expected input shape: [1, 1024, 1024, 3], but received input shape: [1, 512, 512, 3].
...

Diagnosing Asterisk Segmentation Fault on STM32MP157f-DK2 When Connecting via Mizudroid SIP Client

Hello, I’m working on a project using an STM32MP157f-DK2 board running an Asterisk server on a Bootlin Linux image. The board is connected to my home network via a D-Link router configured as a network switch (DHCP disabled). Initially, the server crashed with a segmentation fault immediately after starting. After modifying the pjsip.conf file, the server now starts successfully. However, it crashes with a segmentation fault when I try to connect from my phone using the Mizudroid SIP client app.
Could this issue be related to my router setup, Asterisk configuration, or Bootlin environment? Any suggestions on diagnosing and resolving this segmentation fault would be greatly appreciated....

Is there any tutorial for Redhat RHEL os?

Is there any tutorial for Redhat RHEL os?

How can I accurately measure CPU usage for these ISRs while addressing nested interrupts?

I am using FreeRTOS on an STM32F4-Nucleo board and vTaskGetRunTimeStats() to measure task CPU usage with the following code: ```c void configureTimerForRunTimeStats(void) {...

Has anyone worked with Zephyrs test Runner (Twister)?

Has anyone worked with Zephyrs test Runner (Twister), I need to break down some test cases for the #posix subsystem and some help would be appreciated. Also if anyone is keen to do some open source dev please let me know there's lot of #zephyr work to do.

How to Fix CR/LF Transmission Issues Between MS Excel VBA and STM32 via Serial?

I am trying to exchange data between MS Excel (using VBA) and my STM32 Nucleo board via a serial line (virtual COM port). I am using the Microsoft Datastream add-in, which I believe is designed for this purpose. However, I encountered an issue where the add-in doesn't append CR (0x0D) or LF (0x0A) characters correctly. According to my serial port monitoring software, the add-in always sends 0x0A (LF) at the end, even if it’s not in the message. But if I manually include 0x0D (CR) or 0x0A (LF) in the message, they get omitted. Interestingly, other control characters like 0x09, 0x0B, etc., transmit fine. Additionally, I'm using Excel version 365 with the Datastream add-in version 1.2. The STM32 device needs these CR/LF characters to process the messages correctly. Have you encountered this issue or found a way to force the add-in to send CR/LF characters as expected? Are there any workarounds in VBA to ensure this functionality?...

What tools or techniques would you recommend for both visualizing and analyzing grid map data?

hello ! I am working with grid maps, representing an environment in terms of 2D or 3D cells that store values and can be plotted to create a map of the area. I have datasets containing grid maps of an area, with three 3D arrays (x, y, and z) of size 501x624x94 that store the coordinates. Additionally, I have a variable prob of the same size, which holds a value associated with each grid cell. ...

How can you speed up parsing Yocto recipes? - 10/3 Yocto Build Issues AMA

QUESTION (#8) Several including Express_Damage5958: " How can you speed up parsing Yocto recipes? I'm currently working with a BSP that has more than 20 layers and a lot of recipes. Reparsing all the recipes takes a few minutes every time and all the recipes seem to trigger warnings. Looking at you Qualcomm… " 🔗 𝗥𝗲𝗴𝗶𝘀𝘁𝗲𝗿 𝗳𝗼𝗿 𝗼𝘂𝗿 𝘂𝗽𝗰𝗼𝗺𝗶𝗻𝗴 𝗲𝘃𝗲𝗻𝘁𝘀: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

How are device trees handled if I want to add any custom ones? - 10/3 Yocto Build Issues AMA

QUESTION (#7): Several: " How are device trees handled if I want to add any custom ones? " 🔗 𝗥𝗲𝗴𝗶𝘀𝘁𝗲𝗿 𝗳𝗼𝗿 𝗼𝘂𝗿 𝘂𝗽𝗰𝗼𝗺𝗶𝗻𝗴 𝗲𝘃𝗲𝗻𝘁𝘀: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

How can I configure Yocto image to act as an server for others over IP - 10/3 Yocto Build Issues AMA

From: @Mina Essam "How can I configure Yocto image to act as an server for other images over IP?" @Ming...

Changing the configuration parameters of the kernel -- 10/03 Yocto Build Issues AMA

QUESTION (#6): Several: " I need to change some of the configuration parameters of the kernel, how do I do it? " 🔗 𝗥𝗲𝗴𝗶𝘀𝘁𝗲𝗿 𝗳𝗼𝗿 𝗼𝘂𝗿 𝘂𝗽𝗰𝗼𝗺𝗶𝗻𝗴 𝗲𝘃𝗲𝗻𝘁𝘀: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

Understanding the bootloader part and integration when using u-boot 10/03 Yocto Build Issues AMA

QUESTION (#5): Fluffy-Inflation-446: " I really struggle to completely understand the bootloader part and integration when using u-boot. Any good materials to dive in u-boot port and device tree manipulation using Yocto? Thanks " 🔗 𝗥𝗲𝗴𝗶𝘀𝘁𝗲𝗿 𝗳𝗼𝗿 𝗼𝘂𝗿 𝘂𝗽𝗰𝗼𝗺𝗶𝗻𝗴 𝗲𝘃𝗲𝗻𝘁𝘀: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...
Next