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

What is your suggestion in replacement of logic analyzer to check the I2C protocol?

Since Logic analyser are expensive for early professionals and students. What is your suggestion in replacement of logic analyzer to check the I2C protocol? @techielew @Umesh Lokhande @Navadeep @abhishek awasthi...
Solution:
I have this it is low cost and work very good for simple things Just found this amazing item on AliExpress. Check it out! €3.84 | USB Logic Analyzer 24MHz 8 Channel 24M/seconds Logic Analyzer Debugger For ARM FPGA Logic Analyzer Logic 24M 8CH https://a.aliexpress.com/_EGGJaaL...

Why is HAL_ADC_Start Taking Longer Than Expected on STM32F446RE and How Can I Reduce Its Duration?

hello everyone , When I used the ADC in the STM32F446RE and configured it using STM32CubeMX with the settings shown in the image, and with a clock frequency of 180MHz and APB2 frequency of 90MHz, I tried to measure the duration of the ADC conversion. I set the pin high before the ADC conversion and then reset it low afterward to calculate the duration of time it was high using an oscilloscope. I found that the duration was approximately 50μs, which is higher than expected. I tried to find the re...
Solution:
The prolonged conversion time may be due to a combination of factors such as ADC clock speed, resolution, sampling rate, and number of channels. Try increasing the ADC clock speed, reducing resolution, decreasing sampling rate, or using fewer channels to reduce the conversion time.
attachment 0

Any one of you have faced a challenge with the memory alignment while reading byte words ?

Team I would like to know if any one of you have faced a challenge with the memory alignment while reading byte words ?
Solution:
what type of issue do you mean? Unalignment? Having the data in memory address equal to some multiple of the word size will help it to be aligned. Take a look at https://www.geeksforgeeks.org/structure-member-alignment-padding-and-data-packing/'...

can somebody help me with my STM32 Nucleo H743ZI2 ?

Hey, can somebody help me with my STM32 Nucleo H743ZI2 ? I have to configure a MQTT communication to another STM32 over TCP/IP. I use the standard MQTT library from LWIP. But you can show me also from PAHO or another library. I only get a TCP connection but not a MQTT connection....

Has anyone ever managed to get a DFPlayer module working with a MEGA board?

Morning , has anyone ever managed to get a DFPlayer module working with a MEGA board? The .ino file from DFRobot says it should work, but it doesn't. It works very well with an UNO board but there's no SoftwareSerial communication with the MEGA. If you have succeeded, could you please share the code or the SoftwareSerial settings?? #embedded-sw-chat #mcu-mpu-and-firmware...
Solution:
Yes, you can use check it here. The code and connections also. https://community.dfrobot.com/makelog-312205.html...

I need to measure the battery capacity using an ATmega32 microcontroller.

Hello everyone I need to measure the battery capacity using an ATmega32 microcontroller. What is the best method or sensor to use? And How can I account for the battery's discharge rate and voltage drop over time in my measurements? I would I'm a bit stuck and would appreciate any guidance...
Solution:
Use an analog-to-digital converter (ADC) pin on the ATmega32 to measure the battery voltage. You'll need a voltage divider circuit to scale the voltage to the ADC's input range (0-5V).

I'm trying to connect an ESP32-CAM to an ESP32 using the I2C protocol.

Guys, I'm trying to connect an ESP32-CAM to an ESP32 using the I2C protocol. Which pins on the ESP32-CAM should I use? I used pins 14 and 15, but it is not working.

I'm working with the ESP32-CAM for recognizing QR codes.

Hi all,I'm working with the ESP32-CAM for recognizing QR codes. Everything worked perfectly, and I was able to recognize QR codes until I used SoftSerial to transmit the SBUS signal. I can receive the SBUS signal via RX2, but in my project, I need to transmit it to the flight controller.

Does anyone worked on SIM800L module with ESP32 using ESP-IDF framework?

Does anyone worked on SIM800L module with ESP32 using ESP-IDF framework? I tried the basic pppos_client esp-idf example, but it's not working for me I'm getting tthe following errors...
Solution:
First Using delays, and second do multiple attempts if synchronisation is failed do it again

What framework or tool you guys use to make iot bluetooth ble /wifi apps for andriod and ios

What framework or tool you guys use to make iot bluetooth ble /wifi apps for andriod and ios

I want study firmware with friends.

Hello, everyone. I've been studying firmware and hardware design for 2 years. I want to do with friends together. Pls DM me if you want to study with me. I know - STM32...

my ESP32 Cam display is not sharp enough

