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

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
'''Panda Board and System Integration'''
+
= Panda Board and System Integration =
  
 
Panda Boards are computers based on arm v 7 processor. One of the main advantage of using panda boards in different projects is there ease of integration in existing system. We have variety of different interfaces on these boards to connect to different systems using network connectivity or local I/O. One of those interfaces is General Purpose Input and Output (GPIO) port which we will be using GPIO port to connect a motion sensor to panda board.
 
Panda Boards are computers based on arm v 7 processor. One of the main advantage of using panda boards in different projects is there ease of integration in existing system. We have variety of different interfaces on these boards to connect to different systems using network connectivity or local I/O. One of those interfaces is General Purpose Input and Output (GPIO) port which we will be using GPIO port to connect a motion sensor to panda board.
Line 5: Line 5:
 
[http://www.pandaboard.org/content/resources/references GPIO/Expansion Connector on Panda Board]
 
[http://www.pandaboard.org/content/resources/references GPIO/Expansion Connector on Panda Board]
  
'''Motion Sensor'''
+
= 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 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'''
+
= 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.
 
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.
Line 16: Line 16:
 
[http://www.zilog.com/index.php?option=com_cutsheet&task=view&cid=6&id=6&Itemid=95 Zilog Motion Sensor Module]
 
[http://www.zilog.com/index.php?option=com_cutsheet&task=view&cid=6&id=6&Itemid=95 Zilog Motion Sensor Module]
  
'''Interfacing Sensor with Panda Board'''
+
= 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.
 
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.
Line 22: Line 22:
 
[http://www.maxim-ic.com/datasheet/index.mvp/id/1798 Example of LVTTL to TTL convertor]
 
[http://www.maxim-ic.com/datasheet/index.mvp/id/1798 Example of LVTTL to TTL convertor]
  
'''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 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.
 
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.
 
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.
 +
 +
= Parts List =
 +
 +
Supplier: [http://www.digikey.com Digikey]
 +
 +
{|border="1" cellspacing="0" cellpadding="3" width="100%" class="sortable"
 +
!Name||Quantity||Part number||Unit Cost||Extended Cost
 +
|-
 +
|IR Sensor||1||269-2513-ND|| ||
 +
|-
 +
|Diodes||2||MA2C0290BFCT-ND|| ||
 +
|-
 +
|LVTTL to TTL Converter||1||MAX232CPE+-ND|| ||
 +
|-
 +
|Male Connectors||1||SAM1030-14-ND|| ||
 +
|-
 +
|Female Socket||1||ESQ-114-34-G-D-ND or ESQ-114-13-G-D-ND|| ||
 +
|}
 +
 +
[[Category:Fedora ARM Secondary Architecture]]

Revision as of 09:36, 13 July 2011

Panda Board and System Integration

Panda Boards are computers based on arm v 7 processor. One of the main advantage of using panda boards in different projects is there ease of integration in existing system. We have variety of different interfaces on these boards to connect to different systems using network connectivity or local I/O. One of those interfaces is General Purpose Input and Output (GPIO) port which we will be using GPIO port to connect a motion sensor to panda board.

GPIO/Expansion Connector on 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.

Zilog Motion Sensor Module

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.

Example of LVTTL to TTL convertor

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.

Parts List

Supplier: Digikey

Name Quantity Part number Unit Cost Extended Cost
IR Sensor 1 269-2513-ND
Diodes 2 MA2C0290BFCT-ND
LVTTL to TTL Converter 1 MAX232CPE+-ND
Male Connectors 1 SAM1030-14-ND
Female Socket 1 ESQ-114-34-G-D-ND or ESQ-114-13-G-D-ND