Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use CY8CKIT-062S2-AI: Examples, Pinouts, and Specs

Image of CY8CKIT-062S2-AI
Cirkit Designer LogoDesign with CY8CKIT-062S2-AI in Cirkit Designer

Introduction

The CY8CKIT-062S2-AI is a development kit manufactured by Infineon (formerly Cypress Semiconductor) designed for building AI and machine learning applications. At its core is the PSoC 62 microcontroller, which combines a dual-core architecture (Arm® Cortex®-M4 and Cortex®-M0+) with integrated Wi-Fi and Bluetooth connectivity. This makes it an ideal platform for prototyping and developing IoT solutions.

The kit includes a variety of onboard sensors, interfaces, and expansion options, enabling developers to experiment with AI, machine learning, and IoT applications. Its versatility and ease of use make it suitable for both beginners and experienced developers.

Explore Projects Built with CY8CKIT-062S2-AI

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Lilygo 7670e-Based Smart Interface with LCD Display and Keypad
Image of Paower: A project utilizing CY8CKIT-062S2-AI in a practical application
This circuit features a Lilygo 7670e microcontroller interfaced with a 16x2 I2C LCD for display, a 4X4 membrane matrix keypad for input, and an arcade button for additional control. It also includes a 4G antenna and a GPS antenna for communication and location tracking capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
Image of women safety: A project utilizing CY8CKIT-062S2-AI in a practical application
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Cellular-Enabled IoT Device with Real-Time Clock and Power Management
Image of LRCM PHASE 2 BASIC: A project utilizing CY8CKIT-062S2-AI in a practical application
This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO GSM Communication Hub with QR Code Reader and LCD Interface
Image of park system: A project utilizing CY8CKIT-062S2-AI in a practical application
This circuit is designed to function as a communication and control system with cellular capabilities, QR code scanning, and display output. It is built around an Arduino UNO microcontroller, interfaced with a SIM900A module, a QR code reader, and an I2C LCD screen, powered by a series of 18650 batteries through a boost converter. Tactile switches provide user interaction, and the Arduino's embedded code controls the operation of the circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with CY8CKIT-062S2-AI

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Paower: A project utilizing CY8CKIT-062S2-AI in a practical application
Lilygo 7670e-Based Smart Interface with LCD Display and Keypad
This circuit features a Lilygo 7670e microcontroller interfaced with a 16x2 I2C LCD for display, a 4X4 membrane matrix keypad for input, and an arcade button for additional control. It also includes a 4G antenna and a GPS antenna for communication and location tracking capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of women safety: A project utilizing CY8CKIT-062S2-AI in a practical application
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of LRCM PHASE 2 BASIC: A project utilizing CY8CKIT-062S2-AI in a practical application
Cellular-Enabled IoT Device with Real-Time Clock and Power Management
This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of park system: A project utilizing CY8CKIT-062S2-AI in a practical application
Arduino UNO GSM Communication Hub with QR Code Reader and LCD Interface
This circuit is designed to function as a communication and control system with cellular capabilities, QR code scanning, and display output. It is built around an Arduino UNO microcontroller, interfaced with a SIM900A module, a QR code reader, and an I2C LCD screen, powered by a series of 18650 batteries through a boost converter. Tactile switches provide user interaction, and the Arduino's embedded code controls the operation of the circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • IoT (Internet of Things): Smart home devices, industrial IoT, and connected appliances.
  • AI and Machine Learning: Edge AI applications, predictive maintenance, and data analysis.
  • Wireless Connectivity: Prototyping Wi-Fi and Bluetooth-enabled devices.
  • Sensor Integration: Applications requiring environmental, motion, or proximity sensing.

Technical Specifications

Key Features

  • Microcontroller: PSoC 62 (CY8C624ABZI-S2D44)
    • Dual-core: Arm® Cortex®-M4 (150 MHz) and Cortex®-M0+ (100 MHz)
    • 1 MB Flash, 288 KB SRAM
  • Connectivity:
    • Wi-Fi: 802.11b/g/n
    • Bluetooth: BLE 5.0
  • Onboard Sensors:
    • Ambient light sensor
    • 6-axis motion sensor (accelerometer + gyroscope)
    • Temperature and humidity sensor
  • Interfaces:
    • CapSense® capacitive touch interface
    • USB Type-C for power and programming
    • Arduino-compatible headers for expansion
  • Power Supply:
    • USB Type-C (5V)
    • External power supply (1.8V to 3.3V)
  • Operating Voltage: 1.8V to 3.3V
  • Dimensions: 100 mm x 50 mm

