PIR sensor help !!

I have a PIR sensor.. initially when i tested it using an led.. the led used to turn on when it detected motion.. now it happens vice-a-versa . Any suggestions to rectify the problem?

Question by imakethings 7 years ago  |  last reply 7 years ago


PIR DC Motor? Answered

Hi all, I am trying to set up a dc motor controlled by a PIR sensor using an arduino.  When the PIR sensor is triggered, I would like the motor to turn on for half a second and then off.  However, no matter what "delay" I write into the sketch, the motor always stays on for around four seconds.  Could someone please help me? The sketch I have written is below and have provided a picture of my set-up: const int pirPower = 12; const int pirIn = 13; int motorPin1 = 3; void setup(){ pinMode(pirPower, OUTPUT); pinMode(pirIn, INPUT); pinMode(motorPin1, OUTPUT); digitalWrite(motorPin1, LOW); digitalWrite(pirPower, HIGH); } void loop(){   int value= digitalRead(pirIn);     if (value == HIGH){       digitalWrite(motorPin1, HIGH);       delay(2000); //will not start if = 0-20.  The signal is stronger the higher the delay goes.  Time active remains the same.       digitalWrite(motorPin1, LOW);     } }

Question by Josh_Lucas 4 years ago  |  last reply 7 weeks ago


PIR Sensor troubleshooting

Hello there people of the internets, I'm an electronics newb, hoping someone can help me. I'm trying to trigger a 1.5-3 volt DC motor using a PIR sensor, without using a microcontroller.   I have the PIR sensor's output connected to an npn transmitter which triggers a 5v spdt relay to switch on the motor.  When testing the circuit with an LED, it works perfectly, turning the LED on when motion is detected.   When I swap the LED for the motor, the relay turns on the motor repeatedly every 6 seconds no matter whether there is motion or not. (it also may have killed the relay after about a minute or two) I tried a different circuit, using a transistor as a switch instead of a relay, which also works perfectly with an LED, but when the motor is connected instead, again the motor is turned on every 6 seconds without a care for the PIR output. What could I be doing wrong here?  I'm assuming that perhaps it has something to do with kickback from the motor...maybe? Anybody have any advice?  (Remember, no microcontroller!  As much as I'd love to try my hand at using arduino or the like, I can't afford to use a microcontroller for this particular project.)

Topic by yuck 8 years ago  |  last reply 8 years ago


Passive Infrared Detector (PIR) Issue

Hi folks.  I have a 6000 Series PIR originally manufactured by GE security.  The sensor is wired to a OMRON MK2P-S 8 pin relay.  The relay controls an audio alarm. Everything worked fine for a while but now it no longer triggers the relay, despite the LED indicating it should.  I can physically disconnect the COM connection and it will force the relay to trip and perform the desired alarm message.  The voltage to the PIR is 13.5v (specifications indicate 10v-16v is the acceptable range).  I have set the jumper for 2 and 3 pulse with no difference in behavior.  Any troubleshooting ideas?  Thanks in advance.

Question by mhammer99 7 years ago  |  last reply 7 years ago


PIR SENSOR NOT DETECTING THE MOTION. JUST TURNS ON LED WHEN CONNECTS TO THE POWER SUPPLY.

SIR, I bought a simple PIR motion sensor from market. when i connect vcc (input) to the  battery the led gets on. PIR sensor don't detect. what will be possibilities for not working. PLEASE give me the solution to overcome this problem.

Question by RKS 1 1 year ago  |  last reply 1 year ago


Advice for PIR motion sensor

Hello, I am currently developing a wireless PIR motion sensor for my home with Arduino and I need some advices (I am new with Arduino). The product will send a signal everytime it detects someone but I need to switch on/off when I am at home. For instance, before switch on/off on the device, it will detect a movement  (and I don't want to). Is there any way to switch on/off remotely (right before entering in the house for instance) ? 1/ Infrared ? Is it consume a lot of battery ? 2/ Bluethooth ? Is it consume a lot of battery ? 3/ Other ? Thanks for your help,

Topic by arduinodev 1 year ago


Sentry Gun and PIR sensors

Hello, I have a question about PIR sensors for a robot I'm making. Most have a digital pin that goes high when movement is detected. The time that this pin stays high for (delay time) is often adjustable by a variable resistor on the sensor. My problem is that I need a sensor with no delay time - the digital pin should go low as soon as movement stops. If anyone could point me in the direction of a pir sensor with no delay time/one with a very short delay time (under 0.5s) I would be grateful. Or possibly, If I were to remove the variable resistor, would that remove the delay time? thanks.

Topic by SentryGunner 3 years ago


How to troubleshoot a pir sensor?

Hello I bought a pir sensor off ebay (SKU 14_B000101941) and I plugged it into a solderless breadboard to test it out. I connected a 3v LED between the output and ground and while it does light up, it does not light up when it senses light, it just turns off every 2 seconds, then every 5 seconds. If there is a simple fix to this problem any advice would be appreciated but if not I am willing to buy a different one.

Question by thorpenny 7 years ago  |  last reply 1 year ago


Simple PIR circuit, need review

Hi, I'm working on a simple circuit. The idea is to have a portable device that lights up when I stand up at night. I have a PIR sensor that triggers 3 LEDS. I use a LM741 as an OpAmp The leds are type 3528. Though these LEDs are supposed to be powered with 12v, I'll use a 9v battery. My main concern is the battery life, tha'ts why I use 100k resistors in stand-by, to limit the current. R3 is used to fine-tune the threshold on the inverting voltage. PIR outputs:    3.3v when it detects motion,    ?v otherwise (but yet >0) Could anyone give me some tips or advice on how to improve my circuit? Thanks, Antonio

Topic by stills 4 years ago  |  last reply 4 years ago


Do I need a microcontroller to use my Parallax PIR sensor? Answered

 I linked 4AA batteries, 330ohm resistor, red LED, and the PIR (with ground going to ground) but the LED stays on no matter what. 

Question by ddv05 7 years ago  |  last reply 7 years ago


How do i make use of the output of a PIR sensor to toggle a switch?

Currently I had build a board according to this schematic, http://www.massey.ac.nz/~wlxu/reports_pdf/HealthArticle2002.pdf . I was told that a edge triggering monostable 555 timer will allow me to have a stable high/low signal. Problem is how do i make use of the output to generate the switch from the edge triggering 555 timer?

Question by Acronymm 7 years ago  |  last reply 7 years ago



HI , I'm an extreme novice and want to make a salvaged PIR+ relay +windscreen pump,squirting device. Answered

HI everybody, i followed this instructablehttps://www.instructables.com/id/Re-purposing-an-Air-Wick-Freshmatic-Compact-i-Moti/step4/Aproach-1B-Digitized-Sensor-Output-Small-Module/           and the pir is outputting +-4.7 v. i purchased a rs5 5v (coil) 12v switch relay. I have connected the output of the PIR to the relay coil and i am trying to use this to switch on a 12v windscreen washer pump. I can switch the relay with 3x 1.5v cells directly and the pump activates but when i use the output of the PIR to try and switch the relay, nothing happens. I am assuming it is a ( Icurrent ) problem but as i say I dont have a clue.please help.?

Question by macgyverknife 7 years ago  |  last reply 7 years ago


Passive (Pyroelectric) Infrared Motion Sensor Design?

I am trying to build a pyroelectric infrared sensor using a KC778B from scratch. I have gotten my system to work using PIR modules, but because I am using 100 of them in my project, it ends up costing almost $900 more to do than building it from scratch (even including paying a machine to assemble the extra components). However, the prototype I built doesn't work. It worked when I did it using a PIR module, so the LED charging circuit is fine -- but the sensor block is not. I went through the datasheet carefully and didn't see anything particularly odd, and scoping the pins also showed no noise to speak of. I found an example online of how to use the chip, and their system was very similar to mine, except with extra features that I had eliminated. Basically, the behavior is that it does not output a voltage indicating detected motion for a random appearing length of time, and then outputs only detection events. The attached LED light is off for most of the time, and then turns on, never to turn off again. Perhaps the sensitivity is too low, perhaps the controller and PIR sensor element aren't compatible, I just have no idea. The PIR sensor is the PIR_D203S. It says it requires 3-15V to run and the drain reference on the PIR controller chip is only 2.5V, so I thought that could be the problem. However, connecting D directly to 5VDC did not fix anything. I just ordered two PIR sensors that say they go to 2VDC, but I'm not optimistic that this is the problem. I also did not include the 1k resistor on the output to the LED control transistor; could that cause the system to stick on or off? I did also not bypass the power supply, but I'm seeing it freeze, not flicker, so again I am doubtful. I really cannot think of any other places where this could fail -- perhaps the offset voltage on the PIR sensor, maybe the frequency of the turn off circuit -- but everywhere I look the datasheets imply that my circuit should be fine as is. I'm kind of doubtful that instructables can help, but I have no where else to turn. These things are apparently too cheap for anyone to bother building them themselves, and there are only even one or two controller chips in existence.

Question by neltnerb 9 years ago  |  last reply 8 years ago


(HELP) Linking Wireless Pir Sensor To Wireless Chime

Hi, trying to get a wireless PIR sensor to activate a wireless door chime... Given up trying to get the PIR to transmit the same frequency as the chime so now trying to get the PIR to switch on the wireless doorbell chime.  So in theory, motion activates sensor, signal from sensor goes to door bell button, signal from door bell button goes to chime. I've attached wires to the bell switch, but don't know where to attach them onto the PIR:   experiments so far have activated the chime but it stays on so I think I'm just shorting something out. Also, should both power sources (for PIR and doorbell ringer) remain as PIR is 9v and bell ringer 12v? Hi res pics below, thanks to anyone for their help and advice! Greg PIR transmitter Front http://i.imgur.com/77xcEcx.jpg Back http://i.imgur.com/8PqwSBl.jpg Doorbell Button/transmitter (wires tied on switch contacts) Front http://i.imgur.com/VW5OAGz.jpg Back: http://i.imgur.com/SLOchYn.jpg

Topic by gregoire500 5 years ago  |  last reply 5 years ago


PIR alarm somehow works WITHOUT PIR attached

So I was playing around with this instructable: https://www.instructables.com/id/DIY-Motion-Sensor-Alarm-System/ and it works great, I made it on a bread board and when I unplugged the PIR to switch a jumper, I noticed that the LED started acting as a sensor! That is, when I got close to the bread board, the LED would light up and the alarm would go off, it would stop when I moved my hand away and start again when I put my hand back... This may be a stupid question, but I am really curious how this works!

Topic by emikayee 5 years ago  |  last reply 5 years ago


(HELP) Linking Wireless Pir Sensor To Wireless Chime

Hi, I'm trying to use a wireless PIR sensor to activate a wireless MP3 door bell for an art project I'm doing so that when people walk by a particular spot, sound I've uploaded to the doorbell chime will play.  It has to be wireless i'm afraid... If anyone is bored this Sunday afternoon and feels like helping me out I'd be very grateful as I need this to be operational by Tuesday and i'm no electronics expert. To say thanks I'd definitely paypal you some beer money! The wireless PIR is this one: http://chitongda.en.made-in-china.com/prod...or-HW-01G-.html The wireless door bell is this one: http://www.swann.com/webfiles/download/147...P3_Doorbell.pdf Both operate on 433mhz and in my head, this meant it should have been easy to get them to work together. Since then I've been reading a lot about DIP switches that was previously unknown to my technically ignorant mind. So, I've taken a pic of the guts in the PIR and I guess the frequency ID is determined by the pins on the top left that read A0-A7? http://i.imgur.com/HSSyCpa.jpg and the wireless doorbell has 6 DIP switches in the battery compartment like so: http://i.imgur.com/W9fWk41.jpg as well as the door bell button (also wireless). Is it possible to get these to work together, and if so, how would I do this with a minimum of hassle that someone with little electronics expertise like myself can understand? A very large thanks to anyone who can help my befuddled mind get around this!

Topic by gregoire500 5 years ago


How can I make radioshack led strip example code work with pir sensor?

Hi, I really wanna know how to make the code work with pir sensor to turn the led on when it detects the motion.    the example code is here: http://www.radioshack.com/graphics/uc/rsk/Support/SoftwareDownload/2760339.zip

Question by vermissa0ss 4 years ago  |  last reply 4 years ago


PIR motion sensor,DC motor and Speaker alarm system help? Answered

I'm trying to create an alarm system using a PIR motion sensor, DC motor and a speaker so when someone gets close to it the DC motor should vibrate and sound and alarm through the speaker. (using and Arduino UNO) I've got  an external 9V battery powering it. the PIR and sound works fine I just want to hook up the DC motor to run along with everything else.  I've got some code for a button switch that could turn the motion sensor on and off when I want to use it also, if you know how to set that up that would help. I'm new to Arduino and circuits please help.  Here is the code I'm using: int ledPin = 13;                 int inputPin = 2;                int pirState = LOW;              int val = 0;                    int pinSpeaker = 10;           boolean on = true; void setup() {   pinMode(ledPin, OUTPUT);      // declare LED as output   pinMode(inputPin, INPUT);     // declare sensor as input   pinMode(pinSpeaker, OUTPUT);   pinMode(3,INPUT);   Serial.begin(9600); } void loop() {   //button code for turning on and off the PIR //  if (on == false) { //    if (digitalRead(3) == HIGH) { //      on = true; //      Serial.println("turned on"); //    } //    return; //  } //  //  if (on == true) { //    if (digitalRead(3) == HIGH) { //      on = false; //      Serial.println("turned off"); //    } //  }     val = digitalRead(inputPin);  // read input value   if (val == HIGH) {            // check if the input is HIGH     digitalWrite(ledPin, HIGH);  // turn LED ON     playTone(300, 160);     delay(150);         if (pirState == LOW) {       // we have just turned on       Serial.println("Motion detected!");       // We only want to print on the output change, not state       pirState = HIGH;     }   } else {       digitalWrite(ledPin, LOW); // turn LED OFF       playTone(0, 0);       delay(300);          if (pirState == HIGH){       // we have just turned off       Serial.println("Motion ended!");       // We only want to print on the output change, not state       pirState = LOW;     }   } } // duration in mSecs, frequency in hertz void playTone(long duration, int freq) {     duration *= 1000;     int period = (1.0 / freq) * 1000000;     long elapsed_time = 0;     while (elapsed_time < duration) {         digitalWrite(pinSpeaker,HIGH);         delayMicroseconds(period / 2);         digitalWrite(pinSpeaker, LOW);         delayMicroseconds(period / 2);         elapsed_time += (period);     } }     

Question by TianL4 3 years ago  |  last reply 3 years ago


Idea: Smart LED front door light with PIR detector and light sensor

Hello to all. I searched the forums for the project I plan to do, but found no real answer. Here is the idea: I want to have a front door light using CREE high power LEDs that would: - stay off during the day - turn on at 10% current level when night falls - ramp up the current gradually to 100% current when a movement is detected, stay at 100% for a preselected amount of time, then return back to 10%. This would make a very efficient front door light. I have some experience making headlamps using buckpucks and power LEDs (thanks to dan from this site), but I have no idea on how to make the "gradually changing" current driver for that project. I guess it would involve a microcontroller of some sort. Has anyone some insights on this ? Thanks for reading, Mike, Switzerland

Question by 4fontaines 8 years ago  |  last reply 8 years ago


PIR motion detector

My roommates and I decided that we wanted an electronic project to work on and we chose to try out making a motion detector. The only thing is, we really have no idea how.We have this PIR sensor, a small PC board, some wire, a buzzer and soldering equipment.My question is, how can we make a motion detector that buzzes when it senses motion? What more do we need to buy?We have looked online but couldn't find anything for people that really have no idea what to do.Thanks for any help!

Topic by gohuskies 10 years ago  |  last reply 10 years ago


3v Relay Module and PIR sensor circuit troubleshoot

​Looking for help on my project.  See image.  Testing before connecting to high voltage device.  Using a 3v relay triiggered by the PIR signal.  As you see wired now, There is no ground wire coming from PIR.  The circuit would not trigger relay with a ground wire to the PIR.  When this does trigger I noticed on the relay that the LED would not go completely off.  So I check to find that when relay turns "off"  the PIR is still sending 2.8 volts to the relay.  Not enough to trigger the relay, but enough to show power through the LED.  Obviously something wrong here where the PIR or Relay are still drawing power.  Can you help?

Topic by DiyWaterDog 3 years ago  |  last reply 3 years ago


Automated arduino Water gun

Hi, Im looking for some advice on a current project.. The idea is to build an arduino controlled water turret that sprays water at cats in my back garden. The basis of the idea is a few PIRs to cover 360 degrees, a stepper motor and possibly a windscreen washer kit to spray the water. I want the project to be portable so dont particually want to have a mains water feed. My main issue is the method of spraying the water, Im considering a 12v pump kit but thinking there could be an issue with how far one of these pumps would actually spray the water. I have an ardunio uno and a couple PIRs and dont want to be spending a great amount of money on the project although if i can find a decent method of firing the water then i could increase the budget slightly.  Any ideas or similar projects out there where i might get some inspiration?  Any help would be appriciated

Topic by jimf1984 4 years ago  |  last reply 4 years ago


Circuit for low voltage, PIR, LED, solar powered outdoor light?

I've hit my limit on electronics, can anyone point me to or suggest a circuit for low voltage LED outdoor light, activated by PIR, powered from a solar charged battery pack? Cheers, Sean

Question by cdspk 4 years ago  |  last reply 4 years ago


How do I use PIR motion sensor to trigger 3v relay module? Answered

​Looking for help on my project.  See image.  Testing before connecting to high voltage device.  This is my first attempt using a relay. Using a 3v relay triiggered by the PIR signal.  As you see wired now, There is no ground wire coming from PIR only Red + and Yellow signal to relay..  The circuit would not trigger relay with a ground wire to the PIR.  When this does trigger ( without the ground wire on PIR) I noticed on the relay that the LED would not go completely off.  It dimmed showiing that the relay board was still receiving power. So I check to find that when relay turns/switches "off"  the PIR is still sending 2.6-2.8 volts to the relay.  Not enough to trigger the relay, but enough to show power through the LED.  Obviously something wrong here where the PIR or Relay are still drawing power.  Can you help?

Question by DiyWaterDog 3 years ago  |  last reply 2 years ago


Using a PIR to turn on a sound module

Hi All, I have used PIR sensors before but i usually hack one from a cupboard light you can buy.  What I want to do is use a really small (and cheap) board like the trinket (adafruit) and hook it up to the PIR in order to turn on a sound module.   Does anyone know what board would be best to do this?  All the board will have to do is activate the PIR sensor.  maybe I don't need an actual whole board to get this done?  any clues would be much appreciated.

Question by lonesoulsurfer 5 years ago  |  last reply 5 years ago


What is the most basic IR Emitter/Receiver and/or PIR module Analog 10 led circuit?

What is the most basic PIR module basic 10 led circuit? I have tip31's, many different size resistors,iIR Emitters and IR Receivers also PIR module with white dome 2 adjustments, on 12v?

Question by Sidener80 4 years ago


PIR activated motor - can anyone help me build one?

I am baffled by the techie bits of the various PIR projects that I have stumbled across.  You're all very clever! I'd like to develop a kids toy whereby a small motor is triggered by movement in the room. it should: fit inside a plant pot be battery operated use very little or no power when inactive cost less than £10 / $15 in parts Is this possible?  Would anyone be willling to help me develop this toy? thanks. Julius (London, UK)

Question by julius100 7 years ago  |  last reply 7 years ago


My PIR sensor continuously blinks the output when activated once, how do I fix this? Answered

I tried it on both settings (retriggerable and non) and it still does it. am I doing something wrong?

Question by Sun Gear 6 years ago  |  last reply 6 years ago


How do I use a PIR (Passive infrared sensor) motion sensor to turn on a 3v battery?

Hi All, I want to use a PIR to turn on a small 3v DC motor.  I know that I can't just directly attach the motor to the PIR as there isn't enough power to run the motor.  I have done some research and it looks like I could use a 3.3V relay as a switch to drive the higher power needed for the motor what I want to know is how to wire it all up?  Do I have to supply a separate power source to the relay to run the motor?  If anyone has a schematic that would be great.  I found this relay on ebay which I thought might work but I'd like to make one myself if possible. thanks for your help. lonesoulsurfer

Question by lonesoulsurfer 6 years ago  |  last reply 6 years ago


Looking to trigger a handheld "buzzer" using a motion detector, any advice?

Hey everyone! I am currently working on a project that would allow my employees to be alerted once somebody walks through our doors, without annoying anyone (so a bell is out of the question, haha). My idea is to have a motion detector above the door, and once someone walks through it, a handheld buzzer will go off (to alert my employees). I'm thinking that I'll need a PIR sensor, a vibration motor, possibly a micro-controller(?), and some kind of power source. Something I'm struggling with is finding a way to trigger the buzzer, without being physically connected to the PIR sensor. What do you guys think? P.S. Please excuse my lack off knowledge, as I'm more of a software guy ;)

Question by slader166 3 years ago  |  last reply 3 years ago


Can somebody name all the components I would need in this tutorial please?

Https://www.instructables.com/files/orig/FN1/17CO/GV5S5HM2/FN117COGV5S5HM2.pdf

Question by dougage78 7 years ago  |  last reply 7 years ago


Is it possible to make a PIR sensor turn a small electric motor?

I need to have a PIR sensor turn a modded servo, but i can't get it to work. The servos electronics have been taken out, so its just a gearbox, and works like a normal motor. I have tried using a transistor as a switch for the servo, it works for an led, but when the motor is put in the leds place it just spins non stop. I have no clue what else to try, or why its acting to erratic. I have also tried just going straight from the PIR sensors output, but no luck there either. Does anybody know how to do this without a micro controller? and could you provide a schematic. Thanks.

Question by adem70 9 years ago  |  last reply 9 years ago


Help with Arduino? Answered

Hey everyone,          I'm doing a project with the arduino and i just want an led to light if a PIR senses motion. I am using this sensor:     http://www.sparkfun.com/commerce/product_info.php?products_id=8630 I know I have everything hooked up right, my code is just wrong.(Yes, MOTOR is used for the LED) Can someone tell me what to do? Here is the code: //Motion Detecting Box-Second Attempt #define MOTOR 13 //Motor connected to pin 13 #define PIR 2   //Motion Sensor is connected to pin 2 void setup() {   pinMode(MOTOR, OUTPUT); //sets the digital pin as output     pinMode(PIR, INPUT);    //sets the digital pin as input   } void loop() {  digitalRead(PIR); //checks pin 2     if (PIR==LOW) {     digitalWrite(MOTOR, HIGH); //turn on Motor }  else {   digitalWrite(MOTOR, LOW); } }

Question by Adum24 8 years ago  |  last reply 7 years ago


Can i use a cheap PIR sensor to trigger a camera flash?

Hi there, I am living in Panama and i need to improve security around my house. The postal service is unreliable so i will have to make do with very basic components. I'm pretty practical but haven't a clue how to get the two to "talk" to each other. If you were going to burgle a house and a decent flash fired as you approached you would be temporarily blinded, you probably wouldn't know accurately where the flash came from to sabotage it. You wouldn't know if your picture had just been taken etc etc. I would think it would be a pretty good deterrent. Thanks for any help, ppinny,

Question by ppinny 9 years ago  |  last reply 8 years ago


DIY Driveway Alert System Problem

I tried to make a driveway alert system, but it has a problem. I connected a walkie-talkie to a Radio Shack PIR Sensor using this reed relay. Essentially, when the PIR sensor detects motion, it outputs 5 V which triggers the reed relay and closes the contacts, which connects the two contacts on the walkie-talkie button, which sends a beep to the other walkie-talkie. Problem: It works as planned, except that after the motion stops and the reed relay disconnects the walkie-talkie button, it will inexplicably re-connect the walkie-talkie button after about a second, and will repeat this cycle of beeping every couple seconds indefinitely. The strange thing is that sometimes it will work just as it is supposed to, but other times it wont. Other details: The PIR sensor is powered by a 9 volt fed through a 5 V regulator so it gets steady voltage, while the walkie talkie is powered by the regular AAA batteries. I am a novice with electronics, so don't rule out that I may have made a simple mistake.

Topic by doo0202 6 years ago


Can some experts help me with motion sensor circuit requirements pls?

Hi! Newbie here needs help1)Which emitter npn transistor should I be looking for? (at 6min55sec of the video)https://www.youtube.com/watch?v=evZM2_RTvTUIs it this? https://www.ebay.com/itm/100Pcs-NPN-Transistor-TO...2)Which wattage should i choose for the 2 resistors(2200 ohm & 47ohm)?There's 1W,0.5W.0.25W.3)What is the beige connector used to connect the pir & led bulbs called?So the list also includes:https://www.lazada.sg/products/areyourshop-1pcs-hc...https://www.ebay.com/itm/2-Pcs-Dual-Layers-Black-P...did I miss out anything?Going to use the 4.8v output to power the mobius or 808 camera instead of the string led bulbs.Thank you v much

Question by meanie2 9 months ago  |  last reply 9 months ago


Anyone know how to modify an annoying doorbell 'buzzer'? Answered

Right now it's DING DONG, DING DONG, DING DONG. Three times and piercingly loud. I can't imagine the speaker is controlling the dinging and the donging - I think it must be steered by a chip on the PCB. How could I swap out either the speaker or the chip to have a still clearly audible but less repetitive and annoying alert?

Question by dan_ce 9 years ago  |  last reply 9 years ago


Add pir sensor to Xiaomi yi action camera bluetooth remote

Hi! The yi action camera comes with a bluetooth remote.I'm wondering if its possible to add a pir sensor to it and maybe change it's power supply to aa / aaa batteries.https://ae01.alicdn.com/kf/HTB1f9UUJFXXXXcWXXXXq6x...Which are the items required? Thanks.

Question by meanie2 9 months ago


Arduino+pir sensor+sender to receiver+LED? Answered

I want to make something that alarms me when there is movement outside my door, with an arduino uno and pir sensor, and in my room I have another arduino uno with an LED that blinks when there is movement on the arduino outside. And i want the whole thing wireless. How can I do that? and what is the arduino code for it? thanks.

Question by ibenkos 4 years ago  |  last reply 4 years ago


Arduino 12V Car-alarm with PIR sensor and remote control - expertise needed. :-)

