mts3x0ca or mts3x0cb?

30
WSN Training: Intro to WSN & Mote Kits 1 Feb 2007 MTS3x0CA or MTS3x0CB? Probably most of you have the MTS300CBs and MTS310CBs. While they are largely identical to the MTS300CA and MTS310CA, there are two ways to distinguish them CBs have a white sticker label on them CBs have a green “jumper” wire soldered on one side of the board Take a moment to note which board you have and write that down at the front of your WSN training manual

Upload: kiaria

Post on 09-Jan-2016

14 views

Category:

Documents


0 download

DESCRIPTION

MTS3x0CA or MTS3x0CB?. Probably most of you have the MTS300CBs and MTS310CBs. While they are largely identical to the MTS300CA and MTS310CA, there are two ways to distinguish them CBs have a white sticker label on them CBs have a green “jumper” wire soldered on one side of the board - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 1 Feb 2007

MTS3x0CA or MTS3x0CB?

Probably most of you have the MTS300CBs and MTS310CBs.

While they are largely identical to the MTS300CA and MTS310CA, there are two ways to distinguish them CBs have a white sticker label on them CBs have a green “jumper” wire soldered on one side of the

board

Take a moment to note which board you have and write that down at the front of your WSN training manual

Page 2: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 2 Feb 2007

MDA300 for External Sensor Interfacing

8 external analog inputs for external sensors

12-bit ADC Single-ended and differential signals

8 channel digital I/O2 relays for actuation

Normally on and normally off relays

Stable 2.5 V referenceVoltage outputs

2.5V, 3.3V, 5 V to power external sensorsXSensor App XMesh App Driver Directory

XMDA300_XXX_HP

XMDA300_XXX_LP

NotesUse XMeshBase. MOTE-VIEW compatible

Use XMeshBase for Mote on gateway board

Program Name

XSensorMDA300 /opt/MoteWorks/tos/sensorboards/mda300

See also http:/ /www.cens.ucla.edu/~mhr/daq/

Page 3: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 3 Feb 2007

MDA100 for Sensor Prototyping (Not in manual)

Large prototyping area Access to most signals on 51

pin bus 10 bit Analog inputs GPIO

Light sensorTemperature sensor

(Photoresistor)XSensor App XMesh App Driver Directory

XMDA100_XXX_HP

XMDA100_XXX_LP

NotesUse XMeshBase for Base Mote. MOTE-VIEW compatible

Use XMeshBase for Base Mote. MOTE-VIEW compatible.

Program Name

XSensorMDA100 /opt/MoteWorks/tos/sensorboards/mda100

Page 4: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 4 Feb 2007

What MIB Board Do I Have?

MIB520?• Install FTDI drivers for Windows• Determine COM ports

MIB600?•Determine IP address with

Lantronix’s Device Installer v3.6

MIB510?• No serial port?• Use a serial to USB converter

Page 5: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 5 Feb 2007

MIB Board Setup To Do’s (Review)

MIB510 Do nothing if you have a serial port on your PC If not, use a USB-to-serial converter and install the driver (that comes with the

converter). Plug in the converter to your PC. Then determine your COM port number by

clicking on start > control panel > system > hardware > device manager > Ports

MIB520 Install the USB drivers (from FTDI) on the MoteWorks CD. Plug in the USB cable and MIB520 to your PC Determine the two virtual COM ports by clicking on start > control panel >

system > hardware > device manager > Ports

MIB600 Install Lantronix’s DeviceInstaller v3.6 on the MoteWorks CD Connect MIB600 to the LAN or to your computer Use DeviceInstlaller to find the IP address

Page 6: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 6 Feb 2007

Anatomy of a Base Station/Gateway

Mote + Gateway Board = Base Station• MICA2/z Mote• MIB510

Cables• Power • Wired Comms

Shown with sensor board attached to bottom connector.Antenna is missing and needs

to be there for good RF communication

This is only an example base station/gateway. Your setup may look different.

Serial out ON/OFF

