Part No. 2006E15300Edition 1
Printed in ChinaMarch 2019
The documentation and the software included with this product are copyrighted 2019
by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right
to make improvements in the products described in this manual at any time without
notice. No part of this manual may be reproduced, copied, translated or transmitted
in any form or by any means without the prior written permission of Advantech Co.,
Ltd. Information provided in this manual is intended to be accurat e and reliable. How-
ever, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of the rights of third parties, which may result from its use.
Acknowledgements
ARM is trademarks of ARM Corporation.
Freescale is trademarks of Freescale Corporation.
Microsoft Windows are registered trademarks of Microsoft Corp.
All other product names or trademarks are properties of their respective owners.
Product Warranty (2 years)
Advantech warrants to you, the original purchaser, that each of its products will be
free from defects in materials and workmanship for two years from the date of pur-
chase.
This warranty does not apply to any products which have been repaired or altered by
persons other than repair personnel authorized by Advantech, or which have been
subject to misuse, abuse, accident or improper installation. Advantech assumes no
liability under the terms of this warranty as a consequence of such events.
Because of Advantech's high quality-control standards and rigorous testing, most of
our customers never need to use our repair service. If an Advantech product is defec-
tive,
it will be repaired or replaced at no charge during the warranty period. For out-ofwarranty repairs, you will be billed according to the cost of replacement materials,
service time and freight. Please consult your dealer for more details.
If you think you have a defective product, follow these steps:
1.Collect all the information about the problem encountered. (For example, CPU
speed, Advantech products used, other hardware and software used, etc.) Note
anything abnormal and list any onscreen messages you get when the problem
occurs.
2.Call your dealer and describe the problem. Please have your manual, product,
and any helpful information readily available.
3.If your product is diagnosed as defective, obtain an RMA (return merchandize
authorization) number from your dealer. This allows us to process your return
more quickly.
4.Carefully pack the defective product, a fully-completed Repair and Replacement
Order Card and a photocopy proof of purchase date (such as your sales receipt)
WISE-1530 User Manualii
in a shippable container. A product returned without proof of the purchase date
is not eligible for warranty service.
5.Write the RMA number visibly on the outside of the package and ship it prepaid
to your dealer.
Declaration of Conformity
FCC Class B
Note: This equipment has been tested and found to comply with the limit s for a Class
B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference in a residential installation.
This equipment generates, uses and can radiate radio frequency energy and, if not
installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will
not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or
more of the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit dif ferent from that to which the
receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
Caution! Any changes or modifications not expressly approved by the party
responsible for compliance could void the user's authority to operate this
equipment.
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2)
this device must accept any interference received, including interference that may
cause undesired operation.
IMPORTANT NOTE:
FOR PORTABLE DEVICE USAGE (<20m from body/SAR needed)
Radiation Exposure Statement:
The product comply with the FCC portable RF exposure limit set forth for an uncontrolled environment and are safe for intended operation as described in this manual.
The further RF exposure reduction can be achieved if the product can be kept as far
as possible from the user body or set the device to lower output power if such function is available.
FOR MOBILE DEVICE USAGE (>20cm/low power)
Radiation Exposure Statement:
iiiWISE-1530 User Manual
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with minimum
distance 20cm between the radiator & your body.
FOR COUNTRY CODE SELECTION USAGE (WLAN DEVICES)
Note: The country code selection is for non-US model only and is not available to all
US model. Per FCC regulation, all WiFi product marketed in US must fixed to US
operation channels only.
USERS MANUAL OF THE END PRODUCT:
In the users manual of the end product, the end user has to be informed to keep at
least 20cm separation with the antenna while this end product is installed and operated. The end user has to be informed that the FCC radio-frequency exposure g uidelines for an uncontrolled environment can be satisfied.
The end user has to also be informed that any changes or modifications not
expressly approved by the manufacturer could void the user's authority to operate
this equipment.
If the labelling area is small than the palm of the hand, then additional FCC part 15.19
statement is required to be available in the users manual: This device complies with
Part 15 of FCC rules. Operation is subject to the following two conditions: (1) this
device may not cause harmful interference and (2) this device must accept any interference received, including interference that may cause undesired operation.
LABEL OF THE END PRODUCT:
The final end product must be labeled in a visible area with the following " Contains
TX FCC ID: M82-WISE1530 ".
If the labelling area is larger than the palm of the hand, then the following FCC part
15.19 statement has to also be available on the label: This device complies with Part
15 of FCC rules. Operation is subject to the following two conditions: (1) this device
may not cause harmful interference and (2) this device must accept any interference
received, including interference that may cause undesired operation.
Before setting up the system, check that the items listed below are included and in
good condition. If any item does not accord with the table, please contact your dealer
immediately.
1 WISE-1530
1 Screw for WISE-1530
1 China RoHs Notice
3.Disconnect this equipment from any AC outlet before cleaning. Use a damp
cloth. Do not use liquid or spray detergents for cleaning.
4.For plug-in equipment, the power outlet socket must be located near the equip-
ment and must be easily accessible.
5.Keep this equipment away from humidity.
6.Put this equipment on a reliable surface during installation. Dro pping it or letting
it fall may cause damage.
vWISE-1530 User Manual
7.The openings on the enclosure are for air convection. Protect the equipment
from overheating. DO NOT COVER THE OPENINGS.
8.Make sure the voltage of the power source is correct before connecting the
equipment to the power outlet.
9.Position the power cord so that people cannot step on it. Do not place anything
over the power cord.
10. All cautions and warnings on the equipment should be noted.
11.If the equipment is not used for a long time, disconnect it from the power source
to avoid damage by transient overvoltage.
12. Never pour any liquid into an opening. This may cause fire or electrical shock.
13. Never open the equipment. For safety reasons, the equipment should be
opened only by qualified service personnel.
14. If one of the following situations arises, get the equipment checked by service
personnel:
The power cord or plug is damaged.
Liquid has penetrated into the equipment.
The equipment has been exposed to moisture.
The equipment does not work well, or you cannot get it to work according to the
user's manual.
The equipment has been dropped and damaged.
The equipment has obvious signs of breakage.
DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech
disclaims all responsibility for the accuracy of any statements contained herein.
4.5.2I/O Test Use WICED API............................................................ 37
4.5.3I/O Test Use SUSI API ............................................................... 39
WISE-1530 User Manualviii
Chapter1
1 Product Overview
1.1Introduction
WISE-1530 is a wireless module integrated with ARM Cortex-M4 Processor and Wifi
/ BLE connectivity. This technology is the best solution for WIFI and BLE combo
Applications. For example, we may use BLE to configure device and transfer mass
data through wifi connectivity. You may choose the WIFI or BLE to submit your sensor data according to different scenario and purpose, such as the short range with
low power consumption or mass data rate to complete the specific task.
Your sensors or applications with low data rate requirement can be achieved years
battery lifetime in short range communication BLE. Advantech WISE-1530 also provides multi-interfaces for sensor and I/O control.
With ThreadX v5.6 microprocessor operating system and add-on software stacks, it's
convenient to build the application software or sensor algorithm over the OS. Data
can be quickly and easily acquired and transformed into a dif ferent format to communicate with WISE-PaaS or other cloud services. Developer can build their application
backbone faster and focus on their applications, value-added services.
The main features of WISE-1530 are:
ARM Cortex-M4 Core Processor
Built-in Wifi / BLE connectivity
Great for Low Power Energy application
Rich interfaces for sensor and I/O control
Support ThreadX v5.6
Support wide temperature -20 ~ 70 °C
WISE-1530 User Manual2
1.2Specifications
Processor SystemMCUSTM32F4 ARM® 32-bit Cortex®-M4 CPU 100MHz
Memory
Form FactorM2.COM Type A 2230
Spec. StandardM2 COM Technical SPEC_v1.1
Wireless Network
I/O
Programming / Debug
Port
Power3.3V
Environment
Physical
Characteristics
OSThreadX v5.6, SDK 4.1.8
RAM256KB
Flash1024KB
StandardIEEE 802.11 b/g/n and Bluetooth 4.1
Frequency
Band
Channels1~13 for Wi-Fi and 79 for Bluetooth and 39 for BLE
TopologyStar network
Typ. 14 dBm ± 2 at 80 2.11b CCK Mode 1M
Typ. 12 dBm ± 2 at 802.11g OFDM Mode 54M
Typ. 12 dBm ± 2 at 80 2.11n OFDM Mode MCS0
Max 10 dBm ± 2 for BLE
Typ. -95dBm at 1 Mbps
Typ. -75 dBm at 54 Mbps
Typ. -89 dBm at MCS0
Typ. -89 dBm for BLE
Up to 65Mbps
MHF4 connector
1 via WISE-ED22 (CN1)
-20 ~ 70° C
5% ~ 95% Relative Humidity, non-condensing
22 x 30 mm
* Note: Frequency Band can be configurable for Japan or Korea by request.
3WISE-1530 User Manual
WISE-1530 User Manual4
Chapter2
2 H/W Installation
2.1Board Connector
M2.COM Type A Module
Module size: 22 mm x 30 mm
PCB thickness: 0.8 mm ± 10%
Pin count: 75 pins
Module input voltage: 3.3V DC-in
Connector mating force: 30N Maximum
Connector current rating: 0.5A / Power contact
Connector operation temperature range: -45 °C to +85 °C
The mechanical dimension information of M2.COM form factor follows the Type A
2230 module size: 22 x 30 mm. Both module types use a 75-position host interface
connector and have room to support up to four RF connectors in the upper section.
Figure 2.4 Type A 2230
2.3Connector Specifications
2.3.1Top Side Connector Physical Dimensions
The top-side scheme has two connectors that share a common footp rint but h ave different stack-up requirements.
Length - 22 mm maximum including land pattern
Width - 9.1 mm maximum including land pattern
WISE-1530 User Manual8
Chapter 2H/W Installation
Figure 2.5 Top Side Connector Physical Dimensions
Reference from PCI Express M.2 Specification, Revision 1.0, November 1, 2013
2.3.2Carrier Board Connection Length
The carrier board connector of M2.COM follows the p Type 2230 M.2 module connector:
The additional increase in length is 7.05mm maximum for top-side connector to
the module length.
The retention screw adds 2.75 mm maximum.
The maximum extension, including land pattern, beyond the module leading
edge is 4.3 mm.
M2.COM module lengths are 30 mm and 42 mm.
9WISE-1530 User Manual
Figure 2.6 Carrier Board Connection Length
Reference from PCI Express M.2 Specification, Revision 1.0, November 1, 2013
2.3.3Carrier Board Connector Height
The dimensions of M2.COM form factor follow the T ype A 2230 -D3 M.2 module size.
Hence, the carrier board connectors must choose H3.2-D3 or H4.2-D5 connector as
in the following diagrams.
Figure 2.7 H3.2-D3
Reference from PCI Express M.2 Specification, Revision 1.0, November 1, 2013
2.Replace the folders under WICED directory <SDK folder>\43xxx_Wi-Fi\ with
patch folders.
19WISE-1530 User Manual
3.3Build Source File
3.3.1Make a "Make Target" file
Step1: In Make Target window click mouse right button
Step2: Select New...
Step3: Type "snip.gpio-WISE_1530"
Field explanation: snip.gpio-WISE_1530
snip.gpio: application project name
WISE_1530: platform name, for WISE-1530 platform don't change this field
WISE-1530 User Manual20
3.3.2Build Project
Double click "Make Target" file to build project.
Chapter 3Development Environment Setup
You see below message when image is built successfully.
21WISE-1530 User Manual
WISE-1530 User Manual22
3.4Generate a Programming File
It will generate three bin files in <SDK folder>\43xxx_Wi-Fi\build folder when build
complete.
1.Bootloader: waf.bootloader-NoOS-WISE_1530.bin
2.DCT(Device Configuration Table): DCT.bin:
3.Application: snip.gpio-WISE_1530.bin
Chapter 3Development Environment Setup
Download and install J-Link(https://www.segger.com/downloads/jlink/
JLink_Windows_V616j.exe)software, we need J-Flash tool to combine three bin files
for programming.
23WISE-1530 User Manual
3.4.1Launch J-Flash
3.4.2Open bootloader bin file
WISE-1530 User Manual24
3.4.3Merge DCT bin file
3.4.4Merge application bin file
Chapter 3Development Environment Setup
25WISE-1530 User Manual
3.4.5Save as a final bin file
3.5Programming
Generate a programming file then use WISE-ED22(http://ess-wiki.advantech.com.tw/
view/WISE-ED22_User_Manual)to program WISE-1530. User can refer WISE-ED22
Drag-n-drop Programming(http://ess-wiki.advantech.com.tw/view/WISEED22_User_Manual#Drag-n-drop_Programming)section
3.5.1Debug Setting
Launch a serial port tool (Take Tera Term for example), then setting is as below.
WISE-1530 User Manual26
Press WISE-1530 reset button, the screen will show as below.
Chapter 3Development Environment Setup
27WISE-1530 User Manual
WISE-1530 User Manual28
Chapter4
4 Example: WISE-1530
Demo(StartKit)
4.1Introduction
There are two main functions in Demo application. One is an BLE and WiFi introducer example. It demonstrates GATT database initialization, DCT configuration, processing read/write requests from a BLE client, and sending data to the client. The
BLE WiFi Introducer has two components, an app running on a WICED devices, and
an app(BLE Scanner) running on Android device. The other main function is WISESnail exapmle. It demonstrates how to get the sensor value from WISE-DB1500
carrier board and upload data to WISE-PaaS/RMM cloud server.
4.2Detailed about WISE-1530 Demo
The detailed behavior about Demo example is introduced as following:
System initiation.
Initiation hardware, Wi-Fi wlan connectivity, button1 thread etc.
BLE and WiFi introducer
WISE-1530 will try to connect to WiFi AP with default SSID and password at first.
If success, WISE-1530 will Loop in WISESnail. Otherwise, BLE will be used for
setting SSID and password. User can scan WISE-1530 as BLE device via
mobile app. The compile procedures please follow Chapter 4.2 Step by step
usage guide .
Initiation sensor and access data from it.
The TI HDC1050 sensor has been designed-in on WISE-DB1500 carrier board.
It's a digital humidity sensor with integrated temperature sensor. The HDC1050
is initialized in example and the user can get data of humidity and temperature.
Loop in WISESnail or web service.
When device connect to AP and get IP, it will connect to WISE-PaaS/RMM
server, keep getting sensor data and do the data exchang through WISESnail. It
is an infinite system for cloud service.
WISE-1530 User Manual30
4.3Step by step usage guide
Step 1: Download and unzip WISE_1530_patch.zip(http://ess-wiki.advantech.com.tw/wiki/images/5/51/WISE_1530_patch_v06.zip), then copy WISE_1530
folder to <SDK folder>\43xxx_Wi-Fi\apps. Project Explorer window will appear
WISE_1530 folder. You can press 'F5' to refresh if you do not see.
Chapter 4Example: WISE-1530 Demo(StartKit)
Step 2: Create a "WISE_1530.StartKit-WISE_1530" target file and build the application.
31WISE-1530 User Manual
Step 3: Follow "Generate a Programming File(http://ess-wiki.advantech.com.tw/view/
WISE-1530_SDK#Generate_a_Programming_File)" to generate a bin file, then
download bin file to WISE-1530. You will see below message in console screen if
success.
Step 4 to step 8 Please install BLE scanner app in your mobile phone.
Step 4: Install and launch the BLE Scanner app.
Step 5: Launch BLE Scanner and click on scan device, it will list all the BLE devices
nearby. Find the WiFiInt device and press CONNECT button.
WISE-1530 User Manual32
Chapter 4Example: WISE-1530 Demo(StartKit)
Step 6: If the connection between mobile phone and WISE-1530 is successful, you
will access configuration page and select "CUSTO M SERVICE" to modify SSID and
PASSWORD of WiFi AP.
Step 7: Find the UUID: ACA0EF7C-EEAA-48AD-9508-19A6F6B356 for SSID characteristic. Press the "W" button to enter input window. Input new SSID name then
press the OK button. Last, user can press "R" button to check new SSID name.
33WISE-1530 User Manual
Step 8: Find the UUID: 40B7DE33-93E4-4C8B-A876-D833B415A6CE for Pass-word characteristic then procedure as Step5.
Step 9: If it succeed to access WiFi AP, WISE-1530 will get network IP. The console
message is as below.
WISE-1530 User Manual34
Step 10: If it connect to broker and WISESnail successfully, user can see temperature, humidity, GPIO1 and GPIO2 on cloud server.
Chapter 4Example: WISE-1530 Demo(StartKit)
35WISE-1530 User Manual
4.4memory/flash usage
The WISE-1530 has 1 MBytes flash and 256 KBytes RAM. The Start kit flash and
memory usage is as below.
The I/O Test application is a WISE-1530 I/O testing example. It's need extra I/O
board(WISE-ED30) to plug in to WISE-1500. The hardware setup as below. This
instance could test m2.com I/O that WISE-1530 supported(M2.COM Pinout(http://
ess-wiki.advantech.com.tw/view/MCU/WISE-1530)), include GPIO, ADC, I2C.
SPI...etc interface. It used WICED SDK API to read and write I/O.
Chapter 4Example: WISE-1530 Demo(StartKit)
4.5.2I/O Test Use WICED API
Step 1: Download and unzip WISE_1530_patch.zip(http://ess-wiki.advantech.com.tw/wiki/images/5/51/WISE_1530_patch_v06.zip), then copy WISE_1530
folder to <SDK folder>\43xxx_Wi-Fi\apps.
Step 2: I/O test source code please refer as below files.
37WISE-1530 User Manual
Step 3: Create a "WISE_1530.factory-WISE_1530" target file and build the application. Download firmware to WISE-1530 then press reset button.
Step 4: You will see below message in console screen if success. Input '1' to select I/
O Function Test, the screen will show I/O test items.Input 1~7 to test I/0 and 0 to
return previous page.
WISE-1530 User Manual38
4.5.3I/O Test Use SUSI API
Chapter 4Example: WISE-1530 Demo(StartKit)
The I/O Test example also support SUSI API (please refer SUSI_API(http://esswiki.advantech.com.tw/wiki/images/5/51/WISE_1530_patch_v06.zip)).The SUSI
support GPIO, I2C, SPI, ADC and PWM APIs. You can simple revise setting to
accomplish SUSI API I/O Test.
Step 1: The SUSI API I/O test source code are as below files.
Step 2: Open SimpleCli.mk and change USE_SUSI_API to 1.
39WISE-1530 User Manual
Step 3: Double click "WISE_1530.factory-WISE_1530" target file and build the application. Then download the firmware to WISE-1530, you can see the screen that
same as I/O Function Test.