Hi all, This is my first "big" Arduino project and my first fritzing, so please bear with me. :-) Goal: - Build the cheapest possible car alarm system with a loud siren - It should be possible to activate/deactivate the alarm with a remote control. - The alarm will once activated, sense any motion in the car (if someone breaks a window and tries to steal anything) and set of the alarm. - The system should not drain the car battery so it should draw a minimum of power. I've managed to build the first few things, but some vital steps are still needed and I hope you can help me sort these out. Components used so far: Arduino Pro Mini - TIP122 transistor - 2.2KOhm resistor - 1N4002 diode - Mini piezo siren (I used a 107dB siren with an operating voltage of 6-15Vdc and current consumption of 140mA) - Breadboard - Lots of wires I'm currently waiting for my PIR sensor to arrive together with the RF receiver/transmitter module, so for now I've added a basic switch to act as the PIR sensor and another for the RF module (activate/deactivate). The components I'm waiting for are: - An RF module that I need to order once i find the right one. - http://www.ebay.com/itm/261041100836?_trksid=p2060... Questions that still remain and that I hope you can help me with: 1. The arduino should be powered by the cars 12V battery, however I've read that the car battery must be regulated as it delivers anywhere from 12 - 16V. I could connect it directly to RAW but in case the battery peaks above 16V i risk damaging the Arduino. I'm very unsure as to how I do this regulating best? One option could be to buy a "DC-DC step down converter - 4-35Vdc > 1,23-30Vdc" and set it to 5V, but maybe a more simple and/or cheaper solution exists? 2. Since the power consumption should be kept to a minimum, I plan to add the RF before the step down converter so the powering of the regulator (step down converter?) only happens if the alarm is activated from the remote. First question is: can I use a TIP120 for this and simply connect the RF to base, and the regulator to the collector? Second: In this case, the Arduino will be powered off the hard way by cutting power when deactivating the alarm from the remote - can the arduino take that in the long run? and finally, the RF receiver needs to get its power from somewhere, so what can I do here - is the best thing to use a 12V RF module instead of the Arduino 5V RF module or can this be solved some other way? 3. Any good ideas for minimizing power consumption? 4. Anything I can do to further improve the design? :-) I'll update this post as I progress with the project including a more detailed step guide to how to implement this and the source code I'm using. Instructables arduino posts and commets have helped me a lot during over the past few weeks working with Arduino so I hope you can help me reach the finish line with this project. Br. Jakob

