WyzBee™ User Manual Version 1.2 October 2015 Redpine Signals, Inc. Redpine Signals, Inc. 2107 N. First Street, #680 2107 N. First Street, #680 San Jose, CA95131. San Jose, CA95131. Tel: (408) 748-3385 Tel: (408) 748-3385 Fax: (408) 705-2019 Fax: (408) 705-2019...
Page 2
This document describes general information of WyzBee™ along with the board bring up and installation procedure for software tools for developing applications, including a sample TriLED demo programmed using Keil IDE platform. This document elaborates all the features and steps for using the WyzBee™ platform.
Version 1.2 Version 1.2 1 Introduction The WyzBee™IoT platform is an industry-first single source offering with fully inclusive sensing, computing, communicating, and cloud support. The compact WyzBee™ board includes Redpine’s Wireless Secure MCU (WiSeMCU™) with multi-protocol wireless module providing Wi-Fi, Bluetooth 4.1, and ZigBee connectivity, nine-axis inertial sensors, onboard temperature/humidity sensors, 3 axis accelerometer , an infrared receiver, a USB (debug) port, push-buttons, LEDs, and WyzBee™...
External interrupt input pins: up to 14 pins Low-Voltage Detector (LVD) current: 100nA CMSIS-DAP Debug adapter: WyzBee™ comes with an on board CMSIS-DAP debug adapter for downloading and debugging applications, without the need for an external debugger. 1.1.2 WLAN Features ...
All three sensors use the I2C interface to interact with the MCU. Clock Data Micro-B USB Full Speed Interface WyzBee™ Board WyzBee™ is a USB-powered device. Shown below is a WyzBee™ baseboard with the micro- B USB cable plugged in. Figure 1: WyzBee™ Baseboard with micro-B USB Cable Page 7...
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 WyzBee™ Top View Figure 2: WyzBee™ Baseboard’s Top View WyzBee™ Bottom View Figure 3: WyzBee™ Baseboard’s Bottom View Page 8...
User Manual User Manual Version 1.2 Version 1.2 2 Setting up WyzBee™ Setup Requirements Setting up and working with WyzBee™ is easy. Before you start, make sure you have the following hardware and software components: Hardware: The WyzBee™ baseboard ...
5) Click the Finish button after the drivers’ installation is completed. 6) Connect the micro-B USB cable between the WyzBee™ USB port and the PC. Verify that the board is detected under the “Ports” section of the Windows Device Manager.
It is necessary to know your way around one of the supported IDE’s in order to work on WyzBee™. The steps below use the Keil uVision 4 IDE as an example to download and debug a sample application on WyzBee™.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 1) In the Keil uVision IDE window, click on “Options for Target”. 2) In the new window that opens, click on the “Utilities” tab. Uncheck the “Use Debug Driver” option.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 5) Next, click the “Debug” tab and select “Use” and “CMSIS-DAP Debugger” as shown below. Figure 9: Keil uVision: Options for Target – Debug 6) Click on the “Device” tab and ensure that the settings are as shown in the image below.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 11: Keil uVision: Options for Target – Target 8) Click on the “Output” tab and ensure all settings are as shown in the image below. Figure 12: Keil uVision: Options for Target – Output 9) Click on the “Linker”...
The IDE is now configured for WyzBee™. You can now start writing your application! Sample Project A sample project, TriLED.zip, which blinks the onboard TriLED is provided to help you quickly get started on WyzBee™. The details of the pins of the MCU connected to the TriLED are given below: LED Color...
Figure 14: main.c of TriLED Project in Keil uVision4 4) The TriLED_App() function controls all the frontend functioning of the application. It initializes the necessary drivers and configures WyzBee™. The source code is shown in the image below. Figure 15: TriLED_App Function 5) TriLED_App() Function: The TriLEDGpio_Put function is used to change the value assigned to the pins.
WyzBee API Guide document. Adding THINGS The WyzBee™ THING expansion headers accommodate a host of other symbiotic devices, with a number of peripherals – called ‘Things’ – already available from Redpine including audio, GSM, GPS, capacitive touch display, rechargeable battery, and additional sensors.
4 Appendix A: Installing IDEs This section describes the steps for downloading and installing the IDEs which can be used with WyzBee™. Keil IDE The Keil IDE from ARM can be used for IoT application development and supports both C and C++ languages.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 18: Keil IDE Installation License Agreement 5) In the next window, you have the option of changing the folder in which the IDE will be installed. Change it if required and click Next.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 20: Keil IDE Customer Information 7) After the installation is completed, click Next again. Figure 21: Keil IDE Installation Completed 8) Now, select the “Launch Driver Installation: ULINK Pro Driver V1.0” option and click Finish.
ULINK drivers. Figure 23: ULINK Driver Installation 4.1.2 Configuring Keil IDE for WyzBee™ The process for configuring Keil IDE for WyzBee™ is explained in Section 3.2. CoIDE The CoIDE from CooCox is a free IDE and can be used for IoT application development.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 4.2.1 Download and Installation CoIDE can be downloaded from http://www.coocox.org . The following steps have been described for CoIDE version 1.7.8. 1) Start the installer. If any security warnings appear, click on Run.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 25: CoIDE Installation Folder Selection 4) In the new window, click Install to start the Installation of CoIDE. Figure 26: CoIDE Installation Start 5) Click Finish after the installation is completed.
Figure 28: CoIDE Version 4.2.2 Configuring CoIDE for WyzBee™ Follow the steps below to configure CoIDE for WyzBee™. 1) Open CoIDE and click on the Configuration button. Figure 29: CoIDE Configuration Button 2) In the new window that opens, ensure that the settings on each tab match the settings in the images below.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 30: CoIDE Configuration – Device Figure 31: CoIDE Configuration – Link Page 25...
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 35: CoIDE Configuration – Download IAR Embedded Workbench IAR Embedded Workbench is a development environment that includes a C/C++ compiler and debugger. 4.3.1 Download and Installation The IAR Embedded Workbench can be downloaded from https://www.iar.com. The following steps have been described for IAR version 7.30.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 36: IAR Embedded Workbench Installation Window 3) In the new window, click Next. Figure 37: IAR Embedded Workbench Installation Window 4) Check the “I accept the terms of the license agreement” option and click Next.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 38: IAR Embedded Workbench License Agreement 5) In the next window, you have the option of changing the folder in which the IDE will be installed. Change it if required and click Next.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 6) Click Next in the new window and then click Install to start the installation process. Figure 40: IAR Embedded Workbench Installation Start 7) Wait for the installation to be completed. You will be requested to remove any USB dongles connected to the PC.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 42: IAR Embedded Workbench Installation Completed 9) Next, you will be prompted for installation of device software. Click Install. Figure 43: IAR Embedded Workbench – Device Software – 1...
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 44: IAR Embedded Workbench – Device Software – 2 10) Select the Language of your preference and click OK. Figure 45: IAR Embedded Workbench – Language Selection 11) The IAR Embedded Workbench window opens, followed by the License Wizard. Click Next.
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Figure 47: IAR Embedded Workbench – License Wizard (Choose a Product) 13) In the new window, click Register. Figure 48: IAR Embedded Workbench – License Wizard (Register) Page 33...
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 14) Clicking Register opens a web browser for the Registration process. Select the “Code Size Limited” option and enter the rest of the details. Figure 49: IAR Embedded Workbench: Registration 15) Once the details are submitted, a confirmation email is sent to the registered email address.
17) Copy this key and paste it in the License Wizard and click Next to complete the installation and registration process for IAR Embedded Workbench. 4.3.2 Configuration IAR Embedded Workbench for WyzBee™ 1) Open the IAR Embedded Workbench and click on Project Options Figure 51: IAR Embedded Workbench – Project Options...
2) In the Options window that opens, ensure that all settings are as per the images shown below. Figure 52: IAR Embedded Workbench – Options – 1 Figure 53: IAR Embedded Workbench – Options – 2 3) Click OK to complete the configuration for WyzBee™. Page 36...
User Manual Version 1.2 Version 1.2 5 Appendix B: WyzBee™ Headers The WyzBee™ baseboard comes with 2 16-pin THING™ Headers. These headers can be used to add a combination of multiple THING™ boards. Figure 54: 32-pin WyzBee™ THING Header Pin Description The table below describes the pins of the WyzBee™...
Page 38
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Pin Name Function Direction Description INT07_2 Input External Interrupt 7 Inout General-purpose Input/Output TIOB1_1 Inout Base Timer Channel 1 TIOB pin. This can be used only if S16 is not configured as TIOB1_0.
Page 39
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Pin Name Function Direction Description ZIN0_0 Input QPRC Channel 0 ZIN Input RTO02_0 Output Waveform generator output of Multi-function timer 2 MCU_RESET_N Input External reset Inout General-purpose Input/Output TIOA7_1 Inout...
Page 40
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Pin Name Function Direction Description Chanel 2 Clock output AN08 Input ADC Input Channel 8 VDD_5V Output 5V Output Power Supply for THING boards. Ground Ground VIN_EXT Input External Power Supply. This can be from different sources like battery THING.
Page 41
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Pin Name Function Direction Description TIOB1_0 Inout Base Timer Channel 1 TIOB pin. This can be used only if S12 is not configured as TIOB1_1. SCS7_1 Output Multi-function Serial interface...
Page 42
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Pin Name Function Direction Description IC03_2 Input 16-bit input capture Channel 3 input pin of Multi-function timer 0 AN04 Input ADC Input Channel 4 Inout General-purpose Input/Output SIN0_1 Input Multi-function Serial interface...
Page 43
WyzBee™ WyzBee™ User Manual User Manual Version 1.2 Version 1.2 Pin Name Function Direction Description Inout General-purpose Input/Output INT02_1 Input External Interrupt 2 RX1_2 Output CAN interface Channel 1 RX input SIN1_1 Input Multi-function Serial interface Channel 1 Input AN00...
Need help?
Do you have a question about the WyzBee and is the answer not in the manual?
Questions and answers