Questions tagged [sensors]

Tag for questions about sensors, often used on integrated circuits and electronic devices to sense and measure external environmental variables. Sensors convert physical stimuli from the outside world into digital signals, which can be sampled by other subsystems.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

LabVIEW program refuse to read data from DHT11 Temperature and Humidity sensor

So I am currently working on a small project which involves Arduino, LINX LabVIEW and DHT11 sensor. The sensor work quite well on Arduino IDE using the following code: #include <DHT11.h> DHT11 ...
Minh's user avatar
  • 1
-3 votes
0 answers
22 views

What does the attitude sensor in iOS describe?

What does the term attitude in iOS's CoreMotion mean? I believe I have no real understanding of attitude sensors, but I am using motion sensors to construct an application. What does it mean and what ...
nmd's user avatar
  • 7
-1 votes
0 answers
18 views

How to get humidity sensor working in android studio?

I am trying to create an app on Android Studio that reads the emulator's relative humidity and ambient temperature. I can see them on the emulator as values I can change but they are null when I try ...
Margaret Hanley's user avatar
-1 votes
0 answers
22 views

HC-SR04 Ultrasonic Distance and waiting before sending a new trigger and vhdl

I use this counter library ieee; use ieee.std_logic_1164.ALL; use ieee.numeric_std.all; use work.constants_pkg.all; entity mod_m_counter is generic ( N : integer := 9; -- Number of bits (...
user13064749's user avatar
0 votes
0 answers
28 views

How to measure radiation(Non Ionizing) [Android SDK] for a Radiation measuring application

I need a way to measure the non-ionizing radiation around me through the smart phones. I have found several applications on the google Play Store which have an RF meter functionality which measures ...
SuhailHasan's user avatar
1 vote
0 answers
12 views

Would subtracting sensor TYPE_GRAVITY readings from TYPE_ACCELEROMETER readings result in TYPE_LINEAR_ACCELERATION readings?

I've made the mistake of using the regular TYPE_ACCELEROMETER sensor to record some sensor readings, however I needed to use the TYPE_LINEAR_ACCELERATION sensor instead. If I also have TYPE_GRAVITY ...
Jeongwoo Seo 's user avatar
0 votes
0 answers
23 views

Visualize binary-sensor data via matplotlib

So I have a tuple containing two lists from my data base. This is a binary sensor that checks if a window is open. I want a visualization with matplotlib like this: So I guess I nee something like a ...
schoeni's user avatar
  • 75
-1 votes
1 answer
21 views

How to use Android Accelerometer to control a RC car?

I am working on a personal project which is controlling a car from an Android phone. I want to give the user the possibility to control the car by just tilting the phone, so I have opted to use ...
Zaki's user avatar
  • 13
0 votes
0 answers
13 views

Yaw value of 200 when roll and pitch are fine using madgwick filter arduino

my yaw value seems to be offset right from the start and all values seem to be extremely slow to respond to any movement - before using the filter each sensors values responded adequately. I have ...
Craig Andrews's user avatar
0 votes
0 answers
10 views

Does anybody know how to make an AS726X detect paper and plastic with arduino?

I need help for an arduino project, i have an AS726X Spectral Sensor and i m making a robotic arm that will recycle materials in different boxes and i want to detect this material with the given ...
Mihai Eric Pîslaru's user avatar
0 votes
0 answers
25 views

Using Rpi pico and flex sensors to control a specific number of laptop inputs

I am using three flex sensors and a raspberry pi pico board. What I am trying to do is take the inputs of sensors and process it through raspberry pi pico and then use the pico to do a certain task on ...
Bhavesh Pendyala's user avatar
0 votes
0 answers
13 views

Implementing a custom Android sensor hal

I have a project to change the interface implementation of the android sensor hal layer of the cloud phone, the original Poll() function is to get data from the physical layer of the sensor, I have ...
chen yuyang's user avatar
0 votes
0 answers
23 views

Determine the angle on the horizontal plane between two sides of the smartphone

I'm currently studying sensors in android and I don't quite understand whether it is possible to solve one problem. On my desk there is a drawing approximately the same as in the screenshot. I want to ...
user21663739's user avatar
0 votes
0 answers
17 views

onSenserChanged function not called in android studio

I am making a application to measure the distance my android phone, but I don't know why my onSensorChanged function is not called while running. Log.d("safik","sadfas;dfkasjf"); -&...
Student.'s user avatar
0 votes
1 answer
45 views

I am trying to interface a HC-SR04 ultrasonic sensor with my STM32F407 Discovery board, using bare metal programming, but the sensor is not responding

My sensor is not responding to the 10 us pulses I am giving to its Trig pin. The below code uses external interrupts to know whether I am getting any input at all from the echo pin of the sensor and ...
Shardul Sajnekar's user avatar
0 votes
0 answers
21 views

How to automate NanoFramework project modification: download, resource file change, NuGet addition, build, and obtain binaries in .NET Core APP?

I'm working on a project where I need to automate the process of modifying a NanoFramework project. I want to create a generic .NET Core solution that can perform the following tasks: Download a base ...
ijaz noufal's user avatar
0 votes
0 answers
17 views

Sonoff can't enter DIY Mode

I have a SONOFF Pow Origin device and I want to enter in the DIY Mode to control it over the HTTP. So I power up the board, press for 5 seconds the button, connect to the ITEAD network(on the site it ...
Mihai Daian's user avatar
0 votes
0 answers
29 views

How to implement step detector in Android that keeps working in the background

I got this piece of code that counts steps using accelerometer, but it only works when the app is in the foreground: SensorEventListener sel = new SensorEventListener() { public void onAccuracyChanged(...
Peter's user avatar
  • 23
0 votes
0 answers
10 views

control vcnl4200 proximity sensor

I develop vcnl4200 proximity sensor. When I read PROXIMITY_DATA (0x08), It always return 0 ~ 3 value. I thinks it is too small to get a distance. Nothing = 0 Something in front of this = 1~3 I checked ...
Maibi's user avatar
  • 45
0 votes
2 answers
83 views

how to arrest sudden spike value occurs occasionally in sensor using embedded c

I'm working with sensor with amplifier. I can see sensor is suddenly producing very high value, which is affecting the functionality. I'm looking for some algorithm that will eliminate sudden spike ...
Aravinth's user avatar
0 votes
0 answers
24 views

How to Detect Weigand Sensor Signal Pulses With stm32 Microcontroller Pin

I am trying to capture the voltage signal from a radially magnetized magnet measuring 6x2mm. The gap between the sensor and the magnet is approximately 1.0mm as shown in figure 01. I'm using a Weigand ...
Ubaid Ullah's user avatar
0 votes
0 answers
39 views

Error registering a task for sensor tracking with expo-background-fetch and expo-task-manager in React Native

I am working on a sensor tracking feature in a React Native application. At first I was running it in foreground and that is working perfectly but I want to track also during screen lock, Hence, I am ...
casabre's user avatar
  • 136
1 vote
1 answer
48 views

Failing to send MQ-4 sensor data using Nodemcu to my node.js server

I am new to IoT so this question might sound a bit dumb but I am stuck and can't seem to figure out a solution. I am trying to send data from my mq-4 sensor to the node.js server. The code I have ...
riddu932's user avatar
0 votes
0 answers
42 views

Is there a way to use pyserial to read data from an infrared obstacle avoidance module?

I'm currently using Keyes infrared obstacle avoidance module connected to my laptop via PL2303 TA, and I'm using pyserial to read the data. Interestingly, when I pass an object in front of the module, ...
SeafoodMaster's user avatar
0 votes
0 answers
27 views

Problem with scd41 sensor (I2C) and onewire sensor (MPSSE) using pyftdi at the same time

I am struggling with the problem, that I'd like to address several sensors at once via I2C. I am currently using a FT232 breaker board and the pyftdi library. As an orientation I found a SCD41 library ...
mohaguesu's user avatar
-1 votes
2 answers
225 views

Wake up ESP32 deep sleep when sensor value is below threshold

I have a capacitive soil moisture sensor and an ESP32 and I'm trying to get the ESP32 to stay in deep sleep until the soil moisture outputs a value that is below a certain threshold. But I'm not quite ...
Josh's user avatar
  • 1
1 vote
0 answers
91 views

2D Compass heading from AbsoluteOrientationSensor quaternion for the normal to the back of the smartphone. Gimbal lock issue

I need to get the angle of rotation of the smartphone(device) with respect to north(0 - 360 degrees) I am interested in the angle from the normal, from the back cover of the device (where the camera ...
WSA's user avatar
  • 43
0 votes
0 answers
14 views

Which motion sensor do I have to use?

I have a homework in which the app has to detect the movement either I move my phone, to the right, left, up or down I tried to use the accelerometer, but following the Android Studio documentation It ...
Andy_1 GD's user avatar
0 votes
0 answers
44 views

I can't get the ambient temperature on my phone

I am building an app which shoud display all the values from all the sensors including the TYPE_AMBIENT_TEMPERATURE sensor. I am using the SensorManager class. I have written the code and tested it on ...
electric_eel23's user avatar
1 vote
1 answer
27 views

How to subtract temperature effects from sensor data?

I am quantifying sensor noise and I need to remove the effects of temperature. The sensor is highly temperature sensitive and the variation in ambient from 72F to 76F causes the sensor signal to vary. ...
tender_bits's user avatar
0 votes
0 answers
44 views

Python3 on Beaglebone Green can't find DHT22

Please, I a need push in the right direction! I am aware that this issue is based on older components, still, I won't give up (yet). I can't get python to read the DHT22. Here is what happened: Setup: ...
nick's user avatar
  • 25
0 votes
1 answer
122 views

How do I change the address of a BME280 sensor?

I'm trying to create a sensing station using the BME280 temperature, pressure, and humidity sensor and a raspberry pi. When I run my python code, I receive the error: "RuntimeError: Unable to ...
Max's user avatar
  • 19
0 votes
0 answers
56 views

MSP430G2231 reading 16-bit i2c response

I'm writing a program that reads temperatures from a couple TMP117 sensors. 4x Adafruit TMP117 sensor boards to be exact, with each having a different ADDR pin configuration to give them different i2c ...
Boyfinn's user avatar
  • 178
0 votes
0 answers
10 views

trouble with Polhemus G4 system

High, I started work in a research group. I was asked to use the the Polhemus G4 system and a system by Eliko (provides position in the room) to identify at what target a user is looking at in a room. ...
s.y's user avatar
  • 1
0 votes
0 answers
23 views

Using Solidworks simulation/motion or othe software for a load cell and gyroscope test

I have a loadcell (the cheap strain gauge type) attached to a free hanging bag. When the bag is subject to a sudden force, say hit or punch, it will move and probably turn due to the force. The bag ...
DailyReader's user avatar
0 votes
0 answers
11 views

Displaying different images with raspberry in Python using PIR sensor

sorry in advance for any dumb mistakes, I'm a very beginner programmer and am trying to help my friend with his project (he doesn't know how to code). We are trying to make the program display one ...
Marcela Botelho's user avatar
0 votes
0 answers
22 views

AMS5812 I2C Sensor Holding I2C3 Bus on STM32F407G-DISC1

I am trying to interface LCD and AMS5812 Sensor on I2C3 Bus of STM32F407G Discovery board, But AMS5812 I2C sensor is holding the I2C bus and preventing further scanning STM32F407G Discovery board. ...
user1543571's user avatar
-1 votes
1 answer
88 views

How to limit a servo which is designed to 360 degrees while keeping the purpuse of this code?

So i took michael reeves turret video and wanted to limit the servo rotation to **180 **degrees so the cables wont do loops o themselves.(the servos are mg996r) I tried using if and couple other ...
havi hugot's user avatar
0 votes
0 answers
22 views

I am attempting to calculate the total number of available tables when an object is detected by the IR sensor

I am attempting to calculate the total number of available tables when an object is detected by the IR sensor. How can I get the actual result without the loop. import BlynkLib from BlynkTimer import ...
joyce's user avatar
  • 21
0 votes
1 answer
87 views

BNO055 reading incorrect when multi-threading

I'm currently having problems reading incorrect data from the BNO055 sensor when multi-threading on linux. When I run a separate program with one thread, the data reads quite well, but when integrated ...
datng31's user avatar
1 vote
1 answer
90 views

Astronomer/Apache Airflow - File Sensor Does Not Trigger

I'm an Airflow newbie, and to test my knowledge, I'm attempting to write a simple file and test for its presence in Airflow. Here's the code snippet... def _downloading_data(**kwargs): f = open('...
Robert C. Fountain's user avatar
0 votes
0 answers
12 views

how to predict RNN with test dataset

i have a timeseries weather dataset for a school with multiple features. it has 28 places and i want to predict humidity data for these 28 places. i create sequence dataset for test and validation set ...
Faeze Hodavand's user avatar
0 votes
1 answer
292 views

can a esp32 use matter protocol without a hub (apple, alexa, google home, etc)?

I don’t have any Alexa, google home, or apple devices that support Matter. I would like to use my ESP32 as the hub, and I would like to use matter because of its easy device/sensor onboarding ...
Andrea Diaz's user avatar
  • 1,178
1 vote
1 answer
180 views

How can I access the battery temperature in Python on Mac?

How can I read the battery temperature sensor readings of my Mac using python? I have an M1 Macbook Air, Late 2020 version w/8 core CPU and 8 core GPU and I recently put a thermal pad mod onto it. ...
rrcoder0167's user avatar
0 votes
0 answers
26 views

SHT35 "[Errno 121] Remote I/O error" while performing test readings from SDA and SCL pins

I ran into a quite big problem that I can't solve for past 3h on my Raspberry Pi 4B. I connected SHT35 that I bought from China as it supposed be connected: Vcc to 3V3, Gnd to Ground, SDA to SDA and ...
AdamTheNewbie's user avatar
0 votes
0 answers
10 views

Is there a better way to get WatchKit up to date heart rate data

I am writing a watch app that allows for tracking of tennis match scoring and creates a kind of mixed tennis/biometric audit trail of what happened when. Nothing spectacular, just a bit of a fun ...
joseph ruth's user avatar
0 votes
0 answers
23 views

Compensate acceleration changes in a load cell's readings using an accelerometer

I'm reading weight with a load cell that's fixed on a moving body. Said body drives arround many uneven trails. I've tried using an accelerometer to compensate the vertical acceleration, making it so ...
user22360489's user avatar
0 votes
0 answers
102 views

Dagster get partition of job ran before sensor triggered

I want to get the partition of a job that is than before a sensor is trigger. I not sure how to do that in dagster. I have a sensor looks like this: @sensor(job=job2) def run_job2_after_job1: date= ...
Siren O's user avatar
  • 59
0 votes
0 answers
29 views

HC-SR04 Sensor using PIC24FJ256GA7 microcontroller

I'm working on a project using the PIC24FJ256GA7 Curiosity board, and I must admit, MPLAB is still a bit new to me. So, I could really use some assistance! Here's what I've got so far: I'm using the ...
Henry 's user avatar
-2 votes
1 answer
26 views

How to record data for distance measurement using Banner Q4XTBLAF300-Q8 laser sensor with NI USB 6008 in Python?

I had connected the analog voltage output to the analog input pin of NI USB 6008. However, the voltage shows no difference when the distance varying. Trying the other ways of getting the analog output ...
Alicia's user avatar
  • 1

1
2 3 4 5
53