Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am using a chronos TI watch. The output data that i get from this code is an a

ID: 3804559 • Letter: I

Question

I am using a chronos TI watch. The output data that i get from this code is an array of x y and z ( ex:x=24 y=56 z=65) from python in rasberry pie

I want to track the variables x y and z when they are true I want it to send a true statement to an arduino.

for example when x>45 y>60 z>13 when that is true send a signal to an ardunio from a rasberry pie.

Thank you

import serial import array def start Access Point return array. array ('B', [0xFF, 0x07 0x03] .tostring def accDataRequest return array.array ('B', [0xFF, 0x08, 0x07, 0x00, 0x00, 0x00, 0x00] tostring #Open COM port 6 (check your system info to see which port #yours is actually on #argments are 5 (COM6), 115200 (bit rate and timeout is set so the serial read function won't loop forever, COM ser serial Serial ('COM7', 9600, timeout 1) Start access point ser.write start Access Point while True #Send request for acceleration data Ser. Write (accDataRequest accel ser read (7) if ord (accel[0]) 0 and ord (accel [1]) 0 and ord (accel [2]) print "x: str (ord (accel [0])) y: str (ord (accel [1])) z: str (ord (accel [2])) ser. Close

Explanation / Answer

The eZ430-Chronos is a highly integrated, wearable wireless development system based for the CC430 in a sports watch. It may be used as a reference platform for watch systems, a personal display for personal area networks, or as a wireless sensor node for remote data collection.

Based on the CC430F6137 <1 GHz RF SoC, the eZ430-Chronos is a complete CC430-based development system contained in a watch. This tool features a 96 segment LCD display and provides an integrated pressure sensor and 3-axis accelerometer for motion sensitive control. The integrated wireless feature allows the Chronos to act as a central hub for nearby wireless sensors such as pedometers and heart rate monitors. The eZ430-Chronos offers temperature and battery voltage measurement and is complete with a USB-based CC1111 wireless interface to a PC.

The eZ430-Chronos watch may be disassembled to be reprogrammed with a custom application and includes an eZ430 USB programming interface.

Check out the BM Innovations Chest Strap to use the Chronos as a heart rate monitor.

For more information on other TI wireless solutions, please see the CC430 Wireless Microcontrollers home page.

The ECCN (Export Control Classification Number) classification for this tool will be the same as the included microcontrollers. To find ECCN information for a microcontroller, see the datasheet for that device.

Any use made of Texas Instruments (TI) classifications, whether it be ECCNs or HTS, is without recourse to TI and at the user’s risk. HTS and export classifications are subject to change. Your company, as the exporter of record, is responsible for determining the correct classification of any item at the time of export. Any HTS or export classification by TI is for TI’s internal use only and shall not be construed as a representation or warranty regarding the proper export classification nor relied upon to make licensing determinations.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote