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
Is UART Different from USART on the Arduino Uno?
Bare Metal Program - Adafruit RP2040 LoRa - Feather
Looking for project ideas and examples for AVR ATmega32 with UART
How to control a 5V output pin on STM32 Nucleo L4R5ZI remotely through a connected PC?
What is the purpose of HAL_ADC_PollForConversion in STM32 HAL ADC code?
HAL_ADC_PollForConversion
function. It seems to have no effect on the ADC readings in my code. Hereās an example:
The 1st (with PollForConversion
):
```c...What is the best ESP32 board and audio playback solution for a smart clock with NTP synchronization?
GUI interface for my project with Beaglebone Industrial
How to fix "Failed to initialize SD card -ENODEV" error on AVR128DA48 using SPI?
Failed to initialize SD card -ENODEV
error. how can I overcome this and log the pressure data?
this is my instruction snippet:
```
#include <zephyr.h>
#include <device.h>...Why does my NMI handler address end with a 0, but the vector address ends with a 1?
NMI_Handler
, and when I inspect its address in the debugger, I see that it ends with a 0. However, the vector address for the NMI handler contains the same address, but the last bit is set to 1. I understand that this might be related to the ARM Cortex-M4ās support for Thumb instructions (which are 16-bit), but I'm having trouble understanding why the last bit is set to 1.
...Why isn't my LED responding to pressure readings in AVR128DA48 project?
How to resolve board restarting issue on LilyGO TTGO LoRa32 (T3 V1.6.1)?

Which MicroPython libraries should I use for ECG with ESP32?
How can I resolve I2C transfer failure on AVR128DA48 with BMP280 sensor in Zephyr OS?
I2C transfer failed with error code -EIO
making it unable to establish successful I2C communication with the BMP280 sensor. who has an idea of how I can reslove it?
this is my code:
```#include <zephyr.h>
#include <device.h>...#define I2C_DEV DT_LABEL(DT_NODELABEL(i2c0))
Segmentation Fault in C Function Printing Double from Assembly Code
segmentation fault
while calling a C
function from assembly code to print floating point values. The C
function employs a switch statement to handle different data types, including doubles.
Been able to confirm that the issue lies within the printf
function when handling double values
, as converting the double
to an integer
before printing works correctly. But directly printing the double
using %f
results in a segmentation fault.
I'm running this on a 64 bit system (Ubuntu 22.04) and the GCC compiler.
Any insights into resolving this issue ?...alignment
issue or possibly an issue with how the double
is being accessed in memory
. When you cast a long
to a double
, thereās a chance that the address
isnāt properly aligned
for accessing double-precision floating
point numbers, especially on a 64-bit system
.
A quick test would be to ensure that val
is aligned correctly before casting it to a double
. You can add an assertion
to check the alignment
```c...
Automatically Start Obstacle Detection System on BeagleBone Black at Boot
obstacle_detection.service
) in /etc/systemd/system/
2. Enable the service: sudo systemctl enable obstacle_detection.service
3. Start the service: sudo systemctl start obstacle_detection.service
...LCD Screen Remains Blank on BeagleBone Black with HC-SR04 Ultrasonic Sensor
HC-SR04
ultrasonic sensor to measure distances and displays the measurements on a 16x2
LCD
screen. am encoutering a situation where the LCD
screen remains blank and does not display any readings, and i have verified the lcd is powered correctly, i have also checked lcd initialization
python
lcd = CharLCD(pin_rs=LCD_RS, pin_e=LCD_E, pins_data=[LCD_D4, LCD_D5, LCD_D6, LCD_D7], numbering_mode=GPIO.BOARD)
python
lcd = CharLCD(pin_rs=LCD_RS, pin_e=LCD_E, pins_data=[LCD_D4, LCD_D5, LCD_D6, LCD_D7], numbering_mode=GPIO.BOARD)
Configuring USB CDC Rx Interrupt for STM32-F446RE (Nucleo)
int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len)
in a loop to receive incoming data. However, due to the transmission of substantial amounts of data, an interrupt-based reception technique is necessary. Any assistance or advice would be highly appreciated.How to Display Warnings on OLED Based on Object Distance Using BeagleBone Black?
BeagleBone Black
running Embedded Linux, VL53L0X
time of flight distance sensor to detect the distance to nearby objects and a 0.96-inch OLED
display to show the distance and warning messages. how can I display warning messages on the OLED
screen when the detected object is too close or too far. i am getting the error
Error: Display not updating
i have verified timing of the time.sleep()
function, ensured proper buffer clearing with disp.clear()
but still getting same error.
here's my code...issue
with the display not updating is due to how the text is being rendered on the OLED
screen, you could try making sure that each frame
is being drawn correctly before itās sent
to the display
. The Adafruit_SSD1306
library has some quirks
with the text()
method, and sometimes it doesn't update the display as expected. So try modifying your code to use the Image and ImageDraw modules to draw the text on...How can I use Assisted GPS for faster first-time fix in my GPS tracking system?
I need a circuit to download the firmware inside esp32 and the pin used.
ESP32
using an FTDI
module, connect the FTDI's
DTR
to the ESP32's
EN (Enable)
pin, and RTS
to GPIO0 (BOOT)
, each through a 0.1 µF
capacitor. This setup allows the flashing tool to automatically reset the ESP32
and enter flash mode without any manual button presses.