Design of a Wireless Sensor Network node based on STM32 - Embedded.com

Design of a Wireless Sensor Network node based on STM32

The wireless sensor network is a collection of information collection, information transmission, information processing in an integrated intelligent information systems by cheap micro sensor nodes deployed in the sensing area. It is a formation of a Ad-Hoc network through wireless communication, with a low-power, low- cost, distributed, self-organization, rapid deployent, and survivability.

This article will show a method to design a wireless sensor node based on STM32F103RE microcontroller and CC2430 radio frequency chip. The communication and control between the microcontroller and the CC2430 use a standard SPI bus.  This  four-wire synchronous serial interface designed by Motorola can be implemented using software code that is relatively simple, and allows the microcontroller to have more time to deal with other things.

SPI is a synchronous, full-duplex, fast communication interface bus, requires only four pins on the chip, and provides a convenient connection mechanism to save the chip pins, and also saves PCB layout area.

The STM32 series microcontroller also supports SPI interface and can control the CC2430 with only six lines.Transmitting data processing includes getting the processed data from the microcontroller via SPI interface, packaging the data into a standard data frame and sending by RF.

Receiving data processing is mainly used to detect the CC2430 chip RF buffer when there is data present in this register the standard data frames are read out, and the sensor data are extracted from the standard data frame.

The CC2430 chip needs an effective initialization before communication. This initialization process includes: initialize the system clock, initialize the I / O port, initialize the SPI interface, initialize the UART interface.

In tests, the sensor node is sensitive to the environment and transmits the information to the terminal PC to meet the requirements of wireless sensor networks.

To read this external content in full, download the complete paper from the author archives online at Atlantis Press .

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.