Topic by Zyb3r 2 years ago  |  last reply 2 years ago


Quick question

Hi, I need help. You see the street I live in has more cats than, well the musical cats,  and seeing as my garden seems to be they're preferred  choice for going to the toilet, I decided to build a motion sensing water sprayer. So off to Amazon I went and purchased some PIR sensors, a solar pump with a DC connection, bread boards wires and batteries and chucked it all together. Now the sensor will light an LED no problem but when I switch in the pump I get nothing. I read on tinternet that transistors can be used to up the juice but I was already far beyond my knowledge of circuits, components and the like. I even tried looking at sketches of PIR sensors to transistors, but after weeks of trying I'm no closer and have nothing to show for it but a headache.  If anyone can help and describe to me (in child like, basic terminology) how I wire up a transistor to a PIR and then a 4-12v 3.5watt pump that would be just super.  Or at-least put me out of my misery and tell me it's not doable.  Thanks.

Topic by Daveuppercut 4 years ago


how can i use my PIR sensor to activate the radioshack sound recorder module?

I know how to use my PIR sensor to alow power to something.... but now i already have power to my something and i need to to just act as a motion activated switch. im new to electronics and i need help. i also have an arduino.

Question by XBLmonster 7 years ago  |  last reply 7 years ago


Novice needs,Uses for this security light? upcycle Ideas? ?

