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

From CDOT Wiki
Jump to: navigation, search
(Parts List)
 
(14 intermediate revisions by 2 users not shown)
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 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
+
[http://www.pandaboard.org/content/resources/references GPIO/Expansion Connector on Panda Board]
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 =
  
 
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.
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 there own program/logic.
+
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.
 +
 
 +
[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 =
 +
 
 +
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.
 +
 
 +
[http://www.maxim-ic.com/datasheet/index.mvp/id/1798 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: [http://www.digikey.com Digikey]
 +
 
 +
{|border="1" cellspacing="0" cellpadding="3" width="100%" class="sortable"
 +
!Name||Quantity||Part number||Unit Cost||Extended Cost (CAD. and excl. TAX)
 +
|-
 +
|IR Sensor||1||[http://search.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&lang=en&site=ca&keywords=269-2513-ND&x=23&y=11 269-2513-ND]|| 5.72||5.72
 +
|-
 +
|Diodes||2||[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=1N457CT-ND 1N457CT-ND]||0.39||0.78
 +
|-
 +
|LVTTL to TTL Converter||1||[http://search.digikey.com/scripts/DkSearch/dksus.dll?vendor=0&keywords=MAX232CPE%2B-ND MAX232CPE+-ND]||4.09 ||4.09
 +
|-
 +
|Male Connectors||1||[http://search.digikey.com/scripts/DkSearch/dksus.dll?vendor=0&keywords=SAM1030-14-ND SAM1030-14-ND]||2.43||4.86
 +
|-
 +
|Female Socket||1||[http://search.digikey.com/scripts/DkSearch/dksus.dll?vendor=0&keywords=ESQ-114-34-G-D-ND ESQ-114-34-G-D-ND ] or [http://search.digikey.com/scripts/DkSearch/dksus.dll?vendor=0&keywords=ESQ-114-13-G-D-ND ESQ-114-13-G-D-ND]||6.39 ||6.39
 +
|-
 +
|Bread Board||1||[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=438-1045-ND Solderless Breadboard]||9.73||9.73||
 +
 
 +
 
 +
[[Category:Fedora ARM Secondary Architecture]]

Latest revision as of 13:30, 20 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 (CAD. and excl. TAX)
IR Sensor 1 269-2513-ND 5.72 5.72
Diodes 2 1N457CT-ND 0.39 0.78
LVTTL to TTL Converter 1 MAX232CPE+-ND 4.09 4.09
Male Connectors 1 SAM1030-14-ND 2.43 4.86
Female Socket 1 ESQ-114-34-G-D-ND or ESQ-114-13-G-D-ND 6.39 6.39
Bread Board 1 Solderless Breadboard 9.73 9.73