All you need to know about your new Infineon XENSIV™ - Getting Started Box IoT.
- XMC 1100 Boot Kit – 32-bit Microcontroller based on ARM® Cortex®-M in Arduino Uno formfactor
- 2x XMC™ 2Go – 32-bit Microcontroller based on ARM® Cortex®-M in Shield2Go formfactor
- ESP32 – Wemos Formfactor including BLE and WIFI functionality
- TLV493D-A1B6 – 3D Magnetic Hall Sensor
- Rotate Knob – Add on component for 3D Magnetic Hall Sensor
- Joystick - Add on component for 3D Magnetic Hall Sensor
- OPTIGA™ Trust E – Hardware Security Chip
- DPS310 – Barometric Pressure Sensor for consumer
- TLI4970-D050T4 – Current Sensor with integrated current rail
- IM69D130 – Digital MEMS Silicon Microphone
- Dual-Adapter Trust-X – Adapter for Infineon Shield2Go with Wemos formfactor equipped with OPTIGA™ Trust X
- Triple-Adapter – Adapter for Infineon Shield2Go with Arduino Uno formfactor
- USB-Cable
- Solderless Connectors
Infineon’s Shield2Go boards are equipped with one featured Infineon IC and provide a standardized form factor and pin layout for fast orientation. All boards come with solderless connectors allowing designers to stack the boards instead of soldering them. This makes the Shield2Go boards simple, reusable and flexible. In addition, each Shield2Go comes with a dedicated and ready-to-use, free Arduino library. The Shield2Go boards are compatible with all Arduino solutions with Infineon’s My IoT adapters. This combination of flexible hardware components and accompanying software speeds up the prototyping process. Designers can now focus and select only those components that they intend to design and which their layout requires, thus reducing the cost for a “box” or all-in-one solution of components that are rarely used in its entirety.
Please download and install the Arduino IDE from here.
To add support for the XMC microcontroller series to your Arduino IDE please follow this guide. If you have already installed the XMC package in your Arduino IDE, consider updating it via the Board manager.
Paste the following URL into the 'Additional Boards Manager URLs' input field under File > Preferences to add the ESP32 boards to the Arduino IDE.
https://dl.espressif.com/dl/package_esp32_index.json
To install the boards, please navigate to Tools > Board > Boards Manager... and search for ESP32. You will find options to install the board files for the microcontrollers. Click "Install" to add the boards to your Arduino IDE.
In the boards list Tools > Board, the ESP32 microcontroller boards are added and can be used from now on. For the ESP32 WEMOS D1 MINI choose the board MH ET LIVE ESP32MINIKit.
For a quick start with the Shield2Go boards you need to install the library for the respective Shield either with the built-in Library Manager of the Arduino IDE or directly from github.
Download the latest release as ZIP archive from here. In your Arduino IDE navigate to Sketch > Include Library > Add .ZIP Library... and choose the downloaded ZIP archive.
For example sketches navigate to File > Examples, scroll down to "Examples from Custom Libraries" and choose one of the examples in TLV493D-A1B6.
Please refer to the official TLV493D-A1B6 3D Sense Shield2Go repository for a full documentation.
In your Arduino IDE navigate to Sketch > Include Library > Manage Libraries... and search for DPS310. Install the library.
Download the latest release as ZIP archive from here. In your Arduino IDE navigate to Sketch > Include Library > Add .ZIP Library... and choose the downloaded ZIP archive.
For example sketches navigate to File > Examples, scroll down to "Examples from Custom Libraries" and choose one of the examples in DPS310.
Please refer to the official DPS310 Pressure Shield2Go repository for a full documentation.
Download the latest release as ZIP archive from here. In your Arduino IDE navigate to Sketch > Include Library > Add .ZIP Library... and choose the downloaded ZIP archive.
Important note:. Please install the One Wire library from PaulStoffregen before you install or use the library for the TLI4970-D050T4 Current Sensor. You can find the One Wire library in the Library Manager in the Arduino IDE Sketch > Include Library > Manage Libraries.
For example sketches navigate to File > Examples, scroll down to "Examples from Custom Libraries" and choose one of the examples in TLI4970.
Please refer to the official TLI4970 Current Sense Shield2Go repository for a full documentation.
Download the latest release as ZIP archive from here. In your Arduino IDE navigate to Sketch > Include Library > Add .ZIP Library... and choose the downloaded ZIP archive.
For example sketches navigate to File > Examples, scroll down to "Examples from Custom Libraries" and choose one of the examples in OPTIGATrustE.
Please refer to the official Optiga™ Trust E Shield2Go repository for a full documentation.
The IM69D is a I2S (Inter-IC Sound) device and does not need a special library. It works out-of-the-box with the XMC microcontroller series. The ESP32 is not yet natively supported.
For example sketches navigate to File > Examples, scroll down to "Examples for XMC1100 ..." (depends on which board you have choosen) and choose one of the examples in I2S.
Please refer to the official IM69D MEMS Microphone Shield2Go repository for a full documentation.
The Dual-Adapter Trust-X is a adapter for combining Infineon Shield2Go boards with Wemos formfactor microcontroller boards. The adapter is equipped with an OPTIGA™ Trust X chip.
In your Arduino IDE navigate to Sketch > Include Library > Manage Libraries... and search for OptigaTrustX. Install the library.
Download the latest release as ZIP archive from here. In your Arduino IDE navigate to Sketch > Include Library > Add .ZIP Library... and choose the downloaded ZIP archive.
For example sketches navigate to File > Examples, scroll down to "Examples from Custom Libraries" and choose one of the examples in OPTIGATrustX.
Please refer to the official OPTIGA™ Trust X repository for a full documentation.
This example shows how to use the Getting Started Box IoT in order to show sensor data from the 3D Magnetic Sensor and the Pressure Sensor on a Website, which is hosted by the ESP32 Wemos D1 Mini.
Now connect all devices together:
- Mount the 3D-printed Joystick Adapter onto the TLV493D-A1B6 Shield2Go and tighten the screw.
- Plug the TLV493D Shield2Go with connected Joystick-Adapter into Socket 1 of the Dual Adapter.
- Connect DPS310 Shield2Go to Socket 2 of the Dual Adapter.
- Connect the Dual Adapter to the ESP32 Wemos D1 Mini. Make sure it's connected the right way (check with the picture below).
- Use a micro USB-cable to connect the ESP32 Wemos D1 Mini to the PC.
Afterwards it should look like this:
To get the software for this example, download this repository from GitHub by clicking on the following field in the latest release of this repository:
After downloading you can extract the ZIP-file and then navigate to "examples/Joystick_Pressure/". Open the Joystick.ino with the Arduino IDE and follow these steps to upload the sketch:
- Click on Tools > Board and select the Board MH ET LIVE ESP32MINIKit there. (If you do not find the Board, make sure you've installed the ESP32-Boards as described here)
- Select the right COM-port via Tools > Port. Mostly it's the port with the highest number. If you are not sure which COM-port your ESP32 Wemos D1 Mini is connected to, simply unplug it and check which COM-Port number disappeared in the list (you have to reopen the list in order to refresh it).
- Upload the Sketch via Sketch > Upload.
After uploading the sketch, the ESP32 Wemos D1 Mini sets up a WiFi - access point with the SSID "myIoT" and the password "ifxIoT2019":
A webserver is started by the ESP32 on its local IP. The website can be seen when a device is connected to the access point and calls http://192.168.4.1 in the browser.
The SSID, Password and URL can also be seen via the Serial Monitor in the Arduino IDE (Baudrate: 115200, maybe a reset by pressing the button on the ESP32 Wemos D1 Mini with open Serial Monitor is necessary in order to see the output)
That's it. Now you can monitor the sensor values on the website.