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

Can anyone successfully build this samples/drivers/can/babbling for any espressif board?

Been working on a CAN network with an esp32 sender and a stm32 bluepill receiver. Both done in Zephyr.

Has anyone done FOTA on ESP32 using a 4G A7670 radio without Wi-Fi?

Has anyone tried to do FOTA on ESP32 connected to 4G radio A7670? Please note that ESP32 does not have access to any wifi access point. It need to do FOTA through 4G cellular. Any help will be appreciated.

Segmentation Fault in Asterisk on STM32MP157f-DK2 When Using 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....

Adapting Mongoose WS for STM32H753ZIT6 with MII Ethernet Mode

Hello everyone, I am trying to run Mongoose WS on my stm32h753zit6 board but every example they use NucleoH753ZI. They are using RMII mode but in my case I am using MII do I need to update something on library. I tested couple times with different implementations but still my ethernet does not assigning the IP. I am adding the serial log. Can anybody did this before, can anyone help me about it? @te0...
attachment 0

any reason why my stm32 configured as mqtt client sends a DNS request but i dont get a response?

any reason why my stm32 configured as mqtt client sends a DNS request but i dont get a response?

Troubleshooting GStreamer Audio Pipeline for HFP/HSP Bluetooth Connection on Raspberry Pi

Hello Guys I have another HFP/HSP question I have to connect a phone to a computer to Tx/Rx the phone's audio. Using bluetooth, there are 2 option-> HSP and HFP. I thought of connecting my phone to my RPi using bluetooth, making my RPi mimic a HFP HF while the phone as usual be a HFP AG. On my RPi(with a external BT dongle) i was able to successfully connect with the Phone and was able to detected as a Headset on my phone....

Resolving Unrealistic Weather Predictions in MicroPython Linear Regression Model on Raspberry Pi Pic

While implementing a networked weather station on the Raspberry Pi Pico W using MicroPython, I encountered an unexpected result in the predicted temperature and weather classification. The code is supposed to fetch real-time weather data and use a simple linear regression model to predict the next hourā€™s weather, but the output prediction is producing unrealistic temperature values like negative temperatures in tropical regions. Here is the relevant portion of my code: ```python import network...

Deploying Minio on ARM Cortex-A53 Embedded Systems: Challenges and Performance Optimizations

Hey guys I am looking to run an object storage server on an embedded Linux platform with ARM Cortex-A53 processors and 2GB RAM (Xilinx-based). Minio is a potential option due to its open-source nature. Has anyone successfully deployed Minio on similar resource-constrained systems? I'm specifically interested in performance, required optimizations, and any challenges encountered during deployment

Securing ESP32 Home Automation System with MQTT over SSL/TLS for Voice-Controlled Appliances

Am integrating the Llama 3 AI model with an ESP32-based home automation system, using various sensors like the DHT22, PIR, and magnetic reed switches) and protocols like MQTT and Wi-Fi to manage appliances via voice commands? Additionally, how do u guys feel in leaving system reliability and security for homes at the hands of an Ai? My question is what's the best security measures to ensure over the MQTTover SSL and TLS so as not to have unauthorized users ```cpp #include <WiFi.h>...

Issue with WiFi Connection on New ESP8266 D1 Mini Boards Using WiFiManager

