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

Is there an instruction to "rotate" the elements of an array

Hello everyone, 👋🏻 quick question Do you know if there is an instruction to "rotate" the elements of an array, meaning to shift the elements one position to the left or right and, if possible, insert the element that goes out on the other side???

How to identify and resolve the issue causing the task to miss its deadline?

@Middleware & OS Hey guys In my FreeRTOS application, a specific task occasionally misses its deadline, causing system instability. I would like to know what tools or techniques I can use to monitor, profile, or adjust the priority of this task to identify the root cause and prevent these deadline misses from happening. Here is the code for the task with the deadline misses: ...

trying to enable CONFIG_AUTOFS4_FS in the kernel for my custom machine my_mach using Yocto Project

I'm trying to enable CONFIG_AUTOFS4_FS in the kernel for my custom machine my_mach using Yocto Project, but it's not reflected in the final image. Observe my set up: -Base layer: meta-xxx-yyy -Custom layer: meta-xxx-mylayer I took this steps to try trouble shoot...

Create an application with FreeRTOS that uses event groups

@Middleware & OS Hello guys, how can I Create an application with FreeRTOS that uses event groups to synchronize multiple tasks like For instance I have three tasks perform different operations, but want to ensure a fourth task only runs when all three operations are complete...

Any suggestions on how to successfully install scipy on my ARMv8 board considering the multiple pip

I'm encountering errors while installing scipy using pip3 on my 64-bit ARMv8 board. I've already installed openblas, a dependency for scipy. Here is the error:
Failed building wheel for scipy
Failed building wheel for scipy
...

develop FreeRTOS project where two tasks need to write to the same UART peripheral

@Middleware & OS Hello Guys, I was asked to develop FreeRTOS project where two tasks need to write to the same UART peripheral, while Implementing mutual exclusion using a mutex to prevent data corruption Please can anyone help me with this...

How do I detect crashes in Node.js/Electron when devices disconnects unexpectedly?

hey @Middleware & OS My Node.js/Electron app (macOS) interfaces with Bluetooth devices. I suspect driver crashes as the devices become unresponsive & require manual driver reload kextunload and kextload. Is there a way to programmatically detect these crashes in Node.js/Electron to know when a device disconnects unexpectedly?

How do I implement an interrupt service routine (ISR) in FreeRTOS?

@Middleware & OS Hello guys, how do I Implement an interrupt service routine (ISR) in FreeRTOS that triggers a task when a button is pressed and also Ensure the ISR communicates with the task using a binary semaphore...
Solution:
You can achieve this with the following steps 1. Configure the button press as an interrupt source. 2. Write the ISR to give a binary semaphore when the button is pressed. 3. Create a task that takes the semaphore and runs when the semaphore is given....

How can I implement priority inheritance or ceiling protocol in my FreeRtos app?

@Middleware & OS Hello guys how can I implement priority inheritance or ceiling protocol in my FreeRtos application to prevent priority inversion, I would really appreciate a guide through the entire process...
Solution:
priority inheritance offers good average case performance but still might trigger more often. Ceiling protocol gives a better worst case performance but can lead to little worse average case behavior tho.

Has anyone tried running Minio on a resource constrained embedded Linux systems?

Hey @Middleware & OS I'm looking for options for an object storage server on an embedded Linux platform like Xilinx-based system. Minio's open-source nature seems attractive to me. Has anyone tried running Minio on a resource constrained embedded Linux systems?...
Solution:
The minio installation is 100MB on Amd64

Which package in Yocto core-image-minimal.bb handles automatic NTP synchronization?

Hello guys @Middleware & OS , I'm managing this system time on a Yocto-based Linux distribution that's Zeus release using NTP. Without me installing ntpdate, the system automatically synchronizes with an unknown NTP server when connected to the internet via WiFi. Disconnecting stops synchronization, indicating a built-in NTP client. Given that the distribution is gotten from core-image-minimal.bb, which package provides this NTP client?...
Solution:
it picks the ntp from those options

How to Synchronize Two LED Strip Effects to Start Simultaneously?

