Difference between revisions of "Motion Sensor Interfacing for Panda Board based Dash Board System"

From CDOT Wiki
Jump to: navigation, search
Line 19: Line 19:
  
 
'''System'''
 
'''System'''
On detecting a motion, motion sensor would send the signal to panda board GPIO pin which we could read as a file in Linux. Based on the file content which is signal received from motion sensor, we can use system call to turn on the display from standby mode to display mode. We can automate all of these activities in a script which will always be running in back ground.
+
On detecting a motion, motion sensor would send the signal to panda board GPIO pin which we could read as a file in Linux. Based on the file content which is signal received from motion sensor, we can use system calls to turn on the display from standby mode to display mode. We can automate all of these activities in a script which will always be running in back ground.
 +
The whole system could be customized for different environments like the range of sensor, response time of display by changing script and customizing application software in sensor's MCU.

Revision as of 13:41, 29 June 2011

Panda Board and System Integration


Panda Boards are arm v 7 based computers. One of the main advantage of using panda boards for your projects is there ease of integration in running system. Whether we have to integrate them in existing computer network or have to attach external devices, we have plenty of network and input/output interfaces are provided by panda board. One of those versatile interfaces on panda board is General Purpose Input and Output (GPIO) port. We will be using GPIO port to connect a motion sensor to panda board.

Motion Sensor

Motion Sensor attached with panda board will bring more intelligence to the system by making efficient use of energy. Motion Sensor will detect the motion and tell the panda board operating system to turn on or standby the dash board display system.

Motion Sensor Module

We are using zilog motion detection module as motion sensor. The good thing about this module is that it includes a built in micro controller with application software running on it. This Micro Controller Unit (MCU) along with its application software is not only meant for providing standard interfaces to existing computer system but also gives more control to programmers to control this module from their own program/logic.

Interfacing Sensor with Panda Board

Motion Sensor Module is implemented using Low Voltage TTL (LVTTL) which means the electrical signals on its pins vary between 0V to 3.3V to carry bits over electrical interface while GPIO Module(pin) is based on TTL implementation. TTL voltages vary between 0V to 5V to carry data bits. To connect LVTTL pins(sensor) to TTL pins(GPIO), we will have to use extra circuitry for interfacing which ensures the data sent or received is consistent on both side.

System On detecting a motion, motion sensor would send the signal to panda board GPIO pin which we could read as a file in Linux. Based on the file content which is signal received from motion sensor, we can use system calls to turn on the display from standby mode to display mode. We can automate all of these activities in a script which will always be running in back ground. The whole system could be customized for different environments like the range of sensor, response time of display by changing script and customizing application software in sensor's MCU.