Skip to content

Hardware Set Up

Jürgen Eckel edited this page Dec 13, 2018 · 4 revisions

Connect the Riddle&Code Secure Elemnt to

Arduino UNO

The RnC Half-Bean is an I2C ready flexible circuit board combining a crypto chip with an active NFC transponder. Any connected MCU can talk to both ICs - to the crypto IC and to the NFC IC - over the I2C bus.

The NFC transponder enables besides the I2C bus also a direct RF communication with the crypto chip.

To connect an Arduino Uno to the Half-Bean the 3.3V, GND, SDA, and SCL pins have to connect to each other. To avoid capacitance problems on the I2C bus the connection between the devices should be as short as possible.

The connection logic follows the PIN connection as shown:

PIN connections

Raspberry Pi

Connect the secure element onto the Raspberry Pi board by linking it to the I²C pins according to the image

Riddle&Code secure element on Raspberry Pi


Riddle&Code built a new hardware secure element.

Riddle&Code Secure Element

The Hardware folder has an example board layout. This software will also work on the CryptoCape.

Connect Secure Element to STM32-Discovery-IoT Board


The Secure Element was built with a dual purpose in mind. To extend all Arduino UNO R3 pin compliant Amker boards and all Raspberry Pi pin compliant boards. Accordingly one has to take care to use the right one.

To avoid mixing the pins up a basic distinction was made. Female pins are connectors to Raspberry Pis and male connectors are pins to be connected Uno R3 compliant devices. The STM32L475 belongs to the Arduino group of boards. The pin connection scheme is as follows:

Raspberry Kernel I2C Confirmed

Check that your connected board looks like this:

Raspberry Kernel I2C Confirmed