Hello guys my ESP32 Cam display is not sharp enough How can I increase its brightness...
Solution:

How to Resolve Connection Errors When Uploading Code to ATmega32A Microcontroller?

Good morning everyone! Now, every time I try to upload the code to my microcontroller, it gives me an error that it can't establish a connection with the target chip. I've checked the connection more than twenty times, and I'm sure it's correct. I've also simulated the code, and it works fine on Proteus. Even though it's a simple code just to toggle an LED, I keep getting this error. Could the issue be with the microcontroller? I have three microcontrollers, and I've tried them all, but they all...
Solution:
Please provide a neat connection diagram to help us understand how and where exactly the ISP programmer's pins are connected to ATmega32A MCU. It seems to me you've connected VCC from the AVR ISP programmer to the AVR chip. Usually, I suggest using an external 5V DC to power up ATmega32A. The VCC/5V from ISP header of a programmer is not capable of providing enough power while uploading. That's the reason in your screenshot it says Power On Failed and Can't Communicate with Target Chip

How to Enable Raspberry Pi Camera Interface on Raspberry Pi 4 Model B with Camera Rev 1.3?

hi everyone my raspberry pi is 4 model b and my pi camera is 1.3 rev .. and there is no option 'camera' in the "interfaces option" to enable the cam i try to update and upgrade and i try vcgencmd get_camera i receive this output :supported =0 detected=0 , libcamera interfaces =0 any help please...
Solution:
Hi @406399 If you're using bookworm ( Raspberry Pi OS ) with Raspberry Pi4 then in raspi-config you'll not find option to enable the camera interface. For legacy camera versions like Camera V1.4 and V2. I'll suggest to use bullseye version of RPi OS and then enable the camera interface. The only time you need to edit config.txt file is when using latest Camera V3 which support libcamera API. Let us know if you're camera module works with Bullseye verision of RPi OS.

How to create and write data in .xlsx file into the SD card using any microcontrollers like stm32,

Does anyone know how to create and write data in .xlsx file into the SD card using any microcontrollers like stm32, esp32?
Solution:
I apologize for the confusion. You are right, the FatFs library does not support the Excel file format directly. You will need to use a separate library for Excel file manipulation. One popular library for Excel file manipulation is the OpenXML SDK. You can find more information and examples on how to create an Excel workbook using OpenXML in the official documentation: https://docs.microsoft.com/en-us/office/open-xml/how-to-create-a-spreadsheet-document-by-providing-a-file-name Another option is to use the ExcelDataReader/ExcelWriter library, which allows you to read and write Excel binary format (.xls) files. You can find more information and examples on how to use ExcelDataReader/ExcelWriter on the official GitHub repository: https://github.com/ExcelDataReader/ExcelDataReader...

When we talk about wifi esp32 / esp8266 is the first choice, are ther other alternatives?

When we talk about wifi esp32 / esp8266 is the first choice, are ther other alternatives? There are any microcontrollers with built is wifi ?
Solution:
I used TI's CC3200 for evaluation purpose once

anybody around here involved with reed-switch manufacturing/testing/selection?

anybody around here involved with reed-switch manufacturing/testing/selection? Niche subject... I'm creating a tester for reed switch parameters since about a year as my side job, and it's been fascinating to see that reed switches are everywhere yet I've never met anybody working with them/distributing them besides the friends I am working with.

ESP8266 Water Level Device: Tips & Pinout

Hi everyone, my client asked me for a water level measuring device, just like I made earlier but in this time with esp8266, now this is the first time I work with it, can anyone give information about it... Speed.. Pinout, anything to put in mind before starting??
Solution:
Esp8266 is a good module, though esp32 is a upgraded version Pinouts are easily accessible on web, you can refer from that Regarding the speed, it only uses wifi so should be fine if you are working on a small prototype or something. But if you want to implement you have to test it with better modules Esp8266 are essentially made for prototyping and in very few cases it is used properly in a product. Also they tend to heat up after some use or some boards tend to fry, if not used correctly so make sure that you check the documentation once to be sure And keep some extra esps...

Load Cell Calibration Challenges: Troubleshooting Parameters?

Hello, i'm trying to calibrate my load cell to get the right weight.. using rassbpery pi pico &i try it with arduino uno i've followed readme file of the library HX711 wich says start with no weight..than devide the raw value by the known weight to get scale factor But the result printed is always different(-/+)..even if i don't touch nothing, the weight the scale nothing... so how can i get the right paramater to pass to "set_scale()"?...
attachment 0