4

In one of my projects I need six PWM outputs, 12 digital I/O and around six analog inputs to be controlled by a Raspberry Pi. What are some of the best options available to increase the I/O capability of the Raspberry Pi?

For PWM, I am thinking of getting SPI-based 12 to 16 channel PWM controllers from Adafruit. For other requirements, are there any easy-to-use products available?

Currently, the only option that comes to my mind is to wire various digital decoders, ADCs, etc. to the Raspberry Pi and control them using available I/O lines. I am looking for more robust and easy solution like I²C or SPI-interface-based controllers.

Peter Mortensen
  • 2,004
  • 2
  • 15
  • 18
Punit Soni
  • 161
  • 7

2 Answers2

1

AtoD DtoA

Board for PI This board has DtoA/AtoD, I2C and comes with scripts downloadable to get you started.

PWM Board for 16 / 32 Channels

This board has PWM and has SPI interface for 16 more Digital Pins.

1

Maybe it can be a good idea to use a recommended chip (I²C, SPI, GPIO expander) from the wiringPi library because it's simpler to code specific software based on this library... And you have a complete example (wiring, code) adapted to the Raspberry Pi.

Examples:

Peter Mortensen
  • 2,004
  • 2
  • 15
  • 18