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

RFID using NodeMCU and mySQL

I am having a slight problem doing this project where i cant save the data for the person who scanned their RFID tag for checking in and checking out
Solution:
➡️ Make sure that your RFID reader is properly connected to the NodeMCU and that it can successfully read RFID tags. ➡️ Verify that your NodeMCU can successfully connect to your MySQL database. ➡️ Verify your NodeMCU code to ensure that the RFID data is correctly inserted into the MySQL database verify that you are using the correct SQL queries ...

Is there any way I can get stack requirements of task practically?

In recent FreeRTOS project, somehow my application was crashing. After debugging I realised one of the tasks was crossing the assigned stack size which was 256 bytes which was sufficient as per my calculations. Is there any method so I can get runtime info about the stack used by task in FreeRTOS?

Raspberry Pi OS ( sudo apt update )

once i started to update & upgradei got this error. ```E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 36d 6h 37min 12s). Updates for this repository will not be applied. E: Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 36d 3h 24min 53s). Updates for this repository will not be applied. E: Release file for http://archive.raspberrypi.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 35d 23h 52min 34s). Updates for this repository will not be applied....

How should I decide appropriate Tick time configTICK_RATE_HZ in RTOS project?

In STM32F4 project, I am using FreeRTOS. I am at initial phase of defining firmware design, I figured out there will be approximately 20-25 RTOS tasks running. FreeRTOS comes with default 1ms tick time which can be configured. So, on what basis should I decide appropriate Tick time for my system.
Solution:
As @Marvee Amasi and @techielew mentioned, you can consider so many things like the required level of real-time precision, power consumption, context switching overhead, and so on. But in most of the system, all tasks do not need a high level of time precision, and even its not just depend on tick but on overall firmware design, So I will suggest you to consider below things for your tick calculation and overall design. - Calculate approximate execution time of each task in milliseconds. If you have one/two time wise lengthy tasks with respect to execution time, please ignore them for Tick calculation. - Determine maximum acceptable latency for each task. - Trade off Tick time between least acceptable latency and the execution time of maximum number of tasks....

Optimizing color detection using Arduino and Color Sensor

Hi all, I'm currently working on a project that requires accurate color detection, and I've integrated a color sensor with Arduino. The sensor is correctly wired, and I can read basic color values, but I'm having difficulty interpreting and categorizing the colors accurately. How can I implement color recognition algorithms or libraries with Arduino to enhance the accuracy of my color detection system?...

ESP32 ArduinoNVS or Preferences - unable to store Strings of 80 bytes.

Hello everyone. Having not found the solution to store 80-byte files on SPIFFS or with LittleFS, I tried initially in vain with the ArduinoNVS library and then with Preferences. In both cases, it seems impossible to store more than 8 bytes: the recording process goes well, but upon rereading, the file is empty. The recording routine: ```C++...

Lidar photogrammetry Pipeline for a 3D model

Hi, I am working on generating a 3D model from Lidar data and Images. I am unclear about the pipeline on how it works. If anyone has experience with this, could you please share about the pipeline? Example: Step 1. Gather point cloud data from Lidar and capture images. Step 2. Registration...

System design perspective for PLC with/without IoT Gateway

For one of my client, I'm designing IoT device that can be deployed on machines in manufacturing. The goal is to monitors OEE, machine utilization, and downtime for maximum production efficiency and deep operational insights. Now to solve this problem, I can think of two solutions * Use PLC with IoT connectivity - Use standard Gateway and connect to existing PLC (non-IoT) ...

Dual boot with Raspberry Pi

Hi all! I would like to set up a dual boot with Raspberry Pi OS and Kali, and I have tested two alternatives that did not convince me. With PINN, when I boot into Kali, it gets stuck at the startup, and with Berryboot, Kali is not even available (it cannot be installed; only three distributions are available for installation), even though there should be more distributions normally. Are there any other alternatives? Thanks in advance for the help....

Swagger/OpenAPI Standards

Have you considered using Swagger or OpenAPI standards to create a machine-readable API documentation that fosters consistency and ease of integration?

Ensuring Secure API Communication: Safeguarding Sensitive Data&Implementing Robust Security Measures

In terms of security, what measures do you take to safeguard sensitive data and ensure secure communication between the external developers and your API?

Mastering API Documentation: Best Practices for Seamless Integration and Collaboration

Can you share best practices for documenting and managing APIs to facilitate smooth integration processes for external developers or teams?

Why always use only heap4.c memory scheme in FreeRTOS?

I'm porting FreeRTOS with a microcontroller and referred to online video tutorials. And found everyone uses heap4.c but no one seems to be using heap1/2/3 or other memory schemes. So I wonder why? appreciate any help, thank you!
No description

Managing Daylight Saving Time with ArduinoCloud (IoT)

Hello everyone, I am currently developing an IoT application with an MKR WiFi 1010 board, in which I want to manage certain tasks based on the local time. When establishing the connection to "Arduino IoT Cloud," the board's RTC is updated with the local time retrieved from the network. However, this time corresponds to UTC and not UTC+1 (French local time in winter). Could you enlighten me on how to automatically update my RTC with the correct time (summer or winter)? Either by correcting it directly at the connection or afterwards. The functions for connecting to Arduino Cloud are as follows:...

Understanding the Vulnerabilities in IoT Security

In the interconnected realm of IoT devices, security is a critical concern, and awareness of potential vulnerabilities is key. Let's know the three major attack vectors that leave IoT devices susceptible to exploitation: 1️⃣ Firmware Vulnerability Exploits -) Behind the Scenes: Firmware serves as the backbone for IoT devices, akin to an operating system for computers and smartphones. However, unlike their more robust counterparts, many IoT devices operate on firmware with fewer security layers, making them susceptible to attacks. Known vulnerabilities in IoT firmware, often unpatchable, create a breeding ground for malicious exploits. Cyber adversaries capitalize on these weaknesses to compromise the integrity of IoT devices, leading to potential disruptions or unauthorized access....
No description

Difference between Yocto and OpenEmbedded (OE)?

Even after reading the details from the Yocto Project website. To my understanding, something makes Yocto and OpenEmbedded different from each other. Both frameworks are made to build Linux distributions. So if I say Yocto and OpenEmbedded (OE) are the same then it's not correct because Yocto uses openembedded but it in reality is not OE. I wonder if there is any difference between both of them. I appreciate it if anyone help me clear confusion.

Pros and Cons of Integrating Machine Learning Algorithms in Embedded Devices.

Pros of Integrating Machine Learning in Embedded Devices: 1. Real-time Decision Making: ML enables embedded devices to make decisions locally in real-time, reducing dependence on cloud services and lowering latency. ...

Integration of machine learning algorithms in embedded devices.

The integration of machine learning algorithms into embedded devices involves several steps to ensure efficient deployment on resource-constrained hardware. Here is a simplified overview of the process: 1. Define Use Case: Identify the application for the embedded machine learning system. ...

Balancing Short Development Cycles: Addressing Scalability and Maintainability in Agile SCRUM

With the emphasis on short development cycles, how do you ensure that essential design considerations, such as scalability and maintainability, are adequately addressed during the SCRUM process?

How to ensure the security of IoT systems ?

The security of the Internet of Things (IoT) is a critical and complex issue due to the interconnected nature of devices and the potential vulnerabilities that can be exploited by malicious actors. Here are some key considerations for ensuring the security of IoT systems: 1. Device Authentication and Authorization: Implement strong authentication mechanisms to ensure that only authorized devices can connect to the network. Use unique identifiers and cryptographic keys for each device to prevent unauthorized access....