How to Make an iOS App to Control a Robot Using Bluetooth Low Energy (BLE) | Cypress Semiconductor
How to Make an iOS App to Control a Robot Using Bluetooth Low Energy (BLE)
Learn how to make an iOS App using Xcode and Swift to control a robot using Bluetooth Low Energy (BLE) by watching our PSoC 4 BLE iOS App video series.
In this video training series you will learn how to connect and control an embedded system using an iPhone App with Bluetooth Smart. The videos provide step-by-step instructions on how to create ARM® Cortex®-M0 PSoC 4 BLE-based embedded system design projects and the iOS App project using Xcode and Swift.
This video series is designed for iOS App developers who want to learn how to control hardware devices using Bluetooth Smart and embedded systems developers who want to learn how to make their first iOS App to control their hardware or IoT device. The completed iOS App and Bluetooth Low Energy projects are available for download.
This lesson shows you how to create a PSoC Creator project, draw the schematic, and configure the CapSense component. The iOS app created in later lessons will communicate with this project to remotely turn an LED on/off and to read the finger position on the CapSense slider.
The projects in the videos were made using PSoC Creator 3.2 but the attached projects have been updated to PSoC Creator 3.3 CP1. If you use PSoC Creator 3.3 or later, you will notice some differences in screens such as the “new project creation window.” That said, the projects will still work in the same way.
The projects in the videos were made using Xcode 6 and Swift 1 but the attached projects have been updated to Xcode 7 and Swift 2.
The car videos show a 6 battery holder while the BOM lists a 4 battery holder. Either will work fine except that the motors will run slower with 4 batteries.
The standoff shown in the videos has been replaced on the BOM with a ball caster due to availability.
The connection order for the cable attached to the bottom row of the H bridge header is reversed when connected to the PSoC. That is, the pin connected to the right side of the H bridge header bottom row goes to the left side of the PSoC header.
The following power/ground connections are required for the car: Ground from the battery holder must connect to the PSoC (there is a hole on the board next to the USB connector labeled GND) and to the GND terminal on J4 of the H bridge. Power from the battery holder must connect to one terminal of the toggle switch. The other terminal of the toggle switch must connect to the PSoC Vin (there is a hole on the board next to the USB connector labeled VIN) and to the V1 terminal on J4 of the H bridge.
For more information on Cypress’s PSoC BLE Products, visit:
For an introductory Cypress PSoC BLE video tutorial series visit:
For more information on iOS application development visit:
The Bluetooth® Low Energy Pioneer Kit enables customers to evaluate and develop Bluetooth Low Energy applications using the PSoC® 4 BLE and PRoC™ BLE devices.
To add the parts for the robot to a DigiKey shopping cart, click one of the buttons below: