OpenMoteSTM

Project Lead

OpenWSN support

The OpenMoteSTM is fully supported in OpenWSN.

The OpenWSN builders build the OpenMoteSTM firmware nightly:

The OpenMoteSTM Motes is designed by Micro-architecture and Integrated Circuit Lab (MICL) the University of Science & Technology in Beijing. 

Gallery

                     

Overview

Components


NameCorporationDataSheettype
U1LP5951MG 3.3VTexas Instrumentslp5951Voltage Regulator
U2STM32F103RET6STMicroelectronicsReference manualMicro-Controller
U4CP2102SILICON LABSCP2102USB to UART Bridge
U5Micro USB
Micro-USB_1_01

USB

U6AT86RF231ATMELat86rf213radio
B174821245WURTH ELEKTRONIK

Chip-Balun WE-BAL

Balun
E1AN2051RainSUnRainSun_AN2051antenna 1
E2734120110molex734120110_sdantenna 2

XBee pin compatibility

20 Pins are left to fit with the definition of  XBee's 20 Pin. Since XBee is widely used for wireless communication, the compatible pins make OpenMoteSTM to use the external boards for XBee, which existed for many kinds of, as well.

XBee pinXBee pin nameOpenMoteSTM pinOpenMoteSTM pin name
1VCC1VBAT
2GPIO/UARTA_TX42PA9/USART1_TX(8)/TIM1_CH2(8)
3GPIO/UARTA_RX43PA10/USART1_RX(8)/TIM1_CH3(8)
4GPIO/PWM39PC8/TIM8_CH3
5RESET7NRST
6GPIO / I2CA_SDA / PWM / ADC59PB7/I2C1_SDA/TIM4_CH2
7GPIO / I2CA_SCL / PWM / ADC58PB6/I2C1_SCL/TIM4_CH1
8DAC_OUT /  ADC20PA4/SPI1_NSS/USART2_CK/DAC_OUT1//ADC12_IN4
9GPIO 40PC9/TIM8_CH4/SDIO_D1
10GNDGNDGND
11GPIO / ADC24PC4/ADC12_IN14
12GPIO / UARTC_RX54PD2/UART5_RX/SDIO_CMD
13GPIO / UARTC_TX53PC12/UART5_TX/SDIO_CK
14 VREF LQFP64 STM32 has not Vref Pin
15Differential ADC_DM8PC0/ADC123_IN10
16Differential ADC_DP9PC1/ADC123_IN11
17GPIO / ADC / SPI_MISO 22PA6/SPI1_MISO/TIM8_BKIN.ADC12_IN6/TIM3_CH1
18GPIO / ADC / SPI_SCK21PA5/SPI1_SCK/DAC_OUT2/ADC12_IN5
19GPIO / ADC / SPI_MOSI / I2CB_SCL23PA7/SPI1_MOSI/TIM8_CH1N/ADC12_IN7/TIM3_CH2
20GPIO / ADC / I2CB_SDA25PC5/ADC12_IN15

Schematic and Layout

  File Modified

File OpenMoteSTM.PcbDoc

Nov 30, 2013 by Tengfei Chang

PDF File Schematic Prints.pdf

Jul 04, 2014 by Tengfei Chang

Datasheets

  File Modified

PDF File STM32F103RET6xxx.pdf Mechanical device characteristics of the STM32F103RET6 micro-controller.

Nov 28, 2012 by Tengfei Chang

PDF File STM32F10x Reference manual.pdf How to use the STM32F10x micro-controller memory and peripherals.

Nov 28, 2012 by Tengfei Chang

Tools

Debugging

We use J-Link as our JTAG debugger tool to debugging OpenMoteSTM. It is used when downloading or debugging applications running on OpenMoteSTM.

 

                                  J-Link

JTAG-Adapter

A JTAG-adapter is needed to adapt the jtag port on OpenMoteSTM. We use J-Link 9-pin Cortex-M Adapter.

USB Cable

When developing OpenMoteSTM's serial Port, you need a Micro-B USB cable to connect the mote to a PC.

How to Download

We suppose you have gathered all stuff listed above. Besides, you are also required to install IAR for ARM (version 6.10 or later) on your PC. It's an IDE develop environment for the development on ARM based Micro-Controller. When you get all ready, you are able to download applications to OpenMoteSTM. The connection of OpenMoteSTM mote and PC by j-link to a PC is shown in following figure.

          OpenMoteSTM Connection 

 After that, we should open IAR and select your project for stm32. Then click the green triangle button on the tool bar. The application will be downloaded into OpenMoteSTM and go into a debugging model.


                            

  IAR for ARM         Open a project       before download       after download