Hello everyone, I need help ASAP 😩 I have two LED strips that I want to light up simultaneously (one gradually from 0% to 20% brightness; the other with a chasing light effect). My two functions work well independently or one after the other, but it's impossible to get them to start simultaneously. Does anyone have any ideas? I'm using an Arduino Uno board for this project. Thanks! Code: 👩‍💻...
Solution:
Your code contains certain errors like Repetition in the loop function, you misplaced the function fastLed.show(), you didn't multi thread the led handling....

What optimization levels maybe -O1 or -O2 are typically used for balancing performance and code size

In my energy system project using embedded Linux, I'm curious about the trade-offs between code size and performance using compiler optimizations. I noticed the -O3 flag significantly reduces code size. Is it a common practice to use compiler optimizations like -O3 in embedded Linux development, especially for energy systems? What optimization levels maybe -O1 or -O2 are typically used for balancing performance and code size? Please Great house,help me out 🙏🙏...
Solution:
@UC GEE optimization levels like -O1 and -O2 are more used in embedded systems, they provide a good balance between code size reduction and performance improvement. They optimize the code by applying various techniques such as instruction scheduling, loop unrolling, and function inlining. while the -O3 optimization level do provide better performance improvements, I won't advise you use it in embedded systems due to the potential increase in code size. as larger code size can lead to higher memory usage and potentially impact the overall system's energy consumption....

Integrating Linpack Benchmark with Condor for Optimal HPC Cluster Performance

Hey everyone @Middleware & OS , I'm currently benchmarking a small HPC cluster (4 nodes, each with an Intel Xeon E5-2630 CPU) running CentOS 7.9. The cluster uses Condor (v8.9.3) with MPICH2 for job scheduling and communication. I've installed Linpack and the ATLAS library, aiming to achieve the maximum GFLOPS for the cluster. I've been looking at the Condor documentation and online resources, but I haven't found a clear guide on integrating Linpack with Condor for benchmarking. Specifically, I'm not sure how to submit Linpack jobs as Condor jobs, how to configure Condor to distribute the workload better across the cluster nodes using MPICH2. Pls I need advice on achieving this....
Solution:
@Dtynin I would have suggested you use debian instead of centOS, but you can Ensure Linpack and MPICH2 is correctly installed and functioning on the cluster create a bash script to collect input run executables, display the outcome and monitor execution and performance results to evaluate the maximum GFLOPS achieved by the cluster...

Looking for a robust and flexible POSIX/Unix-/Linux-like OS suitable for embedded applications.

I'm looking for a robust and flexible POSIX/Unix-/Linux-like operating system suitable for embedded applications. In a Minecraft mod (OC2) for instance, RISC-V computers are introduced within the game I think. While capable of running Linux, it's very memory-intensive. So I need a straightforward embedded Unix-like OS that I can either adapt to RISC-V or one with existing RISC-V support. 🙏🙏...
Solution:
@Sterling furthermore FreeRTOS can be used with a POSIX wrapper. It has good support for RISC-V when it comes to resource-constrained environments. Even RTEMS , it's free and it has POSIX API support

How do I install Windows on a Raspberry Pi 4?

does any one know how to install raspberry pi system on Windows

How to Build a Database for a Phobia Detector Using Heart Rate Sensors, Accelerometers, and VR Heads

Hello everyone i would like to ask you something. Me and my team are trying to build a phobia detector and these are the tools we using: - heart rate sensor - accelerometers (for trembling) - VR headset for simulations Yet we don't know how to build the database for it, something to record the reaction instantly. ...

How to install my ESP32 development board on Arduino IDE V2?

Hello everyone, I'm looking for guidance on how to install my ESP32 development board on Arduino IDE V2. What steps and procedures do I need to follow? @PCB & Analog

how to download the Raspberry Pi operating system on a Windows

Hello Experienced Discord Users, I am currently working on my graduation project which involves creating a human following robot. I would greatly appreciate your expertise and assistance in this project. Specifically, I am looking for guidance on how to download the Raspberry Pi operating system on a Windows computer and the recommended size of an SD card for this task. Thank you in advance for your help and support....

Should I use the ESP Framework or Arduino IDE for Commercial Product Development?

@Umesh Lokhande Is it okay to use Arduino framework for real iot products or should we use esp framework and ide for real products?