I am trying to get the PIR sensor to Power Up the robot.
The robot will power down both automatically and with the voice command "Power down" and then power back up again with the voice command, "Power up"
I have the PIR connected to my left Arduino on pin #28, this is define in the script and confirned on start up. The power leads for the PIR are connected to 5V power. I have tested the sensor in another device and it is working OK.
Thanks Grog and Alessandruino for your help on getting this far.
Any suggestions to get the PIR sensor working would be apprieciated
Sounds like your very close -
Sounds like your very close - did you review some of the stuff wkinne did here - http://myrobotlab.org/content/pir ?
Yes, but I'll review it again
Yes, but I'll review it again
Not all PIRs are created
Not all PIRs are created equal - did you get one like wkinne or do you have a different one .. Wkinne was able to get a trace to show the PIR in action with just the Arduino service, looking at the oscope pane. Are you able to do the same ?
Yup, got the same PIR. I'm
Yup, got the same PIR. I'm trying to find that Arduino service to test it further. It did work OK in a Motion activated camera I made, see..www.radioshack.com/dit/crittergramcapturecam it was featured in the April/May issue of Make magazine.
Did you get it to work with
Did you get it to work with just the Arduino service? Or are you having issues there?
I have only tested it on my
I have only tested it on my motion camera, which is Arduino based, and it works OK. I have 2 PIR sensors both worked OK. Who all has this working on their InMoov? Maybe there is something in how it's wired up.
Wkinne I need you
Glad you are back with us. I've been trying to get my PIR working with no success. When i run the script you posted in your blog, it just repeats "howdy partner" over and over again. I know it is programed to say it 10 time but it keeps going. How to you have it wired up? How do I hook it up to the Arduino Oscope to test it?
Thanks
https://www.youtube.com/watch
https://www.youtube.com/watch?v=tKCq4vhHrRU
the trick is to fire it up first before starting script, will not work if not done, will work every time if done
script part
Getting Closer?
@wkinne,
I watched to video and set everything up as you said.
Here's what I get now;
I don't get any bumps in the oscope line when I wave my hand in front of the PIR;
I have 2 sensors like yours (radio shack) neither one shows a bump:
InMoov automatically shuts down after the specified time but then immedatlly starts up again.
Hmmmmm?
If I unplug the PIR before
If I unplug the PIR before for it auotdisconnects, it doesn't Power up again automatically but as soon as I plug the sensor in - it Powers up.