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 a timer, for example TIMER2, be used in multiple modes at the same time?

hello , Can a timer, for example TIMER2, be used in multiple modes at the same time? In other words, can it count down 4 minutes and output a continuous PWM signal at the same time?
Solution:
This is called multi tasking, and the atmega can not provide this..... But it can if you code it properly to do tow functions simultaneously at high speed, it will appear like in the same time

Do u have a suggestion about appropriate anti-windup measures

Hello everyone, For the motion control system of a robot, how can integrator windup be prevented in the PID controllers when the robot's joints experience large desired position changes or actuator saturation constraints during rapid movements? Because i want my robot to perform a kicking motion, Do u have a suggestion about appropriate anti-windup measures

Is pynq z7 a good board for beginners?

Hey I wanted to buy pynq arty z7 board.....any reliable/official suppliers some one knows of in India ?
Solution:
Both are from different vendors. Arty Z7-20 and PYNQ-Z2 has the same ZYNQ XC7Z020-1CLG400C part although. Onboard peripherals, availability and cost will be your to-look factors. (note: Arty Z7 comes in -10 and -20 variants and these two have different SoC variants)...

How do I estimate the lifespan of a microcontroller?

Hello everyone, I have some concerns bothering me.I would like to know how one can estimate the lifespan of a microcontroller (for example AVR). And can microcontrollers work 24/7 ??...
Solution:
Microcontroller lifespan estimation depends on operational and environmental conditions. Properly designed microcontrollers can work 24/7 with adequate power management and cooling.

Need help with warning in PlatformIO ESP-IDF for ESP32-S3 timer ISR

Hi guys I facing this issue with my esp32-s3 timer isr i am using platformio esp-idf any clue to solve this warning?
Solution:
This represents memory regions inside the internal RAM (IRAM) of ESP32. I don't use PlatformIO but usually because of the deprecated timer.h build failed. In your case, it seems like IDE couldn't locate the relevant libraries. Please try this example code to test and also follow instructions from the readme file https://github.com/espressif/esp-idf/blob/master/examples/system/esp_timer/main/esp_timer_example_main.c
attachment 0

Switching from L3G4200D to MPU6050 and Updating I2C Address in Arduino Code

Hi everyone, can anyone help me with this, I'm building a quadcopter following this schematic, and I don't have l3g4200d I have l3g4200d vs mpu6050 can I change it and change only i2c adresse in arduino code
Solution:
I found out that I can change it without changing anything because the publisher made 2 version, I'll keep you updated about the progress
attachment 0

I'm searching for a cnc cut design for my flight frame, does anyone have a ready design?

Hi everyone, I'm searching for a cnc cut design for my flight frame, does anyone have a ready design? Thanks in advance

Can i use an ESP32 camera with a Raspberry Pi for object detection?

good afternoon can i use esp32 cam with raspberry pi to detect object ?...
Solution:
Yes, you can use an ESP32-CAM with a Raspberry Pi to detect objects. You can use the ESP32-CAM to capture images or video of the scene, then transfer that data to the Raspberry Pi for object detection using software libraries like OpenCV or TensorFlow.

Integrating ESP32 Camera with Android for Enhanced Object Detection

Good morning,I have a project in which I am using Android application for object detection Currently my phone camera opens when I open the application and it starts detecting the objects But I want to integrate the esp32 cam with android so that esp32 video stream come to android and should be shown at phone's screen Basically it uses phone camera for object detection now it should use esp32 cam Can anyone help?...
Solution:
You can run a Webserver on a ESP32 CAM Module. And access it from Android App which can be made by using simple MIT App Inventor. So that the Mobile App will access a video stream over HTTP as a client. Also, you can add additional capabilities like the object detection algorithm running on ESP32 to acces camera stream connected to it.

Which family of chips i should look into for lightweight and custom application?