I have taking all the casing off this old security light while i was looking for resistors suitable for leds about 140ohms(if any advice where to find in junk would be good =P off topic though) and seen inside is in good condition so anyone suggest wht to do with it and comps, eg should i just strip all comps off bored or keep as is and upcyle/ integrate into other project?  could be an idea but looking to get lazy and make remote light switch see:https://www.instructables.com/community/Help-Newbieatm-question/ How about a motion activated uplighter for my small room? would it be simple? Help from you Brainy legends would be very much appreciated. Oh be nice am a rookie atm lol ;)

Question by scott_shot 6 years ago  |  last reply 6 years ago


Building a robot with an Arduino, Motor Shield, and PIR Sensor

Hi. I have been trying to correlate the movement of my robot based on a PIR Sensor. Specifically, I just want my robot to move randomly (forward, left and right) whilst stopping on a regular interval (say every 5 seconds) to activate the PIR Sensor to check if anything's moving. However, I can't seem to make anything move and even the PIR is not checking on anything on my code. Here's a list of what I am using * A standard Parallax PIR Sensor * Generic Motor Shield that drives 2 DC Motors. Uses pins  8,9,10,11. * Arduino Uno R3 CODE: Since I have yet to gather enough understanding on how to make time intervals on code, I am only trying at the moment to make the motors move once the PIR detects something. Here is my (non-working) code so far. (I only mixed and modified some tutorial codes I've found and added some of mine. Credits to their owners.) int ledPin = 13;                // choose the pin for the LED int inputPin = 2;               // choose the input pin (for PIR sensor) int pirState = LOW;             // we start, assuming no motion detected int val = 0;                    // variable for reading the pin status int speed; void setup() {   pinMode(ledPin, OUTPUT);      // declare LED as output   pinMode(inputPin, INPUT);     // declare sensor as input   pinMode(8, OUTPUT);       pinMode(9, OUTPUT);       pinMode(10, OUTPUT);       pinMode(11, OUTPUT);   Serial.begin(9600); } void loop(){   val = digitalRead(inputPin);    if (val == HIGH) {                digitalWrite(ledPin, HIGH);      digitalWrite(8, LOW);     digitalWrite(11, LOW);     for (speed=0; speed<256; speed++){       analogWrite(9, speed);          analogWrite(10, speed);          delay(10);          }        for (speed=255; speed>0; speed--){       analogWrite(9, speed);          analogWrite(10, speed);          delay(10);               }         digitalWrite(8, HIGH);     digitalWrite(11, HIGH);     for (speed=0; speed<256; speed++){       analogWrite(9, speed);          analogWrite(10, speed);          delay(10);              }        for (speed=255; speed>0; speed--){       analogWrite(9, speed);          analogWrite(10, speed);          delay(10);                }        if (pirState == LOW) {       Serial.println("Motion detected!");       pirState = HIGH;     }   }   else {     digitalWrite(ledPin, LOW); // turn LED OFF     if (pirState == HIGH){       Serial.println("Motion ended!");       pirState = LOW;     }   } } I tried the code and made some corrections and now it works. The car now runs for a short while whenever a motion is detected on the PIR sensor. That's basically how I programmed it to be for the meantime just to see if the shield and PIR Sensor work. However, how do I go into making the car to do these things: 1.  Run randomly for 5 seconds (forward, left and right) 2. Activate the PIR once the wheels have stopped. Then run another DC motor once motion is detected. 3. If no motion is detected on Step 2, Run step 1 again. Thank you very much! 

