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 tell me how to write documentation for this atmega 32 dev board ?

i have designed this atmega 32 dev board (my first pcb project ) - https://github.com/vedantjadhav304/Atmega32_DEV_BOARD . Can anyone tell me how to write documentation for it ?
Solution:
Follow this steps when doing your PCB documentation 1. Introduction: - Overview: Describe the purpose and functionality of the PCB design. - Specifications: List key design specifications and requirements....

Why isn't my "Hello World" displaying on the LCD screen despite correct connections and power?

Hey Devs , I've been trying to make this simple LCD screen circuit that displays "Hello World". I have made my connections like this And my code is very simple `` int rs = 7, en = 8, d4 = 9, d5 = 10, d6 = 11, d7 = 12, readPin = A2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7);...
Solution:
It may be due to the screen itself being broken
attachment 0

How to optimize PCB design for DRV8320 and STM32G431RBT6TR to minimize vias?

Hey everyone, I'm currently working on a PCB design involving the DRV8320 and the STM32G431RBT6TR. As you can see in the attached images, I'm trying to minimize the number of vias between these two components. Ideally, I'd like to have straight traces with minimal or no vias, maintaining the same orientation of the chips. However, I'm finding it challenging to maintain the necessary functionality, such as BEMF detection with the Virtual Neutral Point and the different comparators for zero-crossing BEMF....
Solution:
attachment 0

How to optimize resistor values for reading multiple buttons on a single analog input?

Came up with some code for a project I'm working on that is able to read two buttons for each analog input (and tell if two have been pushed) based on this circuit. It works, but is not really optimized resistors-wise. I've yet to figure out a generalized expression for this type of parallel circuit (thinking one in which I could make it 3, 4, whatever resistors/buttons), which admittedly would be a matter of elegantly combining some algebraic equations. Any thoughts? Here's the rest of my code, FWIW https://github.com/JeremySCook/arduino-experiments/tree/main/MIDI/1-inch-MIDI...
attachment 0

How to fix SG90 servo motor jitter on BeagleBone Black with PWM?

Hey guys, am developing a robotic arm control system using a BeagleBone Black running Embedded Linux using AM335x ARM Cortex-A8. The system needs to control the position of a servo motor(SG90) using PWM. I have ensured that the Adafruit_BBIO library is correctly installed and imported in my script, adjusted the duty cycle range if the servo motor does not reach the full range of motion (0-180 degrees). But am getting the error  ...

Is it Possible to Use a Power Bank to Charge a 18650 Battery Shield for ESP32?

I have 18650 battery shield with 4x 18650 batteries, that is giving power to my ESP32 and its been working fine. I would need the system to be always working and easily chargable as it is in place that have no electricity. I was wondering would it be possible to have power bank which would be giving power to that 18650 shield so every couple of weeks, I could just go and swap the power bank and system would work? That propably is not the most smart thing, but it is in place where my friend is always making the change so I was thinking that that would be easiest way. I could build closed system which battery bank would be on some place that its easy to took out and put other on its place....
Solution:
I would say you should incorperate a battery charging system in your design to relief you of stress

Need assistance implementing a low-power mode to extend battery life for the ATmega2560

Hi friends, I need assistance implementing a low-power mode to extend battery life for the ATmega2560 with Zephyr OS, and resolve the issue of failing to wake up from low-power mode? I have been able to configure low-power mode in Zephyr and set up a wake-up source via an external interrupt, yet I still encounter the issue of the microcontroller failing to wake up from low-power mode. Here's the code: ```c #include <zephyr.h> #include <device.h>...
Solution:
you can try the following steps: 1. Ensure Proper Interrupt Configuration: - Verify the interrupt is mapped to the correct pin and edge. ...

Troubleshooting ADC Readings from Photodiode on Arduino

Hi everyone, I am trying to rebuild a device and have wired everything according to the schematic: You can see that the output pin of the photodiode (pin 5) is connected to the ADC pin A0 of the Arduino. By adjusting the potentiometer, I should of course get values between 0 - 1023 (10 bit ADC). However, no matter how I adjust the potentiometer, I always get 1023, so I think the sensor is "overshooting" all the time. I have tested the potentiometer previously and it works fine. I suspect there is something wrong with the wiring diagram....
Solution:
In the circuit i cant see where the arduino is connected to the power source
attachment 0

Is there any founder/maker working on a hardware design which requires high density pcb design ?

Is there any founder/maker working on a hardware design which requires high density pcb design ?

Optimizing Power Consumption and Ensuring MQTT Reliability with ESP32 and FreeRTOS

In an effort to optimize power consumption in an ESP32-based loT project using FreeRTOS and MQTT, I face challenges with high power usage and unreliable MQTT reconnections after deep sleep. Despite using deep sleep modes and optimizing task scheduling, power consumption remains at 10mA, above my target of 5mA. The ESP32 stays in deep sleep for 10 minutes before waking up. Upon waking, MQTT reconnections fail intermittently with errors such as MQTT: Connection Timeout, Failed to Re-establish Network Connection, and Server Response Delayed, causing missed data transmissions and requiring multiple retries....

