Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    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
    • Optical Sensing
    • Precision Technology Signal Chains
    • 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

    Recent Discussions

    • Pluto + GNURADIO frequency change
    • Pluto SDR
    • pluto sdr pyadi-iio continous iq recording
    • attribute error
    • gps-sdr-sim is not working with my ADALM-PLUTO

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Webinar Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    • Webinar Accelerate Your Design With a 2 to 24 GHz Wideband Transceiver Reference Design
    • How to Design an Optimized Motion Control System for Intelligent Edge Based Surveillance Camera
    • How to Enhance High Precision Current Sensing Systems
    View All
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes: Buffers and Fan Out
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

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

     

    How To Design Fieldbus Agnostic Smart Factory Sensors

     

    You Passed EMC Testing… But Wait, Is There More?

    Latest Blogs

    • The 5 Things You Need to Know about RF Matching Networks
    • Does Reliability Prediction Uncertainty Justify Mandating Two Channel Safety?
    • An Inside Look at 2022
    • Meet the Person Behind the Quizzes
    • Updates Required: Why Newer is Better
    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 Reference Library
  • Wireless Sensor Networks Reference Library
ADRadioNet Reference 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
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2023 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2023 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.