DevHeads IoT Integration Server
The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.
JoinDevHeads IoT Integration Server
The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.
Joinseeking-collabs
firmware-and-baremetal
middleware-and-os
edge-networking
pcb-and-analog
jobs
iot-cloud
code-review
devheads-feed
general-dev-chat
Issues with I2C Communication to VL53L0X Sensor Using STM32F103C8 Without ST Library
Issue with Command Handling in AVR128DA48 UART Communication
python
script over UART
to toggle the LED on the microcontroller. Funny how I am encountering an issue where the first command is ignored, but the second one triggers a response.
Here’s what happens:
- I send ‘ON’ – the microcontroller does not respond....Optimizing Speed and Acceleration for Nema34 Motor Control with DM680E Driver
Understanding UART Overrun Error When Sending AT Commands from STM32 to ESP8266
PA9
, PA10
for communication with the ESP and UART2 for communication with a PC for debugging. I also used a CP2102 USB to TTL converter to tap the Tx signal from UART1 and monitor AT commands sent from the STM32
The STM32 sends the first AT command correctly, but when I send the second command AT+RST
, only part of it is received by the ESP8266. After debugging, I found that HAL_UART_Transmit
returns HAL_ERROR
, and the cause seems to be an overrun error.
See how I set things up:
...No Pulse Detected Error in ESP32 Heart Rate Monitor with MAX30102
ESP32
microcontroller, tested on a breadboard setup
, to simulate the functioning of a pacemaker
. The system continuously monitors heart rate
using a pulse sensor (MAX30102
module) and triggers an alert
if the heart rate falls below or rises above specific thresholds (e.g., < 50 bpm or > 120 bpm
). However, I keep getting the error: "No pulse detected. Check sensor placement."
What could be causing this issue?
Here’s my code:
```cpp
#include <Wire.h>...Optimizing 8-bit Parallel RGB Interface on Nucleo-F411RE: Timer Interrupts or DMA?
Decoding a 4x16 Switch Matrix on Arduino for Conditional Logic
The goal is to ultimately have a [data] where I will have:
ROW 1 == LOW && COL 1 == LOW, which will result in DATA == LOW.
In my case, only INPUTs are needed, the Arduino should not generate the matrix but only read it (so no OUTPUTs).
After obtaining this variable [DATA], I need to add a condition Supp [DATA] && x == 1 to store it in another variable in order to pass it into a SWITCH CASE. ...
Has anyone worked with the kalman filter from the DSP library for ESPs?
STM32WB15CC Custom BLE Project Not Discoverable - Missing Configuration?
p2pserver
on my board, where the device is discoverable, and I can control the LED via the STM BLE application. However, when I created my own project and enabled STM32WPAN BLE, the device is not discoverable.
In my custom project, I used the STM32CubeMX tool, which generated various BLE-related files, including app_ble.c
. In that file, the following code for discovery was generated:
```c...Why Does Disabling OCIE1A Cause Immediate ISR Re-trigger on Mega 2560?
I am using a zero-cross detection that triggers an interrupt, which calls the "void passage_a_0" function.
A command (continuous action on a button) modifies a lighting level setting from 1 to 25. This setting adjusts the phase delays corresponding to the lighting level.
I have an issue with the ISR interrupt. Below is the simplified code of the two related interrupts: ...
VR ATmega328P with R305 Fingerprint Sensor: System Hangs on finger.begin() - No Response from Sensor
finger.begin()
, I am not receiving any confirmation from the sensor, and the system seems to hang at that point. Despite verifying the wiring connections to be correct, and replacing the fingerprint sensor, the system continues to hang at finger.begin(57600)
. I would appreciate any guidance on what might be causing this issue.
this is my code:
```
SoftwareSerial mySerial(2, 3); // RX, TX...SoftwareSerial
on pins 2 and 3, but you're trying to communicate with the sensor using hardware UART pins (D0, D1). Either update mySerial
to use pins 0 and 1 for hardware UART, or stick with SoftwareSerial and connect the fingerprint sensor to pins 2 and 3.Error: 'PWM' Object Has No Attribute 'duty' in Motor Control Code Using MicroPython
obstacle detection
, line following
, speed control
, and environmental monitoring
. Am currently trying to implement basic motor control using PWM
signals and adjust motor speed using a potentiometer
or set values, am working with the motor driver module L298N
But am getting the error prompt PWM object has no attribute 'duty'
here's my code
```python...Establishing Communication Between ESP32 and R307 Fingerprint Sensor: Initialization Issues
Fingerprint sensor not found
```cpp
#include <Adafruit_Fingerprint.h>
#include <HardwareSerial.h>...Trouble Generating PWM Signal on STM32 NUCLEO-F207ZG Using Low-Level Register Programming
Compilation Errors on AMD RYZEN 5 Using GCC and NASM for Assembly Code
AMD RYZEN 5 processor
, using windows 10 64bit operating system
, with GCC
and NASM
as my assemblers, but it works perfectly on an online compiler
https://www.onlinegdb.com/online_gcc_assembler
which the code complied successful and gave the expected output of 17
?
...Improving Stability of Pitch and Roll Measurements in MPU6050 Flight Controller
Issues with Viewing PRINTF Output on STM32 Nucleo L476RG with X-Nucleo IDB05A1
PRINTF
statements in the example.
The board is connected to my computer through UART using the virtual COM port on the onboard ST-LINK. I'm configuring the project using STM32CubeMX with HAL libraries. I’ve tried redirecting the printf
output via UART and even enabled semihosting to capture the output in the debug console, but neither method has worked for me.
Does anyone have suggestions for an easier way to view the PRINTF
output, or could you recommend a better approach or development environment for working with STM32 Bluetooth LE boards? Any advice would be greatly appreciated....Understanding cmp Instruction in Assembly and Debugging with GDB
cmp
) operation and how to break at this point in GDB on an Intel Core i7-11700K Rocket Lake processor . It's low level assembly debugging in C and assembly mix0x0000000000001410 <+241>: mov eax,DWORD PTR [rbp-0x74]
0x0000000000001413 <+244>: cmp DWORD PTR [rbp-0x70],eax
0x0000000000001416 <+247>: jne 0x149d <main+382>
0x000000000000141c <+253>: lea rsi,[rip+0xbf7] # 0x201a
0x0000000000001410 <+241>: mov eax,DWORD PTR [rbp-0x74]
0x0000000000001413 <+244>: cmp DWORD PTR [rbp-0x70],eax
0x0000000000001416 <+247>: jne 0x149d <main+382>
0x000000000000141c <+253>: lea rsi,[rip+0xbf7] # 0x201a
Issue with ISR Behavior in Zero-Cross Detection on Mega 2560 Board
I am using a zero-cross detection that triggers an interrupt, which calls the "void passage_a_0" function.
A command (continuous action on a button) modifies a lighting level setting from 1 to 25. This setting adjusts the phase delays corresponding to the lighting level.
I have an issue with the ISR interrupt. Below is the simplified code of the two related interrupts: ...
Troubleshooting Relay Activation for Water Pump Control Based on PIR Sensor Detection on ESP32
on/off
code and verified power supply to the relay module. But still have same issues
here's my code
```c...