2,638 questions
0
votes
0
answers
11
views
How do I connect the Arduino Nicla Vision to the pmw3901 optical flow sensor?
I was able to make the sensor work on the Arduino Leonardo but the Bitcraze Optical Flow Breakout pmw3901 board does not work on the Nicla Vision.
**Bitcraze Optical Flow Breakout pmw3901 board to ...
-3
votes
0
answers
27
views
What parameters are required for monitoring river water quality using IoT technology? [closed]
I am designing a river water quality monitoring system using IoT technology. My goal is to measure parameters such as temperature, pH, and electrical conductivity using IoT sensors.
I would like to ...
0
votes
0
answers
31
views
Serial monitor displays question marks and white boxes even though baud rate is correct Arduino Uno
I have been trying to build an electronic drum kit by utilizing piezo sensors and an Arduino Uno. I connected the positive terminal of the piezo in to analog read pin A0 in my Arduino Uno and the ...
0
votes
0
answers
15
views
Inconsistent Sensor Data when Writing to a new JSON File
I have a python program running on a raspberry pi that is taking data from a suite of sensors once a second and writing it to a JSON file and then uploading that JSON file to ThingSpeak once a minute. ...
0
votes
0
answers
13
views
How do Airflow sftpsensor push xcom value
Airflow v. 2.8.2
I need check several files on sftp at some day_time. If all files exist-all good go next task. But if can't find some files, i want send email with text ('Files: file_name1, ...
1
vote
0
answers
32
views
Characters ��� appears when load turns on
I'm making an automatic watering system with an LCD that shows moisture level from 0 to 100. Whenever the pump turns on the output on the serial monitor turns into ��� and other random characters. ...
0
votes
0
answers
13
views
How to make gate predictions for certain movements using HMM model?
I want to use IMU sensors to predict which gate the user is going to move into next (for walking, running, jumping, etc). From what I've researched it seems like HMM is the best machine learning model ...
0
votes
1
answer
60
views
What is wrong with this C code to control a LED using a sensor and a push button?
I am trying to program an ATmega328P to control an LED using an HC-SR04 sensor and a push button. My goal is for the sensor to turn ON the LED (like turn on a light in a room) when something passes ...
0
votes
2
answers
72
views
NUCLEO F401RE and multiple reading with HAL_I2C_Mem_Read_DMA
I'm doing a project involving STM32 and an accelerometer sensor (LIS2DE)
I have to read every second the register from the sensor and send it via UART to arduino IDE but, idk why, the other two ...
0
votes
0
answers
36
views
How do I read a register of a pyrometer over NModbus in C#?
I am new to MODBus, but have worked with Profibus/PLC before. I am trying to use C# NModbus package to communicate with two pyrometers using RS485. The system is set up as so:
|Computer| -> |RS485 ...
1
vote
1
answer
34
views
Determining movement based on accelerometer and other sensors
I am making a application that detects orientation and movement of the android device, and send them to desktop for further usage.
I could successfully get the orientation using TYPE_ROTATION_VECTOR ...
2
votes
2
answers
112
views
Ph sensor always showing "0" but only in this specific code
I got this school project and I made this simple code linked with a google sheet, the thing is one sensor is giving me the correct reading while the other one only shows "0"
The sensor ...
0
votes
3
answers
65
views
Merge approx. same timeseries, round time (minutes)
I have two timeseries from two different sensors. Because of internal timestamp settings they differ in a few minutes. I would like to combine them, ignoring the exact time:
#Timeseries 1
t = seq(as....
0
votes
0
answers
32
views
Airflow FileSensor, find new file in folder
I have the problem:
Files that have a common mask constantly fall into one folder, on different dates in the names.
For example:
One file is called my_file_2024-10-22_10_35, and the second ...
0
votes
0
answers
34
views
Trouble Communicating with HS3000 Sensor via I2C (Mbed OS) - Write and Read Errors
I am trying to connect to an HS3000 humidity and temperature sensor using I2C with Mbed OS on an Arduino Nano 33 BLE Sense. However, I keep running into I2C communication issues when trying to read ...
0
votes
0
answers
39
views
How to get a list of footsteps on android?
I'm developing an Android smartphone app and need to get a list of timestamps of all footsteps the user did in the last X minutes. As precise as possible.
What I want looks something like this:
var ...
0
votes
1
answer
86
views
Struggling with auxilary I2C communication with BMI270
I have a breakout board that uses the BMI270 and the LIS2MDL magnetometer, the lis2MDL SDA and SCL pins are connected though the ASCX and ASDX pins of the BMI270. Essentially making it a slave device ...
-1
votes
1
answer
47
views
Mathematical Description of Lidar Scan Pattern
I was going through Lidar sensors and their scan patterns and I saw this one:
It is the scan pattern of a Lidar called Livox Horizon but it can be seen in oder Lidar models too.
I want to model these ...
0
votes
0
answers
41
views
Seeed Studio MR24HPC1 mmWave Human Detection Sensor Kit
I have added the Seeed Studio MR24HPC1 mmWave Human Detection Sensor Kit in Home Assistant ESPHome. The ‘Presence Information’ entity value always shows as ‘Detected’, even though I am out of range of ...
1
vote
1
answer
92
views
Issue with Adding a Temperature Sensor to DCPM Motor Model in OpenModelica
I am a beginner to OpenModelica, and I'm trying to build a model of a DC Permanent Magnet (DCPM)
motor to measure its temperature using a temperature sensor. My model is based entirely on the DCPM
...
2
votes
0
answers
30
views
Proximity sensor issue on receiving telephone call
This is related to an issue with android custom ROMs on the legacy device the LG G4, since the move to A12 and A13. This doesnt occur on any version below A12.
I need your help with debugging the ...
-1
votes
1
answer
82
views
HIGH TEMPERATURE ALERT using 8051
//Code for HIGH TEMPERATURE ALERT SYSTEM using 8051
#include<reg51.h> // Includes 8051 microcontroller definitions
// Function declarations
void delay(unsigned int i); // Generates a delay for ...
0
votes
0
answers
27
views
Unable to send security code to Teltonika EYE Sensor using bleak in Python
I’m trying to connect to a Teltonika EYE Sensor device and send a security code using Python with the bleak library. I’ve successfully connected to the device but cannot send the security code to the ...
1
vote
0
answers
96
views
ESP32 and Laravel Project Communication
I'm trying to send a command to ESP32. I'm using Xampp to run my Laravel project which is outside my xampp htdocs. My Laravel Project works fine even if its outside htdocs but when I try to give ...
0
votes
0
answers
32
views
Orientation Heading Inaccuracy
I'm working on an Android application that requires accurate orientation heading updates using the FusedOrientationProviderClient and a custom DeviceOrientationListener. However, I'm experiencing ...
0
votes
0
answers
50
views
Options for custom serial stream into Codesys
We have a Codesys instance running on a Raspberry Pi that we're going to use for motion control. To enact motion control, we need inputs from a number of sensors (accelerometers, position encoders, ...
0
votes
0
answers
95
views
Ultrasonic Sensor not receiving echo
I've tried quite a few solutions. I found them online and no rearranging of the code is doing it. I'm simply trying to see if the sensor reads at all, and I keep being thrown this:
warnings.warn(...
0
votes
0
answers
87
views
ESP32 + Max30102 Pulse Sensor. Problem with FIFO buffer reading
I am currently working on the implementation of SVM in an embedded system (ESP32) as a stress prediction tool. Since I have failed to get FIFO memory reading to work properly, it seems I am stuck at ...
0
votes
0
answers
104
views
How To Get Started with ModBus in C# and Visual Studios
I want to get started using modbusClient in C# and visual studios to read the registers from a Seeed Studio TPH sensor that I linked below. I downloaded the manufacturers recommended application ...
0
votes
0
answers
35
views
DeviceMotion.isAvailableAsync() return false on Android 13
The code
import { DeviceMotion } from 'expo-sensors'
const devMotionPerm = await DeviceMotion.getPermissionsAsync()
const available = await DeviceMotion.isAvailableAsync()
console.info( 'DeviceMotion ...
0
votes
0
answers
77
views
System is attempting to load a plugin, but detected an incorrect plugin type
in my code i got an error [Err] [gazebo_shared.cc:46] System is attempting to load a plugin, but detected an incorrect plugin type. Plugin filename[libgazebo_ros_ray_sensor.so]. I am using gazebo11 on ...
0
votes
0
answers
62
views
ROS2/Gazebo: Ultrasonic sensor not working, no publisher for topic
I'm working on a robot simulation in ROS2 and Gazebo, but I'm encountering issues with my ultrasonic sensor. Here's my problem:
I've set up an ultrasonic sensor in my robot model, but it's not ...
0
votes
0
answers
47
views
While working on gazebo, the sensor plugins are not showing despite being attached
I am making a robot simulation on Ros2 humble using gazebo. After much effort in opening it, now the attached sensor (ultrasonic) are showing on the sidebar but not on the model itself. The model is ...
0
votes
0
answers
35
views
How to interface MQ135 with raspberry pi 4?
So last time i was trying to interface MQ135 AIR QUALITY SENSOR using raspberry pi 4 but there is this analog out pin which is creating a problem as raspberry pi don't accept any analog signal. So now ...
0
votes
0
answers
43
views
Windows API for reading laptop hinge position/angle
My laptop has a sensor that can detect how far the hinge is bent. This is because it can turn 360 degrees. The accelerometer is in the display, keeping the display up right and rotating the body past ...
0
votes
0
answers
141
views
STM32 not reading temperatures from DS18B20 temperature sensor
I am trying to read temperatures from multiple DS18B20 on a STM32 NUCLEO BOARD. I am currently able to read from a single sensor with the SKIP ROM command, and I am also able to read the sensor ...
0
votes
1
answer
103
views
MPU6886 with Arduino Mega 2560: Steering Angle Calculation and Drift Issue
I'm working on a project where I need to calculate the steering angle of a vehicle using an MPU6886 sensor connected to an Arduino Mega 2560. The issue I'm facing is that the steering angle drifts ...
0
votes
0
answers
52
views
Android movement detection using sensor problem
I'm using sensor movement on android (not GPS) to try detecting the movement or speed of an android phone while moving or simply being idle, I have a code here used in Android Studio but I have a ...
0
votes
0
answers
36
views
Cap touch sensor reflash mode TTP233H-BA6
I have a hardware device us the TTP233H-BA6 capacitive touch sensor. When building multiple devices I'm noticing about 20% of devices will not trigger the cap touch sensor right away. It takes a lot ...
0
votes
0
answers
83
views
Issue with QTR-8RC Sensor on ESP32-VROOM-32U
I am experiencing an issue with my QTR-8RC sensor array when using it with an ESP32-VROOM-32U. Despite following the setup and calibration procedures, the sensor does not seem to be functioning ...
0
votes
1
answer
145
views
ESP-32 with DHT-11 sensor not returning the expected output
I am trying to use the output of a DHT sensor module whose data pin I have connected to Pin 27 of my ESP-32 Dev Module. The original code uses the DHT library but I can't seem to get that to work so I ...
1
vote
0
answers
32
views
Using VEML6070 sensor on STM32H750B
I am trying to write a function that uses the VEML6070 sensor for the STM32H750B board but cant figure out what I am doing wrong, I am using the sensor on the UV3 Click from MikroE and keep getting ...
0
votes
0
answers
59
views
MQ-2 gas sensor problem: built and flashed code but serial has nothing in it
i'm trying to read the mq2 gas sensor using IADC, i took most of the code from this
https://github.com/SiliconLabs/peripheral_examples/blob/5a7d32d3bd903d79fab7b3cee2996c2d53a64a4b/series2/iadc/...
0
votes
0
answers
45
views
Program to receive and log serial data coming in from a sensor
The sensor is hooked up to a serial to USB converter, and I am programming in python. The program is supposed to catch the EUI from the sensor, which is the first piece of data that comes through, ...
1
vote
0
answers
72
views
What is SiLabs equivalent of Arduino's analogRead()?
I need to get the output of a DHT11 temperature sensor for a club project but unfortunately we are only given SiLabs BGM220 Explorer Kit instead of a Arduino board.
The SiLabs Documentation is no help ...
0
votes
0
answers
34
views
How to connect Lora Module(in the pcp) to the LoRa Gateway, Model:LG01-N?
I'm working on connecting the sensors in the pcp to the LoRa gateway, model: LG01-N. To do this, I'll have to connect the LoRa module in the pcp to the LoRa gateway. I can't find any resource or ...
0
votes
0
answers
50
views
Read Data from external Sensors
I would like to create an android app which monitors the room temperature.
Is it possible to connect a temperature sensor with cable (I do not want to be dependent on Wi-Fi and if possible not on ...
0
votes
0
answers
28
views
easy way to code the sensor for jetson nano
how can I code a specific sensor's working if I connect it directly to the jetson nano board?
Is there any particular IDE to do that?
Is it okay to use breadboard in this process?
I was expecting a ...
0
votes
0
answers
27
views
CodeVisionAVR - if conditions
I'm using an ATmega164A microcontroller, a 2-rows display and a distance measuring sensor (analog output type, GP2Y0A21YK0F). I have to display a message based on the displayed distance. I managed to ...
0
votes
0
answers
144
views
LSM6DS3 SPI-communication problem with STM32F4
I'm having trouble getting data from the LSM6DS3 sensor over 4-wire SPI. The datasheet says 4-wire SPI is the default, so I didn't send anything for the sensor settings, and immediately tried to read ...