I have successfully connected a Parallax PIR to the board and the example code. I need this input to drive motors but don't know how to write the code to implement the process i.e., using the PIR as a switch to turn on motors programmed to run for x number of minutes. Thank you.
What kind of motors are you using ? How many ? and how are you driving them ?
These are small dc motors hacked from toys. I would like to start with just one. I have the motor shield. Just starting with Arduino for school projects. I want this and this to happen when the motion detector detects motion. Thanks for the help.
Unfortunately i have no experience with the motorshield.
Try to search the forum for other projects using it.
You can find some examples here Arduino motor/stepper/servo control - How to use