Serial out ON/OFF

Page 7: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 7 Feb 2007

MIB510 Block Diagram

Seria

l port

MICA C(sensor

board on backside)

MICA C(sensor

board on backside)

ISP C JTAG port(10-pin header)ISP C JTAG port(10-pin header)

Mote C JTAG port(10-pin header)Mote C JTAG port(10-pin header)

ON(serial

out disabled)

ON(serial

out disabled)

OFF(serial out enabled)

OFF(serial out enabled)

ReSeT MOTE SwitchReSeT MOTE Switch

ISP activity LEDISP activity LED

SP PWR OK LEDSP PWR OK LED

5 VDC input5 VDC input

LEDs that mirror Mote’s LEDsLEDs that mirror Mote’s LEDs

ISP C

MICA2DOT connectorMICA2DOT connector

Page 8: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 8 Feb 2007

MIB510 Usage and Programming Notes

<platform>•micaz•mica2•mica2dot

<#>•COM port number

<n>•User defined node address

install• Compile (build) and download

(flash) to Mote• Typed in the application directory

reinstall• Download already compiled

application.• Saves a time because the compile

phase is skipped.• Typed in the application directory

make <platform> mib510,com<#> re|install,<n>

For compiling & downloading

For downloading already compiled code

Page 9: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 9 Feb 2007

MIB520 USB Gateway

USB

3.15625”

1.6875”

.1875”.125”

.1875” .1875”

.46875”

.9375”

.1875”

.5625”

ISP indicatorMIB520 power

Mote connector

Reset switch

ISP JTAG portUSB port

Mote JTAG port (unpopulated)

Page 10: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 10 Feb 2007

MIB520 Usage and Programming Notes

<platform>• micaz• mica2• mica2dot

<#>• COM port number• Lower (or the first) of the two

virtual COM ports setup by the MIB520 drivers

<n>• User defined node address

install• Compile (build) and download

(flash) to Mote• Typed in the application directory

reinstall• Download already compiled

application• Saves a time because the compile

phase is skipped.• Typed in the application directory

make <platform> mib520,com<#> re|install,<n>

For compiling & downloading

For downloading already compiled code

Page 11: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 11 Feb 2007

MIB600 Features

MOTE umbilical port(6-pin header)MOTE umbilical port(6-pin header)

Mote C JTAG port(10-pin header)Mote C JTAG port(10-pin header)

ISP C JTAG port(10-pin header)ISP C JTAG port(10-pin header)

POE or 5 VDC switch

POE or 5 VDC switch

ReSeT MIB600/MOTE Switch, SW1

ReSeT MIB600/MOTE Switch, SW1

5 VDC input5 VDC input

One Mote Connector 51-pin Hirose MICA2DOT requires use of

an Mote Programming Cable (MPC100) attached to the MOTE umbilical port

No sensor board connector MPC100 cable (sold

separately) is compatible with MTS300/310 and MDA300 only

Connections LAN Direct to Ethernet port via

Ethernet crossover cable (see end of this presentation of instructions)

Page 12: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 12 Feb 2007

MIB600 Block Diagram

MICA C(on backside, J1)

POE circuits

J12

ISP C JTAG port(10-pin header)ISP C JTAG port(10-pin header)

Mote C JTAG port(10-pin header)Mote C JTAG port(10-pin header)

J11

POE or 5 VDC switch

POE or 5 VDC switch

ReSeT MIB600/MOTE Switch, SW1

ReSeT MIB600/MOTE Switch, SW1

MOTE umbilical port(6-pin header)MOTE umbilical port(6-pin header)

SP PWR OK LEDSP PWR OK LEDRJ45 Socket for EthernetRJ45 Socket for Ethernet

LEDs that mirror Mote’s

LEDs

LEDs that mirror Mote’s

LEDs

J9

5 VDC input5 VDC inputISP Active LEDISP Active LED

ISP C

Port 2Port 1

Page 13: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 13 Feb 2007

MIB600 Usage and Programming Notes

