Lesson 00: General Requirements for PSoC Laboratories
In this session, you will learn the Infineon advanced microcontroller — Programmable System-on-Chip (PSoC). PSoC chips include a CPU core, mixed-signal arrays, configurable analog, and digital blocks, and programmable routing and interconnect. The configurable blocks in a PSoC are the most significant difference from other microcontrollers.
Infineon PSoC has five different families of devices, each based around a different microcontroller core:
- PSoC 1 — CY8C2xxx series — Infineon M8C core
- PSoC 3 — CY8C3xxx series — 8051 core
- PSoC 4 — CY8C4xxx series — ARM Cortex-M0 core
- PSoC 5/5LP — CY8C5xxx series — ARM Cortex-M3 core
- PSoC 6 — CY8C6xxx series — Dual ARM Cortex-M4 and ARM Cortex-M0+ cores
You must purchase an Infineon PSoC 5LP development board and some sensor components in the PSoC Lab. You must also install PSoC Creator IDE software on your PC (or Laptop) with a USB interface and run on Microsoft Windows 7/10/11 64-bit platform. I recommend you to have oneUSB extension Cable and/or USB HUB that has an external power source to provide enough current to the whole embedded system.
Components Required
You must have an Infineon PSoC 5LP development board and other sensors. The following lists are some development boards that are based on the Infineon PSoC 5LP microcontroller:
- EagleSoC Development Board : RobotSoC
- EagleSoC Mini Board : RobotSoC
- Infineon CY8CKIT-059 Prototyping Kit : Infineon, Mouser
- Infineon CY8CKIT-050B PSoC 5LP Development Kit : Infineon
PSoC 5LP Development Board
Infineon PSoC 5LP is a powerful microcontroller. It is based on an ARM Cortex-M3 32-bit core that can run at 80MHz. For this PSoC Lab, you can purchase Infineon CY8CKIT-059 Prototyping Kit. It is an inexpensive board than others but does not support all of the PSoC 5LP functions. If you need fully function supported, or you design a mixed-signals system, you need to consider using EagleSoC boards or Infineon CY8CKIT-050 Development Kit.
RobotSoC Starter Kit
RobotSoC Starter Kit
You can purchase The RobotSoC Starter Kit for Embedded Projects from RobotSoC.com (here).
- This kit has 63 parts (more than 200 components) that are packaged in a convenient container.
- All the modules come soldered so they are easy to wire up
The kit includes the following components:
- 5pcs White LED
- 5pcs Yellow LED
- 5pcs Blue LED
- 5pcs Green LED
- 5pcs Red LED
- 1pcs RGB LED
- 5pcs 22pf Ceramic Capacitor
- 5pcs 104 Ceramic Capacitor
- 2pcs Photoresistor
- 1pcs Thermistor
- 5pcs Diode Rectifier (1N4007)
- 2pcs Electrolytic Capacitor (10UF 50V)
- 2pcs Electrolytic Capacitor (100UF 50V)
- 5pcs NPN Transistor (PN2222)
- 5pcs NPN Transistor (S8050)
- 1pcs Tilt Switch 5pcs Button (small)
- 1pcs 1 digit 7-segment Display
- 1pcs 4 digit 7-segment Display
- 1pcs Sound Sensor Module
- 1pcs Character LCD Module 20×4
- 1pcs IC L293D
- 1pcs IC 74HC595
- 1pcs Active Buzzer
- 1pcs Passive Buzzer
- 1pcs RTC Module
- 1pcs DHT11 Temperature and Humidity Module
- 2pcs Potentiometer 10K ohm
- 1pcs Rotary Encoder Module
- 1pcs Joystick Module
- 1pcs Keypad Module
- 1pcs 5V Relay
- 1pcs IR Receiver Module
- 1pcs Breadboard
- 1pcs Servo Motor (SG90)
- 1pcs Stepper Motor
- 1pcs ULN2003 Stepper Motor Driver Board
- 1pcs Power Supply Module
- 1pcs HC-SR501 PIR Motion Sensor
- 1pcs Ultrasonic Sensor
- 1pcs ADXL335 Module
- 1pcs 3V Servo Motor
- 1pcs MAX7219 Module
- 1pcs Remote
- 1pcs 9V 1A Power Supply
- 1pcs 65 Jumper Wire
- 1pcs Water Lever Sensor
- 1pcs USB Cable
- 1pcs 9V Battery Cable
- 1pcs RC522 RFID Module
- 10pcs Resistor (10R)
- 10pcs Resistor (100R)
- 10pcs Resistor (220R)
- 10pcs Resistor (330R)
- 10pcs Resistor (1K)
- 10pcs Resistor (2K)
- 10pcs Resistor (5K1)
- 10pcs Resistor (10K)
- 10pcs Resistor (100K)
- 10pcs Resistor (1M)
- 20pcs Female-to-male Wire Cables
Female Header for Infineon CY8CKIT-059 Kit
Infineon CY8CKIT-059 Kit contains two dual-inline headers (J1 and J2). These headers are 1x26-pin headers and include all of the I/O available on the PSoC 5LP device. These headers support all ports, GND, VDD, and connections to passive elements and user-input devices.
The J1 and J2 headers support a 0.1" (2.54mm) pitch. You can solder male or female headers, But female headers for I/O connections would have been better.
- You can purchase the headers from Adafruit: HEADERS / 36-PIN 0.1" FEMALE HEADER - PACK OF 5!
- Carefully break it onto 26-Pin
- Solder the female header to the J1 and J2. If you do not know how to solder components, this is a great opportunity to learn how to solder though.
Jumper Wires and Connector Housings
Jumper Wires and Connector Housings
Here, I recommend you purchase some colors of jumper wires and housings.
The color wires help you to keep track of your connections and avoid connection errors, such as short-circuit connections, reverse power connections, etc. For example, always use black wire for ground and red wire for power, so you will easily and quickly recognize the power source wires, and make sure they are not connected together, and that there is no reverse connection to the power supply sources.
The connector housings can help you to organize connection wires. Using connector housings with color jumper wire can help you to easily reconnect the devices without having to connect each wire every time, and reduce connection errors.
Software Required
You need to download and install Infineon PSoC Creator IDE onto your computer. It is a free IDE with no code limitation, but before you download the program, Infineon will ask you to register on their website first.
- Infineon PSoC Creator: https://www.infineon.com/cms/en/design-support/tools/sdk/psoc-software/psoc-creator/
- Infineon CY8CKIT-059 Kit design files, documentation, and examples: download
You will use PSoC Creator to program your PSoC 5LP development board is only available on the Microsoft Windows platform. If you are using an Apple Mac computer, you must run Windows on a virtual machine or BootCamp. Please read this article about BootCamp and Virtual Machines.