need help guys - so yst i had my hackathon in which i presented a electronic based model were i used esp32 as micro controller but asper a judge instead of a protocol which is using wifi i should use poe or powerline protocol and go with more lightweight , power efficent chip rather than esp32 which was very powerful for that task , till now i have justed build my projectsa round esp32 and arduino , So which family of chips i should look into for lightweight and custom application . I want a fam...
Solution:
PoE should work as well. It might be easy to integrate while installation and is a fully wired method unlike other popular wireless IoT. The software-stack and processing you need in PoE case might get complex and not all MCUs come with ethernet peripheral. For example, say RA6M2. It comes with ethernet MAC (exposing RGMII lines) and an external PHY chip say DP83867 will be required to further down connect with the RJ-45 port having twisted pair lines. Also, the POE requires it's set of chips - usually a rectifier IC and PoE PD IC for handshaking to extract power from the twisted pair lines (ex: https://ww1.microchip.com/downloads/en/Appnotes/AN3533-PD70210AAL_and_PD70211_System_Layout_Guidelines.pdf) System may look like:...

Power Supply or Resistor Solution?

Morning everyone! I have a small question I want to operate 2 strips like this one with an Arduino Mega, the LEDs look a bit dim when I turn them on, like a drop in power! Should I power them with another 5 volts or should I add resistors? If resistors, how many ohms? Thank u in advance.
Solution:
Adding resistors won't help, they'd just make the LEDs dimmer. a relay can be used to control power to the LED strips, maybe you need a additional power supply The issue might also lie with the LED strips themselves...
attachment 0

Best practices for selecting an MCU for a battery-powered IoT device

What are some guidelines we need to follow when selecting a microcontroller for an IoT device that runs on battery. What should be my consideration. Am currently starting a project on a battery powered device. Thanks.

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?
Solution:
I will not use Arduino framework in commercial projects becuase:

Are there any other Arduino boards with USB ports that also support the Keyboard.h library?

Good evening. I've tinkered with a set of 4 switches/pedals to generate keyboard shortcuts on PC. Everything works perfectly with a Chinese clone of Arduino Pro Micro. Are there any other Arduino boards with USB ports that also support the Keyboard.h library? I tried the Nano... Incompatible....
Solution:
Unofficial board like ESP32S3 or RP2040 should work as well
attachment 0

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....

In Zynq SoC the DMA is writing in memory with big-endian there is a way to change it little endian

In Zynq SoC the DMA is writing in memory with big-endian there is a way to change it to little endian, i found big trouble locating my header in a memory when is written in different memory case

MQTT Control of ESP8266 GPIO via ESPEasy: A DIY Approach Without Home Automation Assistants

Morning everyone 😌 I am trying to control a set of relays with the GPIO of an esp8266. I have installed espeasy, and I can control the GPIO with an HTTP command. I would like to be able to do this with MQTT. My broker is a Raspberry Pi, and the test signals are passing well with the protocol. Now, I would like to achieve this with espeasy without using Jeedom or other home automation assistants. Has anyone tried this before????Because I can’t find any tuto similar to my project....
Solution:
Yes, I agree with @boualleg sabrina. If RPi is running MQTT broker s/w and acting as an IoT Server. Then connect your home devices as a client and control them. This way you can avoid all third-party services. The only limitation is you won't have access from outside of your home network. There is a way out but I'd not recommend RPi to make it public access for security reasons.

Can you suggest to me an environmental project using stm32 with Ai

guys can you suggest to me an environmental project using stm32 with Ai
Solution:
@boualleg sabrina , there are a lot of environmental projects to run using stm32 and Ai, we have the smart waste management system, we have the air quality monitoring system, these once are mostly done projects . So try out SMART IRRIGATION SYSTEM for Agriculture, you can use STM32 with AI to monitor the soil moisture levels and weather conditions. The AI can analyze this data to determine the optimal watering schedule for crops, reducing water waste and improving crop yield. This project can help farmers save water, increase efficiency, and promote sustainable agriculture practices...

STM32 firmware extraction for read out protected devices

Found an interesting article while searching for methods for STM32 firmware extraction. I think its worth to glance through it! https://www.aisec.fraunhofer.de/en/FirmwareProtection.html

Has anyone here worked with the EZ-USB™ FX2LP FX2G2 USB 2.0 Peripheral Controller from Cypress

Has anyone here worked with the EZ-USB™ FX2LP FX2G2 USB 2.0 Peripheral Controller from Cypress, specifically the CY7C68013A model?