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

ESP-IDF CMake Error on ESP32C6 Board - Missing CJSON.c File

Hi everyone! I'm experiencing a build error with ESP-IDF on my ESP32C6 board and I'd appreciate some help. I'm trying to build the "blink" example in the get-started directory. Error Message: ......

Receiving "rc= -2" error with ESP32 MQTT TLS certificates

I'm trying to send encrypted messages using tls from esp32 to my localhost mqtt server ( using mosquitto ) .I'm getting an error rc= -2 when using certificates for encryption . Code was working fine without encryption . Please help .

Help getting started with CAVLI C16QS development kit

Does anyone have experience with this development board? If he can assist with datasheet, AT command manual, library etc.
No description

DevHeads Demo: Serial Wire Viewer Data Tracing with Arm Cortex-M and the STM32CubeIDE

Data tracing is the embedded firmware engineer’s friend. When performed with a feature like Serial Wire Viewer (SWV) on Cortex-M-class microcontrollers, it allows developers to visualize all packets transmitted across Serial Wire Output (SWO) pins directly in their IDE and issue printf statements for real-time analysis of read commands, write commands, and exception events. How do you get started with Serial Wire Viewer? In this DevHeads Demo, @Umesh Lokhande fires up the STM32CubeIDE, configures SWV step by step, and proceeds to debug a “While" loop and plot the data trace on a graph in the IDE in real time. Join the DevHeads IoT Integration Server and learn how you can leverage firmware debug tools like Serial Wire Viewer and other techniques to accelerate your development time....

How do I calculate the battery life of ESP8266-based products?

Does anyone share the considerations for calculating the battery life of ESP8266-based products? Does LDO consume current? if yes which LDO and battery is advisable to use? @Hardware Integration

DEVHEADS DEMO: How to Implement Finite State Machines in FPGA Fabric

FPGAs are among the most versatile technologies available on the market today, but capitalizing on that versatility means learning hardware description languages like VHDL or Verilog, different requirements in terms of board design and routing, and how all of that impacts software development. But don't knock it before you try it. In this Demo, @Navadeep shows us how to implement synchronous and asynchronous finite state machines In FPGA fabric using the Verilog HDL. The demo uses an AMD Zynq 7020, but the Verilog code is available on the DevHeads GitHub and can be adapted for other FPGA targets as well. If you're an @MCU, MPU & Kits developer and are looking to get up to speed on FPGA programming, start here....

Raspberry Pi Model 3B Timer Initialization

