need a proximity alert for when pets sneak into baby's room

Hey guys. I'm wondering if there's already an instructable for what I need, and a kind soul could point me to it?  I'm looking for some type of proximity alert.  I want to put key-fobs on pet collars (must be tiny and not too bulky for a small cat), and have them trigger an alert when the pet is within five feet or so of the baby's crib (sending a text to a cell phone would be awesome but probably too expensive to set up, so just a sound alarm would be fine and great it the alarm could sound in a different room). Is there anything like this?  Or something easily adapted?  Or even an item that can simply be bought (I don't want to build it myself, I'm just assuming I'll need to, because I've not found anything searching online)? Thanks.

Posted by aliasjanedoe 3 years ago


How to add a proximity sensor (LED) to the Radio Shack (276-1323) recording module

How do you add a proximity sensor (LED) to the Radio Shack (276-1323) recording module

Posted by Genesis3kr 10 years ago


proximity sensor?

I'm looking to make a pair of something that light up when near each other--say a foot or two. Is what i'm looking for a proximity sensor, or is there some simpler solution to this? [edit] Could I use a set of rf transmitters and receivers to turn on the light in each object without having to program anything? Thanks in advance, 10player

Posted by 10player 8 years ago


Proximity Sensor for FYP

Hi! im currently making my FYP for product design and i have a very specific model of electronics i have to make. Basically i have to make a proximity sensor (well 4) that will respond with lights (vibration) when brought towards a receiver. Hopefully i can also make this trigger sounds that are pre recorded. Can anyone help me with the proximity sensor? i am in dire need! thank you

Posted by Axial-Andrew 6 years ago


proximity chip relay

Not sure if in correct forum but here goes... I'm wondering if someone could design a simple and inexpensive way to use a chip to trip a relay with proximity. An idea I have for vehicle anti theft. possibly to bypass need for ignition barrel etc. but to allow the car not to be started without the presence of a close by chip. any ideas?

Posted by astrosurfer 10 years ago


How to make a proximity sensor to sound an alarm when another sensor is with in 5 to 10 ft

I am needing this to keep two people apart....It would basically be the opposite of a child proximity alarm, instead of sounding an alarm when the child is too far away, it would sound when it is too close .....Thanks for your help

Asked by JakHamma 8 years ago


I'm looking for some help. Looking for a simple circuit. Proximity sensor not IR based. Not line-of-site?

I would like to have two devices(Circuits) know when they are apart from eachother. Example device A is in a fixed location. When device B moves away from device A an LED flashes. I'm looking for a distance of 10 feet total. I don't want to use a line-of-site circuit. Any advice/guidance would be great! Thank you.

Asked by mrchuck151 6 years ago


Proximity Detectors???

I'm not sure what to realy call what i'm looking for so i'll just explain what its use would be. Basically i want to keep our cat out of one room and away from the front door. He tries to run out when ever we open it which makes for a pain with groceries or a 2 year old running around. So there are all kinds of things suggested online , rattle can of coins, spray bottle ect.. I want to put one or two canned air bottles by the door. They will be in some type of device with a sensor. Then put something small on the cats collar that will activate a sensor when it gets close to the bottles , the sensor at the bottles will activate a lever and spray out a one shot of the canned air. I thought that those automatic air freshener spay systems from Glade could help out as a base unit but i'm not sure on the remote unit on the cat and how to get it to activate the base unit.....any ideas???

Posted by baxter10 6 years ago


LED blink based on proximity

Hi, I want a LED to start blinking if it is outside some area. Kind of a prisoner electronic bracelet :) What would be a cheap solution for this? Could I do this with 2 proximity sensors? Thank you.

Posted by PedroP46 2 years ago


Hidden Proximity Sensor

Hey guys, I am trying to find a method of creating a hidden proximity sensor that would work similarly to a laser i.e. if the line of sight is broken then an output can be achieved, but without actually using lasers. There are a few problems, the sensor will be in a dark space and will have some smoke blown through the line of sight (lasers would be seen). I want the sensors to be hidden, so they will have to be mounted out of sight, but as they will be used in a relatively open space, i imagine this will mean on the ceiling. This will mean that they will have to detect all the way to the floor, so the range will probably have to be at least 8 feet. Does anybody have any ideas? i'd really appreciate any input. Neal

Posted by nezhead 9 years ago