Question by listenjared 5 years ago


Shield:FAIL problem in ESP8266-01 with Arduino UNO

I have been working on a Security System project wherein I should get an email if the PIR sensor detects any human presence. I have used an Arduino UNO, ESP8266-01 WiFi module and a PIR sensor. Power supply: Arduino is powered through the USB connection of desktop and ESP8266-01 is powered through the 3.3V pin of Arduino UNO and I have not faced any problem with that 3.3V connection of Arduino. The connection between Arduino UNO and ESP8266-01 are as follows: Arduino UNO ESP8266-01 Rx  Rx Tx  Tx 3.3V  CH_PD & VCC GND  GND   GPIO0 and GPIO2 left open. After successfully uploading the 'BareMinimum' code as found in 'File>Examples>Basics' of Arduino IDE, the ESP8266 is able to communicate correctly i.e. connecting to a wifi network or serving as an access point via SERIAL MONITOR.The ESP8266-01 displays '0018000902-AI03' as the firware version when I type AT+GMR in the serial monitor of Arduino IDE v1.6.8 Then I created an account on https://temboo.com/ and used the 'SendEmail' choreo as found under 'Google>Gmail>SendEmail'. I selected the 'Arduino' option in one tab and 'Arduino Wifi' option in another tab.I then entered the required details including the 'App specific password' and I was able to successfully run the choreo. Problem: I was able to successfully upload the code  to my Arduino UNO that was generated by Temboo. But after uploading the code, when I'm opening my SERIAL MONITOR window from Arduino IDE a message "Shield:FAIL" is being displayed. I'm not able to communicate with the ESP8266 any further. But if I upload the BareMinimum code again, then ESP8266 works normally. I'm a newbie and dont know much about the programming of Arduino though some basics of C are clear.Please if anyone can help me with this, I would be very grateful. The code has been attached.

