PSoC 4 Pioneer Kit Community Project#083 – Raspberry Pi Integration

We have been targeting two communities in the 100 days projects, Arduino and Pmod. In today’s example we will be adding support for the wildly popular Raspberry Pi hardware. In this example we will have the Pioneer board communicate to the Raspberry Pi. The Raspberry Pi will then send values back to the Pioneer board to control a PWM connected to the LED. Also included in this example is a python script for users to create a hyperterminal program to read and write data to the Pioneer board from the Pi.

PSoC 4 Pioneer Kit Community Project#083 – Raspberry Pi Integration

Forum Post Attachments:

At the bottom of this post we are including the following items:

  • Example Project Zip File
  • Project Images

Components Used: 

The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:

  • UART
  • I2C
  • SPIS
  • PWM
  • CyClock
  • CyPin
  • ISR

Firmware Description:

The main.c firmware is included in the example project. Please review the commented sections for more details.

PSoC 4 Pioneer Kit Community Project#083 – Raspberry Pi Integration board, schematicThe firmware for this project consists of three communication protocols UART, I2C, and SPI. The Pioneer board continuously sends data over the UART and SPI lines which are received by the Raspberry Pi. The Raspberry Pi in return transmits the data back to the Pioneer board using the I2C interface. The values sent from the Raspberry Pi over the I2C port control a PWM value that drives an LED.

Also included in this example is the python script that creates the terminal window that displays the UART and SPI values on the Raspberry Pi’s OS screen. In this project we are running the Raspbian OS on the Raspberry Pi. Raspbian is a free OS based on the Debian Linux distro.

 

For more detail: PSoC 4 Pioneer Kit Community Project#083 – Raspberry Pi Integration


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top