Questions tagged [proximity]
19 questions
3
votes
3 answers
XBee shield communication
I need to communicate between two Arduinos using XBee. I am new to XBee and hardware. The two Arduino Unos need to send a message (number) to each other and light an LED or play a sound, when they come close within a 10 meter distance.
So my doubt…
ramesh
- 131
- 2
2
votes
2 answers
What is the most accurate sensor for detecting ping pong ball?
What is the most accurate proximity sensor for a ping pong ball? I will be using this to calculate 3D positioning of a ping pong ball in flight. I only need to detect the ball within 0-5 feet (basically on one side of ping pong table).
Ryan
- 121
- 4
2
votes
0 answers
esp32 and the esp32-cam (agoal)
Is it considered possible to use the esp32 code on an esp32 cam board? Do they use the same hardware? I am having difficulty using this sketch https://gist.github.com/wybiral/2a96c1d1605af7efa11b690586c4b13e on my esp32 cam and I think it is because…
David Graff
- 33
- 2
- 7
2
votes
2 answers
How to analogRead() 2 separate pins simultanously?
I am trying to create a simple piano playback using a flex sensor, a proximity sensor and a piezo buzzer.
I want to have it so that when the flex sensor is triggered, a sound is played on the piezo buzzer. The tone it makes is dependent on the…
Eddie
- 21
- 2
2
votes
1 answer
Larger NFC antenna?
Goal: I would like to be able to transfer some information to an Arduino Uno board via an NFC shield/antenna. The situation requires that the NFC tag may potentially hit anywhere within a circular area about a 12 inches in diameter.
Is it possible…
aowie1
- 121
- 3
1
vote
5 answers
How to increase the detection distance on Arduino KY-032 obstacle Avoidance sensor?
We've got an Arduino KY-032 obstacle avoidance sensor, and have spent a decent time searching and researching to find a detailed data sheet/manual to figure out how it works; but there aren't any detailed information on the module.
One of the few…
Neeku
- 113
- 1
- 1
- 4
1
vote
0 answers
can we use TCRT5000 sensor instead of IR proximity sensor?
I am planning to make a human following robot which requires two IR proximity sensors.
I already have two TCRT5000 sensor. Can I use it instead of it?
cOde_monkey
- 31
- 1
- 3
1
vote
0 answers
Troubles with APDS-9900 proximity
So I've received few APDS-9900 sensors and found out, there's no library for it (9960 type is supported only). I took that library and device documentation, and created similar library.
Ambient light detection (without interrupts) works well, but…
igraczech
- 111
- 2
1
vote
1 answer
How do I use two PulseIn() functions simultaneously in Arduino?
I want to connect multiple Ultrasonic sensors to my Arduino board. For that, I need multiple pulseIn() functions to work at the same time. How can I do that?
Mat_python
- 56
- 2
- 4
1
vote
1 answer
build simple IR sensor with 220 ohm and 1000 ohm resistors
I am brand new to the arduino board and I am trying to build a simple IR proximity sensor. I bought a handful of emitters and detectors from amazon here:
https://www.amazon.com/gp/product/B01HGIQ8NG/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
I am…
ryan
- 11
- 1
1
vote
1 answer
Underwater positioning system (swimming pool)
I'm making a few experiments with a quite simple rover car I made using Arduino UNO and a few spare parts. Just for the heck of it I made it waterproof and now I want to toss it in my pool to make some underwater exploration. Maybe I'll fit some…
Andre Scutieri
- 11
- 2
0
votes
1 answer
How to use the Osepp proximity module with arduino uno
I have recently purchased an Osepp proximity module at Radio Shack and am attempting to use it with my Arduino Uno. How should I connect it to the
Arduino, and what library do I use?
nerdguy
- 63
- 6
0
votes
1 answer
Fade LED strip using proximity and map() function
I'm using a sonar sensor to detect proximity, and need to control the brightness of an LED strip in direct relationship to the distance detected. For example, as someone moves toward the sonar, the strip needs to dim.
I'm using map() to do it now…
claudybee
- 27
- 3
0
votes
1 answer
Serial monitor doesn't work with piezo buzzer
So I can't see the distance of the proximity sensor anymore as soon as I type the code for the piezo buzzer. I've tried many things but it doesn't work.. Can anybody help me fixing this?
int trigPin = D7;
int echoPin = D8;
int BLUE = D3; //D3 zit in…
0
votes
2 answers
Trouble using proximity sensor as input and LED output
I was wondering if anyone had any pointers or advice to make this project work. Essentially I would like to have the LED fade (meaning like fade on and off at a calm rate) at one rate when there is nothing close to the proximity sensor, and then to…