Hi! Guys i ordered about ten ESP8266 D1 Mini boards with a USB-C port.
I created a program with VSC and PlatformIO that works perfectly on an older D1 Mini (AZDelivery).
On the new ones, however, it's impossible to get automatic WiFi.
I'm using the WiFiManager library (alanswx/ESPAsyncWiFiManager).
I do get the portal at 192.168.4.1, I enter the SSID and password, the ESP restarts, but it never connects (I've tried with 5 of them). ...

How to Resolve No Buffer Space Errors in CAN Communication With MCP2515?

I was previously working on a distributed robotic control system where multiple robotic arms communicate via CAN Bus to coordinate their movements. Each arm operates independently, but they share data like position, load, and speed in real-time using the AVR128DA48 microcontroller and the MCP2515 CAN controller. The idea is for each robot to adjust its movement based on data from the others, ensuring smooth, synchronized operation. Iā€™ve set up the MC with the MCP2515, using Zephyr OS to manage the CAN communication. The CAN initialization seems successful: the CAN bus is set up with a 500 kbps baud rate, filters are configured to allow messages between the robotic nodes, and the SPI interface between the AVR and MCP2515 is working fine. Iā€™ve confirmed this by monitoring the SPI communication on the scope. The issue comes when I try to receive messages from other robotic arms. The can_add_rx_filter() function is supposed to catch incoming CAN messages, but it always fails with the error code -ENOBUFS (No Buffer Space Available). Even though I am certain the messages are being broadcasted from the other nodes, my node doesnā€™t seem to capture or process them. Iā€™ve tested the wiring and termination, and all other hardware connections look good....
Solution:
@Dark AI Hey buddy, thanks I tried it out, and also ensured that the buffer and filter allocation matches my system's needs.šŸ‘šŸ½
attachment 0

I'm experiencing inconsistent Wi-Fi connectivity issues with my ESP32-C3-MINI-1-U board

Hi, I'm experiencing inconsistent Wi-Fi connectivity issues with my ESP32-C3-MINI-1-U board, specifically frequent disconnections (every 10-15 minutes) and slow reconnection times, which persist across different networks and environments, including home, office, and outdoor settings. I've tried updating the Wi-Fi firmware and adjusting network settings, but the problem remains. I'm using the Arduino IDE (version 2.0.3) with the WiFi library (version 2.0.0), and power-saving modes are disabled. M...

Optimizing MQTT Stability on ESP32 with Keep-Alive Tuning or Reconnection Strategy

Hey guys in my previous work with MQTT on ESP32, I've faced challenges like frequent disconnections in unstable networks and inconsistent message delivery despite adjusting QoS levels and retry settings. l've tried different keep-alive intervals but still experience data loss during network drops. Should I prioritize fine-tuning the keep-alive interval to maintain a stable connection, or would implementing a more robust reconnection strategy be a better approach?...

Is anyone experienced with Bluetooth HFP (Hands-Free Profile) development?

Hello @MCU, MPU & Firmware , Is anyone experienced with Bluetooth HFP (Hands-Free Profile) development? If so, could you provide recommendations for vendors with a mature and stable Bluetooth stack that supports the HFP profile?...

Debugging Intermittent CAN Bus Communication Failures on AVR128DA48

Hey guys, During integration testing, Iā€™ve noticed intermittent failures in CAN Bus communication between nodes. Some messages are dropped, and errors are logged on the AVR128DA48. Iā€™ve already checked for electrical noise and verified the hardware setup. I also added the following debug code to catch errors: ``` if (can_receive(can_dev, &rx_frame, K_MSEC(100)) == -EIO) { printk("CAN receive error\n"); }...

Optimizing MQTT Communication for High-Frequency Data Transmission with ESP32

Hey guys, while setting up communication between ESP32 and industrial/DIY sensors using MQTT, I noticed performance bottlenecks, message loss, and delayed logging, especially during high-frequency data transmission. How do different MQTT buffering techniques and architectural patterns compare when dealing with high data throughput in systems with network instability? What strategies can ensure message reliability and minimize delays when transmitting large volumes of sensor data from ESP32 to the MQTT broker?...

Troubleshooting CANBUS Flashing on Nucleo-F446 Board Using STM32 Bootloader

I'm attempting to flash code over CANBUS on a Nucleo-F446 board, using the instructions from the following application note: CAN Protocol Used in the STM32 Bootloader. According to the document, in Boot mode, the default CAN baud rate is 125 KBPS, and the CAN2 pins (PB5 and PB13) should be used....

Fixing IndexError in Gesture Recognition with TinyML on ESP32

After resolving the previous issues in my gesture recognition project on the ESP32 with TinyML, Iā€™m now encountering a new problem. The program crashes intermittently with the following error:
IndexError: index 3 is out of bounds for axis 0 with size 3
IndexError: index 3 is out of bounds for axis 0 with size 3
...

Delays in LoRa Message Transmission with AVR128DA48 and SX1276 Module for Real-Time Alerts

Hey guys, Iā€™m working on a real-time alert system using LoRa to notify operators when a sensor picks up a problem, like high temperatures. Iā€™m using the AVR128DA48 and the LoRa SX1276 module. This is the code Iā€™ve written for sending a basic alert: ``` void lora_send_alert() { lora_send(lora_dev, "High temperature detected!", sizeof("High temperature detected!"));...

How do I build an MJPEG server via WebSocket on ESP32 using Mongoose

I want to build a MJPEG server via websocket on esp32 in esp idf The problem is that I am using the mongoose network stack, and I have to know exactly how would the ws header look like After some searching, I found that I need data:image/jpeg;base64, and I did this : ``` mg_ws_printf(c, WEBSOCKET_OP_TEXT, "data:image/jpeg;base64,");...
Next