CY8CKIT-028-TFT with CY8CKIT-062-WIFI-BT

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HeDi_4635501
Level 3
Level 3
First solution authored 10 questions asked 25 sign-ins

I want to use the TFT display and I2C sensors (e.g. BME280) to show the values. When the display is plugged in, the pins are assigned. How can you connect sensors and where do I get the voltage from? All pins are covered. Note: I used to work with the Arduino.

thanks to all

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

The CY8CKIT-062-WIFI-BT has also a PMod connector (J14) [placed between the switch buttons).

You could use another shield (PMod shield) for your sensor, while keeping the TFT shield with the display. Or vice-versa. You can find a PMod shield with Display and use another Arduino shield with the sensors.

Here is a company that sells PMod shields (or modules):

https://reference.digilentinc.com/pmod/start

View solution in original post

0 Likes
5 Replies
Austcha
Employee
Employee
First reply posted Welcome!

Hello,

Regarding how to use the display, we recommend taking a look at our code examples.

If you are using PSoC Creator, you can find how to use our code in the “Kit Guide” found in the link below:
https://www.cypress.com/documentation/development-kitsboards/psoc-6-ble-pioneer-kit-cy8ckit-062-ble#...

If you are using ModusToolbox, we recommend taking a look at the CY8CKIT-028-TFT repository where you can find the quick start guides on how to use the board:
https://github.com/Infineon/CY8CKIT-028-TFT

In PSoC 6, you can have several I2C busses. Since the I2C bus used by the TFT display only can be accessed by the Arduino style header, a possible solution would be to use a different I2C bus for any additional sensors you plan to add. Pins available to be used for I2C will be shown in the configurator for their respective IDE. The pinout for the development board can be found in the “Quick Start Guide” in the first link provided above.

In PSoC Creator, adding an additional I2C bus is as simple as adding an additional I2C component to the Top Design.
In ModusToolbox, you can create another I2C bus by using the Device Configurator or the Peripheral Driver Library (PDL).

For us to better assist you, could you provide more details on your project and what you are trying to achieve?

Best Regards,
Austin

0 Likes

Thanks for your information.

I have bought several boards and would like to use them for training students. The Arduino UNO has been used until now. In the first step I would like to use environmental or ultrasonic sensors. Then the data should be transferred to the PI via MQTT in order to display them.

Furthermore, servomotors should be controlled via PWM, etc.

Best regards,

Heinz

0 Likes

I took another look at the board CY8CKIT-062-WIFI-BT.

The PSoC 6 MCU I / O headers J18, J19 and J20 are available (Pioneer Kit Guide).

P1.0 and P8.0-7 are used for CapSense. P1.2 - 1.4 usable, but how! P1.5 Orange LED and the others are not really free either.

The I2C Master example also uses the Arduino pins.

The TFT is easy to plug in, but I don't understand that you can't use any sensors on the controller. I don't want to use the PINs on the MCU, but the PINS from the board (like Arduino or STM32 Nucleo boards). The examples TFT and Pioneer Kit do not help.

The kit as a web server is ok, but how does the MCU get its values? It is a controller that can measure and control itself.

Let's give examples from which I can learn. Ideally with ModusToolbox.

Thank you

0 Likes

Hello Heinz,

Regarding the access to the Arduino style header, since it is physically blocked by the TFT display board, we recommend wiring the TFT board along with your other sensors to a breadboard. On the breadboard you can then have your I2C bus where all your I2C devices can connect to. You can then connect the breadboard to the development board.

You can see which pins on the CY8CKIT-028-TFT are used and their purpose in the following link: https://www.cypress.com/documentation/development-kitsboards/tft-display-shield-board-cy8ckit-028-tf...
From the link above, you can then decide which pins to wire and which pins to leave unconnected.

Regarding how to assign internal peripherals such as I2C, TCPWM, etc. to specific pins on the PSoC, we recommend taking a look at the Device Configurator in Modus Toolbox: https://www.cypress.com/file/492971/download

After you have configured your device, you can then control your peripherals using APIs.

Hardware Abstraction Layer (HAL) API documentation:
https://infineon.github.io/psoc6hal/html/index.html

Peripheral Driver Library (PDL) API documentation:
https://infineon.github.io/psoc6pdl/pdl_api_reference_manual/html/index.html

Regarding the use of MQTT, we recommend taking a look at the following document:
https://community.cypress.com/t5/Software-on-Silicon-Blog/Implementing-MQTT-Client-Using-AnyCloud-Li...

For us to better assist you, we have some clarifying questions:

  • When you said the examples did not help, did you mean it does not help with the covered-up pins issue or they are not helpful in understanding how to use our APIs?
  • Could you elaborate more on your question about the web server?

Best Regards,
Austin

0 Likes
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

The CY8CKIT-062-WIFI-BT has also a PMod connector (J14) [placed between the switch buttons).

You could use another shield (PMod shield) for your sensor, while keeping the TFT shield with the display. Or vice-versa. You can find a PMod shield with Display and use another Arduino shield with the sensors.

Here is a company that sells PMod shields (or modules):

https://reference.digilentinc.com/pmod/start

0 Likes