ZigBee Home Sensor Demonstration User Guide

Size: px
Start display at page:

Download "ZigBee Home Sensor Demonstration User Guide"

Transcription

1 ZigBee Home Sensor Demonstration JN-UG-3033 Revision Feb-2008

2 Jennic ZigBee Home Sensor Demonstration 2 Jennic 2008 JN-UG-3033 v1.3

3 ZigBee Home Sensor Demonstration Jennic Contents About this Manual 4 Organisation 4 Conventions 4 Acronyms and Abbreviations 4 Related Documents 5 Feedback Address 5 1 Operational Features Hardware Components Operating Instructions Controller Board Sensor Board Routing 10 2 Application Design Software Architecture Context, Interrupts and Callbacks 11 3 Unpacking, Build and Download Instructions Unpacking the Application Building the Application Using Makefiles Using Code::Blocks Downloading the Application 17 4 Code Description Overview Co-ordinator Overview Function Descriptions Router Overview Function Descriptions End Device Overview Function Descriptions 28 JN-UG-3033 v1.3 Jennic

4 Jennic ZigBee Home Sensor Demonstration About this Manual This provides a description of the ZigBee Home Sensor Demonstration application for the Jennic JN5121 and JN513x wireless microcontrollers. Source and binary code for this demonstration are provided in an Application Note (JN-AN-1052), available on the: Jennic ZigBee Evaluation Kit CD Support area of the Jennic web site ( This binary code for this application is also supplied as the default Flash memory contents in the Jennic ZigBee Evaluation Kit (EK010). Organisation This manual consists of four chapters, as follows: Chapter 1 provides a high-level view of the application in terms of its hardware components and operation. Chapter 2 outlines the application design in terms of the software used, and the use of callbacks and interrupts. Chapter 3 describes how to build the application and download it to the hardware. Chapter 4 describes the application code, including the functions used. Conventions Files, folders, functions and parameter types are represented in bold type. Function parameters are represented in italics type. Code fragments are represented in the Courier typeface. Acronyms and Abbreviations API BOS FFD IDE MAC PAN RFD SDK Application Programming Interface Basic Operating System Full Function Device Integrated Development Environment Media Access Control (sub-layer) Personal Area Network Reduced Function Device Software Developer s Kit 4 Jennic 2008 JN-UG-3033 v1.3

5 ZigBee Home Sensor Demonstration Jennic Related Documents [1] Jennic ZigBee Stack (JN-UG-3017) [2] Jennic Code::Blocks IDE (JN-UG-3028) [3] Jennic JN51xx Flash Programmer Application (JN-UG-3007) Feedback Address If you wish to comment on this manual, or any other Jennic user documentation, please provide your feedback by writing to us (quoting the manual reference number and version) at the following postal address or address: Applications Jennic Ltd Furnival Street Sheffield S1 4QT United Kingdom JN-UG-3033 v1.3 Jennic

6 Jennic ZigBee Home Sensor Demonstration 6 Jennic 2008 JN-UG-3033 v1.3

7 ZigBee Home Sensor Demonstration Jennic 1 Operational Features The Home Sensor Demonstration application is intended as an aid to understanding how an application can be built on top of the Jennic ZigBee software stack, and how to use the sensors and LCD panel of the Jennic ZigBee Evaluation Kit (EK010). 1.1 Hardware Components The evaluation kit consists of: One controller board with an LCD panel, a temperature sensor, humidity sensor and light sensor, four control buttons and four LEDs Four sensor boards, each with a temperature sensor, humidity sensor and light sensor, two control buttons and two LEDs. The kit is supplied with software which allows the units in the kit to emulate a home sensor and control system, known as the ZigBee Home Sensor Demonstration application. The controller enables each sensor board to be monitored, and allows alarms to be set for temperature and light levels on the sensor boards. The controller can be set to operate on a specific channel to avoid interference on busy frequencies, and the sensor boards automatically scan for the controller and synchronise with it. Note: In this ZigBee application, the controller board acts as the Co-ordinator, and the sensor boards can be used as End Devices and Routers (see Section 1.3). 1.2 Operating Instructions This section describes the buttons and screens used in operation of the controller and sensor boards Controller Board The central controller (which acts as the Co-ordinator) has several modes: Introductory splash screen, with channel selection Network display Individual node display The modes are accessed by pressing buttons on the controller, with the hierarchy of screens shown below. JN-UG-3033 v1.3 Jennic

8 Jennic ZigBee Home Sensor Demonstration Button Conventions The switches on the controller board are used to navigate around a menu system, and change their function depending on which screen is being shown. On all screens, the function of a particular switch is displayed on the bottom of the LCD above the switch position. Start Software Version Information SW1 Splash Screen Done key Done key 'Node' key Network screen Node 1 display screen 'Node' key Node 2 display screen 'Node' key Node x display screen 'Node' key Splash Screen Figure 1: Controller Screen Flow Diagram This is the introductory screen. Once a sensor board has been turned on and has joined the network, this screen disappears and the Network screen is displayed. Pressing the button SW1 while the Splash screen is displayed will cause software version information to be displayed. Software Version Information Screen This screen shows the version of the demonstration application software. Network Screen The Network screen shows the current value and trend graph for one sensor type and for all sensor boards simultaneously. It is possible to choose the sensor type to 8 Jennic 2008 JN-UG-3033 v1.3

9 ZigBee Home Sensor Demonstration Jennic display by pressing the Temp, Humidity or Light button - the currently selected sensor type is indicated by the corresponding button label being inverted. To select a Node Display screen, the Node button should be pressed. If there are no nodes, the Node button has no effect. Node Display Screen The Node Display screen shows the current value and trend graph for all sensor types simultaneously for one sensor board at a time. The format is the same as for the Network screen. The Node Display screen also displays the number of frames that have been missed. To select another sensor board, the Node button should be pressed. When the final sensor board is displayed, pressing the Node button again causes the Network screen to appear. Pressing On or Off controls the remote switch at the sensor board, as described in Section Sensor Board A sensor board has two switches (SW1 and SW2) and two LEDs (D1 and D2). With the antenna at the top of the board, the left switch is SW1 and the right switch is SW2. LED D1 is the one on the left (under SW1) and LED D2 is the one on the right (under SW2). A sensor board can be in one of two modes: scanning or operating. Scanning Mode When a sensor board is switched on, it automatically enters scanning mode. 1. First the sensor board performs a channel scan. It repeatedly tries until it finds the channel on which the network is operating. 2. The board then associates with a suitable parent that is operating on this network. Again, this will be repeated until successful. During initial association, the sensor board is assigned a role by the controller. The roles are given in the order in which each board associates, in the order Hall, Bedroom, Lounge and Bathroom. The first sensor board to associate will be assigned Hall, the second Bedroom, and so on. 3. After a first successful association, the controller remembers the role it assigned to a particular sensor board, so if that sensor board loses the communication link and has to re-associate, it will be assigned the same role again. 4. Once associated, the sensor board moves into operating mode. JN-UG-3033 v1.3 Jennic

10 Jennic ZigBee Home Sensor Demonstration Operating Mode While in operating mode, the sensor board periodically transmits the sensor values to the Co-ordinator. The controller can then display this information. LED D1 is controlled by the remote switch setting on the Node screen on the controller (see Section 1.2.1). There is a switch emulation performed by the sensor board. This has no visible effect at the sensor board, but an LED will be illuminated or extinguished on the controller board. Pressing SW1 turns the LED off and pressing SW2 turns it on. 1.3 Routing The sensor boards that are fitted with a ceramic antenna have been programmed as End Devices. These boards periodically send their sensor data to the Co-ordinator, as described earlier in this chapter. The sensor boards that are fitted with SMA connectors act as Routers - they relay messages from other boards that cannot reach the Co-ordinator directly. The Routers also run and report their own monitoring application, as for the End Devices. This functionality can be demonstrated as follows: 1. Turn on the controller board. 2. Turn on one of the sensor boards that is programmed as an End Device. 3. Confirm that the two boards are communicating - a graph should be displayed on the LCD screen that displays data from one of the board s sensors. 4. Take the sensor board out of range of the controller board. When this happens, the number of missed frames displayed on the screen will reach Now place a sensor board programmed as a Router in between the two boards and turn it on. A new node should appear on the LCD screen that represents the state of the Router. 6. Turn the End Device (first sensor board) off then on again. Its data will then appear as a new node on the controller. This data is being relayed via the Router. 10 Jennic 2008 JN-UG-3033 v1.3

11 ZigBee Home Sensor Demonstration Jennic 2 Application Design This chapter describes architectural and certain operational aspects of the demonstration application. 2.1 Software Architecture An application sits above the ZigBee stack, which sits on top of the MAC stack, which in turn sits directly above the baseband hardware. This is illustrated in the figure below. Application layer Includes mechanisms to ensure ZigBee devices can operate with each other ZigBee networking Provides unique self-configuration and routing capabilities IEEE Runs on wireless microcontroller to provide transport and data packing/unpacking Figure 2: Basic Software Architecture for ZigBee The ZigBee stack is provided with defined entry points to request actions and also expects specific entry points to be provided by the application for callbacks. The ZigBee stack includes a simple task scheduler called the BOS (Basic Operating System). There are three tasks used by the ZigBee stack itself, and others can be defined by the application, if desired. It is not necessary to define a task for the application since the task scheduler calls the application regularly through a defined entry point. Note: For further information on the ZigBee software architecture, refer to the Jennic ZigBee Stack (JN-UG-3017). The Integrated Peripherals API and Board API (from the Jennic SDK) sit logically to the side of the ZigBee stack and are independent of it. 2.2 Context, Interrupts and Callbacks The ZigBee stack and the application operate within the processor s application context. Callbacks due to hardware events are passed to the application in the processor s interrupt context. It is therefore vital that code to implement the hardware event callback is kept as small and as efficient as possible. JN-UG-3033 v1.3 Jennic

12 Jennic ZigBee Home Sensor Demonstration 12 Jennic 2008 JN-UG-3033 v1.3

13 ZigBee Home Sensor Demonstration Jennic 3 Unpacking, Build and Download Instructions This chapter describes how to build and download the demonstration application. Note: The Home Sensor Demonstration application is preprogrammed in Flash memory of the boards provided with the Jennic evaluation kit. You can therefore run the demonstration without having to build and download it to the boards. This chapter is provided in case you wish to build and download a modified version of the application. 3.1 Unpacking the Application You must first unzip the JN-AN-1052 Application Note into the directory C:\Jennic\cygwin\jennic\SDK\Application\ Note: The above directory is automatically created when you install the latest Jennic Software Developer s Kit (SDK). You can obtain the latest versions of the SDK libraries and SDK toolchain from the Support area of the Jennic web site ( The relevant part codes are JN-SW-4030 for the SDK libraries and JN-SW-4031 for the SDK toolchain. JN-UG-3033 v1.3 Jennic

14 Jennic ZigBee Home Sensor Demonstration 3.2 Building the Application There are two possible methods of building the demonstration application using makefiles or the Code::Blocks IDE (Integrated Development Environment). These methods are described in the sub-sections below. In both cases, you must build the separate applications for the Co-ordinator, Routers and End Devices (HomeSensorCoord.c, HomeSensorRouter.c and HomeSensorEndDevice.c) to produce the binary files (HomeSensorCoord.bin, HomeSensorRouter.bin and HomeSensorEndDevice.bin) to be downloaded to the relevant network nodes. All files are located in the directory SDK\Application\JN-AP-1052-ZigBee-Home-Sensor-Demo The source files are located in the Source sub-directory. The binary files are output to a sub-directory which depends on the build method: If using the Code::Blocks IDE, this sub-directory is created during the build process and named according to the type of microcontroller targeted: JN5121_Build for the JN5121 JN5139_Build for the JN5139 If using makefiles, this sub-directory is Build. 14 Jennic 2008 JN-UG-3033 v1.3

15 ZigBee Home Sensor Demonstration Jennic Using Makefiles This section describes how to build the demonstration application using the supplied makefile, called Makefile, which can be used to build the source files HomeSensorCoord.c, HomeSensorRouter.c and HomeSensorEndDevice.c. The makefile is located in the Build sub-directory. Before using a makefile, you need to edit it to specify the target chip (your chip type is marked on the chip or module). The makefile contains a number of lines, some of which are commented out by default for example: #JENNIC_CHIP = JN5121 (for the JN5121 chip) #JENNIC_CHIP = JN5139R1 (for the JN5139R1 chip) JENNIC_CHIP = JN5139 (for the JN5139 chip) You should ensure that the # is removed from the start of the line corresponding to the target chip that you want to use. You can build the application as follows: 1. Start Cygwin and navigate to the folder SDK\Application\JN-AP-1052-ZigBee-Home-Sensor-Demo\Build 2. To build the code for all three device types (HomeSensorCoord.bin, HomeSensorRouter.bin and HomeSensorEndDevice.bin), enter: make clean make Alternatively, when building for both the JN5121 and JN5139 devices, it may be desirable to refresh the Board API library during the build. To do this, enter: make cleanall make JN-UG-3033 v1.3 Jennic

16 Jennic ZigBee Home Sensor Demonstration Using Code::Blocks This section describes how to build the demonstration application using the Code::Blocks Integrated Development Environment (IDE). Code::Blocks project files (with extension.cbp) are provided for use with the Jennic version of Code::Blocks.! Caution: You must use the version of Code::Blocks that is available for download from the Support area of the Jennic web site ( Step 1 Step 2 The Code::Blocks project files are located in the directory SDK\Application\JN-AP-1052-ZigBee-Home-Sensor-Demo\CodeBlocksProject A project file is provided for each ZigBee device type (Co-ordinator, Router, End Device), for each type of Jennic microcontroller (your chip type is marked on the chip or module). For the JN5121 wireless microcontroller, the files are: JN5121_Coordinator.cbp JN5121_Router.cbp JN5121_EndDevice.cbp For the JN5139 wireless microcontroller, the files are: JN5139_Coordinator.cbp JN5139_Router.cbp JN5139_EndDevice.cbp Note that there may also be files prefixed with JN5139R1 for an early version of the JN5139 chip. Follow the procedure below for each application. Start Code::Blocks and open the project to be built by following the menu path File >Open. In the Open file screen, choose the project file to be opened (e.g. JN5139_Coordinator.cbp). To display the source code, navigate to the required source file under the Projects tab of the left pane and double-click on the filename. Step 3 To compile the application, click on the Build button in the toolbar of Code::Blocks. To see the build log, click on the Build log tab in the bottom pane of the Code::Blocks window. Note: For more information on using Code::Blocks, refer to the Jennic Code::Blocks IDE (JN-UG-3028). 16 Jennic 2008 JN-UG-3033 v1.3

17 ZigBee Home Sensor Demonstration Jennic 3.3 Downloading the Application The build process produces three binary files, one for each ZigBee device type (Co-ordinator, Router, End Device): HomeSensorCoord.bin HomeSensorRouter.bin HomeSensorEndDevice.bin You must download each of these files to the relevant device(s) - HomeSensorCoord.bin to the controller board, HomeSensorRouter.bin to the two sensor boards with SMA connectors and HomeSensorEndDevice.bin to the two sensor boards with ceramic antennae. There are two possible ways of downloading your binary file to the target device: If you are using Code::Blocks (the version available from the Jennic web site), you can download your.bin file from within Code::Blocks refer to the Jennic Code::Blocks IDE (JN-UG-3028). Otherwise, you must use the Jennic JN51xx Flash Programmer application to download your.bin file refer to the Jennic JN51xx Flash Programmer Application (JN-UG-3007). JN-UG-3033 v1.3 Jennic

18 Jennic ZigBee Home Sensor Demonstration 18 Jennic 2008 JN-UG-3033 v1.3

19 ZigBee Home Sensor Demonstration Jennic 4 Code Description This chapter provides details of the code used in the demonstration application. This should help you understand the code sufficiently to adapt the application. 4.1 Overview The demonstration system consists of a Co-ordinator which is also the system controller, and several sensor boards which may be either Routers or End Devices. The general structure of the code in each device is the same, with an initialisation followed by a main loop. The Co-ordinator is initialised and starts a non-beaconing network. The Routers and End Devices then join the network and start to send regular sensor readings. There is no specific binding operation, since the network is pre-configured. The sensor devices send readings once per second, timed by a wake timer. The Co-ordinator uses the source address of the received sensor readings to determine if it has received data from that device before, and displays the information as appropriate. As each device joins the network, a new graph is displayed for it. JN-UG-3033 v1.3 Jennic

20 Jennic ZigBee Home Sensor Demonstration 4.2 Co-ordinator The Co-ordinator code (for the controller board) is in the HomeSensorCoord.c file in the directory: JN-AP-1052-ZigBee-Home-Sensor-Application\Source Overview The general operation of the Co-ordinator is described in Chapter 1. It goes through a series of states that reflect which screen is being shown at any time, as shown below. Start Splash screen Network view Node view For each screen, there are associated functions in the code to create the screen, update the screen and handle any button presses. Upon being started, the first action of the application is the initialisation of the hardware, stack and application variables. Once this has completed, the first screen is shown and the main control loop is entered. This loop runs for the duration of the demonstration. The main loop iterates 20 times per second, driven by events from a wake-up timer. The buttons are checked once per iteration of the loop, which avoids the need for any key de-bounce software algorithm without adding any perceived operating delay. Any events from the ZigBee stack are processed as they occur, handling received frames from endpoints. Once per second, the Co-ordinator updates the screen. At this time, it also keeps track of received frames from each node that it has previously seen data from. In this way, it can produce a count of the number frames it has missed from each node. 20 Jennic 2008 JN-UG-3033 v1.3

21 ZigBee Home Sensor Demonstration Jennic Note: Although there are light, humidity and temperature sensors on the evaluation kit controller board, they are not used by this demonstration Function Descriptions The function descriptions in this section are intended to assist in building a ZigBee application using the Jennic Application Programming Interfaces (APIs). As such, some functions are not mentioned, as they are not directly relevant to this goal. AppColdStart() This function is the main entry point for the application, called after the ROMresident boot loader has finished. It sets the channel and PAN ID, then calls the initialisation function vinitdemosystem(). AppWarmStart() This function is required as the main entry point for the application after a warm start (i.e. the CPU has been powered down and then restarted, with the RAM contents retained). This mode is not used in the demonstration application and is included just to call AppColdStart() as a fail safe mechanism. JZA_ boappstart() This function is called by the ZigBee stack after it has initialised. This sets up the descriptor for the profile that is implemented in the demonstration application (a private profile) and then calls a function in the ZigBee stack to start the network. JZA_vAppEventHandler() This function is called regularly by the ZigBee stack. It is used to process events that have previously been queued as results of hardware interrupts. In this case, there is only one, the wake timer, which fires every 50 ms. This is used to time the reading of the buttons and to update the display. JZA_vPeripheralEvent() This function is called when an interrupt is generated by a hardware peripheral. It is called while the processor is running in interrupt context. Therefore, in order to minimise the time spent in the interrupt context, the information about the interrupt is placed in a simple FIFO queue to be later read by JZA_vAppEventHandler(). JZA_vStackEvent() This function is called to handle miscellaneous events from the lower layers of the stack; for example, an APS layer data transmission confirmation. This demonstration application does not use this function. JN-UG-3033 v1.3 Jennic

22 Jennic ZigBee Home Sensor Demonstration JZA_vAppDefineTasks() This function can be used to add application tasks. This demonstration application does not use any. JZA_eAfKvpObject() This function is called when a KVP transaction message is received and it is used to store the information passed from a sensor node. It supports up to four nodes and identifies the sending device through the device s address. If the address is not found in the list of known sensor nodes, the device is added as a new node and the screen updated. In addition, this function is used to move from the Splash screen to the Network Display screen. JZA_vAfKvpResponse() This function is called when a KVP transaction with acknowledgement has been previously requested, and the response received. It is not used in this demonstration. JZA_pu8AfMsgObject() This function is called when a MSG transaction has been received, and is not used in this demonstration. JZA_vZdpResponse() This function is called when a ZDP response is received, and is not used in this demonstration. vinitdemosystem() This function calls the ZigBee stack initialisation function. It then initialises the hardware that is being used and sets up the Splash screen. The wake-up timer used for the 20-Hz pulses is calibrated and then enabled here, but not started. The final action is to start the BOS. This function only returns if the BOS fails to start. InitCoord() Data relating to the endpoint sensor information is initialised here, as is the demonstrator configuration. vsettimer() This function uses the Integrated Peripherals API to start the wake-up timer for 1600 cycles, approximately 1/20th of a second. vprocesscurrenttimeblock() This function implements the state machine. There is only one action that is, to update the display. 22 Jennic 2008 JN-UG-3033 v1.3

23 ZigBee Home Sensor Demonstration Jennic vprocesskeys() This function relays button presses to the appropriate function, depending on which screen is being shown. The buttons are all soft that is, their function is dependent on the screen. vupdatetimeblock() If the Co-ordinator is in the correct state, this function increments the state machine. The state machine is effectively disabled when some screens are displayed. vsenddata() This function creates and requests the transmission of a KVP transaction, to control an LED on the sensor nodes. vprocessupdateblock() This function updates the graphs for all nodes, scaling the data to fit, and then updates the display, if the appropriate screen is being shown. Keypresses vprocesssplashkeypress vprocessnetworkkeypress vprocessnodekeypress These functions all operate in much the same way, responding to button presses to adjust values, set data or move to another screen. vupdatenetworksensor() This function is called to refresh the Network screen, which shows the same sensor types from all nodes at the same time. LCD screens vbuildnetworkscreen() vbuildnodescreen() These functions all demonstrate the creation of a fresh screen on the LCD, using the Board API. Note that the font definition requires some odd characters to be used. For instance, \ is used for a + and ] is used for -. Normally, a call to vlcdrefreshall() would be used to put the new display onto the LCD, but in all cases an associated update function is called instead, which then calls vlcdrefreshall(). Extensive use is made of vlcdwritetext(), and vbuildsetchannelscreen() also uses vlcdwritebitmap(), using the bitmap that is defined in JennicLogo.c. JN-UG-3033 v1.3 Jennic

24 Jennic ZigBee Home Sensor Demonstration vupdatesetchannelscreen() vupdatenetworkscreen() vlcdupdateelement() vupdatenodescreen() vupdatenodecontrolscreen() vupdatesetupscreen() These functions all update an existing LCD screen whilst retaining what was there before. Note the use of space characters to delete unwanted text. Since the font is proportional, each space is only 3 pixels wide, while most characters are 5 pixels wide. It is therefore necessary to use additional space characters to successfully erase a series of text characters. vdrawgraph() This function takes an array of 32 values, in the range 0 to 13, and makes a bitmap graph from them. This is an alternative to using a pre-defined bitmap and allows simple graphics to be created without the complication of a line-drawing algorithm. An array is created for the two rows of data used by each graph, and a constant array is defined containing the values required for each value in the range 0 to 13. The array is then filled with the appropriate data for each item in the series of values. A structure defines the bitmap in terms of the array, as being 33 columns wide and 2 character rows high. Finally, a call to the Board API writes the bitmap to the LCD shadow memory. A call to vlcdrefreshall() must be made after calling this function for the bitmap to appear on the LCD. Miscellaneous vstringcopy() vvaltodec() These functions do not make use of the stack or API, so are not described here. 24 Jennic 2008 JN-UG-3033 v1.3

25 ZigBee Home Sensor Demonstration Jennic 4.3 Router The Router code is in the HomeSensorRouter.c file in the directory: JN-AP-1052-ZigBee-Home-Sensor-Application\Source Overview Like the Co-ordinator code, the Router code uses a wake timer to determine the system timing. Once per second, the code reads the sensors and generates a set of KVP transactions to pass the read information to the Co-ordinator. It also uses hardware events on the DIO pins to detect when keys are pressed and when the sensor readings have completed Function Descriptions The function descriptions are intended to assist in building a ZigBee application using the APIs. As such, some functions are not mentioned as they are not directly relevant to this goal. AppColdStart() This function is the main entry point for the application, called after the ROMresident boot loader has finished. It searches for the network (PAN ID and channel) and calls the initialisation function vinitdemosystem(). AppWarmStart() This function is required as the main entry point for the application after a warm start (i.e. the CPU has been powered down and then restarted, with the RAM contents retained). This mode is not used in the demonstration application, so this function is included just to call AppColdStart() as a fail safe mechanism. JZA_boAppStart() This function is called by the ZigBee stack after it has initialised. It sets up the descriptor for the profile that is implemented in the demonstration application (a private profile), then calls a function in the ZigBee stack to join the network as a Router. This is determined by which library file is linked by the makefile or included by Code::Blocks. JZA_vAppDefineTasks() This can be used to add application tasks, but this demonstration application does not use any. JZA_eAfKvpObject() This function is called when a KVP transaction message is received. The information is used to control LED 0. JN-UG-3033 v1.3 Jennic

26 Jennic ZigBee Home Sensor Demonstration JZA_vAfKvpResponse() This function is called a response is received to a KVP transaction with acknowledgement has been previously requested. The function is not used in this demonstration. JZA_pu8AfMsgObject() This function is called when an MSG transaction has been received. It is not used in this demonstration. JZA_vZdpResponse() This is called when a ZDP response is received. The function is not used in this demonstration. JZA_vAppEventHandler() This function is called regularly by the ZigBee stack. It is used to process events that have previously been queued as results of hardware interrupts. The wake timer is used to start reading the sensors in a simple state machine. The state machine is advanced by an interrupt on a DIO pin, which is controlled by the humidity/temperature sensor completing a read operation. Interrupts on the DIO pins connected to the buttons on the sensor board are used to set a value which is passed to the Co-ordinator to control an LED. JZA_vPeripheralEvent() This function is called when an interrupt is generated by a hardware peripheral. It is called while the processor is running in interrupt context. Therefore, in order to keep activity to a minimum, the information about the interrupt is placed in a simple FIFO queue to be later read by JZA_vAppEventHandler(). vinitdemosystem() This function calls the ZigBee stack initialisation function and then initialises the hardware that is being used. The wake-up timer used for the 20-Hz pulses is calibrated and then enabled here, but not started. The final action is to start the BOS. There is no return from this function. vsenddata() This function creates and requests the transmission of a set of KVP transactions, to send the sensor information and to control an LED on the Co-ordinator. vstartreadsensors() This function starts reading the temperature sensor and starts the wake timer for the next second. It sets up the interrupt on the DIO pin used by the temperature sensor. 26 Jennic 2008 JN-UG-3033 v1.3

27 ZigBee Home Sensor Demonstration Jennic vreadsensor2() This function reads the temperature value and starts reading the humidity sensor. It sets up the interrupt on the DIO pin used by the temperature sensor. vreadsensor3() This function reads the humidity value and the light level value. There is no delay in reading the light level. It then calls vsenddata() to send a frame containing the sensor readings. vinitendpoint() This function sets certain internal variables. u8findmin() vdebug() This function returns the minimum of two values. This function is optionally used to display error messages via serial port 0, using the Integrated Peripherals API. In order to compile in this feature, UART0_DEBUG must be defined in the makefile HomeSensorRouter.mk. JN-UG-3033 v1.3 Jennic

28 Jennic ZigBee Home Sensor Demonstration 4.4 End Device The End Device code is in the HomeSensorEndDevice.c file in the directory: JN-AP-1052-ZigBee-Home-Sensor-Application\Source Overview Like the Co-ordinator and Router code, the End Device code uses a wake timer to determine the system timing. Once per second, the code reads the sensors and generates a set of KVP transactions to pass the read information to the Coordinator. It also uses hardware events on the DIO pins to detect when keys are pressed and when the sensor readings have completed Function Descriptions The function descriptions are intended to assist in building a ZigBee application using the APIs. As such, some functions are not mentioned as they are not directly relevant to this goal. AppColdStart() This function is the main entry point for the application, called after the ROMresident boot loader has finished. It searches for the network (PAN ID and channel) and calls the initialisation function vinitdemosystem(). AppWarmStart() This function is required as the main entry point for the application after a warm start (i.e. the CPU has been powered down and then restarted, with the RAM contents retained). This mode is not used in the demonstration application, so this function is included just to call AppColdStart() as a fail safe mechanism. JZA_boAppStart() This function is called by the ZigBee stack after it has initialised. It sets up the descriptor for the profile that is implemented in the demonstration application (a private profile), then calls a function in the ZigBee stack to join the network as an End Device. This is determined by which library file is linked by the makefile or included in Code::Blocks. JZA_vAppDefineTasks() This can be used to add application tasks, but this demonstration application does not use any. JZA_eAfKvpObject() This function is called when a KVP transaction message is received. The information is used to control LED Jennic 2008 JN-UG-3033 v1.3

29 ZigBee Home Sensor Demonstration Jennic JZA_vAfKvpResponse() This function is called a response is received to a KVP transaction with acknowledgement has been previously requested. The function is not used in this demonstration. JZA_pu8AfMsgObject() This function is called when an MSG transaction has been received. It is not used in this demonstration. JZA_vZdpResponse() This is called when a ZDP response is received. The function is not used in this demonstration. JZA_vAppEventHandler() This function is called regularly by the ZigBee stack. It is used to process events that have previously been queued as results of hardware interrupts. The wake timer is used to start reading the sensors in a simple state machine. The state machine is advanced by an interrupt on a DIO pin, which is controlled by the humidity/temperature sensor completing a read operation. Interrupts on the DIO pins connected to the buttons on the sensor board are used to set a value which is passed to the Co-ordinator to control an LED. JZA_vPeripheralEvent() This function is called when an interrupt is generated by a hardware peripheral. It is called while the processor is running in interrupt context. Therefore, in order to keep activity to a minimum, the information about the interrupt is placed in a simple FIFO queue to be later read by JZA_vAppEventHandler(). vinitdemosystem() This function calls the ZigBee stack initialisation function and then initialises the hardware that is being used. The wake-up timer used for the 20-Hz pulses is calibrated and then enabled here, but not started. The final action is to start the BOS. There is no return from this function. vsenddata() This function creates and requests the transmission of a set of KVP transactions, to send the sensor information and to control an LED on the Co-ordinator. vstartreadsensors() This function starts reading the temperature sensor and starts the wake timer for the next second. It sets up the interrupt on the DIO pin used by the temperature sensor. JN-UG-3033 v1.3 Jennic

30 Jennic ZigBee Home Sensor Demonstration vreadsensor2() This function reads the temperature value and starts reading the humidity sensor. It sets up the interrupt on the DIO pin used by the temperature sensor. vreadsensor3() This function reads the humidity value and the light level value. There is no delay in reading the light level. It then calls vsenddata() to send a frame containing the sensor readings. vinitendpoint() This function sets certain internal variables. u8findmin() vdebug() This function returns the minimum of two values. This function is optionally used to display error messages via serial port 0, using the Integrated Peripherals API. In order to compile in this feature, UART0_DEBUG must be defined in the makefile HomeSensorEndDevice.mk. 30 Jennic 2008 JN-UG-3033 v1.3

31 ZigBee Home Sensor Demonstration Revision History Jennic Version Date Description Feb-2007 First release Apr-2007 Makefile description modified to correspond to updated makefiles May-2007 Updated for R1 of JN5139 device Feb-2008 Updated for JN5139 device and new SDK JN-UG-3033 v1.3 Jennic

32 Jennic ZigBee Home Sensor Demonstration Important Notice Jennic reserves the right to make corrections, modifications, enhancements, improvements and other changes to its products and services at any time, and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders, and should verify that such information is current and complete. All products are sold subject to Jennic s terms and conditions of sale, supplied at the time of order acknowledgment. Information relating to device applications, and the like, is intended as suggestion only and may be superseded by updates. It is the customer s responsibility to ensure that their application meets their own specifications. Jennic makes no representation and gives no warranty relating to advice, support or customer product design. Jennic assumes no responsibility or liability for the use of any of its products, conveys no license or title under any patent, copyright or mask work rights to these products, and makes no representations or warranties that these products are free from patent, copyright or mask work infringement, unless otherwise specified. Jennic products are not intended for use in life support systems/appliances or any systems where product malfunction can reasonably be expected to result in personal injury, death, severe property damage or environmental damage. Jennic customers using or selling Jennic products for use in such applications do so at their own risk and agree to fully indemnify Jennic for any damages resulting from such use. All trademarks are the property of their respective owners. Corporate Headquarters Furnival Street Sheffield S1 4QT United Kingdom Tel +44 (0) Fax +44 (0) info@jennic.com Japan Sales Office Osakaya building 4F Higashigotanda Shinagawa-ku, Tokyo , Japan Tel Fax info@jp.jennic.com Taiwan Sales Office 19F-1, 182, Sec.2 Tun Hwa S. Road Taipei 106 Taiwan Tel Fax info@tw.jennic.com United States Sales Office 1060 First Avenue, Suite 400 King of Prussia PA USA Tel Fax info@us.jennic.com Korean Sales Office 601, Bethel B/D, #324-1 Yangjae-dong Seocho-gu Seoul Korea Tel Fax info@kr.jennic.com 32 Jennic 2008 JN-UG-3033 v1.3

Jennic TECHNOLOGY FOR A CHANGING WORLD

Jennic TECHNOLOGY FOR A CHANGING WORLD Application Note: ZigBee Wireless Light Switch TECHNOLOGY FOR A CHANGING WORLD JN-AN-1024: ZigBee Wireless Light Switch Author: Gary Pfeffer Features The ZigBee wireless light switch application: Uses

More information

Application Note: JN-AN-1123 ZigBee PRO Application Template

Application Note: JN-AN-1123 ZigBee PRO Application Template Application Note: JN-AN-1123 This Application Note provides a set of ZigBee PRO application code templates based on the Jennic ZigBee PRO and JenOS APIs. These templates which are sufficient to produce

More information

JN5148-EK010 ZigBee PRO Evaluation Kit User Guide

JN5148-EK010 ZigBee PRO Evaluation Kit User Guide JN5148-EK010 ZigBee PRO Evaluation Kit JN-UG-3062 Revision 1.0 3 July 2009 JN5148-EK010 ZigBee PRO Evaluation Kit 2 2009 JN-UG-3062 v1.0 JN5148-EK010 ZigBee PRO Evaluation Kit Contents About this Manual

More information

Application Note: JN-AN-1122

Application Note: JN-AN-1122 Application Note: JN-AN-1122 This Application Note describes the implementation of the ZigBee PRO Home Sensor Demonstration, providing an overview of the application s architecture and a description of

More information

Jennic TECHNOLOGY FOR A CHANGING WORLD. JN5121-EK000 Demonstration Application User Guide

Jennic TECHNOLOGY FOR A CHANGING WORLD. JN5121-EK000 Demonstration Application User Guide TECHNOLOGY FOR A CHANGING WORLD JN5121-EK000 Demonstration Application User Guide JN-UG-3001 Revision 1.2 23-Feb-2006 Disclaimer The contents of this document are subject to change without notice. Customers

More information

Application Note: JN-AN-1134

Application Note: JN-AN-1134 Application Note: JN-AN-1134 This Application Note describes how to create a wireless UART link between the UARTs on two Jennic JN5148 evaluation kit boards. The features of the application include: Replacement

More information

Wireless Audio Hardware Reference Manual

Wireless Audio Hardware Reference Manual Wireless Audio Hardware JN-RM-2033 Revision 1.4 11-Jan-2008 Jennic Wireless Audio Hardware 2 Jennic 2008 JN-RM-2033 v1.4 Wireless Audio Hardware Jennic Contents About this Manual 4 Organisation 4 Conventions

More information

Preliminary Data Sheet JN5121-xxx-Myy IEEE /ZigBee Module Family

Preliminary Data Sheet JN5121-xxx-Myy IEEE /ZigBee Module Family Preliminary Data Sheet JN5121-xxx-Myy IEEE802.15.4/ZigBee Module Family Overview The JN5121-xxx-Myy is a family of surface mounted modules that enable users to implement IEEE802.15.4 or ZigBee compliant

More information

Application Note: JN-AN-1003 JN51xx Boot Loader Operation

Application Note: JN-AN-1003 JN51xx Boot Loader Operation Application Note: JN-AN-1003 JN51xx Boot Loader Operation This Application Note describes the functionality of the boot loaders for the NXP, JN514x and wireless microcontrollers, covering the following

More information

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008 Freescale BeeStack Documentation Overview Document Number: BSDO Rev. 1.0 04/2008 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale

More information

JN516x-EK004 Evaluation Kit User Guide

JN516x-EK004 Evaluation Kit User Guide JN516x-EK004 Evaluation Kit JN-UG-3108 Revision 2.0 20 June 2016 JN516x-EK004 Evaluation Kit 2 NXP Semiconductors 2016 JN-UG-3108 v2.0 JN516x-EK004 Evaluation Kit Contents Preface 5 Organisation 5 Conventions

More information

DR1198 JN5168 USB Dongle Reference Manual

DR1198 JN5168 USB Dongle Reference Manual JN-RM-2065 Revision 1.0 17-Dec-2012 Contents About this Manual 3 Organisation 3 Conventions 3 Acronyms and Abbreviations 3 Related Documents 3 1 Introduction 4 1.1 Overview 4 1.2 Features 5 1.3 Reference

More information

Application Note: JN-AN-1236

Application Note: JN-AN-1236 Application Note: JN-AN-1236 ZigBee 3.0 Migration Guidelines for JN517x This Application Note provides guidance on migrating ZigBee PRO applications, initially designed for the NXP JN516x wireless microcontrollers,

More information

ZigBee USB Dongle ZSB series Data Sheet

ZigBee USB Dongle ZSB series Data Sheet ZigBee USB Dongle ZSB series Data Sheet DS-ZSB Meshreen Content 1. Introduction... 3 1.1 Variants... 3 1.2 Key Features... 3 1.3 Applications... 3 2. Block Diagram... 4 3. Specification... 5 3.1 General

More information

BeyondStudio for NXP Installation and User Guide

BeyondStudio for NXP Installation and User Guide BeyondStudio for NXP JN-UG-3098 Revision 1.1 17 September 2014 BeyondStudio for NXP 2 NXP Laboratories UK 2014 JN-UG-3098 v1.1 BeyondStudio for NXP Contents Preface 5 Organisation 5 Conventions 6 Acronyms

More information

BeyondStudio for NXP Installation and User Guide

BeyondStudio for NXP Installation and User Guide BeyondStudio for NXP JN-UG-3098 Revision 1.2 13 March 2015 BeyondStudio for NXP 2 NXP Laboratories UK 2015 JN-UG-3098 v1.2 BeyondStudio for NXP Contents Preface 5 Organisation 5 Conventions 6 Acronyms

More information

ZigBee Green Power (for ZigBee 3.0) User Guide

ZigBee Green Power (for ZigBee 3.0) User Guide ZigBee Green Power (for ZigBee 3.0) JN-UG-3119 Revision 1.1 6 July 2016 ZigBee Green Power (for ZigBee 3.0) 2 NXP Laboratories UK 2016 JN-UG-3119 v1.1 ZigBee Green Power (for ZigBee 3.0) Contents Preface

More information

JenNet-IP EK040 Evaluation Kit User Guide

JenNet-IP EK040 Evaluation Kit User Guide JenNet-IP EK040 Evaluation Kit JN-UG-3089 Revision 1.2 9 November 2012 JenNet-IP EK040 Evaluation Kit 2 NXP Laboratories UK 2012 JN-UG-3089 v1.2 JenNet-IP EK040 Evaluation Kit Contents About this Manual

More information

JN517x-DK005 Development Kit User Guide

JN517x-DK005 Development Kit User Guide JN517x-DK005 Development Kit JN-UG-3121 Revision 1.1 8 February 2017 JN517x-DK005 Development Kit 2 NXP Semiconductors 2017 JN-UG-3121 v1.1 JN517x-DK005 Development Kit Contents Preface 5 Organisation

More information

RELEASE NOTES. JN517x ZigBee 3.0 SDK JN-SW Build NXP Semiconductors

RELEASE NOTES. JN517x ZigBee 3.0 SDK JN-SW Build NXP Semiconductors RELEASE NOTES JN517x ZigBee 3.0 SDK JN-SW-4270 Build 1746 NXP Semiconductors For the contact details of your local NXP office or distributor, refer to: www.nxp.com CONTENTS RELEASE SUMMARY (v1746) 3 1.

More information

RELEASE NOTES JN51xx SDK Toolchain Installer

RELEASE NOTES JN51xx SDK Toolchain Installer RELEASE NOTES JN51xx SDK Toolchain Installer JN-SW-4041 Related Products and Versions This document relates to: JN51xx SDK Toolchain Installer (JN-SW-4041) v1.1 CONTENTS SDK SOFTWARE COMPONENTS 3 SUPPORTED

More information

Wiz ISP Program User Guide

Wiz ISP Program User Guide Wiz ISP Program User Guide Version 1.0 2011 WIZnet Co.,Ltd. All Rights Reserved. For more information, please visit our website at http://www.wiznet.co.kr Copyright 2011 WIZnet Co.,Ltd. All rights reserved.

More information

ZigBee PRO Stack User Guide

ZigBee PRO Stack User Guide ZigBee PRO Stack JN-UG-3101 Revision 1.5 26 April 2017 ZigBee PRO Stack 2 NXP Laboratories UK 2017 JN-UG-3101 v1.5 ZigBee PRO Stack Contents Preface 13 Organisation 13 Conventions 14 Acronyms and Abbreviations

More information

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed herein are for reference purposes only. All information discussed

More information

WICED. WICED Development System. Factory Programming Application Note

WICED. WICED Development System. Factory Programming Application Note WICED WICED Development System 5300 California Avenue Irvine, California, 92677 Phone: 949-926-5000 Fax: 949-926-5203 WICED-AN800-R November 5, 2013 Revision History Revision History Revision Date Change

More information

GETTING STARTED GUIDE

GETTING STARTED GUIDE Drop-in Networking GETTING STARTED GUIDE Drop-in Networking 90000873-88_B Digi International Inc.2007. All Rights Reserved. Digi, Digi International, the Digi logo, ConnectPort, Watchport, and XBee, are

More information

Contents About This Guide Audience Revision History

Contents About This Guide Audience Revision History Contents About This Guide............................. 2 Audience............................................... 2 Revision History......................................... 2 Conventions............................................

More information

Radiocrafts Embedded Wireless Solutions

Radiocrafts Embedded Wireless Solutions Selecting an IEEE 802.15.4, 2.4 GHz wireless solution By Ø.Nottveit Abstract Companies searching for a low power 2.45 GHz wireless solution will find many different technical solutions. This white paper

More information

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package BlueNRG-1, BlueNRG-2 DK SW package Data brief Features Bluetooth SMART SW package supporting BlueNRG-1 and BlueNRG-2 Bluetooth low energy (BLE) systems-on-chip BlueNRG-1 Navigator and BlueNRG-2 Navigator

More information

Evaluation Board User Guide UG-047

Evaluation Board User Guide UG-047 Evaluation Board User Guide UG-047 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com Evaluating the ADT7310/ADT7410 Temperature Sensors

More information

56F8300 BLDC Motor Control Application

56F8300 BLDC Motor Control Application 56F8300 BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document 56F8300 16-bit Digital Signal Controllers 8300BLDCQETD Rev. 2 08/2005 freescale.com Document

More information

Daintree Light Sensor Demo Application Note

Daintree Light Sensor Demo Application Note Application Note 0011-00-16-06-000 Daintree Light Sensor Demo Application Note Daintree Light Sensor Demo Application Note Introduction Daintree Wireless Lighting Network The first time a light sensor

More information

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware User manual STM8L101-EVAL demonstration firmware 1 Introduction Note: This document describes the demonstration firmware running on the STM8L101-EVAL evaluation board. You can use it to evaluate the capabilities

More information

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction APPLICATION NOTE AT03324: Atmel REB212BSMA-EK Quick Start Guide Atmel MCU Wireless This application note briefly describes how to set up and run the pre-flashed applications supplied with the Atmel REB212BSMA

More information

RELEASE NOTES. BeyondStudio for NXP JN-SW Build NXP Semiconductors

RELEASE NOTES. BeyondStudio for NXP JN-SW Build NXP Semiconductors RELEASE NOTES BeyondStudio for NXP JN-SW-4141 Build 1308 NXP Semiconductors For the contact details of your local NXP office or distributor, refer to: www.nxp.com CONTENTS BeyondStudio for NXP Build 1308

More information

Using the Sensory NLP-5x LCD Module and LCD Sample

Using the Sensory NLP-5x LCD Module and LCD Sample Using the Sensory NLP-5x LCD Module and LCD Sample DESIGN NOTE I. Overview The Sensory NLP-5x has on-board control logic which can drive an external static or multiplexed Liquid Crystal Display (LCD) of

More information

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer Freescale Semiconductor Application Note Document Number: AN2863 Rev. 0, 12/2007 etpu General Function Set (Set 1) by David Paterson MCD Applications Engineer 1 Introduction This application note complements

More information

AN_357. Android Java D2xx Demo Application for FT4222

AN_357. Android Java D2xx Demo Application for FT4222 Future Technology Devices International Ltd. AN_357 Android Java D2xx Demo Application for FT4222 Document Reference No.:FT_001142 Version 1.0 Issue Date: 2015-01-21 This document provides the application

More information

Future Technology Devices International Ltd. TN_161 FT4222H Errata Technical Note

Future Technology Devices International Ltd. TN_161 FT4222H Errata Technical Note Future Technology Devices International Ltd TN_161 FT4222H Errata Technical Note Issue Date: 2018-03-28 The intention of this errata technical note is to give a detailed description of known functional

More information

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter CIRCUITS ITEGRATED CIRCUITS ABSTRACT This application note illustrates the use of an 87LPC76x microcontroller from Philips Semiconductors as an infrared RC5 remote control transmitter. Using the Philips

More information

1 General Description

1 General Description AS5030 AS5011 8 Low BIT PROGRAMMABLE power Integrated Hall HIGH IC SPEED for MAGNETIC human interface ROTARY applications ENCODER DEMOBOARD DEMOBOARD OPERATION AND MANUAL SOFTWARE OPERATION MANUAL 1 General

More information

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0 1.0 Features Four operating modes 16-bit PWM Timer 16-bit PPG Timer 16/32-bit Reload Timer 16/32-bit PWC Timer Trigger generation for ADC conversion General The Peripheral Driver Library (PDL) Base Timer

More information

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards User manual Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards Introduction The STEVAL-IDB007V1 is an evaluation board based on BlueNRG-1, a low power Bluetooth Smart System on

More information

S1C17 Family EEPROM Emulation Library Manual

S1C17 Family EEPROM Emulation Library Manual S1C17 Family EEPROM Emulation Library Manual Rev.1.1 Evaluation board/kit and Development tool important notice 1. This evaluation board/kit or development tool is designed for use for engineering evaluation,

More information

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers IAR EWARM Quick Start for Holtek s Microcontrollers Revision: V1.10 Date: August 25, 2011 Table of Contents 1 Introduction... 5 About the Quick Start Guide... 5 About the IAR EWARM... 6 2 System Requirements...

More information

SC-01 Data Logger Management Program Operator s Manual

SC-01 Data Logger Management Program Operator s Manual SC-01 Data Logger Management Program Operator s Manual Part Number: 71-0138RK Revision: P1 Released: 9/12/07 www.rkiinstruments.com Warranty RKI Instruments, Inc., warrants gas alarm equipment sold by

More information

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note Release note SimpleMAC library for STM32W108xx kits 1 Introduction About this release note This release note is related to the SimpleMAC library which supports all the available STM32W108xx kits. This

More information

RC1140-RC232 Firmware Product Change Notification

RC1140-RC232 Firmware Product Change Notification Firmware Product Change Notification Product Change Notification This document describes firmware product changes for. Further details are described in the latest revision of the Data Sheet, User Manual,

More information

Silica JenNode - JN5168 demobaord Documentation

Silica JenNode - JN5168 demobaord Documentation Silica JenNode - JN5168 demobaord Documentation Release 0 Silica Mar 20, 2017 Contents 1 INTRODUCTION 3 1.1 Installing Jennic Developement Suite.................................. 4 1.1.1 First step............................................

More information

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip DT0109 Design tip How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode Main components BlueNRG-1 BlueNRG-2 Bluetooth Low Energy wireless system-on-chip Bluetooth Low Energy

More information

APPLICATION NOTE. Atmel AVR2131: Lightweight Mesh Getting Started Guide. Atmel MCU Wireless. Features. Description

APPLICATION NOTE. Atmel AVR2131: Lightweight Mesh Getting Started Guide. Atmel MCU Wireless. Features. Description APPLICATION NOTE Atmel AVR2131: Lightweight Mesh Getting Started Guide Features Atmel Lightweight Mesh Software Development Kit (SDK) WSNDemo sample application Custom applications Atmel MCU Wireless Description

More information

Hydrogen Gas Smart Sensing Module. Features

Hydrogen Gas Smart Sensing Module. Features Resistance (ohms) Sensor Resistance Ratio (R s /R 50 ) Hydrogen Gas Smart Sensing Module SMOD701 Datasheet Description IDT s SMOD701 is a complete smart sensing solution for measuring hydrogen (H 2 ) gas

More information

RFID SIP Firmware Update Instructions for minipad / rpad

RFID SIP Firmware Update Instructions for minipad / rpad RFID SIP Firmware Update Instructions for minipad / rpad This document contains information about how to upgrade the RFID SIP Firmware on minipad and rpad devices. Please follow carefully the instructions

More information

An Automatic Temperature Control System Using RZK

An Automatic Temperature Control System Using RZK Application Note An Automatic Temperature Control System Using RZK AN019902-0908 Abstract This application note demonstrates how an application running on Zilog s Real-Time Kernel (RZK) can be used to

More information

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide Freescale Semiconductor, Inc. KSDKKL03UG User s Guide Rev. 1.0.0, 09/2014 Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide 1 Introduction This document describes the hardware and software

More information

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers 56F805 BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document 56F800 6-bit Digital Signal Controllers 805BLDCQETD Rev. 08/2005 freescale.com BLDC Motor Control

More information

ZWIR4532 Evaluation Kit User Manual. Description. Features. Kit Contents

ZWIR4532 Evaluation Kit User Manual. Description. Features. Kit Contents Description The ZWIR4532 Development Kit is a set of three circuit boards intended as an evaluation and application development platform for the ZWIR4532 6LoWPAN module. Each Development Board provides

More information

Thermal Infrared Camera. ARTCAM-THERMO series INSTRUCTION BOOKLET

Thermal Infrared Camera. ARTCAM-THERMO series INSTRUCTION BOOKLET August 1, 2012 Ver1.00 Thermal Infrared Camera ARTCAM-THERMO series INSTRUCTION BOOKLET QVGA ARTCAM-320-THERMO-WOM Series ARTCAM-320-THERMO-LAN3 Series VGA ARTCAM-640-THERMO-WOM Series ARTRAY CO., LTD.

More information

Flammable Gas Smart Sensing Module

Flammable Gas Smart Sensing Module Flammable Gas Smart Sensing Module SMOD711 Datasheet Description IDT s SMOD711 is a complete smart sensing solution for flammable gases in atmospheres. The module, consisting of the SMOD smart sensing

More information

NPort Z2150 User s Manual

NPort Z2150 User s Manual NPort Z2150 User s Manual Third Edition, July 2015 www.moxa.com/product 2015 Moxa Inc. All rights reserved. NPort Z2150 User s Manual The software described in this manual is furnished under a license

More information

AN10428 UART-SPI Gateway for Philips SPI slave bridges

AN10428 UART-SPI Gateway for Philips SPI slave bridges UART-SPI Gateway for Philips SPI slave bridges Rev. 01 7 March 2006 Application note Document information Info Keywords Abstract Content UART-SPI Gateway, UART to SPI, RS-232 to SPI The UART-SPI Gateway

More information

USB-to-Serial Console Adapter

USB-to-Serial Console Adapter USB-to-Serial Console Adapter USER MANUAL UC232B EMC Information Federal Communication Commission Interference Statement: This equipment has been tested and found to comply with the limits for a Class

More information

uip, TCP/IP Stack, LPC1700

uip, TCP/IP Stack, LPC1700 Rev. 01 30 June 2009 Application note Document information Info Keywords Content uip, TCP/IP Stack, LPC1700 Abstract This application note describes the steps and details of porting uip (a light-weight

More information

Using IIC to Read ADC Values on MC9S08QG8

Using IIC to Read ADC Values on MC9S08QG8 Freescale Semiconductor Application Note AN3048 Rev. 1.00, 11/2005 Using IIC to Read ADC Values on MC9S08QG8 by Donnie Garcia Application Engineering Microcontroller Division 1 Introduction The MC9S08QG8

More information

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0 1.0 Features Configures the Multi-Function Serial (MFS) Interface to one of the following modes: UART (Asynchronous normal serial interface) Clock synchronous serial interface (SPI and I 2 S can be supported)

More information

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit QN908x Quick Start Rev.2.0 21 March 2018 User manual Document information Info Keywords Abstract Content QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit This Quick Start document

More information

Bridgetek Pte Ltd. Datasheet CleO35-WIFI Module. 1 Introduction. 1.1 Features. CleO35-WIFI Module Datasheet Version 1.0

Bridgetek Pte Ltd. Datasheet CleO35-WIFI Module. 1 Introduction. 1.1 Features. CleO35-WIFI Module Datasheet Version 1.0 Document Reference No.:BRT_000117 Clearance No.:BRT#082 Bridgetek Pte Ltd Datasheet CleO35-WIFI Module 1 Introduction The CleO35-WIFI module is a Wi-Fi accessory for the CleO series the smart TFT display

More information

Workshop 4 Installation INSTALL GUIDE. Document Date: February 4 th, Document Revision: 1.1

Workshop 4 Installation INSTALL GUIDE. Document Date: February 4 th, Document Revision: 1.1 INSTALL GUIDE Workshop 4 Installation Document Date: February 4 th, 2013 Document Revision: 1.1 Description This document describes how to install and configure Workshop 4, and how to install the driver

More information

MPR083 Proximity Evaluation Kit User s Guide

MPR083 Proximity Evaluation Kit User s Guide Freescale Semiconductor User s Guide Rev 2, 04/2008 MPR083 Proximity Evaluation Kit User s Guide by: Laura Salhuana Introduction This guide will aid you in connecting the MPR083 Evaluation Kit Board to

More information

PAN1740 Design Guide

PAN1740 Design Guide 1 of 14 PAN1740 2 of 14 TABLE OF CONTENTS 1. Scope of this Document... 3 2. Key benefits when using PAN1740... 3 3. Bluetooth Low Energy... 3 4. Description PAN1740... 4 5. Block Diagram PAN1740 Module...

More information

UM0562 User manual. SPMB250-A1EVAL demonstration kit user manual and installation guide. Introduction. Remote motion monitoring.

UM0562 User manual. SPMB250-A1EVAL demonstration kit user manual and installation guide. Introduction. Remote motion monitoring. User manual SPMB250-A1EVAL demonstration kit user manual and installation guide Introduction The SPMB250-A1 is a ready-to-use wireless acceleration sensor based on a 802.15.4- compliant radio transceiver.

More information

The BlueNRG-1, BlueNRG-2 BLE OTA (over-the-air) firmware upgrade

The BlueNRG-1, BlueNRG-2 BLE OTA (over-the-air) firmware upgrade Application note The BlueNRG-1, BlueNRG-2 BLE OTA (over-the-air) firmware upgrade Introduction This application note describes the BlueNRG-1, BlueNRG-2 over-the-air (OTA) firmware upgrade procedures running

More information

S1C17 Family Application Note S1C17 Series Boot Loader Sample Software

S1C17 Family Application Note S1C17 Series Boot Loader Sample Software S1C17 Family Application Note S1C17 Series Boot Loader Sample Software Rev.1.0 Evaluation board/kit and Development tool important notice 1. This evaluation board/kit or development tool is designed for

More information

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description TFT-LCD panel demonstration board based on the STM32 as LCD controller Data brief Features Displays images on a TFT-LCD using the STM32 as LCD controller Includes a slideshow of images to demonstrate static

More information

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface. TOOLSTICK USER S GUIDE 1. Kit Contents The ToolStick kit contains the following items: ToolStick Silicon Laboratories Evaluation Kit IDE and Product Information CD-ROM. CD content includes: Silicon Laboratories

More information

AN4869 Application note

AN4869 Application note Application note BlueNRG-1, BlueNRG-2 BLE OTA (over-the-air) firmware upgrade Introduction This application note describes the BlueNRG-1 over-the-air (OTA) firmware upgrade procedures running on top of

More information

S32 SDK for Power Architecture Release Notes Version EAR

S32 SDK for Power Architecture Release Notes Version EAR S32 SDK for Power Architecture Release Notes Version 0.8.0 EAR 2017 NXP Contents 1. DESCRIPTION...3 2. SOFTWARE CONTENTS...4 3. DOCUMENTATION...4 4. EXAMPLES...5 5. SUPPORTED HARDWARE AND COMPATIBLE SOFTWARE...6

More information

AN2361 Application note

AN2361 Application note AN2361 Application note Interfacing with the STR91x software library using Configuration and Programming Software (CAPS) Introduction STR91x microcontrollers offer extremely flexible configuration of I/O

More information

EZ430-C9. Getting Started with Kionix EZ430-C9 Evaluation Board for the Texas Instruments MSP430 USB Stick Development Tool

EZ430-C9. Getting Started with Kionix EZ430-C9 Evaluation Board for the Texas Instruments MSP430 USB Stick Development Tool Getting Started with Kionix EZ430-C9 Evaluation Board EZ430-C9 Getting Started with Kionix EZ430-C9 Evaluation Board for the Texas Instruments MSP430 USB Stick Development Tool 36 Thornwood Dr. Ithaca,

More information

SN8F5000 Starter-Kit User Manual

SN8F5000 Starter-Kit User Manual SONiX Technology Co., Ltd. User Manual 8051-based Microcontroller 1 Overview of Starter Kit provides easy-development platform. It includes SN8F5000 family real chip and I/O connectors to input signal

More information

GENERAL DESCRIPTION FEATURES

GENERAL DESCRIPTION FEATURES January 2010 Rev. 1.0.1 GENERAL DESCRIPTION The is designed to allow individuals to program the NVM (Non-Volatile Memory) in the XRP7704, XRP7708, XRP7740, and XRP7714. The board consists of a microcontroller

More information

user guide January 2006 CSR Cambridge Science Park Milton Road Cambridge CB4 0WH United Kingdom Registered in England

user guide January 2006 CSR Cambridge Science Park Milton Road Cambridge CB4 0WH United Kingdom Registered in England user guide January 2006 CSR Cambridge Science Park Milton Road Cambridge CB4 0WH United Kingdom Registered in England 4187346 Tel: +44 (0)1223 692000 Fax: +44 (0)1223 692001 www.csr.com Contents Contents

More information

User Manual. LPC-StickView V3.0. for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick. Contents

User Manual. LPC-StickView V3.0. for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick. Contents User Manual LPC-StickView V3.0 for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick Contents 1 What is the LPC-Stick? 2 2 System Components 2 3 Installation 3 4 Updates 3 5 Starting the LPC-Stick View Software

More information

Converting Firmware Projects to CoIde and IAR Embedded Workbench for ARM

Converting Firmware Projects to CoIde and IAR Embedded Workbench for ARM APPLICATION NOTE Converting Firmware Projects to CoIde and IAR Embedded Workbench for ARM TM Marc Sousa Senior Manager, Systems and Firmware www.active-semi.com Copyright 2015 Active-Semi, Inc. TABLE OF

More information

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx. User manual Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx Introduction This document describes how to use the demonstration firmware for the DMX-512

More information

Capable of adjusting detection timings for start bit and data bit

Capable of adjusting detection timings for start bit and data bit PSoC Creator Component Datasheet Remote Control (PDL_RC) 1.0 Features Up to 2 Channels HDMI-CEC/ High Definition Multimedia Interface Consumer Electronics Control transmitter/receiver SIRCS/Sony Infrared

More information

Part Number Density Product Type Operation Temperature. W25Q80NESNIG 8Mb 1.2V Serial NOR Flash Memory Industrial (-40 C to +85 C)

Part Number Density Product Type Operation Temperature. W25Q80NESNIG 8Mb 1.2V Serial NOR Flash Memory Industrial (-40 C to +85 C) 1. INTRODUCTION This describes how to use the. The mbed enabled MCU board, which has an Arduino UNO R3 compatible terminal, is used in this description. 2. GENERAL DESCRIPTION The from Winbond Electronics

More information

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR AVR031: Getting Started with ImageCraft C for AVR Features How to Open a New Project Description of Option Settings Writing and Compiling the C Code How to Load the Executable File into the STK200 Starter

More information

AT89C5131 Starter Kit... Software User Guide

AT89C5131 Starter Kit... Software User Guide AT89C5131 Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3

More information

Skill Tester ST05 User Manual. Ver.2.0 EN SKILL TESTER ST05. Page 2 / 60

Skill Tester ST05 User Manual. Ver.2.0 EN SKILL TESTER ST05. Page 2 / 60 USER MANUAL SKILL TESTER ST05 Page 2 / 60 Contents 1. Introduction... 5 SAFETY MEASURES AND PRECAUTIONS... 5 1.1 General Description Skill Tester ST05... 8 1.2 Display Description... 2 1.3 The splash-proof

More information

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers Keil TM MDK-ARM Quick Start for Holtek s Microcontrollers Revision: V1.10 Date: August 25, 2011 Table of Contents 1 Introduction... 5 About the Quick Start Guide... 5 About the Keil MDK-ARM... 6 2 System

More information

Radiocrafts Embedded Wireless Solutions

Radiocrafts Embedded Wireless Solutions User Manual Table of Contents TABLE OF CONTENTS... 1 INSTALLATION GUIDE... 2 SCREEN SETTINGS... 2 INTRODUCTION... 3 CONNECTING TO THE MODULE... 3 MODULE QUICK SETUP TAB... 4 MBUS PACKET GENERATOR TAB...

More information

IT900 STK4 (Starter Kit)

IT900 STK4 (Starter Kit) PRELIMINARY IT900 STK4 (Starter Kit) February 2011 Copyright YITRAN Communications Ltd. PRELIMINARY information concerns products in the formative or design phase of development. Characteristic data and

More information

ADM-PCIE-9H7 Support & Development Kit Release: 0.1.1

ADM-PCIE-9H7 Support & Development Kit Release: 0.1.1 ADM-PCIE-9H7 Support & Development Kit Release: 0.1.1 Document Revision: 1.1 3rd January 2019 2019 Copyright Alpha Data Parallel Systems Ltd. All rights reserved. This publication is protected by Copyright

More information

UM0894 User manual. STM32W-SK and STM32W-EXT starter and extension kits for STM32W108xx. Introduction

UM0894 User manual. STM32W-SK and STM32W-EXT starter and extension kits for STM32W108xx. Introduction User manual STM32W-SK and STM32W-EXT starter and extension kits for STM32W108xx Introduction The STM32W-SK and STM32W-EXT starter and extension kits are easy to use tools for the STM32W108xx microcontrollers.

More information

Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual

Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual 4T 8051 8-bit Microcontroller Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual The information described in this document is the exclusive intellectual property of Nuvoton Technology

More information

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage Freescale Semiconductor Document Number: AN4495 Application Note Rev. 0, 3/2012 Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage by: Tomas Kulig Automotive and Industrial Solutions

More information

UnRegistered MB39C602 LED LIGHTING SYSTEM BULB 9W ZIGBEE CONTROL USER MANUAL. Fujitsu Semiconductor Design (Chengdu) Co. Ltd.

UnRegistered MB39C602 LED LIGHTING SYSTEM BULB 9W ZIGBEE CONTROL USER MANUAL. Fujitsu Semiconductor Design (Chengdu) Co. Ltd. Fujitsu Semiconductor Design (Chengdu) Co. Ltd. User Manual ANA-UM-500001-E-10 MB39C602 LED LIGHTING SYSTEM BULB 9W ZIGBEE CONTROL USER MANUAL MB39C601 LED LIGHTING SYSTEM BULB 9W ZIGBEE CONTROL Revision

More information

AD5669R - Microcontroller No-OS Driver

AD5669R - Microcontroller No-OS Driver One Technology Way P.O. Box 9106 Norwood, MA 02062-9106 Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com AD5669R - Microcontroller No-OS Driver Supported Devices AD5669R Evaluation Boards EVAL-AD5669RSDZ

More information

Windows Device Driver and API Reference Manual

Windows Device Driver and API Reference Manual Windows Device Driver and API Reference Manual 797 North Grove Rd, Suite 101 Richardson, TX 75081 Phone: (972) 671-9570 www.redrapids.com Red Rapids Red Rapids reserves the right to alter product specifications

More information