Analog.com Analog Dialogue Wiki English 简体中文 日本語
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Forums

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications

    Recent Discussions

    • Pluto is not receiving data
    • ADALM-pluto sampling frequency
    • ADALM PLUTO SDR
    • Bad FIT image format and MSD mounting errors in firmware built for Sidekiq Z2
    • set the sample rate to 30MHz or the maximum that usb2.0 allows

    Places

    • ADI Education Home
    • ADI Webinars
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Latest Webinars

    • Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications
    • Design Efficient Power Solutions for Battery-powered Applications
    • Shunt-based Energy Metering in High-Power Applications
    • Isolating GigaSpeed: Unlocking Data Integrity for USB and HDMI Communication
    • Extend Battery Life and Maximize Performance - Let Supervisors Do The Work
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ245 on Fossil Dating with Carbon14
    View All

    Places

    • Community Help
    • Logic Lounge
    • The Weekly Brew

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Join the Analog Devices IEEE Radar Challenge

     

    Seeing is Believing but Smart Surveillance Cameras Let You Speak and Listen Too!

    Latest Blogs

    • We are Celebrating a Milestone on EngineerZone: Meet Our 100K Member!
    • How to Raise the Resolution of an Optical Motor Encoder without Changing the Disk
    • The Changing Nature of Logistics and Retail Automation
    • Variable Speed Drive 101
    • How to Optimize Voltage Regulators for Powering an Audio Amplifier
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
ADRadioNet Library
  • Wireless Sensor Networks Library
ADRadioNet Library
Documents Identifying sensors enabled and sensors data, from a data packet of End Point in a network
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • ADRadioNet for ADuCRF101
  • ADuCRF101 demodulation principle?
  • ADuCRF101 Shows up as "Unknown Device" in ADRadioNet when i click "Find Devices"
  • advantges and disadvantages between the EV-ADRN-WSN-1Z and EV-ADRN WSN-2Z?
  • Are the devices in the evaluation kit programmed and configured before hand
  • can't find the flash programmer tool in the ADRadioNet package
  • Default configuration settings in the evaluation demo
  • Dose ADI have detailed document for ADradioNet?
  • EVAL-ADF7XXXMB4Z Gerber file
  • EVAL-ADUCRF101 add sensor
  • FCC Certification
  • +Frequently Asked Q's
  • how can create a graphic in real time with ev adrn wsn 1z ?
  • How can decrease a sleep time, down one second? ADuCRF101MK
  • How can I capture sensor data and use it in my application?
  • how can install ev adrn wsn 1z on windows 10?
  • How can save the data with ev adrn wsn 1z ?
  • How do I expand my network beyond evaluation demo
  • How the payload in ADRadioNet protocol is encoded
  • How to configure the sensor on Bunch WSN?
  • How to Create alternative application to AnodeCP tool?
  • How to decipher the messages on the ANodeCenterPoint tool?
  • How to decode Temperature and humidity value from Bunch sensor board that is seen at AnodeCP GUI?
  • How to recover the setting on EV-ADRN-WSN-1Z
  • How to wake up the EP to capture the active EP data?
  • Identifying sensors enabled and sensors data, from a data packet of End Point in a network
  • Multi-band, Multi-PHY, Multi-channel?
  • my endpoint is not acting immediately on CP commands
  • Node not joining the network after flashing with new firmware
  • port numbers in ADRadioNet?
  • programme microcontroller
  • Prolem with ADuCRF101MK, I don't see the bunch on AnodeCenterPoint
  • Question on data rate selection in router
  • Questions about the ADRadioNet, how to deploy a network?
  • Radio profiles with ADF7024
  • Unable to connect my EndPoint to the ANodeConfig tool.
  • unable to detect BUNCH EP on ANodeConfig tool with ADRadioNet01_EDKv2.0
  • Unable to detect device with ANodeConfig tool
  • Unable to see the node performance of Router
  • What is "Upstream" and "Downstream" in ADRadioNet
  • What's the difference between the WSN development kits EV-ADRN-WSN-1Z and EV-ADRN-WSN-2Z? When and where can they be ordered?
  • Will I loose my configuration settings if the device looses power?
  • WSN Bunch Node PCB Layout File
  • WSN Bunch Node sometimes cannot register