Each MIB600 ships with a unique TCP/IP MAC address MAC address is on a label

on the MIB600 What is your MIB600s MAC

Address? _____________

Port # 1 (programming)

2 (data)

Baud rate 115200 57600

Data bit(s) 8 8

Parity None None

Stop bit(s) 1 1

Flow Control

None None

make <platform> eprb,<IP_Address_of_MIB600> re|install,<n>

For compiling & downloading use “install”

For downloading already compiled code use “reinstall”

Page 14: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 14 Feb 2007

WSN Teaching Method

This class exposes as many parts of MoteWorks as possibleApplication code is interlaced with discussion of nesC concepts

Knowledge of C/C++ will help maximize your learning Tutorial lessons start simple, add complexity More frequent labs, and if you fall behind, use the printed training

manual for assistance

Questions are encouraged and keeping schedule is important If you have to ask question and time has run out, send email to

[email protected]. You can mention that you’re in the WSN class in the training room

Give us feedback – what worked and didn’t and what you’d like to have seen…

An on-line survey will be given at the end of the 2-day seminar

Page 15: MTS3x0CA or MTS3x0CB?

Feb 2007WSN Training: Intro to WSN & Mote Kits 15

Q & A?

Topics Crossbow & The Physical Internet Technology Background Examples/Case Studies MoteWorks and MoteKit Orientation

Appendix A and B follows

Page 16: MTS3x0CA or MTS3x0CB?

Feb 2007WSN Training: Intro to WSN & Mote Kits 16

Appendix ATopics Sensor Board Matrix Hardware Kits Using the MIB600 with a crossover

Ethernet cable

Page 17: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 17 Feb 2007

Physical World(analog and digital info)

Sensing: Interaction with the Physical World

Sensing distance relative to sensor’s sizeRelative size of sensor

Ubiquitous Sensor Networks

Nanotech

MEMS

Thin film--Microelectronic

Bulk Machining

Proximal Sensing

Remote Sensing

In Situ

Page 18: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 18 Feb 2007

MoteWorks’ Sensor Drivers Library (partial list)

Sensors MTS101

MTS300

MTS310

MTS400 MTS410

MTS420 MTS510

MDA300

MDA320

MSP410

Accelerometer

Barometric press/Temp.

Broad band light

GPS

Magnetic field

Microphone

Photosynthetic light

Photoresistor

Relative humidity/Temperature

RFID (13.56 MHz)

Thermistor

GPIO

Actuator relays

Analog inputs

Pyroelectric Infrared

Piezo Buzzer

Page 19: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 19 Feb 2007

OEM Hardware Reference & Development Kit

MoteWorks Standard License CDROM5 MICA2/z Mote reference boards

MICAz OEM module + external components = MICA2/z Mote equivalent

5 MICA2/z OEM platform modules Surface mount component for advanced prototyping

4 MDA320 7 channel, 16-bit ADC sensor interface boards

1 MIB600 Ethernet gateway board1 Programming pod

10-pin header to USB interface

Page 20: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 20 Feb 2007

MICAz Professional Mote Kit

TinyOS open-source and support tools CDROM

8 MICAz Motes (processor/radio/datalogger boards)

4 MTS310 sensor boards Acceleration, magnetic, photoresister,

thermistor, microphone and sounder3 MTS300 sensor boards

Photoresister, thermistor, microphone and sounder

1 MDA300 data acquisition board Analog, digital I/O, relays, voltage

outputs; digital humidity/temperature sensor

1 MIB600 Ethernet interface board1 MIB510 programming and serial

interface Board

Page 21: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 21 Feb 2007

MICA2 Professional Mote Kits (5x4x-series)

4 MICA2 Motes (processor/radio/data logger boards)

4 MICA2DOT Motes (processor/radio/data logger boards)

3 MTS310 sensor boards Acceleration, magnetic,

photoresister, thermistor, microphone and sounder

2 MTS510 sensor boards Acceleration, photoresister,

microphone 2 MDA500 general purpose

