You are here

100 projects in 100 days | Cypress Semiconductor

May 01, 2015

Project #047: PSoC 4 BLE - Accelerometer Controlled Car

In today's exanmple project, we demonstrate how to implement an accelerometer controlled car.

In this example, a PSoC 4 BLE device, configured as the GATT Server, measures the accelerometer X, Y and Z axis data using the SAR ADC and translates them into a corresponding gesture. Based on the detected gesture, the BLE GATT Server sends one of the following five comands - Left, Right, Forward, Back or Stop to the BLE GATT ClientThe transmitted information is received by the BLE GATT Client and based on the comand received, it modulates the PWMs to control the DC motors and thus the car.

To view the video of this accelerometer controlled car, click here.

You can download the PSoC 4 BLE Accelerometer (GATT Server) and PSoC 4 BLE Car (GATT Client) PSoC Creator projects from Github: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day047_Accelerometer_Controlled_Car

 

Apr 30, 2015

Project #046: PSoC 4 BLE - Cycling Sensor

In today's project, we demonstrate how to configure the BLE component as a Cycling Sensor.

To demonstrate the Cycling Sensor functionality, in this project the BLE component implements a standard Cycling Power Profile (CPP) operating in the Cycling Power Sensor and Broadcaster role and also implements a standard Cycling Speed and Cadence Service. 

You can download this PSoC Creator Project from Github: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day046_Cycling_Sensor

Apr 23, 2015

Project #043: Heart Rate Collector

In today's project, we demonstrate how to implement PSoC 4 BLE as a Heart Rate Collector.

In this project, the BLE device acts as a GAP Central and communicates with a GAP Peripheral, i.e. a Heart Rate Sensor and gets the heart rate information once connection is established. 

This project works in pair with BLE heart rate sensor project (https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day002_Heart_Rate_Sensor) or any other BLE heart rate sensor for e.g. a chest strap monitor.

You can download this PSoC Creator Project from Github: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day043_Heart_Rate_Collector

Apr 15, 2015

Project#039: BLE RGB LED Flood Light

In today's project, we demonstrate a BLE controlled RGB LED Flood Light.

In this example, an RGB LED Flood Light with an inbuilt IR receiver is retro-fitted with the BLE module to control the color and intensity using the BLE protocol. For the BLE control, the existing IR Receiver is replaced with the PSoC 4 BLE module.

In this application, the PSoC 4 BLE device is configured as a GAP Peripheral, which receives commands from a GAP Central device, and translates them to NEC data format to drive appropriate electrical signals on the IR Receiver line.  

This PSoC Creator project comes with a demo video and a detailed document, which can be accessed here from Github: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day039_BLE_RGB_LED_FloodLight

 

Apr 14, 2015

Project #038: PSoC 4 BLE Low Power Startup

BLE Protocol, by design, needs accurate clocks for its operation. To meet the clock accuracy, external crystal oscillators are required in the design. These oscillators do have a finite start-up time, which is inversely proportional to the clock frequency at which the crystal operates.

In today's project, we demonstrate how to reduce the start-up current by configuring the BLE device in deep-sleep mode, 1.2uA current consumption, during start-up instead of the default active mode, >5mA current consumption. For demonstrating this application, an AltBeacon is instantiated in the BLE component that continuously advertises in non-connectable mode with the payload as per the AltBeacon specification.

Download this PSoC Creator project here from GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day038_AltBeacon_Low_Power_Startup

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.