Identifying sensors enabled and sensors data, from a data packet of End Point in a network

Original Question: Identifying sensors enabled and sensors data, from a data packet of End Point in a network by sushma.r

Hi,

I have downloaded the ADRadioNet EDK, I have an issues in identifying specific sensor values in the payload displayed on the tool. Is there a way to determine form the data packets, which specific sensor values are being sent for a give End point? I am hoping that there is some way to identify specific FLOAT values as coming from a specific sensor based on the packet data alone.

 

Thanks,

sushma r

 


Verified Answer: RE: Identifying sensors enabled and sensors data, from a data packet of End Point in a network by harishkumarkatam

Hi Sushma,

The specific sensor values that are being sent from a given node can be determined by the "sensor mask" value. This value is present in the packet sent from the node. The format of the two byte sensor mask is given below. The feature of sensor mask is added in the ADRadioNet EDKv2.0 version of code.

 

Users can download the latest code from the download link from ADRadioNet EngineerZone  page as shown. (or from www.analog.com/wsn)

Bits

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Sensor

BMP280

ADIS16480

VOS

PModJSTK

ADT7310

EVAL_POT

PIR

ALS

AD7151

SHT21

ADXL345

ADXL362

ADT75

LED

 

In the ADRadioNet EDKv2.0, the above sensor mask is assumed. If some sensors are to enabled in a specific node, those will be enabled in the sensor mask register. The sensor data corresponding to the enabled sensors will be available in the order (from LSB side). The length of the each sensor payload is defined a priori (for example, the accelerometer sensor will have 3 float values corresponding to x, y & z).

Please find the example sensor information below captured at ANodeCenterPoint tool by enabling the following sensors

    • ADT75 --> Temperature
    • ADXL362 --> Accelerometer
    • SHT21--> Temperature and Relative Humidity
    • ALS --> Ambient Light Sensor APDS9005

The sensor data is followed by statistics. The sensor data is highlighted in different colors above.

Yellow --> INT_MARK

Light Green --> SINGLE_MARK

Red --> Sensor Enable Mask

Dark Green --> Temperature Data

Dark Yellow --> Accelerometer (X, Y and Z axis)

Grey --> Temperature and Relative Humidity

Pink --> Ambient Light Sensor APDS9005

 

The above example sensor enable mask (0x0056) indicates the ADT75, ADXL362, SHT21 and ALS (APDS9005) sensors are enabled. The below table indicates how the value of mask is calculated.

Sensor

BMP280

ADIS16480

VOS

PModJSTK

ADT7310

EVAL_POT

PIR

ALS

AD7151

SHT21

ADXL345

ADXL362

ADT75

LED

0x0056

0

0

0

0

0

0

0

0

0

1

0

1

0

1

1

0

0000000001010110 = 86 = 0x56

The sensor data representation at “Network overview” window

Sensor Data

INT[0]

Sensor Enable Mask

FLOAT[0]

ADT75 Temperature

FLOAT[1]

ADXL362 X-axis

FLOAT[2]

ADXL362 Y-axis

FLOAT[3]

ADXL362 Z-axis

FLOAT[4]

SHT21 Temperature

FLOAT[5]

SHT21 Relative Humidity

FLOAT[6]

ALS (APDS9005)

You may choose to change the order of sensors and create your own sensor mask as desired.This requires a little bit of code modifications.

 

Hope this helps. Please get back if you need any further clarification

 

Thanks,

Harish

  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
myAnalog

Interested in the latest news and articles about ADI products, design tools, training and events?

Go to myAnalog
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
  • Cookie Settings