View on gh-page
This is the source code used to evaluate the TI CC110L Chipset. The objective of this evaluation was to determine the maximum distance the signal could propagate using the lowest data rate, at the max transmit power. In addition, this testbed was used to explore simple protocol(s) to implement guaranteed wireless communication packet system. This project implements the following features:
- Wireless Link using the CC110L in the ISM band + MSP430G2553
- Implements a simple SEND-ACK protocol
- Implements a Flash programing feature to program device address
- Implements a simple packet struct with a Python host interface
- Creates a very simple interrupt interface on wireless sensor to indicate a packet transmission
HAP : Home Automation Project
RSSI : Received Signal Strength Indicator (dBm)
LQI : Link Quality Indicator
This testbed has the following components:
- hapTriggerSensor
- The sensor will transmit the status when one of the two scenario:
- An Interrupt on the pin of MSP430 Microcontroller
- The hapSimpleHub requests an update
- hapSimpleHub
- This receives the packets from a number of wireless sensors and sends status to the computer via the serial port. The status information includes: RSSI, LQI, Temperature, and a counter. The counter is used to determine if the hapSimpleHub missed a packet.
- Host
- This testbed used a Raspberry PI as the host. The host application was written in Python to display and record the status information for all received packets.
TI MSP430 LaunchPad Value Line Development Kit
Energia IDE (similar to Arduino IDE)
The Energia IDE was used to compile and program the MSP430 LaunchPad using the CC110L Energia Library. I made some slight changes to the original CC110L library to increase transmit power and to lower the data rate to improve link performance. The CC110L has been provided in the Github repository.
The wireless protocol uses acknowledgments, therefore the hapTriggerSensor will attempt to re-transmit the packet several times if an acknowledgement packet was not received. This will evaluate the link performance when operating at the edge of service. The hapSimpleHub sends status information through the serial port when a received packet has been demodulated without errors.
A simple Python script communicates to the hapTiggerSensor through the serial port. The Python script could be hosted on a Windows PC, but for this experiment a Raspberry PI was used as the host computer.
odelay.io : Meaning to agree wholeheartedly or to express enthusiasm for an idea or object. Equivolent to "Right on" or "Cool".
