Wireless remote control system for tower crane based on MSP430 and nRF905 (5)
source: "Electrical Engineering" Author: Yang Peng time: 2012-04-12
-
receiver software
The receiver power-on initialization mainly includes: I/O port initialization, wireless chip configuration, open the timer and I/O interrupt enable, output enable. The rest of the main function in the I/O interrupt service subroutine. NRF905 enters the receiving mode, continuous monitoring of received signal. When the received carrier signal, a CD interrupt signal; when receiving the correct address, a AM interrupt signal; when the received data is correct, nRF905 automatically remove the prefix, address and CRC check bits, then the data ready pin set to high, a DR interrupt signal. The main function of microcontroller interrupt service subroutine through the SP port I read the to: determine the button state, button to send the status code, code status. MSP430 microcontroller to read data in the nRF905 through the SP port I, receiving the flow chart of the main program, as shown in figure 4.
Conclusion
The system uses wireless transceiver chip ultra low power MCU MSP430 and low power nRF905 to realize the wireless remote control system for tower crane. The system adopts the hardware and software coding decoding method, transmitter, receiver system using a timing scanning using memoryless output control method and electric interlocking technology, improve system reliability and anti-jamming capability, system can be widely used in tower cranes and other general industrial control system, the function of the system has been applied and verified in in practice.