element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs First Steps with the Cypress BLE Pioneer Kit - Unboxing and BLE Sniffing
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 10 Apr 2015 10:43 AM Date Created
  • Views 663 views
  • Likes 1 like
  • Comments 10 comments
  • bluetooth
  • ble
  • pioneer
  • cy8ckit-042
  • cypress_semiconductor
  • bluetooth_low_energy
  • bluetooth®
  • cypress
Related
Recommended

First Steps with the Cypress BLE Pioneer Kit - Unboxing and BLE Sniffing

Jan Cumps
Jan Cumps
10 Apr 2015

I'm a BLE beginner. Never developed anything for bluetoothRegistered, let alone the low energy variant.

I received a Bluetooth Low Energy Pioneer Kit ( cy8ckit-042-BLE ) yesterday. This blog is my story with the kits after a half day of testing.

 

image

 

What's Inside?

 

The kit contains four boards.

 

The USB Dongle

There's a USB dongle with a PRoC BLE chip. This is the part that you plug in your PC.

It's going to be one part of the BLE scenarios that you test out with this kit.

In the standard demo, it reacts on you poking the capacitive button on the Pioneer baseboard.

 

image

You can also interrogate this board with the Cypress software tools, query the attributes it received via BLE and send info from it over BLE.

The dongle pairs with the two BLE modules I show a bit further on.

 

The Pioneer Baseboard

That's the development board. The funny thing is that there's no BLE device on it. You have to plug in one of the two BLE modules that come with the kit. More on those two modules a bit later.

The Baseboard has your typical peripherals: debug module, some leds and buttons, even the Arduino compatible out-of-grid headers. But it doesn't have a programmable device on it.

 

image

 

The board acts as the host for the programmable modules, the:

 

Two BLE Modules

 

They are the focus of our exercises. We get two flavors:

PSoC: Programmable System-on-Chip

PRoC: Programmable Radio-on-Chip

Check this EE Times article for a quick-to-read background on them. http://www.eetimes.com/document.asp?doc_id=1324607

 

image

 

They can both be mounted on the Baseboard. That's when you get a fully functional development circuit.

 

 

The kit also includes some jumper wires, an USB cable, a battery and a quick start guide.

 

Software Install

 

Easy. I've chosen for the COMPLETE SETUP installation package,

That installs all the development tools, the kit info and examples, and the documentations.

After the install I updated all the packages to the latest version (there's an update wizard that helps with that.

As very last step, I made modifications to my Windows 8.1 setup, as explained in section 2.3: Windows 8.1 USB selective suspend setting of the KIT Guide.

Windows 8.1 default power profile makes USB go to sleep when idle. That powers off the dongle and your device stops working.

Following the few steps resolves that.

 

Out of the Box Demo

 

When you plug in the devices just like they are in the box, the dongle in one USB port, and the Baseboard with the PSoC BLE mounted, you get a working demo.

 

This video is unavailable.
You don't have permission to edit metadata of this video.

 

You pair the dongle and BLE module by pushing the Button 2 on both devices.

The blue LED on the dongle will light up when they are connected.

 

You can then change that blue LED's intensity by swiping over the capacitive sensor on the Baseboard.

 

The PSoC BLE module sends the sensor value to the dongle via bluetooth, and the BLE Module acts on that by adapting the power sent to the LED.

The short video above show how that works. Note that the Baseboard is not connected to anything in that video. It's powered from the single coin cell underneath the board.

 

First Project

 

Well, that was really simple. I followed all the steps for section 4.2: CapSense Slider and LED of that sam KIT Guide.

That learns you how to build, load and debug the example, and also introduces the message attributes.

When you follow the example, you can log the changes in the capacitive sensor to a console,

and you'll also be able to change attributes.

You can tell the dongle to update a particular  attribute and send it to the BLE Module. That module will then make the RGB LED on the Baseboard light up in a particular color.


Summary

 

Everything worked straight out of the box. Big kudo's for that. I didn't loose a minute of my life troubleshooting the installation or the examples.

I could go straight into testing, and learned my first baby steps about bluetooth.

I'm still a beginner, but my first step on the learning ramp has been set.

  • Sign in to reply

Top Comments

  • clem57
    clem57 over 8 years ago +2
    As for demo's you are right they just work. The CEO for Cypress is an engineer by trade and likes to take home the kits and test them out. They also insist on deliveromg full documentation with the software…
  • fvan
    fvan over 8 years ago in reply to clem57 +2
    It is indeed. The guy mentioned it during the workshop. It was even part of the workshop to flash it and use it as data generator
  • DAB
    DAB over 8 years ago +1
    Hi Jan, Yes, the Cypress kits are first rate and easy to use. I too have not done much with BLE so I will be following your progress with great interest. DAB
  • clem57
    clem57 over 8 years ago in reply to Jan Cumps

    Thank you for that jancumps, this looks very useful.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • tekmeister
    tekmeister over 8 years ago

    Thanks for sharing, would like to have a play with the PSoC BLE stuff.

     

    I love using PSoC Creator, it has a great feel to it and makes it easy to get up and running quickly. This makes these parts ideal for hobby projects.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to clem57

    The wire detector directly goes to  pin 37 of the PSoC.

    In the PSoC creator, it's routed to an internal SoC CapSense 'Proximity Sensor' component.

    image

     

    I'm still reading on the CapSense fabric in the Cypress doco CapSense_CSD_P4_v2_10.pdf.

    Each of the components has a data sheet, that's accessible from the component editor directly.

     

    It is capacitive sensing without the need to actually touch the sensor (= wire).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 8 years ago in reply to Jan Cumps

    Does this sense the capacitance of the wire with a hand near it?

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago

    Somewhere along the learning path, the Cypress team tickles your arts & crafts capabilities:

     

    image

    I'm quite surprised that this proximity sensor gives decent results.

    And I'm pleased that I learn more than Bluetooth Low Energy theory while trying out this kit.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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 © 2023 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