prototyping board1 MIB510 programming and serial

interface Board Open-source tinyOS & support tools

Page 22: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 22 Feb 2007

MICA2DOT Platform

Microprocessor: Atmel ATMega128L• Memory: 128 kB of Flash; 4 kB of SRAM• USART: 1• Serial Port Interface (SPI) bus• I2C bus (enabled by software)

Radio: Chipcon CC1000 Up to 38.4 kbps; default at 19.2 kbps FSK modulation, Manchester encoding

External serial flash memory: 512 kB19-pin expansion connector

Six 10-bit analog I/O, some shared for JTAG Six general purpose digital I/O

On-board thermistorPowered options

3V coin cell (default) From VCC/GND pins on periphery

ATMega128LcontrollerAnalog I/ODigital I/O

Freq. Tunable Radio

Logger Flash

Antenna

25 mm

19 peripheral pins

Page 23: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 23 Feb 2007

MICA2 Basic Mote Kits (4x0-series)

3 MICA2 Motes (processor/radio/data logger boards)

2 MTS300 sensor boards Photoresister, thermistor,

microphone and sounder

1 MIB510 programming and serial interface board RS 232 serial cable 5V DC power supply

TinyOS open-source and support tools CDROM

Page 24: MTS3x0CA or MTS3x0CB?

Feb 2007WSN Training: Intro to WSN & Mote Kits 24

Using the MIB600 with a Crossover Ethernet Cable

Page 25: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 25 Feb 2007

MIB600 Configuration with a Crossover Ethernet Cable

1. Change the settings on the Local Area Connection by clicking on Start > Connect to > Show all connections.

2. Right click on Local Area Connections and select Properties

3. The Local Area Connection Properties window appears. Scroll down and select Internet Protocol (TCP/IP) and then click on Properties.

Page 26: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 26 Feb 2007

MIB600 Configuration with a Crossover Ethernet Cable

4. A window for setting Internet Protocol (TCP/IP) Properties appears. Click on the button next to “Use the following IP address”.a. For IP address use: 192.168.0.2

b. For Subnet mask use: 255.255.255.0. (This should be automatic.)

c. For Default gateway use: 192.168.0.1

5. There is not need to change the DNS server addresses

Page 27: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 27 Feb 2007

MIB600 Configuration with a Crossover Ethernet Cable

6. Connect the MIB600 to your PCs Ethernet port with a crossover Ethernet cable. Power the MIB600 with a 5 VDC power supply and check that the power switch is to the “5V” position.

7. Startup the Lantronix Device Installer. Click on the Search icon on the Device Installer window.

8. The MIB600 comes with a default IP address. It should appear on the DeviceInstaller list. It may be listed on the “Status” column as “unreachable.”

9. Highlight the MIB600 on the list. You can see the MAC address to double check that you do have communications with it, then click on Assign IP.

Page 28: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 28 Feb 2007

MIB600 Configuration with a Crossover Ethernet Cable

10. The Assign IP Address window will appear, then select the button next to “Assign a specific IP address” and click on next.

11. Type in the following parametersa. IP Address: 192.168.0.3

b. Subnet mask: 255.255.255.0

c. Default gateway: 192.168.0.1

12. Click on next to finish. Click on Search to refresh the list. The new IP address should appear on the list. You can use this IP address for data communications and programming with the MIB600.

Page 29: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 29 Feb 2007

MIB600 Configuration with a Crossover Ethernet Cable

13. Type in the following parametersa. IP Address: 192.168.0.3

b. Subnet mask: 255.255.255.0

c. Default gateway: 192.168.0.1

14. Click on next to finish.

15. Click on Assign on the next window that appears. Wait for the IP addressed to be written.

16. Click on Finish.

Page 30: MTS3x0CA or MTS3x0CB?

WSN Training: Intro to WSN & Mote Kits 30 Feb 2007

MIB600 Configuration with a Crossover Ethernet Cable

17. The Device Installer window should then show the updated IP address and that the Status is now “Online.”