I am currently building a project for a prototype using ultrasonic sensors. I have however, a few questions:

  1. What is the maximum number of sensors I could attach to a single board considering each one needs two digital pins, as well as ground and 5V. I've been looking at the Mega EV3 with 54 digital pins but I am unsure whether it would cope with 27 sensors attached.

  2. How close can each individual sensors be before they start to effect each other/ will they effect each other when close together?

Any advice is much appreciated. Thanks,


Physically they can be very close together, temporally they must be separated by enough time for the echos from one to die out before actuating another. Sensors cannot detect any difference between the echo of their pulse versus and echo from a different sensor.