Arduino and proper proximity sensor

Hi guys. I want to use a proximity sensor and an arduino to know when a person is in the shower. What I have in mind if that if the sensor measures a range of distance it would mean that the person is in the shower. I have made some research and the infrared Sharp GP2Y0A21YK0F seems appropriate for the distance range I need that is around 20-60 cm depending on the size of the shower. However I am ignorant in this topic and I want to know if the water from the shower will make an interference when measuring the distance and generally speaking if this is a suitable sensor for my objective. additionally I read that the voltage output from this type of sensor is not linear, would it be difficult to actually know the distance? Many thanks in advance :)

Posted by mcamiea 2 years ago


How would I build a two way proximity detector with changing frequency based on location to its pair?

 I am looking for a quick instructable that will make two devices that change pitch based on proximity to its pair. It doesn't seem like it would be that hard, but I am not good with stuff like this (with soldering on boards and even knowing what all those things do) but I know enough to know that thats what its going to take. Thanks for your help.  [edit: not really an edit, but more of an after thought, a post script if you will -- Think Geek makes a shirt like this but it uses lights as it gets closer... I want to use sound and frequency)

Asked by teamcoltra 8 years ago


proximity car key ??

Ok so I work at a car audio shop as an installer and I see so much different stuff and do a lot of custom stuff on cars.. Ive seen a lot of cars that are keyless.. its just a key fob. when you have the fob in your pocket the car knows you are there and lets you start the car with a push button... that stuff is at least 5 years old.. now the other day a new z07 corvette came in for work and the guy handed me a fob to bring it in the shop,, nothing new at first,, but as I approached the car I heard the locks click,, so I stopped and walked back a few feet and I heard them click again... this thing is unlocking and locking on its own as I get near and away from it... And it still gets better.. after walking to and from it a few times to confirm my suspension I finally opened the door... the dash was flashing and it said welcome technician. the key I had was a valet key.. the other key fob I had welcomed the owner by name... this is really cool... I needed both fobs because I was putting a remote starter on the car and both keys are required to program it.. the valet key I had also turned on the traction control and the car wouldn't go over 40 mph... that's a lot from just a key fob... NOW FOR MY QUESTION HERE.... Is this done with rfid or some sort of proximity sensor on the fobs?? I want to build one for my car but just for the locks and push button starter... but I want to retain the factory key also..any ideas or maybe a link to an instructable?? ive searched them but cant find one for my purpose.. lots of rfid stuff though..

Posted by aclark32 4 years ago


proximity sensor

 I need to build a sensor kits that will be connected on to my midi controller and replace the control knobs. I want to control track volume (on Logic audio) by moving my hand up and down. any help for cheap solutions?

Posted by nikaki 8 years ago


[Help] bicycle proximity sensor

Hello guys i would like to start making a proximity sensor the idea is to mount it on the back of my bicycle when an object/vehicle come close it gives me reading with distance and maybe a beep or something like that,the question is i found there are 2 methods one using IR and one using ultrasonic,which one is cheaper and which one is better and easier.this is supposed to my first instructable involves programming.

Posted by Mido Masry 3 years ago


Long distance proximity detector

Hello.  Does anybody have any idea on how to make a very cheap proximity sensor, which could work over a distance of about 100 metres? I want to make a system where LEDs (carried by people!) change colour as they approach a certain point, i.e, white LEDs turn red as they move towards a central point. The problem is I want to have 50+ separate LEDs, and I'm on a very tight budget! Any ideas appreciated. Thanks!

Posted by megbrazil 7 years ago


how to build a balance board with proximity sensor and arduino

Hey guys,  So I am trying to figure out how to build a virtual balance board( using processing and Arduino), that responds to human weight when leaning left or right. An object would be falling in the screen on one side of the balance board and the person has to lean to the other side to keep the balance.  I would like to use a proximity sensor to receive and send the data ( weight ) to Arduino. I may want to use spring board for enhancing the force. So i need your help with the Arduino part, connections and coding, I appreciate your help and guidelines. 

Posted by shanymz 5 years ago


Make a pair of bluetooth-enabled devices that communicate with one another?

My question is if it's possible to build such a pair of devices, that would sustain a two-way communication channel between them. Basically, both devices would have to be a central AND a peripheral. Specifically, I need it for testing their reactions to each others proximity. (So that they would both need to react simultaneously.) And if it's possible, how? (At least some literature.) Thanks!

