Using a motor shield, where to plug other sensors (IR)?

Hello.
I am using a "41468 motor shield" (images attached).
It seems to work ok for motors but I want to also put an IR sensor so that I can start/stop motors from remote controls.

  1. Where do I connect the IR sensor? It only works on digital pins, right? Or analog is good too? Because the card only seems to have the analog pins available, I soldered connectors on the analog area (the 3 lines of 6 pins).
  2. Is the digital area fully occupied or can I connect sensors there too? Some digital pins: 0,1,2,13 (marked with black marker on the side of the board on 3rd image) seem to be unused from what I see. Can I connect IR sensor there?
    Thanks.

You can use the analog input pins as digital I/O pins. Just call then 14-19 or A0-A5.

D0 and D1 are use for serial I/O so best leave them alone.

D2 and D13 are not used by the board so you can use them.

D9 and D10 just go to the two servo sockets in the corner. If you aren't using those sockets you can use those two pins.

Thank you, tested with 14-19 and works ok :slight_smile:

Can you also tell me if this shield can be used with one of those simple 2 wire motors? Or it only works with 3 wires?
And can a 2 wire motor be made to change direction with this shield ?

The shield product url is Arduino L293D Motor Drive Shield - emartee.com
Motor is like Pololu - Tamiya 980112M Mabuchi FA-130 Motor

You can control four of them.

The board contains four H-bridges. Each one can drive a DC motor up to 600mA forward and backward.

Excuse..i'm here to ask about both of your conservation.. Is it just connect the IR receiver signal to analog pin 14-19 ? that it will be works ?

anyone can tell ?

Hello anyone out there.

I'm having a similar issue, having only just got into this stuff. I want to use an L293D motor shield with a bluetooth module.

The bluetooth (I believe), need Tx and Rx.

Can I get to these from the motor shield? Or, is there an alternative bluetooth connection I can use with the 'A' pins?