Failed to Read RTC Data with ATmega2560 and Zephyr OS: Integration Issue

Hey guys, so I've been trying to integrate an RTC module with an ATmega2560 and Zephyr OS for time-stamped data logging, and resolve the issue of failing to read from the RTC? I have tried connecting the RTC module via I2C and implementing RTC read and write operations, despite that, I've been encountering the error "Failed to read from RTC." Here's the code: ```c #include <zephyr.h> #include <device.h>...
Solution:
You may need to enable the RTC clock, look at register 0x00 bit 7 should be a CH value.

Are There High-Capacity DRAM Modules for FPGAs That Don’t Use CXL Protocols?

Hi Devs, I'm working on a project requiring a large amount of DRAM (similar to SSD capacity) for a single, high-end FPGA. Ideally, I need constant read/write access (24x7) at around 10GB/s bandwidth (split between 5GB/s reads and 5GB/s writes). While RAID isn't a major concern, the sheer volume of data makes standard DDR4 impractical due to limited capacity per module and high pin count requirements. CXL modules seem like a good fit for capacity, but my FPGA doesn't support CXL. ...
Solution:
You can workaround with HBM cus it has stacked DRAM layers on top of the FPGA, impressive bandwidth and capacity It might not be as spacious as CXL yeah, but it could get you closer to your target Or use multiple DDR4 modules...

Troubleshooting Lagging Issue in Flow Meters

hey guys i currently received a flow meter from its manufacture , there is a fault in that meter as per them . It lags out frequently , like the screen (lcd) freezes after some time . They have sold 1000+ meters conttining same hardware , What can be the possible factor that may cause lagging ?

Strange Resistance Reading in Autonomous Tracked Robot Circuit

Hello guys, Recently, I have been building a tracked robot that moves autonomously (avoiding obstacles, etc.). I bought new components that I soldered onto my prototyping board. Before coding, I wanted to test everything first (connections, short circuits, bad solder joints, etc.). So, I checked with my ohmmeter if there was a short circuit between the positive and negative, and the multimeter showed 187 ohms! Strangely, I don't have any resistors of that value in my circuit. If you can help me understand where the problem comes from, I would be very grateful. Attached is a diagram of my circuit and the location where I placed the ohmmeter (made on virtual graph paper)....

Recommendations for Robust Industrial-Grade Microphone IC with Noise Cancellation for BeagleBone

Hello Guys, I am working on Mic module which is used with beaglebone, The circuit gonna used in robust Industry environment. Recommend me good microphone (ICs) module circuit with noise cancelation...
Solution:
For a robust industrial environment, you'll need a microphone module that can withstand harsh conditions and provide reliable performance

Any one work on AC to DC converter, without transformer

Hi team, Any one work on AC to DC converter, without transformer, If yes can you share me the components selection and calculation guidance. Thanks in advance 🙂...
Solution:
https://ww1.microchip.com/downloads/en/appnotes/00954A.pdf take a look at this appnote. As @ShreeshaN says, these are non-isolated designs and suitable for low current applications only.

Seeking Feedback on My First ATmega32 Development Board Schematic

i designed this basic atmega32 16 au dev board can anyone , if its fundamentally correct ? its my first schematic that i have build from scratch
Solution:
Looks alright, although please go through the points in the link to make it more better. https://electronics.stackexchange.com/questions/28251/rules-and-guidelines-for-drawing-good-schematics
attachment 0

Designing a PCB for Managing 6 Pilot Wires with STM32 and MOC3043

Morning guys, I want to create a manager for 6 pilot wires using MOC3043 for the 220V part, an STM32 Blue Pill, an OLED screen, a few buttons, and an SD card reader for control. The sketch is functional, and the breadboard prototype confirms it works. Making a printed circuit board for this seems like a good idea, except that I have never made one before (apart from using copper boards, pads, and ferric chloride... yuck). My questions are:...
Solution:
1. You can used KiCAD for the design. 2. You can try pcbway.com or jlcpcb.com both will give you the estimate cost for the size. Other than that, make sure you follow adequate trace space and width for the AC traces. If you put them too close they might arc and start a fire....

Do you guys have any idea where I can find this type of transformer?

I have a AC function generator that outputs a maximum of 20 volts. I need to connect this generator to a Step Down Transformer, keeping the sine wave on the output, for a small educational project I'm working on. The problem is that I can't find a transformer with low input voltage anywhere. I've being looking for days already and the only transformers I found are above 117V on the primary.I and Do you guys have any idea where I can find this type of transformer?...
Solution:
Look for small audio transformers or repurpose transformers from old electronics with low input voltage. Check suppliers like Digi-Key or Mouser
attachment 0

Can analog circuit design adapt and remain relevant, or will it become a relic of the past?

As digital technologies continue to advance and dominate various aspects of modern life, can analog circuit design adapt and remain relevant, or will it become a relic of the past, and what innovations and breakthroughs can we expect to see in analog circuit design that will ensure its continued importance in a rapidly digitizing world? @IoT Cloud @PCB & Analog...