Asked by dehumanise 4 years ago


Proximity Sensor 1' - 25'; Bat Ears for a Blind Woman

First of all, I'm a noob in electronics, so please explain your jargon as you would to a 3 year old. I am smart & learn quickly. So, I really want to make my blind 80 year-old grandmother a pair of bat ears. I bought her one of those sonic distance measureres from home-depot because of the barely audible tic they send out to bounce off wall/etc and record the time it takes the signal to return. You can hear the tic, and with your eyes closed.. you can kinda tell how far things are away from you just by listening. She loves it, and it just barely.. kinda works. What I"m shooting for is a single over-ear headphone (xbox-live communicator style) with some type of proximity sensor attached, sending a constant signal to the headphone... low for long distances, gradually higher for gradually closer distances. Any reasonable suggestions would be greatly appreciated.

Posted by wiglessbuzzard 10 years ago


How to add 2nd battery to circuit or increase voltage

I have a Normally Closed NPN inductive proximity sensor which operates at 10V. I use it to control a load (light bulb), which is normally on, and goes off when the proximity sensor detects metal. The problem is that I need to work with portable batteries, or something like an acid battery, and ideally not exceed 12V for safety reasons. Since the sensor needs 10V to operate, this only leaves me with 2V for the light bulb. I need to increase the voltage to the light bulb so that I can use a decent light source. Is there a way of adding a 2nd battery to the circuit so that the bulb has its own power source, yet that too is controlled by the sensor (otherwise the bulb would just stay on continuously). Any other solution would also be appreciated. Current circuit diagram attached. Thank you.

Posted by nathanimate 3 years ago


Can anyone tell me how to make a device that will play a song from an iPod whenever someone gets close to it?

I am an art student looking to make a project that will "scream" in fear (play a pre-recorded sound) every time someone gets close to it. So far all I have is a proximity sensor. I sent an email to my teacher and he suggested having the track play as a loop and then using a transistor and a relay to switch the signal through a modified audio cable. I haven't been taught how to do any of this and my teacher is not responding to my emails and I am running out of time. Please help!

Asked by fullthrottle800 6 years ago



Proximity Shirt

Is there a project on the site that duplicates what the two proximity shirts do that were sold on thinkgeek? Locked-on proximity shirt: http://craziestgadgets.com/wp-content/uploads/2010/02/proximity-sensing-shirt.gif Zelda hearts proximity shirt: http://www.thegreenhead.com/imgs/proximity-based-dynamic-life-shirt-3.jpg I am not trying to make my own shirts but I am interested in the tech that makes those two shirts work. If the same results can be duplicated with an ardurino and/or xbee, then that would be great!! Please let me know if that can be done and if yes, could you point me in the right direction. Thanks!

Posted by helloman 5 years ago


How can I make a switch that when electricity stops flowing, another circuit turns on? Answered

I'm trying to make a small bot with IR proximity sensor shown here. I want the robot to turn on when the proximity sensor activates, but when the sensor activates the electricity stops flowing. How can I activate the robot when the sensor turns off? --OR-- How can I make it so that when the proximity sensor activates, it activates the robot instead of cutting power?

Asked by Prestond 7 years ago


Control bulb with inductive proximity sensor

Please see attached diagrams in my other message below. I am using an NPN NC inductive proximity sensor (specs attached) to control a light bulb. The bulb is normally on and goes off when metal is detected. It is a 12v/21w bulb, powered by 12VDC. I have placed a heat sinked TIP120 NPN High Power Darlington Transistor 60V 5A TO-220 , a 2.2K 0.25W resistor and a 560R 0.25W resistor as shown in the circuit diagram on the right. Please ignore the left diagram for the LED. voltage readings for sensor with no metal detected: Between brown and black: 12.06/07V & -12.03/04V. Between blue and black: 0.0033V & -0.0032V (3.3mV & -3.2mV)  with metal detected: brown/black: -0.6/7mV & 0.7mV  Blue/Black: 11.96/97V & -11.93V Although the sensor is powered and detects metal ok, the bulb stays on. The polarity of tIP120 is correct and gives out heat ok. I can't figure out what I'm doing wrong so could you please see an obvious error?? thank you

Posted by nathanimate 2 years ago


How do I make a 3D distance scanner using ultrasonic arduino modules?

