i have some problem in robot while turning it right. i am using 2 pir sensor and 1 distance sensor. the right pir is giving signals but the left motor is not responding.
pir.ino (650 Bytes)
i have some problem in robot while turning it right. i am using 2 pir sensor and 1 distance sensor. the right pir is giving signals but the left motor is not responding.
pir.ino (650 Bytes)
Hi, why did you set both PIR pins HIGH in the setup?
Also what is your robot exactly going to do...?
SMM2:
Hi, why did you set both PIR pins HIGH in the setup?
To enable the pullups?
Also what is your robot exactly going to do...?
Quite.
Oh, so is it necessary to enable pull-up resistors for PIR sensors?
SMM2:
Oh, so is it necessary to enable pull-up resistors for PIR sensors?
Possibly. Who knows?