Pin Configuration and Descriptions

The CY8CKIT-062S2-AI features multiple headers and connectors. Below is a summary of the key pin configurations:

Arduino-Compatible Header

Pin Name Function Description
A0-A5 Analog Input Analog pins for sensor input or ADC use
D0-D13 Digital I/O General-purpose digital I/O pins
SDA/SCL I2C Communication I2C data and clock lines
VIN Power Input External power input (up to 5V)
GND Ground Common ground for the circuit

PSoC 62 GPIO Header

Pin Name Function Description
P0.x-P12.x General Purpose I/O (GPIO) Configurable as digital or analog pins
VDD Power Supply 3.3V power output
GND Ground Common ground for the circuit

USB Type-C Connector

Pin Name Function Description
VBUS Power Input Supplies 5V to the board
D+ / D- USB Data Lines USB communication for programming/debug
GND Ground Common ground for USB

Usage Instructions

How to Use the CY8CKIT-062S2-AI in a Circuit

  1. Powering the Board:

    • Connect the board to a computer or power source using the USB Type-C cable.
    • Alternatively, supply power through the VIN pin (up to 5V).
  2. Programming the Board:

    • Use the ModusToolbox IDE (recommended by Infineon) for programming and debugging.
    • Connect the board via USB and select the appropriate target device in the IDE.
  3. Connecting Sensors and Peripherals:

    • Use the Arduino-compatible headers to connect external sensors or modules.
    • For I2C devices, connect to the SDA and SCL pins.
    • For analog sensors, use the A0-A5 pins.
  4. Wireless Connectivity:

    • Configure Wi-Fi and Bluetooth settings using the provided libraries in ModusToolbox.
    • Use the onboard antenna for wireless communication.

Important Considerations and Best Practices

  • Power Supply: Ensure the board is powered within the specified voltage range (1.8V to 3.3V for GPIO, 5V for USB).
  • Static Protection: Handle the board with care to avoid damage from electrostatic discharge (ESD).
  • Firmware Updates: Regularly update the firmware using ModusToolbox to access the latest features and bug fixes.
  • Debugging: Use the onboard debug interface for troubleshooting and performance analysis.

Example Code for Arduino-Compatible Sensors

Below is an example of interfacing a temperature sensor (I2C-based) with the CY8CKIT-062S2-AI:

#include <Wire.h>

// I2C address of the temperature sensor
#define TEMP_SENSOR_ADDR 0x48  

void setup() {
  Wire.begin(); // Initialize I2C communication
  Serial.begin(9600); // Start serial communication for debugging
  Serial.println("Temperature Sensor Example");
}

void loop() {
  Wire.beginTransmission(TEMP_SENSOR_ADDR); // Start communication with sensor
  Wire.write(0x00); // Request temperature data
  Wire.endTransmission();

  Wire.requestFrom(TEMP_SENSOR_ADDR, 2); // Request 2 bytes of data
  if (Wire.available() == 2) {
    int tempData = (Wire.read() << 8) | Wire.read(); // Combine MSB and LSB
    float temperature = tempData * 0.0625; // Convert to Celsius
    Serial.print("Temperature: ");
    Serial.print(temperature);
    Serial.println(" °C");
  }

  delay(1000); // Wait 1 second before next reading
}

Troubleshooting and FAQs

Common Issues

  1. Board Not Detected by ModusToolbox:

    • Ensure the USB cable is properly connected and functional.
    • Verify that the correct drivers are installed for the CY8CKIT-062S2-AI.
  2. Wi-Fi or Bluetooth Not Working:

    • Check the firmware version and update if necessary.
    • Ensure the onboard antenna is not obstructed.
  3. Sensor Data Not Reading Correctly:

    • Verify the sensor connections and ensure proper pin alignment.
    • Check the I2C address or communication protocol of the sensor.
  4. Power Issues:

    • Ensure the board is powered within the specified voltage range.
    • Check for loose connections or faulty power sources.

Solutions and Tips

  • Debugging Tools: Use the onboard debugger and ModusToolbox's debugging features to identify issues in your code.
  • Documentation: Refer to the official Infineon documentation for detailed technical resources.
  • Community Support: Join the Infineon developer forums for additional help and resources.

This concludes the documentation for the CY8CKIT-062S2-AI development kit.