I have 3 Ultrasonics Arduino compatible distance sensors. A single ultrasonic sensor can be used to measure the distance of an object from the sensor. But my application for the sensors is a bit different. How do i measure the distance of the object on all 3 axes with respect to the ultrasonic sensor?

Asked by Jonathanrjpereira 3 years ago


How can I create a sign that has components that rotate based on a persons proximity?

I want to create a sign that is 48"x 24" that is broken down into 4" squares. I want each square to rotate or flip so that one side has a message and on the other side is an entirely different sign. I want the squares to rotate at random so that they full flip to one side or the other.  The rub is the following. I want the sign to be spaced so that at a given distance (300 feet) the sign has one message. As the person walks closer to the sign, it is triggered so that the squares flip and a new independent sign is seen on the other side.  I dont care  about material or cost (generally) I was thinking along the lines of the old train station signs in Europe that flipped over as trains arrived. However I I want the sign to be triggered by a individual getting closer or further away. SO  that if the person walks 10 feet closer to the sign, perhaps 3 more squares are flipped around, and if they go back in distance to where the started, the squares would flip back to the original point. I was thinking either passive radar or sonar, or lasers across points of embarkation.  Please I need help!

Asked by hobbes.thoma 9 months ago


Device to warn two atv's if they are getting too far away from each other

I'm trying to find a way to warn one atv rider if the other rider is getting too far away.  Basically a device that you could mount on each atv that would have a red light and a green light.  The green light would be on if both riders were like say very close to each other or up to 1/4 mile away.  If the atvs would get more than 1/4 miles from each other a red light would turn on letting the riders know they are getting separated.  Thinking a low power radio transceiver that every 10 seconds or so would send out a signal that the other would pick up so the green light would stay on, if they two radios were out of range and didn't pick up a signal after 20 seconds or so the red light would come on until they got back into range then the green light would come back on. Basically a warning device to let each other know if they are getting out of range.  An example would be two atvs riding on trails following each other.  If the atv following got stuck, broke down or stopped for any reason the lead rider would be alerted that the other rider is not in range so they could stop and wait or turn around.  Anyone know a device to do this or an easy way to build one. 

Posted by tlessard1970 5 years ago


How we can make different type of proximity switch/Sensors?

I want to know, how we can make Inductive, Capacitive, Magnetic, Optical & Temperature etc. types of proximity switch/Sensors. Thanks Kailas

Asked by kailas2779 9 years ago



Very simple proximity activated switch (several inches range)?

Hello Instructables! I am looking for a simple electronic switch that will instantly turn on when it comes within a few inches (5-8) of a little beacon or antenna of some sort. I would like to be able to have the beacon be small, and preferably flat in form factor, with the receiver/switch system being no larger than an inch square. For size constraints, watch batteries would be the most preferred power source.  Would RFID be a good option for this?  Preferably I don't want this to have to be hooked to a phone, and it would need to be something that I could conceivably make a PCB foror use a very small existing board like a TEENSY. 

Asked by ilpug 8 months ago


Proximity Sensing with the Arduino? Answered

I am looking for a way to use the arduino, an IR emitter and an IR detector to use for proximity sensing. I have looked at a lot of tutorials but none of them seem to deal with detectors that only have two pins, most are for the sharp sensor. I am looking for a cheap alternative and would like to stay away from the Sharp sensor. I want to be able to pulse on and off the IR emitter and be able to read the reflective beam with the IR detector. I was able to do this with a reversed led connected to the IR detector, not sure why that worked but it did. I am trying to find the proper way to wire and read the IR level. When the IR emitter pulses, I want the detector to take a reading and then I am going to use that reading to determine how bright or dull a connected LED will be. Any help is greatly appreciated and I think with a little bit of guidance I will be able to do this =) ... wouldnt mind taking pictures and making an instructable out of this either ;)? Here are the emitters and detectors I am using: http://cgi.ebay.com/25x-5mm-Infra-Red-IR-LED-LAMP-940nm-Emitter-Receiver-/360316905034?pt=LH_DefaultDomain_0&hash=item53e48fa64a#ht_1465wt_905

Asked by afreeland 7 years ago


How do i build or where can I find an interactive capacitive proximity sensor?

