|
Freescale三轴ZigBee传感参考设计 | ||
| 上传日期:2007-10-09 17:29:00 | 浏览次数:1847 | ||
| 文件格式:HTM | 文件大小:0 KB | ||
| 发布公司:Freescale | 官方网站:http://www.freescale.com.cn/ | ||
There are several other derivatives of MMA7360L: MMA7340L 3g/12g, MMA7330L 4g/16g. All members of this sensor family are footprint (LGA package) compatible, which simplifies the evaluation and design of the target application. Microcontroller MC9S08QG8 The MC9S08QG8 is a highly integrated member of Freescale’s 8-bit family of microcontrollers based on the high-performance, low-power consumption HCS08 core. Integrating features normally found in larger, more expensive components, the MC9S08QG8 MCU includes a background debugging system and on-chip in-circuit emulation (ICE) with real-time bus capture, providing single-wire debugging and emulation interface. It also features a programmable 16-bit timer/pulse-width modulation (PWM) module (TPM) that is one of the most flexible and cost-effective of its kind. The compact, tightly integrated MC9S08QG8 delivers a versatile combination and wealth of Freescale peripherals and the advanced features of the HCS08 core, including extended battery life with maximum performance down to 1.8 V, industry-leading Flash and innovative development support. The MC9S08QG8 is an excellent solution for power and size-sensitive applications, such as wireless communications and handheld devices, small appliances, Simple Media Access Controller (SMAC)-based applications and toys. MC13191 2.4 GHz ISM Band Low Power Transceiver The MC13191 is a short range, low power, 2.4 GHz Industrial, Scientific, and Medical (ISM) band transceiver. The MC13191 contains a complete packet data modem which is compliant with the IEEE® 802.15.4 Standard PHY (Physical) layer. This allows the development of proprietary point-to-point and star networks based on the 802.15.4 packet structure and modulation format. For full 802.15.4 compliance, the MC13192 and Freescales 802.15.4 MAC software are required. When combined with an appropriate microcontroller (MCU), the MC13191 provides a cost-effective solution for short-range data links and networks. Interfacing the MCU is accomplished by using a four wire serial peripheral interface (SPI) connection and an interrupt request output which allows for the use of a variety of processors. The software and processor can be scaled to fit applications ranging from simple point-to-point to star networks. MC13192/MC13193 2.4 GHz Low Power Transceiver for the IEEE® 802.15.4 Standard The MC13192 and MC13193 are short range, low power, 2.4 GHz Industrial, Scientific, and Medical (ISM) band transceivers. The MC13192/MC13193 contains a complete 802.15.4 physical layer (PHY) modem designed for the IEEE® 802.15.4 wireless standard which supports peer-to-peer, star, and mesh networking. The MC13192 includes the 802.15.4 PHY/MAC for use with the HCS08 Family of MCUs. The MC13193 also includes the 802.15.4 PHY/MAC plus the ZigBee™ Protocol Stack for use with the HCS08 Family of MCUs. With the exception of the addition of the ZigBee™ Protocol Stack, the MC13193 functionality is the same as the MC13192. When combined with an appropriate microcontroller (MCU), the MC13192/MC13193 provides a cost-effective solution for short-range data links and networks. Interfacing the MCU is accomplished by using a four wire serial peripheral interface (SPI) connection and an interrupt request output which allows for the use of a variety of processors. The software and processor can be scaled to fit applications ranging from simple point-to-point systems, through complete ZigBee™ networking. Microcontroller MCHC908JW32 The MCHC908JW32 is a member of the low-cost, high-performance M68HC08 Family of 8-bit microcontroller units (MCUs). All MCUs in the family use the enhanced M68HC08 central processor unit (CPU08) and are available with a variety of modules, memory sizes and types, and package types. FIRMWARE This reference design contains two pieces of firmware. The first one is on the Sensor board MCU (MC9S08QG8). Its job is to collect sensor data from the MMA7360L accelerometer, create a data packet and send it over the SMAC (Simple Media Access Controller) driver using the MC13191 RF Transceiver. The sensor data is measured over three channels of the Analog-to-Digital converter, while another GPIO pin controls the sleep mode of the MMA7360L accelerometer to conserve power. Serial Peripheral Interface (SPI) is used for communication with the MC13191. The overall application is powered from the coin-sized CR2032 Lithium battery that is located on the bottom side of the board. The overall average current consumption is below 1 mA with 20 data transmissions per second rate. This allows approximately 10 days of continuous operation at this real-time data rate. The simple ZSTAR RF protocol also transfers the calibration data. These data are stored in non-volatile Flash memory and are transferred on request. The second piece of firmware is contained within the USB stick board and its job is to create a “bridge” between the RF link and the USB connection. The sensor and keyboard data are received from the Sensor board and stored in the USB stick RAM memory. Another independent process is the USB protocol communication. Several options are possible. USB specifications define several ways of transferring data between the USB peripheral and the PC (called “profiles” or classes). In this demo two classes are demonstrated: The Microsoft™ Windows 2000/XP operating system contains by default a driver support for these classes which makes this solution simple for demonstration purposes. If the serial communication (virtual serial port) is demonstrated, the accelerometric data is available through the simple serial protocol compatible with the STAR demo. Thus most of the RD3473MMA7360L is usable also for data visualization. Alternatively, if the HID class is demonstrated, the ZSTAR demo behaves as a mouse. By tilting the sensor board, the mouse cursor movement can be controlled. SUMMARY Multi-axis sensing using an XYZ-axis low g acceleration sensor, MMA7360L with selectable g-ranges of 1.5g/6g, is combined with the versatile MC9S08QG8 8-bit microcontroller. The 2.4 GHz wireless communication is enabled by RFCMOS technology. The MC13191 is a member of the pin-to-pin compatible series of Freescales transceivers, including the MC13192 which supports the IEEE 802.15.4 protocol and the MC13193 which supports full ZigBee™ compliant applications. Please refer to AN3152 for the complete details of the original design of the ZSTAR RD3152MMA7260Q. ![]() 图2. MMA7360L传感器板电路 ![]() 图3. USB板电路图 详情请见: http://www.freescale.com/files/sensors/doc/app_note/AN3473.pdf |
|||
| 评论内容: |