I’m emulating an RPi 3B on QEMU and trying to write an embedded OS but getting stuck trying to enable timers and interrupts. Reading the least and most significant bits of the timer at locations 0x4000001C and 0x40000020, respectively, doesn’t give me any data at all. /* * BCM2837 Timer Setup ...

ESP32 Dev Kit C V4 detection issue on Windows 11

The ESP32 Dev Kit C V4 from Amazon which I want to program using Arduino IDE. It seems Windows 11 could not detect the module. It looks like a driver issue even though CP210x Universal drivers are already installed from the official website. Has anyone from @MCU, MPU & Kits faced a similar issue?

How to Debug STM32 ARM Cortex-M Microcontroller using STM32CubeIDE

The most important aspect of firmware development is debugging. When dealing with bigger projects, many developers struggle to find the bugs in the source code. The use of a professional debugger like STLinkv2 can save countless hours. Also, it's advisable to use the full features of an IDE like STM32CubeIDE and add breakpoints. We can avoid mistakes like the use of a Serial terminal, virtual COM port, or manual debugging. Here in the video, we have shown how to monitor and debug the code line...

Troubleshooting the NodeMCU RFID Interface

"Hey team, I've successfully uploaded the RFID reader code to my ESP8266, and the hardware connections seem correct. However, I'm not getting the expected output on the Serial Monitor. The loop is running, but I'm not detecting RFID tags or seeing UID information. Any insights on what might be causing this issue would be greatly appreciated!"

Porting issue: memcpy to DMA for memory transfers

To speed up the booting sequence in one of my client's projects, I am trying to Port the memory transactions from memcpy to DMA using an IP already supported by SoC. My observations are that the porting will significantly decrease the boot up time especially in the case of a big chunk of data transfers from different memories. But if I am blocking the processors and waiting for the transfer to complete it adds to the boot up time and if I am not blocking, some sensitive memory transactions might...

Three Advantages of Using a Low Power MCU in your IoT Device Design: STM32L Series a case Study

The Internet of Things (IoT) demands a delicate balance between performance, power efficiency, and connectivity. Among the myriad of microcontroller options available, the STM32L series from STMicroelectronics stands out as a particularly suitable choice for designing IoT devices. Here are three key advantages that make the STM32L series an excellent fit for IoT applications: 1. Low Power Consumption: The STM32L series is renowned for its exceptional low-power characteristics, making it an ideal choice for battery-powered and energy-efficient IoT devices. With various low-power modes, such as Stop, Standby, and Shutdown, designers can tailor the power consumption to the specific requirements of their application. This feature is critical for IoT devices that need to operate for extended periods on limited power sources, enhancing overall energy efficiency and contributing to the longevity of battery life. ...

What security protocols and techniques can be applied to ensure the integrity and confidentiality ?

hello everyone, I'm working on an embedded system project that requires robust security features. The system incorporates an ARM-based microcontroller, and I'm interested in implementing security measures to protect against potential threats such as code injection and data breaches. What security protocols and techniques can be applied at the hardware and software levels to ensure the integrity and confidentiality of the embedded system? Any insights into secure boot processes or cryptographic implementations would be valuable....

Recording Temperature with ESP32 & ThingSpeak

Hi all, I just finished setting up a temperature measurement system for the input/output of my underfloor heating using an ESP32 and 2 DS18B20 sensors. I send the data every 15 seconds to ThingSpeak, and everything is working fine. However, the issue is that ThingSpeak only displays the data in 15-minute intervals, whereas I would like to record these temperatures and view them over 24 hours, 1 week, or even 1 month. Does anyone know what to do? Is it a configuration issue or should I use another service?...

DEVHEADS WEEKLY OFFICE HOURS: 12/29/23

Happy Holidays, @everyone! On our last meeting we revealed: * We’re working on a content calendar that will feature our community experts demonstrating how to solve specific development challenges * Our community will “soft launch” on January 3rd. What does that mean? It means: ...

How do I secure an Arduino IoT sensor node?

Hi all!
In a sensor network utilizing Arduino nodes, what security practices should be implemented to protect the data collected and transmitted by these nodes? Address potential threats related to sensor data integrity and confidentiality, and discuss encryption techniques suitable for Arduino sensor nodes....

Wireless Communication Security with Arduino

Hi all! In an Arduino project involving wireless communication, what security measures can be implemented to protect data integrity and privacy? Discuss encryption protocols and authentication methods suitable for Arduino-based systems using wireless modules like Wi-Fi or Bluetooth....

Raspberry Compute Module 4 with Stereopi v2.02 and 2 cameras

Hi All! I would like to know if any of you have ever worked with the compute module 4 using a stereopi v.02 and 2 cameras of the IMX477 model. I have been working on it for a while, but I absolutely cannot get the cameras to work on it. Initially, with the command 'vcgencmd get_camera,' I had: supported=2 detected=1, libcamera interfaces=1 It detected one camera but not the other. However, on the stereopi, there are 2 camera ports, but I cannot get both to work simultaneously. I am desperately looking for a solution, but I can't find anything. I modified my /boot/config.txt file, switched back to the Buster version instead of Bullseye because it is not very compatible with both the stereopi and the compute module. I want to clarify that I am not working with an Arducam but with a stereopi v2.02 with 2 camera ports....
No description

Memory Requirement

When dealing with memory-intensive applications, how do you determine the appropriate amount of RAM and Flash on a chip?

How is Flash memory different from ROM in microcontrollers?

When it comes to the brains of electronic systems, microcontrollers play a big role, and two crucial components within their architecture are RAM (Random Access Memory) and ROM (Read-Only Memory). RAM (Random Access Memory): ...
No description