Topic by JigarF 3 years ago  |  last reply 2 years ago


Could I use a PIR sensor as a hands free on-off switch like in 1960s SciFi movies? Answered

I like the idea of waving my hand over a little dome to turn on or turn off an a/c device. I know a PIR can be used to actuate a circuit for a time period, but don't want the thing to turn back off until I'm ready. I would like to use the PIR to toggle on or off switch for the circuit only when I wave my hand over the sensor bulb. I'm sure this can be done, but I am not skilled enough to figure it out without a little help. I want to turn on or turn off the light on my night stand next to my bed. I could build a battery powered LED night light, but I want to use the circuit to control the a/c powered lamp. I am guessing I'd need a solid state relay or something to handle the 110 volt a/c for the lamp. Any help?

Question by Purphekt 5 years ago  |  last reply 4 years ago


Reducing the influence of low temperature objects on PIR sensors?

​Hello, can anybody please help me with this? I was wondering if there was some sort of filter/material that I could place in front of a pir module, that would filter out any low temperature objects and only allow high amounts of infrared radiation to pass through and trigger the sensor (body heat). I plan to mount the sensor on a rotating turret, and when it spins I don't want the sensors to be triggered by the moving background (walls, bookshelves, etc.) thanks.

Question by SentryGunner 3 years ago  |  last reply 3 years ago


pir motion sensor keychain camera controlled by arduino?

Hi I am a total novice and having discovered a project on this website i am convinced that it is the answer to my own university project. I am to create a motion sensor camera within an urban context that will be triggered by people and record their movements and the space itself. The project I am talking about https://www.instructables.com/id/Keychain-camera-with-PIR-motion-detector-controlle/It involves pir sensor keychain camera controlled by arduino. I am more than willing to have a go but from the tutorial there are no guidelines as to what components I would need and how I would go about in wiring and connecting the parts. I am searching the internet and this website. Does anybody have any experience with such work and if so could you possibly help please. Thanks?

Question by dougage78 7 years ago  |  last reply 7 years ago


Using a motion sensor to trigger sound

Hey guys, I'm trying to trigger audio with a PIR sensor but with no joy. I was hoping that someone on here would be able to help! I've got: Oomlout SPD61 PIR sensor Omron 5v relay g6a-234-bs Voice recorder Cebek C9701 5v Voltage regulator L7805CV with 9v battery attached and 8ohm speaker (these both work fine). Can anyone draw me a diagram of how I'm supposed to connect the sensor to the relay to the voice recorder? I would be so grateful!! Dolly x

Topic by Dolly Mix 5 years ago  |  last reply 5 years ago