Version 12 (modified by ojas, 14 years ago) (diff)

--

Texas Instruments eZ430-Chronos Wireless Watch

/export/HEAD/images/EZ430-Chronos.png

Demo Videos

Description

From TI's EZ430-Chronos Wiki Page:

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

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.

Purchasing

The eZ430-Chronos watch can be purchased directly from TI for $49. The watch works out of the box with this plugin and does not require any custom firmware or additional hardware.

Functionality

This plugin currently provides access to 3 of the watches hardware buttons: *, #, and UP (depicted with an upwards pointing arrow on the watch). Upon installation, the plugin defines a new device which displays the current status of the buttons:

/export/HEAD/images/device.png

Pressing one of the above 3 buttons on the watch toggles the device's corresponding button state. The button states can be directly used to trigger events:

/export/HEAD/images/event.png

The watch offers plenty more, including an integrated 3-axis accelerometer, temperature sensor, and pressure sensor. If there is enough interest, I may add support for these features in the plugin.

Installation

These instructions are for Vera releases 1.1.1047 and up.

Hardware & Driver

Before setting up the plugin, a driver for the watch's USB dongle must be enabled.

  1. Locate the USB RF dongle supplied with the watch (the object in the lower right corner of the image above), and plug the dongle into one of the USB ports on your Vera device.
  1. If you have not already, enable SSH access to your Vera, and establish an SSH connection (see http://wiki.micasaverde.com/index.php/Advanced_Commands).
  1. Enter the following commands over the SSH connection:
    echo "vendor:0451 product:16a6" > /etc/cmh/serproxy.ports
    
    echo "usbserial vendor=0x0451 product=0x16a6" > /etc/modules.d/60-usb-serial
    
    mv /etc/modules.d/60-usb-acm /etc/modules.d/70-usb-acm
    
  1. You should now reboot your Vera as follows. Select the Advanced icon from the toolbox and then the Net & Wi-Fi tab:

/export/HEAD/images/reboot.png

Click the Reboot button as indicated above.

Software

Next you may install the software for the plugin and create and setup the eZ430-Chronos device on your Vera.

  1. Download the following files (links are to latest release version):
  1. Upload the files to your Vera by selecting the MiOS developers icon from the toolbox and then the Luup files tab:

/export/HEAD/images/upload.png

Select the above files for upload, check the Restart Luup after upload box, and click GO.

Device configuration

With the hardware and software in place, all that remains is creating and configuring the device.

  1. Create a new instance of the eZ430-Chronos device by selecting the MiOS developers icon from the toolbox and then the Create device tab:

/export/HEAD/images/create.png

Enter D_eZ430Chronos.xml as the UpnpDevFilename, and a name for your new device as the Description.

  1. Select MiOS developers then Serial Port configuration, and assign your new device to the serial port for the USB dongle:

/export/HEAD/images/serial1.png

Select 115200 as the baud rate, and then select your new device from the Used by device dropdown list. If you have multiple serial ports, may sure you are configuring the one named usbserial.

  1. Once you select your device, you will be immediately taken to a dialog like the following:

/export/HEAD/images/serial2.png

Simply do nothing here and exit out of the dialog by clicking the X as shown above.

  1. Select SAVE and click continue. After your Vera has refreshed, if you return to the Serial Port configuration page, you should see something like:

/export/HEAD/images/serial.png

This indicates that the serial port has been assigned to your device, and at this point you are ready to test your Chronos.

Testing

  1. Toggle the # button on your Chronos until the PPt mode is enabled.
  1. Enable wireless communication by pressing the DOWN button (lower right). You should see an icon indicating that wireless transmission has been enabled.
  1. While in this mode, pressing the #, *, or UP buttons should trigger an update of the device's button status:

/export/HEAD/images/device.png

For further help with installation or troubleshooting, please see the Discussion & Troubleshooting section below.

Discussion & Troubleshooting

Please consult the following thread at the MiCasaVerde? forums:

http://forum.micasaverde.com/index.php?topic=5822.0

Release History

  • Version 1.0: March 1, 2011