55Views2Replies

Author Options:

Arduino automatic barrier Answered

Hi ,
I need a little help on programming a arduino to complete a college project , I've to get a barrier to raise 90 degrees to allow a toy car to pass automatically, i would like to use a the motion sensor and a servo to do this but I dont know how to get one to trigger the other.
I would like to know where to look up to get a idea of how to do this .
This is my 1st post so sorry if this is in the wrong forum

Thank you

Tags:Arduino

2 Replies

user
Downunder35m (author)2017-02-05

Check the Arduino Playground, plenty of examples for everything there - including code samples.
Start with the servo programming then check for inputs, like sensors, switches and so on.
Motion sensors work by detecting temperature changes, so I doubt it will work for a toy car, especially if the sensor is not designed for miniature use.

Select as Best AnswerUndo Best Answer

user
DavidO242 (author)Downunder35m2017-02-18

Thanks for the help, I figured it out in the end on my own.

Select as Best AnswerUndo Best Answer