Wi-Fi Mote Lab Manual - v1.0 - Final
Wi-Fi Mote Lab Manual - v1.0 - Final
Prepared by
IoT Group
Document History
Revision History
Version Description Date
1.0 Initial Document
Chapter 1
Introduction
Programming
Environment Tool
method
Windows CCS UART / JTAG
CCS
Windows UART
UNIFLASH
Chapter 2
Microcontroller Programming
The Wi-Fi Mote provided in WSNDK can be incorporated for the list of experiments
mentioned in the chapter. For more details do refer to the user manual. Each
experiment aims at the development of an application.
Experiment 1:
Title: Glowing LEDs.
Experiment 2:
Title: Toggling LED’s.
Experiment 3:
Title: Transmitting a string through UART.
This experiment writes a string into UART buffer character by character and
displays the same on to the Serial Port Terminal.
Experiment 4:
Title: Controlling LEDs blinking pattern through UART.
Experiment 5:
Title: Echo each character typed on HyperTerminal.
Experiment 6:
Title: Digital IO configuration.
Experiment 7:
Title: Timer based LED Toggle.
Chapter 3
RF Experiments
Experiment 1:
Title: Scanning the available SSID’s in the range of Wi-FI Mote.
1.1 Goal of the Experiment
The goal of the experiment is to understand how the Wi-Fi device will discover
nearby SSID to communicate with.
Experiment 2:
Title: Connect to the SSID of choice.
Experiment 3:
Title: Demonstration of a peer to peer network topology.
Experiment 4:
Title: check the connectivity to any device in the same network.
When a Wireless device want to send some data to other device via access point its
better practice to first check the connectivity between transmitter and receiver,
whether receiver is reachable from transmitter or not. For that ping can be used.
Here Wi-Fi mote will try to ping the destination IP provided via serial port terminal
and displays the result on the same
Result of the ping response on serial port terminal, it should print the no of packets
send, number of packets received and no of packets loss.
Experiment 5:
Title: Send hello world to TCP server existing in the same network
The goal of this experiment is to send some data over Wi-Fi to desktop machine
running TCP Server which is in the same network.
This experiment will set Wi-Fi Mote as a TCP Client which will first connect to the
existing network and then try to connect with the given TCP server. Once connected
it will send the data to The server which will show the data received on PC terminal.
Chapter 4
Experiments on interfacing with UbiSense
Wi-Fi Mote is provided with a 14-pin connector which allows for the direct plug-in of
UbiSense. It is a sensor board with temperature and relative humidity, light
intensity, barometric pressure, proximity sensing and buzzer. The sensors
communicate to the microcontroller through I2C protocol. I2CA0(PIN03 & PIN04) is
incorporated for I2C functionality from microcontroller viewpoint. The UARTA0 is
used for UART with the required baud rate. Buzzer requires a PWM control and can
be used for alarm generation.
Experiment 1:
Title: I2C protocol study
1.1. Goal of the Experiment
The goal of the experiment is to understand how I2C protocol works with
temperature and relative humidity sensor as the I2C peripheral.
Experiment 2:
Title: Reading Temperature and Relative Humidity value from the sensor.
2.1. Goal of the Experiment
The goal of the experiment is to understand how temperature and relative humidity
values are read from the sensor on UbiSense in an application development.
Experiment 3:
Title: Reading Light intensity value from light sensor.
3.1. Goal of the Experiment
The goal of the experiment is to understand how light intensity values are read
from the light sensor on UbiSense in an application development.
UbiSense is connected to the mote. It is provided with light sensor. This sensor
communicates with the microcontroller through I2C protocol. Measured light
intensity values are displayed on PC’s HyperTerminal.
Experiment 4:
Title: Reading of atmospheric pressure value from pressure sensor.
4.1. Goal of the Experiment
The goal of the experiment is to understand how atmospheric pressure is measured
from the pressure sensor on UbiSense in an application development.
Experiment 5:
Title: Proximity detection with IR LED.
5.1. Goal of the Experiment
The goal of the experiment is to understand how to measure the distance of the
object from the sensor board using proximity sensor in combination with IR LED
available on UbiSense in an application development.
Experiment 6:
Title: Generation of alarm through Buzzer.
6.1. Goal of the Experiment
The goal of the experiment is to understand the working of Buzzer on UbiSense in
an application development.
Chapter 5
Experiments on interfacing with Ubi-DAC
Wi-Fi Mote is provided with a 14-pin connector to which Ubi-DAC is directly
connected. It is a data acquisition card, with I/O expansion and control capability.
The devices are 12-channel ADC, RTC, Flash which communicates to the
microcontroller through I2C protocol. Relay for ON-OFF control. IO expander can
be used to increase the Digital IO capability of MCU.
Experiment 1:
Title: Timestamp with RTC
1.1. Goal of the Experiment
The goal of the experiment is to understand the functionality of RTC application
development.
Experiment 2:
Title: IO Expander.
2.1. Goal of the Experiment
The goal of the experiment is to understand the functionality of IO Expansion
capability.
Experiment 3:
Title: Relay control.
3.1. Goal of the Experiment
The goal of the experiment is to understand the functionality of Relay capability.
Experiment 4:
Title: I2C based 12-channel ADC
4.1. Goal of the Experiment
The goal of the experiment is to understand the working functionality of I2C based
ADC.
Experiment 5:
Title: EEPROM read and write
5.1. Goal of the Experiment
The goal of the experiment is to understand the working functionality of I2C based
flash for read and write operations
Chapter 6
Networking Applications
Wi-Fi mote can be used to setup and test different wireless sensor network
applications. Wi-Fi motes can be configured into different network device types like
access point, End Device and can be used to test and develop different application
and routing protocols. The access point device acts as a data aggregator or range
extender, the End Device acts as the data collector..
Experiment 1:
Title: Transmitting the measured physical value from the UbiSense Over
the Air.
1.1 Goal of the Experiment
The goal of the experiment is to understand how to measure a physical parameter
on UbiSense and transmit over the air in an application development. The physical
parameter measured can be temperature and relative humidity, light intensity,
atmospheric pressure or object distance by proximity detector.