I am building an electronic version of an old Brazillian instrument called a Berimbau. Part of it is played by moving the cabaca or gourd closer to or further from your body. This movement bends the pitch or mutes the output. I'm attempting to replicate this effect with a proximity sensor that will do the same job as I move the instrument back and forth from my body. My problem is all the sensors i find are just on off switches. I need something that will increase gradually with the distance. So if anyone out there has a solution then do please help! On a note tho there is a device available for guitar called a wah probe. It is exactly what im attempting to build but costs in excess of £300 so when the first thing i will be doing is dismantling it and hacking up the copper plate i dont see the point in wasting the money! Especially when it will probably take several attempts to get right...

Asked by harsesis 8 years ago


How do I make a proximity sensor that is specific to something small/light (I will hang it from a cat's collar)?

Pretty much what the title says.  Trying to get a proximity sensor for when one cat walks up, but not the other (thought to hang a target on one cat's collar).  That way a device can run when one cat comes close, but not the other.

Asked by Taiji 6 years ago


adding a proximity detector to the mouse bot

Hello im new here and new to tech but i was wondering if any one could tell me how to add the simple ir proximity detector thts on this site to the mouse bot any help would be apreciated

Posted by yerok16 10 years ago


Radio Frequency Proximity Detector

Hello, Does anyone have an instructable for building a proximity detector based on a radio transmitter and receiver? Or some other wave based method? I've viewed the IR proximity detector here on this site, but I need a transmitter/receiver based one. Yes, this is for my pet. I have 2 cats and 1 dog. I need to keep the dog out of the same areas that the cats are allowed to go into, thus the proximity detector needs to be specifically tuned to the dog. Distance does not have to be far, anywhere from several inches to a couple feet. Appreciate any comments or instructables! Thanks, Eric

Posted by riccarr 11 years ago


Small proximity sensors with short range and alarm either IR or RFID

I would like to make two key fob sized units that if brought within ~20cm of each other would sound an alarm from one of the units. I've seen a pair of key fob sized RDIF alarm tags that sound an alarm in one if moved more than ~10m apart. They sell for ~$50 US but I need something that accomplishes just the opposite from this device. I want to keep two pets away from each other (one bullies the other) and such a device would I believe accomplish this task. It seems like it should be relatively simple to design but I'm an artist and machinist and know little about electronics. I purchased a book entitled Practical Electronics for Inventors that has given me some knowledge about the basics of transformers, relays, capacitors, resisters, etc. but nothing on IR or RFID transmitters/receivers. Everything I read about RDIF is geared towards one stationary reader (or large hand-held unit) and one or more transmitters. I made one collar with an IR receiver from an R/C car and a small piezo alarm that would sound when I pushed a button on a remote. This works but only if I'm in the same room with the offending animal. I need something that works when I'm away or the animals are upstairs or in another part of the house. They are indoor only pets so the device need not be weather-proof. Anyone with knowledge of such things want to lend me a hand?

Posted by bigdaddyjt 8 years ago


can i use tv remote sensor in place of photodiode in proximity sensor circuit? if yes please tell me how

Can i use tv remote sensor in place of photodiode in proximity sensor circuit? if yes please tell me how

Posted by MukulB8 6 months ago


proximity TO EACH OTHER sensors?

I've seen several instructables for creating proximity sensors that will detect anything, but I want sensors that will detect only each other.  Basically, I want to have LEDs inside tiny toys that will light when the toys are near each other, then fade and turn off as they are separated.  Can anybody point me in the right direction?  Thanks.

Posted by aliasjanedoe 4 years ago


Fire Proximity Suit Build - Keep Super Cool!

I am desperately trying to find a way to create a fire proximity suit. Picture https://commons.m.wikimedia.org/wiki/File:Fire_fighters_practice_with_spraying_equipment,_March_1981.jpg#mw-jump-to-license I have been looking everywhere for the alumizied fabric that is used. I want to make it more for prop purposes, or to wear on a really hot day. So it does not need to be flame proof! Anybody have any ideas on where I could fine or what I should be searching for? Thanks 

Posted by Mutant Tortoise 2 years ago


How can I turn a square wave to a "logic one" or ON?

Hi, I'm looking for ways to change a square wave to a logic high state. Attached is a diagram of the circuit. It picks up on when you approach it but sends out a square wave of I think about 50 Hz due to induction from mains in the body(?). I would like to turn this frequency into a logic one or ON when the frequency (from the hand) is present and for it to turn to a logic zero or OFF when no frequency is present. My goal is to get a decent logic proximity circuit that I can use to select pins for a binary multiplexer. Attached is a diagram of the circuit which is inspired by this electrocope circuit, that I am trying to interface with other logic components. Basically Im aiming for an electrostatic proximity sensor that spits out a 1 or 0 based on some threshold sensitivity. Would be super greatful if anyone had an idea of how to do this, I really need to get this working rather soon! Best M3rtzi

Asked by Mertzi 2 years ago


Reverse proximity alarm ?

If my backpack or suitcase was moved away from me an alarm would go off in the luggage if the luggage was moved more than a few meters . This would be a 2 piece gadget , 1 piece in the luggage and 1 in my pocket . Cheers

Asked by Witold888 9 years ago


Variable 3D Proximity/Distance Sensor With Feelings : what to and how to

Greetings, I would like to know if there is a simple way to create a Variable 3D Proximity/Distance Sensor. When you think about "Proximity Sensor" you think about "Infrared", but IR proximity sensors only ''scan" a straight line and not a whole spheric space, so that is not the answer. Detail 1: 3-dimensionality Imagine this: We have object A and object B. Object A has the sensor. Object A would sense object B's distance to itself (A) regardless of the relative position between the two objects - it wouldn't matter if B was in front of A, if it was on top of A, if it was behind A, etc. Detail 2: Variability The sensor would sense a variable proximity/distance. It would know if the two objects were 1cm apart, π cm apart, 12cm apart, 50cm apart, etc. Detail 3: Feelings :3 (Oh, Teh Loev) Imagine again objects A and B. Object A would only sense Object B's distance to itself. Not it's distance to a table, nor a wall nor your cat. Like if only Object A and Object B existed. Here's the catch: both objects would have the sensor and they would sense eachother (again, not anything else), so I can't use 'things' that would interfere with eachother (like, I don't know, isn't there something like the adding of sound waves[read phrase bellow]? I'm only a high-school student...). I thought about using sound waves (because they spread 3-dimensionally), but I don't know how I could implement that... Outcome This is an example of what the sensors could be used to after having the sensors built and the code written: 1: Object A senses B. Object B senses A. 2: If B is 50cm apart from self (A), light LED1. If A is 50cm apart from self (B), light LED1. 3: If B is 20cm apart from self (A), light LED2. If A is 20cm apart from self (B), light LED2. 4: If B is 5cm apart from selft (A), light LED3. If A is 5cm apart from self (B), light LED3. As you can see, in this example both objects would do exactly the same... Sooo.... How can I make such a PAIR of sensors that wouldn't interfere with eachother? P.S.: I'm talking about making a circuit of my own or buying a sensor and implementing it in an external circuit of my own or whatever... Thanks a lot.

Asked by pedrotome 8 years ago


Medium-range proximity sensor, aka, super Hall Effect sensor

Hi, I need a sensor to use with an Arduino. I've been thinking and researching for months, but I still haven't been able to come up with something feasible and good. Basically, I want a sensor that can measure its distance to a specific object. Id est, object A knows it's distance to object B; not to any other object, like the surrounding environment, ONLY the distance to object B. The sensor should be able to measure the space around it, ie, the sensor measures distance not linearly - like an IR sensor or an ultra-sonic sensor - but spherically. I think Hall Effect sensors can do that. The problem is: I want distances ranging from 10cm - 1m (4 - 40 inches) and a Hall Effect sensor can't do that, right? And very strong magnets and Arduinos don't really go well together... So.. what can I use to do this? Thanks a lot! :)

Asked by pedrotome 7 years ago


Programming a Arduino mega 2560 Answered

Can someone help me program a Arduino mega 2560 with a proximity sensor so that when a car comes into a garage parking spot, the stop light will either go to yellow or red. I already have the stop light, and the Arduino board.?

Asked by dansaul0413 6 years ago


I m trying to control Logic with miduino s proximity sensors but the midi input goes mad. Answered

 I m trying to control Logic with miduinos proximity sensors but when i connect with my mac with the miduino, the midi input goes mad with random numbers, I connected all the unused inputs on miduino with grnd but still.... any ideas?

Asked by nikaki 8 years ago


Distance between two electronic systems sensor for the Arduino

Hello. I've been thinking about this for months and haven't figured out how to do it... Don't be frightened by the wall of text, it's a VERY entertaining read! You'll fall down laughing! ______________ The basics: Imagine two systems: A and B. Both A and B use the Arduino as their "heart". I want A and B to know, at all times, the distance between them. The distance is 3-dimensional, ie, it doesn't matter if A is in front of B, if A is on top of B, etc. The distance ranges from about 10cm to 2m. It's not that strict, though. Something around that... The final project (which is not the sensor; the sensor is just a piece of it, just like the Arduino or an LED or a resistor) is a gift, so it has to be 'good-looking'. Because of that, the sensor has to be as inconspicuous as possible. Problem 1: Linear solutions can't be used, like Infrared LEDs or Ultrasonds. Besides being too linear (which makes sensing in 3 dimensions too hard and expensive because of the use of arrays of LEDs or sound generators), the only way (that I came up with) they could be used is this (because it can't be based on reflections): 1- A emits signal (IR modulation or Ultrasonic frequence) and starts timer (microcontroller function). 2- B receives signal. B waits 2 milliseconds. B emits signal (different from the signal emitted by A, so they don't get messed up). 3- A receives signal and stops the timer. A then calculates the distance through a simple formula. That's how A would know the distance between itself and B. B would do exactly the same thing to know the distance between itself and A, but with signals different from those used by A (so they wouldn't get messed up). This is infeasible because: Using IR, every millisecond (the smallest unit of time a general microcontroller can measure) is equivalent to 30,000,000cm (or 300,000km or 186,400 miles). Using sound, every millisecond is equivalent to 34cm (or 13.4 inches). With such a short distance range (10cm to 2m), 34cm is too much, which makes the sensor incredibly inaccurate. Problem 2: Using the sensor with the Arduino The sensor would have to output something to let the Arduino know the distance so that I could then do stuff like: If distance is between 0 and 20cm, do this. If distance is between 21 and 50cm, do that. If distance is 51 and 200cm, do that. Else do nothing. etc. :) Problem 3: It has to be simple (and cheap) I'm no programmer nor do I know a lot about electronics. I'm a simple hobbyist with the dream to finish this project, so it can't be overly complex. :) So, after reading this wall of text, what do you think I could use? Do you know any wireless technology that lets me do this? Oh, sorry about claiming it would be a fun read.. It was the only way I found to make you ACTUALLY read this. :p THANK YOU! :D

