Beginner: How many inputs?

  1. No Arduino has 6 analog inputs and these are multiplexed , so there is only one ADC that is used by all analog pins. 38 inputs is also too much for an UNO (don't know the number of a MEGA)

  2. Shields can solve a lot - google for centipede shield and you have 64 digital I/O lines.