element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Cypress Kits
  • Products
  • Dev Tools
  • Cypress Kits
  • More
  • Cancel
Cypress Kits
Forum PSoC 4 Pioneer Kit Community Project#030 – Bluetooth with GLCD
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Cypress Kits to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 27 subscribers
  • Views 1284 views
  • Users 0 members are here
  • 100projects
Related

PSoC 4 Pioneer Kit Community Project#030 – Bluetooth with GLCD

cy.wbz
cy.wbz over 12 years ago

Hello!

 

We wanted to continue with our Android Bluetooth example from yesterday. Today we will be creating a Bluetooth example using an Android smartphone communicating to the Pioneer kit to make selections on a GLCD screen.

 


image

 

Yesterday we focused on Arduino compatible shield examples. Today we are using non-standard Bluetooth and GLCD screens. While we are pushing the Arduino shields for these designs we like to stress that the Pioneer kit can interface with non-Arduino hardware.

  • CY8CKit-042
  • GLCD Module
  • BlueTooth Module

 

image

 

Forum Post Attachments:

 

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

  • Example Project Zip File
  • Zip File of Images
    • Project Schematic
    • Component Configurations

 

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
  • Control Registers
  • ISR
  • CyPins
  • CyClock
  • Kit-042 Annotation Library

 

The components are configured by right clicking on the component in your Top Design schematic view and selecting Configure. Please enable the following selections in the Configuration windows for the listed components above.

 

Firmware Description:

 

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

 

If you need any additional information on the shields that we are using today please take a moment to review the following web pages:

  • GLCD Module
  • BlueTooth Module

 

Please shop around for the best price on these modules. The example is meant to show you how to  interface with some non-standard modules.

 

This example also uses the Bluetooth SPP app for Android phones. This app is available for Android phones only, and can be found at the following link:

  • Bluetooth SPP

 

As part of this example we've used code from an ourside source to control the GLCD module. In this example we have APIs available to drive the GLCD module. These APIs are described in the Display.h file. We've linked to that code in the main.c file.

 

In this example the Pioneer kit uses the Bluetooth module to connect to a Bluetooth network. Once the Pioneer kit is connected to the network the user can enter in characters to the SPP application to control the selections on the GLCD screen. The Bluetooth module communicates to the Pioneer kit using the UART component at 9600 baud. You will be able to navigate through the menu on the GLCD screen using your Android phone.

 

The GLCD menu selections will allow you to select different RGB LED configurations on the Pioneer kit.

 

Hardware Connections:

 

For this example we will be wiring the modules to the Pioneer kit. The GLCD module should be inserted into the J3 header (pins 1-8). The Bluetooth module is connected to pins P1[0], P1[1], GND, and 5.0V.

 


image

 

Test Your Project:

 

Program the Pioneer kit, start the SPP application and then begin to send command controls to the Pioneer kit to control the GLCD screen.

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
6180.Project Images.zip
BT with GLCD.Bundle01.zip
  • Sign in to reply
  • Cancel
  • cy.wbz
    cy.wbz over 12 years ago

    Hello!

     

    Here's the video of the example.

     

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

     

    Thanks,

    Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jesusantoniocar
    jesusantoniocar over 12 years ago in reply to cy.wbz

    Hello Matt.

    Another great project.

     

    Thanks.

     

     

    Jesús antonio.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago

    Great example Matt,

     

    This will be usefull for my project... specially when you used low cost bluetooth module...

     

    Great...

     

    Abe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago

    Hello Matt,

    Such an useful project, but why my phone cannot search the Bluetooth device?
    Or you can tell me where I can find the material for learning some Bluetooth knowledge for the PSoC4 application.

    Thanks.

     

    Zener

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jbriante
    jbriante over 11 years ago

    Hi Matt,

     

    RE: BT with GLCD

     

    Program compiles and loads normally. However, back light turn on  but no message (awesome) is displayed..GLCD works fine -tested it with Project#09. The components for PSOC4 have been updated in the last release. Could this be the problem?

     

    Diego

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Hi Matt,

    Thanks for the project!

    I was wondering did you have any success with the Bluetooth in AT mode? I am trying to solve that issue, and it appears that is a bit tricky. I am using JY-MCU with V.1.06 (recognized as HC-05) and the pioneer kit. So far I can send some text and can receive it on my phone terminal. I tried to wire the KEY to 3.3VDC and cycle the power, but still the AT command I am sending is not recognized as such (no response, no reaction to it). The problem is that I can use the module, but I can not change the name or speed of it. Any help would be greatly appreciable!

     

    Thanks,

    Stoyan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago

    The post on the Bluetooth is excellent. I am trying to interface a EEG headset. I am having problems trying to connect. Is there a command I could send from the Cypress to the headset? I am using Bluetooth version 2.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube