Forget about confusion, wires, and piles of components. This Troyka Cap will be best friends with your Raspberry Pi with sensors and actuators in our standard Troyka module format. The platform will expand the capabilities of a single board by adding eight pins with ADC and PWM.
Troyka contacts “S-5V-G” are installed on the platform:
On the Raspberry Pi, there are only two PWM channels and no analog-to-digital converter at all! On the Troyka Cap there is a port extender using the STM32F030F4P6 microcontroller with ARM Cortex M0 computing core. The controller provides eight additional I/O pins with support for 12-bit ADC and 16-bit PWM.
To work with these pins, use the TroykaCapPython port extender library.
The extender pins are brought out on a separate comb of S-V-G Troyka contacts:
You can choose the voltage on the power line via jumper:
You will also notice separate triple contacts; we added three groups with I²C interface and two groups with SPI.
All pins on the board are tolerant to 5 volts.
The platform is installed on top of a Raspberry Pi.
Power the resulting board-sandwich through the dedicated barrel socket with a voltage source (5 to 15 V). A buck DC-DC converter is installed on the board which converts the input voltage to the required 5 volts.