Asked by pedrotome 8 years ago


Looking for a circuit- proximity switch ?

I am building a fiberglass car and I do not want to have any door handles. In otherwords, this will be a very smooth body. I am looking for a circuit to make a proximity swith that has 2  elements in it. When I  pass my hand over one of the plates it latches power to the second sensor and  when I pass my hand over it it causes a solenoid to open my door. One of my students made a similar device for me a few years back and it got destroyed by mice in my car..  I will be using isolation relays with 1 amp draw to operate the door solenoid at 12 v. Any ideas?I already have 2 3x4 inch metal plates fiberglassed into the body for antenna.

Asked by gurobuzz 6 years ago



Help with Capacity and Inductive Proximity Code for Arduino?

I am a beginner. I'm trying to figure out what wrong with this code. The project is suppose to turn a servo motor left and right based on which sensors are active. Capacity Sensor (cpsensor) and Inductive Proximity Sensor (ipsensor). Here is the code:                                                                                                                                                                                     #include int ipsensor = 9; int servo = 7; int pos = 90; int val = 0; int cpsensor = 5; int led = 4; Servo myservo; void setup(){   pinMode(ipsensor, INPUT);   pinMode(servo, OUTPUT);   pinMode(cpsensor, INPUT);   pinMode(led, OUTPUT);   myservo.attach(servo);   digitalWrite(ipsensor, LOW);   digitalWrite(cpsensor, LOW); } void loop() {   int ipsensor = 9;   int cpsensor = 5;   if ((digitalRead(ipsensor) == HIGH && digitalRead(cpsensor)) == HIGH){     for(pos =90; pos       delay(15);     for(pos = 135; pos>=90; pos-=45)     {       myservo.write(pos);     }   }   else if ((digitalRead(ipsensor) == LOW && digitalRead(cpsensor) == HIGH)){     for(pos =90; pos       delay(15);     for(pos = 45; pos>=90; pos+=45)     {       myservo.write(pos);     }   }   delay(1); }  

Asked by charlie.spells 3 years ago