<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>An Introduction to Using the Embedded-Pi with the Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/16802/an-introduction-to-using-the-embedded-pi-with-the-raspberry-pi</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>An Introduction to Using the Embedded-Pi with the Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/16802/an-introduction-to-using-the-embedded-pi-with-the-raspberry-pi</link><pubDate>Mon, 10 May 2021 18:52:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:68444107-49f7-48ca-adbe-3c038478d558</guid><dc:creator>smythec</dc:creator><comments>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/16802/an-introduction-to-using-the-embedded-pi-with-the-raspberry-pi#comments</comments><description>Current Revision posted to Documents by smythec on 5/10/2021 6:52:01 PM&lt;br /&gt;
&lt;h1&gt;&lt;a name="top"&gt;&lt;/a&gt;&lt;span style="font-size:24pt;"&gt;An Introduction to Using the Embedded-Pi with the Raspberry Pi&lt;/span&gt;&lt;/h1&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Overview"&gt;Overview&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#SysConfig"&gt;System Configuration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#BoM"&gt;Bill of Materials&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#BoM_SysConfig"&gt;System Configuration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#BoM_HardConfig"&gt;Hardware Configuration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#BoM_SoftConfig"&gt;Software Configuration&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Instructions"&gt;Set of Instructions&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#More"&gt;More Details&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreRPi"&gt;Configure the R-Pi System&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreEPi"&gt;Connecting the R-Pi, E-Pi and Sensor Shield&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreLED"&gt;Demonstrating the Sensor Shield LED Actuator Module&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreButton"&gt;Demonstrating the Sensor Shield Button Sensor Module&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreTilt"&gt;Demonstrating the Sensor Shield Tilt Sensor Module&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreRelay"&gt;Demonstrating the Sensor Shield Relay Actuator Module&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use"&gt;Using the Embedded-Pi&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_Config"&gt;Configuring the Hardware&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_LED"&gt;Demonstrating Embedded Pi with Sensor Shield LEDs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_Button"&gt;Demonstrating Embedded Pi with Sensor Shield Buttons&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_Tilt"&gt;Demonstrating Embedded Pi with Sensor Shield Tilt Sensor&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_Relay"&gt;Demonstrating Embedded Pi with Sensor Shield Relay Actuator&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Trouble"&gt;Trouble Shooting&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppA"&gt;Appendix A - The Embedded Pi&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppB"&gt;Appendix B - The Software&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1"&gt;System Software&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B2"&gt;The Embedded Pi/Sensor Shield Python Demonstration Software&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppC"&gt;Appendix C - The Arduino TinkerKit Sensor Shield&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Terminology"&gt;Terminology&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AtD"&gt;About this Document&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="Overview"&gt;&lt;/a&gt;Overview&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;line-height:1.5em;"&gt;This Project is about introducing the use of the Embedded Pi (E-Pi) to extend the functionality of the Raspberry Pi (R-Pi). The Embedded Pi provides an R-Pi with an interface to Arduino Shields without the use of an Arduino device. In this set of instructions the R-Pi/E-Pi combination is used to drive a TinkerKit Sensor Shield with a set of sensors/actuators:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;line-height:1.5em;"&gt;LED actuator - to switch an LED on and off;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;line-height:1.5em;"&gt;Button sensor - to sense the state of a button/switch;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;"&gt;&lt;span style="font-size:12px;line-height:1.5em;"&gt;Tilt sensor - to sense when an object &lt;/span&gt;&lt;span style="font-size:12px;line-height:18px;"&gt;is being&lt;/span&gt;&lt;span style="font-size:12px;line-height:1.5em;"&gt; tilted;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;"&gt;&lt;span style="font-size:12px;line-height:1.5em;"&gt;Relay actuator - to use a low &lt;/span&gt;&lt;span style="font-size:12px;line-height:18px;"&gt;power device to control the on/off state of a high power device.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;line-height:1.5em;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;line-height:1.5em;"&gt;The key learning objectives of this project are for an intermediate/novice developer to learn:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;How to use a combination of the R-Pi, E-Pi and Sensor Shield to control a set of sensors and actuators;&lt;/li&gt;&lt;li&gt;How to write Python software that is used to control/detect the state of the sensors/actuators.&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;font-size:12px;font-family:Verdana;color:#333333;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;The associated &lt;a class="jive-link-anchor-small" href="#BoM"&gt;Bill of Materials&lt;/a&gt; describes the set of components, hardware and software, required to complete this project. When complete, the system will look as shown in the Figure below. There is a signifiant amount of information about the Embedded Pi available on the &lt;a class="jive-link-external-small" href="http://www.element14.com/community/docs/DOC-53007/l/embedded-pi--a-triple-play-platform-for-raspberry-pi-arduino-and-32-bit-embedded-arm?ICID=rasp-accessory-group" target="_blank"&gt;Element14 Community Embedded Pi web-site&lt;/a&gt;.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="55" style="border:1px solid #000000;width:523px;height:57px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;The completed system.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/470x398/__key/communityserver-wikis-components-files/00-00-00-01-66/7762.contentimage_5F00_199636.jpg"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/7762.contentimage_199636.jpg-470x398.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=y4nj2ZeHPewMAft3mLyCsVoVcaDHbiAQ4nxHfyEM1BQ%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=atq8tm9/8lEVBTrAffuiAA==" style="max-height: 398px;max-width: 470px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="SysConfig"&gt;&lt;/a&gt;1. System Configuration&lt;/h1&gt;&lt;p style="margin:0;"&gt;The system configuration is shown in Figure 1.1. The basic configuration is:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;R-Pi (Model A/B) - this project can make use of either Model. Network connectivity is required to install the necessary software updates and the Embedded Pi demonstration software. A USB2 hub is recommended to enable more than two USB devices to be linked to the R-Pi (the R-Pi has two USB ports). It is assumed that the keyboard and mouse are linked via the USB Hub and, if required, the WiPi. The monitor can be linked either via the HDMI interface or the yellow RCA phono connector for composite video output. In this project a PiView connector is used to enable a monitor with a VGA connector to be connected to the R-Pi via the HDMI interface;&lt;/li&gt;&lt;li&gt;Embedded Pi (E-Pi) - the E-Pi provides an interface platform to the R-Pi, Arduino and the 32-bit embedded ARM processor. For this set of instructions the E-Pi is used as a bridge between the R-Pi and Arduino Shields. This interface is physically achieved using the GPIO connectors on the R-Pi and E-Pi. The software interface is achieved using the RPi.GPIO and WiringPi modules. &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;The Embedded Pi User Manual (Revision 1.0 published in May 2013 by CooCox) is available at: &lt;a class="jive-link-external-small" href="http://www.coocox.org/Embedded_Pi/Embedded_Pi_User_Manual.pdf" rel="nofollow ugc noopener" target="_blank"&gt;Embedded Pi User Manual&lt;/a&gt;. &lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;This is required reading. Details on the CooCox development environment, this is not used in this project, are available &lt;a class="jive-link-external-small" href="http://www.coocox.org/epi.html" rel="nofollow ugc noopener" target="_blank"&gt;Here&lt;/a&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;TinkerKit Sensor Shield - this allows TinkerKit sensors and actuators to be connected directly to an Arduino or E-Pi without the use of a breadboard. The Sensor Shield has 12 standard TinkerKit 3-pin connectors. The 6 labelled &amp;#39;I0&amp;#39; to &amp;#39;I5&amp;#39; are the Analog Inputs and the 6 labelled &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; are the Analog Outputs (these can be driven using PWM capable outputs or can be configured as digital inputs).&amp;nbsp; In this set of instructions only the &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; pins are used. Further information is available at &lt;a class="jive-link-external-small" href="http://www.tinkerkit.com/get/" rel="nofollow ugc noopener" target="_blank"&gt;TinkerKit Sensor Shield&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;Sensor Shield Sensors and Actuators - in this set of instructions the LED and Relay actuators and the Button and Tilt sensors modules fromTinkerKit are used (they are plugged into the &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; pins on the Sensor Shield). The use of sensor and actuators being used together is also demonstrated.&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="503" style="border:1px solid #000000;width:535px;height:416px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 1.1 System Configuration.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/507x450/__key/communityserver-wikis-components-files/00-00-00-01-66/6366.contentimage_5F00_199637.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/6366.contentimage_199637.jpg-507x450.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=04sxhMov5Kk47emHebpnkrt6vsUMHlZJ6S7uqLTeAhk%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=B4t9QvOpxMmkPqfbQEtUQQ==" style="max-height: 450px;max-width: 507px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;When the complete system is built it will have various forms as shown in Figure 1.2.&amp;nbsp; The views shown in Figure 1.2 are for LED modules (a), Button modules (b), Tilt module (c) and Relay module(d).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="782" style="border:1px solid #000000;width:1225px;height:760px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 1.2 The completed system.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/548x280/__key/communityserver-wikis-components-files/00-00-00-01-66/3264.contentimage_5F00_199638.html"&gt;community.element14.com/.../3264.contentimage_5F00_199638.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Demonstrating LED modules.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/527x281/__key/communityserver-wikis-components-files/00-00-00-01-66/0121.contentimage_5F00_199639.html"&gt;community.element14.com/.../0121.contentimage_5F00_199639.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Demonstrating Button modules.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/348x377/__key/communityserver-wikis-components-files/00-00-00-01-66/0525.contentimage_5F00_199640.html"&gt;community.element14.com/.../0525.contentimage_5F00_199640.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c) Demonstrating the Tilt module.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/627x376/__key/communityserver-wikis-components-files/00-00-00-01-66/8726.contentimage_5F00_199641.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/8726.contentimage_199641.jpg-627x376.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=QSiNdy0IO3XVkQa%2BOp%2BoWNgGSeXEumKOJ%2BfTJVL0QXI%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=dYgh4kIKtTbpFVOjl0DYdQ==" style="max-height: 376px;max-width: 627px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(d) Demonstrating the Relay module.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="BoM"&gt;&lt;/a&gt;2. Bill of Materials&lt;/h1&gt;&lt;h2&gt;&lt;a name="BoM_SysConfig"&gt;&lt;/a&gt;2.1 System Configuration&lt;/h2&gt;&lt;p style="margin:0;"&gt;The architecture is based upon the use of an R-Pi, an E-Pi, a TinkerKit Sensor Shield and a set of sensors and actuators. The configuration is shown in Figure 2.1 and the key to the alphanumeric labels is provided in Tables 2.1 and 2.2.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="616" style="border-bottom:#000000 1px solid;border-left:#000000 1px solid;width:648px;height:565px;border-top:#000000 1px solid;border-right:#000000 1px solid;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 2.1 System configuration for the bill of materials&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/720x654/__key/communityserver-wikis-components-files/00-00-00-01-66/6663.contentimage_5F00_199642.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/6663.contentimage_199642.jpg-620x563.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=nwlXkehoDbfNIUTWDF53r1TuUjfy8KomSYpsAXGPJiw%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=D5HhG7+9yQ8aMwIIFzfbEA==" style="max-height: 563px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The associated bill of materials for the system shown in Figure 2.1 is listed in Table 2.1.&lt;/p&gt;&lt;p style="margin:0;text-align:center;"&gt;&lt;strong&gt;Table 2.1 - the Bill of Materials.&lt;/strong&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" style="border:1px solid #000000;width:100%;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="5%"&gt;&lt;strong&gt;ID&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="15%"&gt;&lt;strong&gt;Part&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="55%"&gt;&lt;strong&gt;Comment&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="3%"&gt;&lt;strong&gt;Qty&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="12%"&gt;&lt;strong&gt;Order Code&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1(a)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;R-Pi Model A&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Either Model can be used (includes 4GB SD Card). Use a Multicomp enclosure to protect the R-Pi base.&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-kYcebsYT-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2254699&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2254699&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;R-Pi Model A&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-kYcebsYT-unlinked"&gt;R-Pi Model A&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1(b)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;R-Pi Model B&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Use a Multicomp enclosure to protect the R-Pi base. &lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Can include the use of a Cat 5 Ethernet cable.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-9Wvoe1VL-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2191863&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2191863&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;R-Pi Model B&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-9Wvoe1VL-unlinked"&gt;R-Pi Model B&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1(c)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;R-Pi Enclosure&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Multicomp enclosure to protect the R-Pi base.&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-jvZPmpkn-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2113799&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2113799&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;R-Pi Enclosure&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-jvZPmpkn-unlinked"&gt;R-Pi Enclosure&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1(d)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;SD Card&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Storage medium (8GB) for the R-Pi (with NOOBS pre-installed).&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-8P3ySCIH-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2334981&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2334981&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;SD Card&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-8P3ySCIH-unlinked"&gt;SD Card&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Embedded Pi&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;p style="margin:0;"&gt;The external board, connected to the the R-Pi (using the GPIO interface), that provides the link to TinkerKit Sensor Shield.&lt;/p&gt;&lt;p style="margin:0;"&gt;Optional 12V DC External Power Supply for the E-Pi.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-w3eBVPsd-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2301086&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2301086&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;Embedded Pi&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-w3eBVPsd-unlinked"&gt;Embedded Pi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-jSu6FAar-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2060979&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2060979&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;External 12V DC Power Supply&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-jSu6FAar-unlinked"&gt;External 12V DC Power Supply&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;3&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Keyboard&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Include a USB cable.&amp;nbsp; Get as part of an Accessory Bundle (see 4 below).&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td rowspan="2" style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-v40X6Dn5-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2144556&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2144556&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;Accessory Bundle&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-v40X6Dn5-unlinked"&gt;Accessory Bundle&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;4&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Mouse&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Include a USB cable.&amp;nbsp; Get as part of an Accessory Bundle (see 3 above).&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;5&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;WiPi&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Wireless access via USB.&amp;nbsp; Required to provide network access if a R-Pi Model A is used.&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-ONMMMK8B-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2133900&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2133900&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;WiPi&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-ONMMMK8B-unlinked"&gt;WiPi&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;6&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;PiView&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;HDMI/VGA adapter to provide connection to a non-HDMI enabled monitor.&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-nLxmkDot-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2133899&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2133899&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;PiView&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-nLxmkDot-unlinked"&gt;PiView&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;7&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Monitor&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;A suitable colour monitor (VGA or HDMI connectivity recommended).&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;8&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;USB2 Hub&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Includes the power supply and USB2 cables.&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-PYTmCUkX-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2115058&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2115058&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;USB2 Hub&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-PYTmCUkX-unlinked"&gt;USB2 Hub&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;9&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Power Supply&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;R-Pi power supply with 5V/1A output. Micro USB connector.&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-2x0hHLHg-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2254792&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2254792&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;Power Supply&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-2x0hHLHg-unlinked"&gt;Power Supply&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;10&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Power Supply&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;USB2 power supply (5V/1A with 2.1mm x 5.5mm Barrel Plug connector). &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Included with the USB2 Hub (see 8 above).&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;11&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;TinkerKit Sensor Shield&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Arduino Sensor Shield Base Kit (including a set of sensors/actuator).&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-jGGLt52C-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2075348&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2075348&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;TinkerKit Sensor Shield Base Kit&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-jGGLt52C-unlinked"&gt;TinkerKit Sensor Shield Base Kit&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;12&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;TinkerKit Sensor/Actuator Modules&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Set of sensor/actuator modules for use with the Sensor Shield (in particular LED, Button, Tilt and Relay).&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;(As above)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="BoM_HardConfig"&gt;&lt;/a&gt;2.2 Hardware Configuration&lt;/h2&gt;&lt;p style="margin:0;"&gt;The hardware connectivity is detailed in Table 2.2.&lt;/p&gt;&lt;p style="margin:0;text-align:center;"&gt;&lt;span style="text-align:center;"&gt;&lt;strong&gt;Table 2.2 - The hardware connectivity.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" style="border:1px solid #000000;width:100%;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="5%"&gt;ID&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="15%"&gt;&lt;strong&gt;Connector&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="25%"&gt;&lt;strong&gt;Connection&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="55%"&gt;&lt;strong&gt;Comment&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;A&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;VGA (PiView)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;Monitor/R-Pi&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;Part of the Monitor cable to the R-Pi.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;B&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;HDMI (PiView)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;R-Pi/Monitor&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;Part of the Monitor cable to the R-Pi.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;C&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Power Cable&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;R-Pi Micro USB/Mains&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Power supply for the R-Pi.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;D&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;GPIO&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;R-Pi/E-Pi&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;The GPIO flat-flex cable (female-to-female).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;E&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Power Cable&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;USB2 Hub/Mouse + Keyboard&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;Power for the USB2 hub - the hub supports seven ports.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;F&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;USB Cable&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;USB2 Hub/Mouse + Keyboard&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;USB cable connection for the Mouse and Keyboard.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;G&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;USB Insert&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;R-Pi/WiPi&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;The WiPi will be plugged directly into the USB2 hub.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;H&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;USB Cable&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;USB2 Hub/R-Pi&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;USB cable to connect the USB hub to the R-Pi. The R-Pi can also draw power using this cable.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;I&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Header Pins&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;E-Pi/Sensor Shield&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Sensor Shield underside pins inserted directly into E-Pi Arduino form factor compatible interface pins.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;J&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;3-Pin Wires&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Sensor Shield/Sensor and Actuator Modules&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Connect each sensor/actuator module to the Sensor Shield &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; 3-pin sockets. Wiring supplied as part of the TinkerKit Sensor Shield Base Kit.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;K&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Cat 5 Ethernet Cable&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;R-Pi (Model B)/Network Hub&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Ethernet-based network access.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="BoM_SoftConfig"&gt;&lt;/a&gt;2.3 Software Configuration&lt;/h2&gt;&lt;p style="margin:0;"&gt;The software required to support this project that must be installed on the R-Pi is:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;R-Pi Operating System (Raspbian) - this is installed using the NOOBS that comes pre-installed on the R-Pi SD cards.&amp;nbsp; If NOOBS is not preinstalled it is available at &lt;a class="jive-link-external-small" href="http://www.raspberrypi.org/downloads" rel="nofollow" target="_blank"&gt;Downloads&lt;/a&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;Integrated Development Environment - &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;IDLE with Python 2.x support (normally installed as part of Raspbian).&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="Instructions"&gt;&lt;/a&gt;3. Set of Instructions&lt;/h1&gt;&lt;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;The set of instructions for using the E-Pi are:&lt;/p&gt;&lt;ol style="font-size:12px;font-family:Verdana;color:#333333;"&gt;&lt;li&gt;Configure the R-Pi system in preparation for the connection of the E-Pi and usage of the demonstration software i.e. the monitor, USB2 Hub, keyboard and mouse and the network connection (using either a WiPi for wireless access or using the wired Ethernet port).&amp;nbsp; If the WiPi is to be used then insert the WiPi into one of the USB ports on the R-Pi - see &lt;a class="jive-link-anchor-small" href="#MoreRPi" style="font-style:inherit;font-family:inherit;color:#592d5f;"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The next step is to connect together the R-Pi, E-Pi and the Sensor Shield. A demonstration of this is shown in &lt;a class="jive-link-anchor-small" href="#Use_Config"&gt;Video 1&lt;/a&gt;. The R-Pi and E-Pi are connected via the GPIO interfaces using the flat-flex cable (supplied as part of the E-Pi kit). It is important to ensure that the two GPIO interfaces are connected correctly and so use the red edge on the flat-flex cable to confirm the correct alignment of the interfaces. The Sensor Shield is placed on top of the E-Pi and connected using the set of pins on the underside of the Sensor Shield and the outer set of sockets on the E-Pi Arduino Form-Factor Compatible interfaces. Set the E-Pi power bus voltage to 3.3V (using Jumper JP1). Finally the E-Pi must be configured for the R-Pi mode by making sure that only the Jumper JP3 (&amp;#39;R&amp;#39;) is present of the JP3 (&amp;#39;R&amp;#39;) and and JP4 (&amp;#39;S&amp;#39;) pair - see &lt;a class="jive-link-anchor-small" href="#MoreEPi"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;To use the LED modules take the 3-pin twisted wires cable that were supplied with the TinkerKit Sensor Shield Base Kit and connect the LED modules to the orange sockets (Analog output) on the Sensor Shield. Download the Python software program &amp;#39;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-leds-rgv1p0p0.py&lt;/span&gt;&amp;#39; from the Element14 GitHub repository and run it using the LXApplication. &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;A demonstration of this software is shown in &lt;a class="jive-link-anchor-small" href="#Use_LED"&gt;Video 2&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt; - see &lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-anchor-small" href="#MoreLED" style="font-family:Verdana;font-size:12px;"&gt;More Detail&lt;/a&gt;&lt;a class="jive-link-anchor-small" href="#Use_LED"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;To use the Button modules take the 3-pin twisted wires cable that were supplied with the TinkerKit Sensor Shield Base Kit and connect the Button modules to the orange sockets (Analog output) on the Sensor Shield. Download the Python software program &amp;#39;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-buttons-rgv1p0p0.py&lt;/span&gt;&amp;#39; from the Element14 GitHub repository and run it using the LXApplication. A demonstration of this software is shown in &lt;a class="jive-link-anchor-small" href="#Use_Button"&gt;Video 3&lt;/a&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt; - see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#MoreButton" style="font-family:Verdana;font-size:12px;"&gt;More Detail&lt;/a&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;To demonstrate the use of the Tilt Switch module connect it and one of the LED modules &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;to the orange sockets (Analog Output) on &lt;/span&gt;Sensor Shield using the 3-pin twisted wires cables. Note that the Tilt Switch should be connected to the orange socket &amp;#39;O0&amp;#39; and the LED to orange socket &amp;#39;O1&amp;#39;. &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;Download the Python software program &amp;#39;&lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-tilt-rgv1p0p0.py&lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&amp;#39; from the Element14 GitHub repository and run it using the LXApplication. While the software is running vary the orientation of the Tilt Switch and observe the brightness of the LED (it should be possible to turn the LED &amp;#39;on&amp;#39; and &amp;#39;off&amp;#39; by varying the orientation of the Tilt Switch). A demonstration of this software is shown in &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#Use_Tilt" style="font-family:Verdana;font-size:12px;"&gt;Video 4&lt;/a&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt; - see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#MoreTilt" style="font-family:Verdana;font-size:12px;"&gt;More Detail&lt;/a&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;To demonstrate the use of the Relay module connect it and a Button module to the Sensor Shield (via the orange sockets &amp;#39;O3&amp;#39; and &amp;#39;O2&amp;#39; respectively) using two 3-pin twisted wires cables. The Relay is used to control current flow through a separate circuit and for this demonstration a small red LED is wired to the Relay such that the LED is &amp;#39;off&amp;#39; under normal operation. The power to the red LED is drawn from convenient 3.3V and ground pins on the E-Pi via the Power Socket on the Arduino Form-Factor Compatible Interface on the Sensor Shield. The demonstration involves the Button being pressed to close the Relay and thus light the red LED. When the Button is pressed again, the Relay is opened and the LED turned &amp;#39;off&amp;#39;. &lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;Download the Python software program &amp;#39;&lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-relay-rgv1p0p0.py&lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&amp;#39; from the Element14 GitHub repository and run it using the LXApplication.&lt;/span&gt;&lt;span style="line-height:1.5em;"&gt; &lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;A demonstration of this software is shown in &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#Use_Relay" style="font-family:Verdana;font-size:12px;"&gt;Video 5&lt;/a&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt; - see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#MoreRelay" style="font-family:Verdana;font-size:12px;"&gt;More Detail.&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="More"&gt;&lt;/a&gt;4. More Details&lt;/h1&gt;&lt;h2&gt;&lt;a name="MoreRPi"&gt;&lt;/a&gt;4.1 Configure the R-Pi System&lt;/h2&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;The layout of the R-Pi (Model B) is shown in Figure 4.1. Once the various cables have been connected to the R-Pi, the configuration is as shown in Figure 4.2 (the alphanumeric annotations refer to the identifier entries in Tables 2.1 and 2.2). The latest versions of the Raspbian operating system can be installed using the instructions in &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-size:12px;font-family:Verdana;color:#592d5f;"&gt;Appendix B1.1&lt;/a&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;.&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="420" style="border:1px solid #000000;width:1141px;height:389px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.1 - &lt;span style="font-size:12px;font-family:Verdana;color:#ffffff;text-align:center;"&gt;&lt;strong&gt;R-Pi Model B board layout.&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.2 - &lt;span style="font-size:12px;font-family:Verdana;color:#ffffff;text-align:center;"&gt;&lt;strong&gt;The R-Pi with the set of connected cables.&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/490x365/__key/communityserver-wikis-components-files/00-00-00-01-66/6472.contentimage_5F00_199643.html"&gt;community.element14.com/.../6472.contentimage_5F00_199643.html&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/594x359/__key/communityserver-wikis-components-files/00-00-00-01-66/2475.contentimage_5F00_199644.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/2475.contentimage_199644.jpg-594x359.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=gBD%2F0b3xPYWIMUsWSeT0Oo5nUZpJYzZrGpopkjpj7zw%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=WVItEDZJzeZzI+yjXi5MvA==" style="max-height: 359px;max-width: 594px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreEPi"&gt;&lt;/a&gt;4.2 Connecting the R-Pi, E-Pi and Sensor Shield&lt;/h2&gt;&lt;p style="margin:0;"&gt;Once the R-Pi has been configured, the next step is to connect the E-Pi and Sensor Shield in preparation for using the various sensor and actuator modules. The E-Pi is connected to the R-Pi using the GPIO flat-flex cable as shown in Figure 4.3 (note the positioning of the red edge of the flat-flex cable with respect to the orientation of the R-Pi and E-Pi).&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="425" style="border:1px solid #000000;width:569px;height:381px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.3 - R-Pi and E-Pi connection.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/541x372/__key/communityserver-wikis-components-files/00-00-00-01-66/1070.contentimage_5F00_199645.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/1070.contentimage_199645.jpg-541x372.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=RfloE8El8ac%2BvH0XzhhnUW8Wb7dYd1hsaFcfyIEtGIw%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=gdeehkWuCJSEDvYj/CcMJg==" style="max-height: 372px;max-width: 541px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The Sensor Shield is inserted into the outer set of pins on the E-Pi i.e. the Arduino Form-Factor Compatible Interface (see &lt;a class="jive-link-anchor-small" href="#AppA"&gt;Appendix A&lt;/a&gt;): this connection is shown in Figure 4.4 (Figure 4.4d showing the use of the outer set of pins). The GPIO pins on the underside of the E-Pi are used to connect to the R-Pi as shown in Figure 4.4a.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="1061" style="border:1px solid #000000;width:1044px;height:1019px;" width="1165"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.4 - E-Pi and Sensor Shield connection.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/532x322/__key/communityserver-wikis-components-files/00-00-00-01-66/4213.contentimage_5F00_199646.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/4213.contentimage_199646.jpg-532x322.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=wlTD84m9I96aciG7KtWL8rFZ9ezAY58TbWT1be1cavI%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=rgo9OXJU8ZCVxuB7eW8G0Q==" style="max-height: 322px;max-width: 532px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a)&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/576x322/__key/communityserver-wikis-components-files/00-00-00-01-66/4617.contentimage_5F00_199647.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/4617.contentimage_199647.jpg-576x322.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=MfR5jnI2TVTOYd845DAtM7gAHLbUqbtKyYYNCmJVwSw%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=YWPPex4/9BxU5ZXfh/nD5g==" style="max-height: 322px;max-width: 576px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/362x607/__key/communityserver-wikis-components-files/00-00-00-01-66/1563.contentimage_5F00_199648.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/1563.contentimage_199648.jpg-362x607.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=K8unN3eNSAeI4dG29e%2BCDKfu0MencX7P03bEtylBu2Y%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=E+us2bPusIVo7T/ydo14lQ==" style="max-height: 607px;max-width: 362px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c)&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/427x617/__key/communityserver-wikis-components-files/00-00-00-01-66/5706.contentimage_5F00_199649.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/5706.contentimage_199649.jpg-427x617.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=OsZEk3d6PxNLN4lALusTozNAWswTAWRJRDymYYHH2Dc%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=ACpQvLWy3bmzO5BivkCyww==" style="max-height: 617px;max-width: 427px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(d)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;When all three devices are connected, the layout is as shown in Figure 4.5. Note that in Figure 4.5 the JP3 (&amp;#39;S&amp;#39;) jumper has been removed to prepare the E-Pi to operate in R-Pi mode (see &lt;a class="jive-link-anchor-small" href="#AppA"&gt;Appendix A&lt;/a&gt; for more details on the JP3).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="448" style="border:1px solid #000000;width:598px;height:420px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.5 - The connected R-Pi, E-Pi and Sensor Shield.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/570x395/__key/communityserver-wikis-components-files/00-00-00-01-66/4201.contentimage_5F00_199650.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/4201.contentimage_199650.jpg-570x395.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=WRuQsDX6xta67in%2BoU0WZLhsudre1pPIecE2FQZYNCw%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=yAV99BZJv7dmMZ6gSUV2wA==" style="max-height: 395px;max-width: 570px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;See &lt;a class="jive-link-anchor-small" href="#Use_Config"&gt;Video 1&lt;/a&gt; for a demonstration of how to connect the R-Pi, E-Pi and Sensor Shield.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreLED"&gt;&lt;/a&gt;4.3 Demonstrating the Sensor Shield LED Actuator Module&lt;/h2&gt;&lt;p style="margin:0;"&gt;The LED modules are connected to the Analog Output (orange) sockets on the Sensor Shield using the 3-pin wires. The green LED on the module board will be lit when the E-Pi/Sensor Shield is powered. The Sensor Shield can support up to six LED modules all of which are controlled independent of each other. See Figure 4.6 for the connection of the demonstrator. The order of the LEDs connected to the Sensor Shield is not important because the software drives all of the output sockets.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="398" style="border:1px solid #000000;width:974px;height:293px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.6 - Connecting the LEDs to the R-Pi, E-Pi and Sensor Shield.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/297x323/__key/communityserver-wikis-components-files/00-00-00-01-66/4048.contentimage_5F00_199651.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/4048.contentimage_199651.jpg-297x323.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=k3msctppSv2rs1LHTlicWVY%2BvuyUJbdbB0gFmStjc4A%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=87Cw8fCgChrORFeHmidzBw==" style="max-height: 323px;max-width: 297px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) LED module connection.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x317/__key/communityserver-wikis-components-files/00-00-00-01-66/2275.contentimage_5F00_199652.html"&gt;community.element14.com/.../2275.contentimage_5F00_199652.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Full configuration.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Once the hardware has been configured the demonstration software should be used. Download the Python software program &amp;#39;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-leds-rgv1p0p0.py&lt;/span&gt;&amp;#39; from the Element14 GitHub repository - see &lt;a class="jive-link-anchor-small" href="#AppB"&gt;Appendix B&lt;/a&gt;. To run the software use the LXApplication and type the following instruction:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;sudo python &lt;/strong&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;strong&gt;epi-leds-rgv1p0p0.py&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Now follow the instructions printed on the terminal. This program will now switch the LEDS on and off in a number of predefined sequences. A commentary on the activity of the program is printed on the terminal display. This program can be changed to reflect any personal preferences on the control of the LEDs. See &lt;a class="jive-link-anchor-small" href="#Use_LED"&gt;Video 2&lt;/a&gt; for a demonstration of the operation of this software.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreButton"&gt;&lt;/a&gt;4.4 Demonstrating the Sensor Shield Button Sensor Module&lt;/h2&gt;&lt;p style="margin:0;"&gt;The Button modules are connected to the Analog Output (orange) sockets on the Sensor Shield using the 3-pin wires. The green LED on the module board will be lit when the E-Pi/Sensor Shield is powered. The Sensor Shield can support up to six Button modules all of which are controlled independent of each other. See Figure 4.7 for the connection of the demonstrator. The actual orange sockets used to connect to the Sensor Shield is not important because the software monitors all of the output sockets.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="334" style="border:1px solid #000000;width:869px;height:326px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.7 - Connecting the Buttons to the R-Pi, E-Pi and Sensor Shield.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/306x283/__key/communityserver-wikis-components-files/00-00-00-01-66/1780.contentimage_5F00_199653.html"&gt;community.element14.com/.../1780.contentimage_5F00_199653.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Button module connection.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/529x282/__key/communityserver-wikis-components-files/00-00-00-01-66/1602.contentimage_5F00_199654.html"&gt;community.element14.com/.../1602.contentimage_5F00_199654.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Full configuration.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Once the hardware has been configured the demonstration software should be used. Download the Python software program &amp;#39;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-buttons-rgv1p0p0.py&lt;/span&gt;&amp;#39; from the Element14 GitHub repository - see &lt;a class="jive-link-anchor-small" href="#AppB"&gt;Appendix B&lt;/a&gt;. To run the software use the LXApplication and type the following instruction:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;sudo python &lt;/strong&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;strong&gt;epi-buttons-rgv1p0p0.py&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Now follow the instructions printed on the terminal. This program will now monitor the state of the buttons and display this state on the terminal window. A commentary on the activity of the program is printed on the terminal display. This program can be changed to reflect any personal preferences on the control of the buttons. See &lt;a class="jive-link-anchor-small" href="#Use_Button"&gt;Video 3&lt;/a&gt; for a demonstration of the operation of this software.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreTilt"&gt;&lt;/a&gt;4.5 Demonstrating the Sensor Shield Tilt Sensor Module&lt;/h2&gt;&lt;p style="margin:0;"&gt;In this demonstration the Tilt Switch is used to drive the state of an LED i.e. when the Tilt switch is upright the LED is &amp;#39;on&amp;#39; otherwise the LED is &amp;#39;off&amp;#39;. The Tilt Switch and LED modules are connected to the Analog Output (orange) sockets on the Sensor Shield using the 3-pin wires. The green LED on the module board will be lit when the E-Pi/Sensor Shield is powered. See Figure 4.8 for the connection of the demonstrator. It is important to connect the LED and Tilt Switch to the correct orange sockets otherwise the software will not work correctly (unless it is also modified to reflect the different sockets connections). The software assumes that the Tilt Switch is connected using socket &amp;#39;O1&amp;#39; and the LED using socket &amp;#39;O0&amp;#39;.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="454" style="border:1px solid #000000;width:666px;height:442px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.8 - &lt;span style="color:#ffffff;text-align:center;"&gt;&lt;strong&gt;Connecting theTilt Switch to the R-Pi, E-Pi and Sensor Shield.&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/262x379/__key/communityserver-wikis-components-files/00-00-00-01-66/8726.contentimage_5F00_199655.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/8726.contentimage_199655.jpg-262x379.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=z8H%2B2sYXaAtspUoXIygrMOg01k61WbppZDH3xcA5VlY%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=7t3n+lzJnmazKEIfr2IOhA==" style="max-height: 379px;max-width: 262px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Tilt switch connection.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/347x376/__key/communityserver-wikis-components-files/00-00-00-01-66/1373.contentimage_5F00_199656.html"&gt;community.element14.com/.../1373.contentimage_5F00_199656.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Full configuration.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Once the hardware has been configured the demonstration software should be used. Download the Python software program &amp;#39;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-tilt-rgv1p0p0.py&lt;/span&gt;&amp;#39; from the Element14 GitHub repository - see &lt;a class="jive-link-anchor-small" href="#AppB"&gt;Appendix B&lt;/a&gt;. To run the software use the LXApplication and type the following instruction:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;sudo python &lt;/strong&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;strong&gt;epi-tilt-rgv1p0p0.py&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Now follow the instructions printed on the terminal. While the demonstration software is running vary the orientation of the Tilt Switch and watch the corresponding change in state of the LED module and the logging on the terminal. A commentary on the activity of the program is printed on the terminal display. This program can be changed to reflect any personal preferences on the use of the Tilt Switch. See &lt;a class="jive-link-anchor-small" href="#Use_Tilt"&gt;Video 4&lt;/a&gt; for a demonstration of the operation of this software.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreRelay"&gt;&lt;/a&gt;4.6 Demonstrating the Sensor Shield Relay Actuator Module&lt;/h2&gt;&lt;p style="margin:0;"&gt;In this demonstration the state of the Relay module is controlled using a Button module. The Relay and Button modules are connected to the Analog Output (orange) sockets on the Sensor Shield using the 3-pin wires. See Figure 4.9 for the connection of the demonstrator. It is important to connect the Relay and Button modules to the correct orange sockets otherwise the software will not work correctly (unless it is also modified to reflect the different sockets connections). The software assumes that the Relay is connected using socket &amp;#39;O3&amp;#39; and the Button using socket &amp;#39;O2&amp;#39;. The small red LED, see Figure 4.9a, is connected to the power pins on the E-Pi Power port .e. one of the GND pins and the 3.3V pin. The aim is to show that when the Relay is closed the current can flow through the red LED and thus show that the relay has changed state. The drop-down resistor (approx 180 Ohm) is used to ensure that the voltage drop across the LED is not more than 2.2V (the connection to the E-Pi is configured to supply a voltage of 3.3V). The red LED is wired to the &amp;#39;NO&amp;#39; port on the Relay and so the circuit is normally open.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="475" style="border:1px solid #000000;width:1267px;height:436px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure 4.9 - Connecting the Relay module to the R-Pi/E-Pi/Sensor Shield.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/590x398/__key/communityserver-wikis-components-files/00-00-00-01-66/5415.contentimage_5F00_199657.html"&gt;community.element14.com/.../5415.contentimage_5F00_199657.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Relay module connection.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/720x465/__key/communityserver-wikis-components-files/00-00-00-01-66/2475.contentimage_5F00_199658.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/2475.contentimage_199658.jpg-620x400.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=TJFj7%2FXNxb7Qb5IEvRxvlnyY8eId7GSu1JvrDBH%2F2bw%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=aFcxUeioAgR4LdYxrlxNeg==" style="max-height: 400px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Full configuration.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Once the hardware has been configured the demonstration software should be used. Download the Python software program &amp;#39;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-relay-rgv1p0p0.py&lt;/span&gt;&amp;#39; from the Element14 GitHub repository - see &lt;a class="jive-link-anchor-small" href="#AppB"&gt;Appendix B&lt;/a&gt;. To run the software use the LXApplication and type the following instruction:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;sudo python &lt;/strong&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;strong&gt;epi-relay-rgv1p0p0.py&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Now follow the instructions printed on the terminal. The state of the Relay is changed by pressing the Button.&amp;nbsp; At the start, the Relay is open (the small red LED is also off) and when the Button is pressed the Relay is closed (the red LED is now turned on). If the Button is pressed again then the Relay opened (the red LED is now off). Note that there is an audible click every time the state of the Relay is changed. A commentary on the activity of the program is printed on the terminal display. This program can be changed to reflect any personal preferences on the use of the Relay module. See &lt;a class="jive-link-anchor-small" href="#Use_Relay"&gt;Video 5&lt;/a&gt; for a demonstration of the operation of this software.&lt;/p&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="Use"&gt;&lt;/a&gt;5. Using the Embedded-Pi&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;All of the videos below are available in medium resolution (a) and high resolution (b) - the high resolution will require at least a 3.5Mbps broadband data rate to view in streamed mode.&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;a name="Use_Config"&gt;&lt;/a&gt;5.1 Configuring the Hardware&lt;/h2&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;A video, 8 minutes long, demonstrating the wiring together of the R-Pi, E-Pi and Sensor Shield is shown in Video 1.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="364" style="border:1px solid #000000;width:1053px;height:352px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Video 1 - Wiring the R-Pi, E-Pi and Sensor Shield.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="73af415f_a3fa_4247_98bd_556e6ab071a4"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3430989902001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) High resolution.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="e023685f_df6d_419e_add2_32aa4af73150"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3430883297001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Medium Resolution.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;text-align:center;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="Use_LED"&gt;&lt;/a&gt;5.2 Demonstrating the Embedded Pi with Sensor Shield LED&lt;/h2&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;A video, 4 minutes long, demonstrating the use of the R-Pi, E-Pi and Sensor Shield to control LEDs is shown in Video 2.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="365" style="border:1px solid #000000;width:1055px;height:367px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Video 2 - Demonstrating the R-Pi, E-Pi and Sensor Shield to drive a set of LEDs.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="70c46ec8_54ac_4f90_9b5d_7d4e32be5758"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3429735687001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) High resolution.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="84544219_4879_46d9_a1cf_39dba7ea597f"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3429702433001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Medium Resolution.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="Use_Button"&gt;&lt;/a&gt;5.3 Demonstrating Embedded Pi with Sensor Shield Buttons&lt;/h2&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;A video, 4 minutes long, demonstrating the use of the R-Pi, E-Pi and Sensor Shield to sense the state of Buttons is shown in Video 3.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="364" style="border:1px solid #000000;width:1053px;height:363px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Video 3 - Demonstrating the R-Pi, E-Pi and Sensor Shield to sense the state of buttons.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="604123f3_b37a_4314_b28c_9e312c4fc1c3"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3430796859001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) High resolution.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="d2d45b4b_ade1_4c5f_9f2d_2523dc541ad3"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3429904328001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Medium Resolution.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="Use_Tilt"&gt;&lt;/a&gt;5.4 Demonstrating Embedded Pi with Sensor Shield Tilt Sensor&lt;/h2&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;A video, 2 minutes long, demonstrating the use of the R-Pi, E-Pi and Sensor Shield to sense the state of a Tilt Switch and to use an LED to show that state is shown in Video 4.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="364" style="border:1px solid #000000;width:1053px;height:360px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Video 4 - Demonstrating the R-Pi, E-Pi and Sensor Shield to sense the state of a Tilt Sensor.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="3d0eb32e_03fe_4922_a7e2_ee0735270885"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3429654016001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) High resolution.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="10aa74b3_fadc_4ffd_9fac_6b28cce5e378"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3429641782001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Medium Resolution.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="Use_Relay"&gt;&lt;/a&gt;5.5 Demonstrating Embedded Pi with Sensor Shield Relay Actuator&lt;/h2&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;A video, 3 minutes long, demonstrating the use of the R-Pi, E-Pi and Sensor Shield to change the state of a Relay actuator using a Button/switch is shown in Video 5.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="364" style="border:1px solid #000000;width:1053px;height:339px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Video 1 - Demonstrating the R-Pi, E-Pi and Sensor Shield to control the state of a Relay actuator.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="d2db72bf_c2ca_4c55_b2e3_309dffd62f25"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3429702387001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) High resolution.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span id="bca911e9_e63a_4863_923b_9cd6d6370d04"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3429641809001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Medium Resolution.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="Trouble"&gt;&lt;/a&gt;6. Trouble Shooting&lt;/h1&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table align="left" border="0" cellpadding="0" cellspacing="0" style="border:0px;"&gt;&lt;tbody style="font-style:inherit;font-family:inherit;"&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="10%"&gt;&lt;strong&gt;Problem 1&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;font-style:inherit;font-family:inherit;border:0px solid black;" valign="top" width="90%"&gt;&lt;p style="margin:0;"&gt;When using the Tilt Switch demonstration software the state of the LED does not change when the Tilt switch is moved.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="10%"&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="90%"&gt;&lt;p style="margin:0;"&gt;Check that both the Tilt Switch and LED modules are connected to the correct sockets on the Sensor Shield i.e. &amp;#39;O1&amp;#39; and &amp;#39;O0&amp;#39; respectively. The demonstration software assumes that it is those two sockets that are used.&amp;nbsp; If different sockets are to be used then edit the Tilt Switch demonstration software.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="10%"&gt;&lt;strong&gt;Problem 2&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="90%"&gt;&lt;p style="margin:0;"&gt;When using the Relay demonstration software the state of the Relay does not change, there is no audible click and the red LED does not change, when the Button is pressed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="10%"&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="90%"&gt;&lt;p style="margin:0;"&gt;Check that both the Relay and Button modules are connected to the correct sockets on the Sensor Shield i.e. &amp;#39;O3&amp;#39; and &amp;#39;O2&amp;#39; respectively. The demonstration software assumes that it is those two sockets that are used.&amp;nbsp; If different sockets are to be used then edit the Relay demonstration software.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="6%"&gt;&lt;strong&gt;Problem 3&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="94%"&gt;&lt;p style="margin:0;"&gt;When using the relay software the state of the small red LED is inconsistent with the expected state i.e. when the Relay is open the LED is &amp;#39;on&amp;#39;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="6%"&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="94%"&gt;&lt;p style="margin:0;"&gt;The small LED has been connected to the wrong ports on the Relay module. The demonstration expects the red LED to be connected to the &amp;#39;COM&amp;#39; and &amp;#39;NO&amp;#39; ports and in your case it is connected to the &amp;#39;COM&amp;#39; and &amp;#39;NC&amp;#39; ports. The &amp;#39;NC&amp;#39; port, normally closed, means that the Relay is closed unless a voltage has been applied and so the red LED will be on.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="6%"&gt;&lt;strong&gt;Problem 4&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="94%"&gt;&lt;p style="margin:0;"&gt;When using the demonstration software the results are not as expected but repeatable i.e. the unexpected results are repeated each time the software is used.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border:0px;font-style:inherit;font-family:inherit;"&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="6%"&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:0px solid black;border:0px;border:0px;padding-right:4px;padding-left:4px;border:0px solid black;" valign="top" width="94%"&gt;&lt;p style="margin:0;"&gt;Make sure that the Sensor Shield is correctly plugged into the E-Pi and make sure that the E-Pi and R-Pi are correctly connected using the GPIO flat-flex cable. The Sensor Shield must be plugged into the outer sets of sockets on the E-Pi i.e. the Arduino Form-Factor Compatible Interface sockets. In the case of the GPIO flat-flex cable make sure the red edge cable is correctly aligned on the E-Pi and R-Pi devices.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="AppA"&gt;&lt;/a&gt;Appendix A - The Embedded Pi&lt;/h1&gt;&lt;p style="margin:0;"&gt;The layout of the E-Pi is shown in Figures A1.1 and A1.2. The E-Pi is supplied with the GPIO flat-flex cable (see Figure A1.3) and the plastic stands (see Figure A1.1c): the latter should be inserted into the E-Pi so that the underside is not damaged when the E-Pi is being used. The TinkerKit Sensor Shield is connected using the two outer sockets labelled as the Arduino Form-Factor Compatible Interface. The GPIO interface is one of the male set of pins on the underside (see Figure A1.1b). The other set of pins on the underside are the debug interface that enables the internal operation of the E-Pi to be observed using a set of test software (see the CooCox &lt;a class="jive-link-external-small" href="http://www.coocox.org/Embedded_Pi/Embedded_Pi_User_Manual.pdf" rel="nofollow ugc noopener" style="font-family:Verdana;font-size:12px;" target="_blank"&gt;Embedded Pi User Manual&lt;/a&gt; for more details - this interface is not used in this set of instructions). The GPIO ports are directly mapped to the Analogue Output/Digital Input pins that are part of the Arduino Form-Factor Compatible Interface. The details of the various GPIO pin numbers and relationships between the Arduino Form-Factor and the R-PI are defined in Table 3.7 in the &lt;a class="jive-link-external-small" href="http://www.coocox.org/Embedded_Pi/Embedded_Pi_User_Manual.pdf" rel="nofollow ugc noopener" style="font-family:Verdana;font-size:12px;" target="_blank"&gt;Embedded Pi User Manual&lt;/a&gt;.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="517" style="border:1px solid #000000;width:1257px;height:519px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure A1.1 - E-Pi board layout.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/595x438/__key/communityserver-wikis-components-files/00-00-00-01-66/8322.contentimage_5F00_199659.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/8322.contentimage_199659.jpg-595x438.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=flVMBPOrSy%2BChD3ZvKHTfiGKWDf2IFIGWhYt3H4dC6o%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=dlYom5nV5k0bqdkkTwE0yA==" style="max-height: 438px;max-width: 595px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Top view.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/593x419/__key/communityserver-wikis-components-files/00-00-00-01-66/7462.contentimage_5F00_199660.html"&gt;community.element14.com/.../7462.contentimage_5F00_199660.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Underside view.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The use of the three jumpers JP1, JP2 and JP3 is summarised in Table A1.1.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;text-align:left;"&gt;&lt;strong&gt;Table A1.1 - Use of the Jumpers of the E-Pi.&lt;/strong&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="167" style="border:1px solid #000000;width:1261px;height:150px;" width="1259"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;Jumper ID&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Function&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;JP1&lt;/td&gt;&lt;td rowspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Bus Power Selection&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Jumper across bottom two pins for Power Bus Output 3.3V (as shown in Figure A1.1a).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Jumper across top two pins for Power Bus Output 5V&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;JP3 (&amp;#39;R&amp;#39;)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;p style="margin:0;"&gt;R-Pi Bus Enablement&lt;/p&gt;&lt;/td&gt;&lt;td rowspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;p style="margin:0;"&gt;Together these two jumpers provide three modes of operation:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;STM32/Standalone Mode - &amp;#39;R&amp;#39; jumper absent / &amp;#39;S&amp;#39; jumper absent&lt;/li&gt;&lt;li&gt;ST-Adapter Mode - &amp;#39;R&amp;#39; jumper present / &amp;#39;S&amp;#39; jumper present (as shown in Figure A1.1a)&lt;/li&gt;&lt;li&gt;R-Pi Mode - &amp;#39;R&amp;#39; jumper present / &amp;#39;S&amp;#39; jumper absent (required for this set of instructions).&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;JP4 (&amp;#39;S&amp;#39;)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;STM32 Bus Enablement&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The various side images of the E-Pi are shown in Figure A1.2. In these image both the &amp;#39;R&amp;#39; and &amp;#39;S&amp;#39; jumpers are present and the voltage is set to 3.3V. To set the E-Pi for R-Pi mode the &amp;#39;S&amp;#39; jumper must be removed.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="987" style="border:1px solid #000000;width:1258px;height:959px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure A1.2 - Side views of the E-Pi.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/598x257/__key/communityserver-wikis-components-files/00-00-00-01-66/2604.contentimage_5F00_199661.html"&gt;community.element14.com/.../2604.contentimage_5F00_199661.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a)&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/581x266/__key/communityserver-wikis-components-files/00-00-00-01-66/6354.contentimage_5F00_199662.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/6354.contentimage_199662.jpg-581x266.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=KOt24WEt%2Bg1B8qqGo0ULw%2FgdS8X8tjKHUFKOywMTdVI%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=ePCHPlDtBM64BCylwBzatQ==" style="max-height: 266px;max-width: 581px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/484x594/__key/communityserver-wikis-components-files/00-00-00-01-66/4201.contentimage_5F00_199663.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/4201.contentimage_199663.jpg-484x594.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=lKlwQ5iENzXL39k3vl50C5%2FfDkwghowZ70M7vlWqYjU%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=88NuCI8cEhkXqP0vrF1UHg==" style="max-height: 594px;max-width: 484px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c)&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/508x594/__key/communityserver-wikis-components-files/00-00-00-01-66/4048.contentimage_5F00_199664.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/4048.contentimage_199664.jpg-508x594.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Wxqh3xzEnPLlcV%2BrJhrGye%2BKMIB2x4XTKe1gANIx1vM%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=2OBuOCVOq4voP1n1gthm7Q==" style="max-height: 594px;max-width: 508px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(d)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The R-Pi and E-Pi are connected using the GPIO interface and the flat-flex cable supplied with the E-Pi. The GPIO cable is connected as shown in Figure A1.3 i.e. the red edge is at the top such that the dimple on the actual connector (dimple cannot be seen in Figure A1.3) faces into the rest of the R-Pi.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="462" style="border:1px solid #000000;width:648px;height:322px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;strong&gt;Figure A1.3 - The GPIO cable used to connect the E-Pi to the R-Pi.&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x409/__key/communityserver-wikis-components-files/00-00-00-01-66/8551.contentimage_5F00_199665.html"&gt;community.element14.com/.../8551.contentimage_5F00_199665.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="AppB"&gt;&lt;/a&gt;Appendix B - The Software&lt;/h1&gt;&lt;h2&gt;&lt;a name="AppB_B1"&gt;&lt;/a&gt;B1 System Software&lt;/h2&gt;&lt;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;To ensure that you have the latest version of the operating system and the Python development environment then working in the LXTerminal application type the following instructions:&lt;/p&gt;&lt;p style="margin:0;padding:0px;font-size:12px;font-family:Verdana;color:#333333;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-style:inherit;font-family:inherit;"&gt;&lt;em&gt;&lt;strong&gt;sudo apt-get update&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-style:inherit;font-family:inherit;"&gt;&lt;em&gt;&lt;strong&gt;sudo apt-get install python-get python-pip&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;font-size:12px;font-family:Verdana;color:#333333;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;This will download and install the latest versions of the software.&lt;/p&gt;&lt;h2&gt;&lt;a name="AppB_B2"&gt;&lt;/a&gt;B2 The Embedded Pi/Sensor Shield Python Demonstration Software&lt;/h2&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;The demonstration Python software written for this project is available in the Element14 GitHub at: &lt;a class="jive-link-external-small" href="https://github.com/element14/pi_project/tree/master/EmbeddedPi_Introduction" rel="nofollow ugc noopener" target="_blank" title="https://github.com/element14/pi_project/tree/master/EmbeddedPi_Introduction"&gt;https://github.com/element14/pi_project/tree/master/EmbeddedPi_Introduction&lt;/a&gt;&lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;. A clone of this software should be established using an appropriate software versioning application. The clone can be established at: &lt;/span&gt;&lt;a class="jive-link-external-small" href="https://github.com/element14/pi_project.git" rel="nofollow" style="font-size:12px;font-family:Verdana;color:#592d5f;" target="_blank"&gt;https://github.com/element14/pi_project.git&lt;/a&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;. The software files are:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-leds-rgv1p0p0.py - to demonstrate the use of the TinkerKit LED actuator. This drives six LEDs connected to the &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; sockets on the Sensor Shield; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-buttons-rgv1p0p0.py - to demonstrate the use of the TinkerKit Button sensor. This monitors the state of any Buttons connected to the &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; sockets on the Sensor Shield&lt;/span&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-tilt-rgv1p0p0.py - to demonstrate the use of the TinkerKit Tilt sensor with the TinkerKit LED actuator. This uses the &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&amp;#39;O0&amp;#39; and &amp;#39;O1&amp;#39; sockets on the Sensor Shield for the connection of the Tilt Switch and LED modules&lt;/span&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;epi-relay-rgv1p0p0.py - to demonstrate the use of the TinkerKit Relay actuator with the TinkerKit Button sensor. &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;This uses the &lt;/span&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&amp;#39;O2&amp;#39; to &amp;#39;O3&amp;#39; sockets on the Sensor Shield for the connection of the Button and Relay modules&lt;/span&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;font-size:12px;font-family:Verdana;color:#333333;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;The software requires that the RPi.GPIO Python module is installed (RPi.GPIO is installed in all Raspbian operating system from Sept 2012 onwards). The demonstration software is written in Python 2.7. The use of the RPi.GPIO module means that root access is required to run the software and so when using the LXTerminal, type the following to run one of the programs:&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;sudo python &amp;lt;&amp;lt;program name&amp;gt;&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;strong&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;As each program runs it uses the display to provide the corresponding activity report, prompt for user input and to display the associated sensor/actuator input/output.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;NOTE: This demonstration software does not need software downloaded and running on the Embedded Pi host processor itself. The E-Pi is used as a hardware connection conduit to the Sensor Shield with the E-Pi operating in R-Pi mode.&lt;/p&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="AppC"&gt;&lt;/a&gt;Appendix C - The Arduino Tinker Kit Sensor Shield&lt;/h1&gt;&lt;p style="margin:0;"&gt;The layout of the TinkerKit Sensor Shield is shown in Figure C1.1. Figure C1.1a shows the top view and C1.1b the underside view. A Sensor Shield is just one of many Arduino Shields that are available. The Sensor Shield has two types of connector:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Arduino form factor compatible interface pins - these pins are use to connect the Sensor Shield to the Arduino/E-Pi and to allow other Arduino Shields to be stacked. In this set of instructions the Sensor Shield will be plugged directly into the E-Pi using the pins on the underside of the Sensor Shield. Only one Sensor Shield is to be used.&amp;nbsp; It should be noted that if more than one Arduino Shield is used in a stack, there is &lt;strong&gt;no&lt;/strong&gt; way to differentiate between those boards using the Arduino form factor compatible interface pins;&lt;/li&gt;&lt;li&gt;Device/module sockets - the sockets used by the array of sensors and actuators that are available. There are four sets of sockets available:-&lt;ul&gt;&lt;li&gt;Analog Output/Digital Input Sockets - the set of 3-pin sockets that are used to provide analog output/digital input to the E-Pi/R-Pi. These sockets are labelled &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39;. This set of instructions makes extensive use of these sockets because they can be directly controlled using the GPIO interface on the R-Pi/E-Pi. When using the GPIO interface, these six sockets can be used to provide a variety of digital inputs and digital outputs and so the appropriate sensor/actuator modules can be controlled. In Analog Output mode the socket behaves as a Pulse Width Modulation (PMW) interface&lt;/li&gt;&lt;li&gt;Analog Input Sockets - the set of 3-pin sockets that are used to provide analogue input to the E-Pi/R-Pi. These sockets are labelled &amp;#39;I0&amp;#39; to &amp;#39;I5&amp;#39;. This set of instructions does not make use of these sockets&lt;/li&gt;&lt;li&gt;Serial Socket - this 4-pin socket provides a serial interface. This interface is only available under some configurations. This set of instructions does not make use of this socket&lt;/li&gt;&lt;li&gt;TWI Socket - this 4-pin socket allows communication with any device supporting the I2C protocol. This set of instructions does not make use of this socket.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;When the Sensor Shield is correctly connected and powered, through the E-Pi, then the &amp;#39;Power LED&amp;#39; will be lit.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="1024" style="border:1px solid #000000;width:868px;height:1026px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="2" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;Figure C1.1 - Layout of the Tinker Kit Sensor Shield.&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/403x335/__key/communityserver-wikis-components-files/00-00-00-01-66/2678.contentimage_5F00_199666.html"&gt;community.element14.com/.../2678.contentimage_5F00_199666.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Top view of Sensor Shield.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/417x333/__key/communityserver-wikis-components-files/00-00-00-01-66/2860.contentimage_5F00_199667.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/2860.contentimage_199667.jpg-417x333.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=EKTHEcXrl9JrxOOH5oEroUhJX%2FChN84XgD3A7L3M%2FC0%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=j0ycS0yu+Zpl65YRfbgDsA==" style="max-height: 333px;max-width: 417px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Underside view of Sensor Shield.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/393x231/__key/communityserver-wikis-components-files/00-00-00-01-66/5102.contentimage_5F00_199668.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/5102.contentimage_199668.jpg-393x231.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=w2rDrvvSjxzuWuXCw596upCfAtuWHD%2FpCsUEku0G8vw%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=BfZi2+LwerqtudFfw5hkow==" style="max-height: 231px;max-width: 393px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c) Side view of Sensor Shield.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/394x229/__key/communityserver-wikis-components-files/00-00-00-01-66/4606.contentimage_5F00_199669.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/4606.contentimage_199669.jpg-394x229.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=h4WxmyzjWTm%2BSn%2BTLtqMBiqoeXfM4LbbGshED%2BEIOLg%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=U8/hGnokCUKuou55KMCFtw==" style="max-height: 229px;max-width: 394px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="text-align:center;"&gt;(d) Side view of Sensor Shield.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/400x295/__key/communityserver-wikis-components-files/00-00-00-01-66/8738.contentimage_5F00_199670.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/8738.contentimage_199670.jpg-400x295.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=ZCGbtHAu0X5s4z03%2BP5weLT%2FeEdGk9IVEhVbSnNPcA0%3D&amp;amp;se=2026-04-18T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=3JzbHPcBJJFhdHL3OHK0/A==" style="max-height: 295px;max-width: 400px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="text-align:center;"&gt;(e) Side view of Sensor Shield.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/411x297/__key/communityserver-wikis-components-files/00-00-00-01-66/0525.contentimage_5F00_199671.html"&gt;community.element14.com/.../0525.contentimage_5F00_199671.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="text-align:center;"&gt;(f) Side view of Sensor Shield.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The connections between the R-Pi/E-Pi/Sensor Shield are via a set of GPIO/Arduino Form Factor pins. There are a number of ways in which these pins are labelled and used and these relationships are summarised in Table C1.1. From an end-to-end respective the key label relationship is that between the held Output Port number (column one) and the R-Pi GPIO pin (column four). This provides the relationship between the device connected to the Sensor Shield (using the Output Port number) and the GPIO pin used within the corresponding Python software hosted on the R-Pi. In Table C1.1 the two middle columns show the relationship to the standard Arduino pin numbering and the E-Pi pin numbering.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;text-align:left;"&gt;&lt;strong&gt;Table C1.1 - Sensor Shield Output Ports to E-Pi to R-Pi to Arduino Pin number mappings.&lt;/strong&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="203" style="border:1px solid #000000;width:680px;height:187px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="25%"&gt;&lt;strong&gt;Sensor Shield Analog Output Port&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="25%"&gt;&lt;strong&gt;Arduino Pin Number&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="25%"&gt;&lt;strong&gt;E-Pi Pin Remap / &lt;br /&gt;R-Pi Pin ID&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;" width="25%"&gt;&lt;strong&gt;R-Pi GPIO Pin ID / &lt;br /&gt;R-Pi GPIO Pin Name&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;O0&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;11&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;D11 / 19&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;19 / GPIO10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;O1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;10&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;D10 / 24&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;24 / GPIO08&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;O2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;9&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;D09 / 07&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;07 / GPIO04&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;O3&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;6&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;D06 / 16&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;16 / GPIO23&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;O4&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;5&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;D05 / 15&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;15 / GPIO22&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;O5&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;3&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;D03 / 12&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;12 / GPIO18&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The four sensor and actuator modules that are used in this set of instructions are shown in Figure C1.2. Each of these modules is connected to the Sensor Shield using the 3-wire connectors (see Figure 1.2).&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="196" style="border:1px solid #000000;width:709px;height:176px;" width="736"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan="4" style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:center;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Figure C1.2 - The set of Sensor Shield sensors and actuators used in this project.&lt;/strong&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/155x122/__key/communityserver-wikis-components-files/00-00-00-01-66/6472.contentimage_5F00_199672.html"&gt;community.element14.com/.../6472.contentimage_5F00_199672.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Red LED (Large) actuator&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/156x123/__key/communityserver-wikis-components-files/00-00-00-01-66/1614.contentimage_5F00_199673.html"&gt;community.element14.com/.../1614.contentimage_5F00_199673.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Button sensor&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/155x122/__key/communityserver-wikis-components-files/00-00-00-01-66/0118.contentimage_5F00_199674.html"&gt;community.element14.com/.../0118.contentimage_5F00_199674.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c) Tilt switch sensor&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/155x122/__key/communityserver-wikis-components-files/00-00-00-01-66/1780.contentimage_5F00_199675.html"&gt;community.element14.com/.../1780.contentimage_5F00_199675.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(d) Relay actuator&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The capabilities of the modules shown in Figure C1.2 are:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;LED actuator - t&lt;span style="color:#000000;"&gt;he brightness can be controlled by outputting a value of &amp;#39;0&amp;#39; to &amp;#39;-1023&amp;#39; to the LED. In digital mode the LED is on (1023) or off (0);&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Button sensor - detects when the circular cap is pressed. The module outputs a 5V when the button is pressed and 0V when released. When using the Sensor Shield a value of &amp;#39;1023&amp;#39; is detected when the button is pressed and &amp;#39;0&amp;#39; when released;&lt;/li&gt;&lt;li&gt;Tilt sensor - when upright the sensor sends an analogue value of &amp;#39;0&amp;#39; and when tilted a value of &amp;#39;1023&amp;#39;. When using the Sensor Shield as a digital input on the &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; ports with the GPIO interface, the corresponding digital values are &amp;#39;0&amp;#39; and &amp;#39;1&amp;#39;;&lt;/li&gt;&lt;li&gt;Relay actuator - a device that is used to enable a low power device to electrically switch/control the state of a high power device. The module provides three connections labeled COM, NC and NO. NC stands for &amp;quot;NORMALLY CLOSED&amp;quot;. This means that when the relay has no signal (LOW or 0V), the connected circuit wil be active; conversely, if you apply 5V or pull the pin HIGH, it will turn the connected circuit off. NO stands for &amp;quot;NORMALLY OPEN&amp;quot;, and functions in the opposite way; when you apply 5V the circuit turns on, and at 0V the circuit turns off.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="Terminology"&gt;&lt;/a&gt;Terminology&lt;/h1&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table align="left" border="0" cellpadding="0" cellspacing="0" style="width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Actuators&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;These are devices that provide output control i.e. relay control, LED brightness, motors, etc.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Arduino Shield&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;These are devices that can be plugged into the Arduino PCB to extend its functionality. The Arduino has a standard Shield connector configuration that provides access to the digital and analogue features of an Arduino. For this set of instructions the TinkerKit Sensor Shield is used but the Embedded Pi can support any of the wide range of Arduino Shields that are available.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Button Sensor&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;This is the TInkerKit push button device. It detects when the circular cap is pressed. The module outputs a 5V when the button is pressed and 0V when released. When using the Sensor Shield a value of &amp;#39;1023&amp;#39; is detected when the button is pressed and &amp;#39;0&amp;#39; when released. A green LED signals that the module is powered and a yellow LED indicates when the button is being pressed. This has the standard TinkerKit 3-pin connector. Further information is available at &lt;a class="jive-link-external-small" href="http://www.tinkerkit.com/button/" rel="nofollow ugc noopener" target="_blank"&gt;TinkerKit Button&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Embedded-Pi&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;The E-Pi provides an interface platform to the R-Pi, Arduino and the 32-bit embedded ARM processor. For this set of instructions the E-Pi is used as a bridge between the R-Pi and Arduino Shields. This interface is physically achieved using the GPIO connectors on the R-Pi and E-Pi. The software interface is achieved using the RPi.GPIO and WiringPi modules.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;GPIO&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-size:12px;font-family:Verdana;"&gt;The General Purpose Input/Output interface is used to connect the E-Pi to the R-Pi. The GPIO can be driven in several ways depending on what is required and the nature of the software that is driving the interface. In the case of Python-based software the GPIO interface can be driven using the RPi.GPIO and WiringPi packages.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;HDMI&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;High Definition Multimedia Interface.&amp;nbsp; This is one of the interfaces to the monitor.&amp;nbsp; The PiView is connected to this interface.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;I2C&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;Inter-Integrated Circuit.&amp;nbsp; This is one of the interfaces modes available on the R-Pi and the Sensor Shield.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;IDLE&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;Integrated Development Environment for Python. It is completely written in Python and the Tkinter Graphical User Interface (GUI) toolkit (wrapper functions for Tcl/Tk). This is the development environment used for producing the software in this project.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;LED Actuator&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;This is the TinkerKit device with an LED: a variety of colours and sizes are available. The brightness can be controlled by outputting a value of &amp;#39;0&amp;#39; to &amp;#39;-1023&amp;#39; to the LED. This has the standard TinkerKit 3-pin connector. Further information is available at &lt;a class="jive-link-external-small" href="http://www.tinkerkit.com/led-blue-10mm/" rel="nofollow ugc noopener" target="_blank"&gt;TinkerKit LED&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;NOOBS&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;New Out Of Box Software.&amp;nbsp; NOOBS is used to install the appropriate version of Operating System (O/S) onto the R-Pi SD card.&amp;nbsp; The Raspbian O/S is used for this project.&amp;nbsp; In many cases, NOOBS is now pre-installed on SD cards that are sold for use with the R-Pi.&amp;nbsp; The latest version of NOOBS is available from the Raspberry Pi Foundation &lt;a class="jive-link-external-small" href="http://www.raspberrypi.org/downloads" rel="nofollow" target="_blank"&gt;downloads&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Python&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;The software in this project is written using Python 2.&amp;nbsp; IDLE is used to support the development of the Python code.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Raspberry Pi&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;The R-Pi is the single board computer at the heart of this project.&amp;nbsp; This project will work on both Model A and B versions.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Relay Actuator&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;This is the TinkerKit device that is used to enables a low power device to electrically switch/control the state of a high power device. The module provides three connections labeled COM, NC and NO. NC stands for &amp;quot;NORMALLY CLOSED&amp;quot;. This means that when the relay has no signal (LOW or 0V), the connected circuit wil be active; conversely, if you apply 5V or pull the pin HIGH, it will turn the connected circuit off. NO stands for &amp;quot;NORMALLY OPEN&amp;quot;, and functions in the opposite way; when you apply 5V the circuit turns on, and at 0V the circuit turns off. Relays can replace a manual switch. Remove the switch and connect its wires to COM and NO. When the relay is activated the circuit is closed and current can flow to the device you are controlling. This module can switch 250V/10A devices and the yellow LED indicates when the relay is active.&amp;nbsp; It is recommended that only experts/electricians operate on circuits powered by more than 24V. This has the standard TinkerKit 3-pin connector. Further information is available at &lt;a class="jive-link-external-small" href="http://www.tinkerkit.com/relay/" rel="nofollow ugc noopener" target="_blank"&gt;TinkerKit Relay&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;SD&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;span style="color:#000000;"&gt;Secure Digital (SD) is a non-volatile memory card format for use in portable devices. This is the storage medium for the R-Pi.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Sensors&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;These are devices that provide sensory input i.e. temperature, movement (including tilt), touch, etc.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Sensor Shield&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;The TinkerKit Sensor Shield allows TinkerKit sensors and actuators to be connected directly to an Arduino or E-Pi without the use of a breadboard. The Sensor Shield has 12 standard TinkerKit 3-pin connectors. The 6 labelled &amp;#39;I0&amp;#39; to &amp;#39;I5&amp;#39; are the Analog Inputs, the 6 labelled &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; are the Analog Outputs (these can be driven using PWM capable outputs or can be configured as digital inputs). The Sensor Shield also has a 4-pin TWI Socket (this supports the I2C protocol) and a 4-pin Serial Socket. Further information is available at &lt;a class="jive-link-external-small" href="http://www.tinkerkit.com/get/" rel="nofollow ugc noopener" target="_blank"&gt;TinkerKit Sensor Shield&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Tilt Sensor&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;This is the TinkerKit device that is used to indicate when something has been tilted (a ball bearing contained in the sensor is used to provide the tilt detection). When upright the sensor sends an analogue value of &amp;#39;0&amp;#39; and when tilted a value of &amp;#39;1023&amp;#39;. When using the Sensor Shield as a digital input on the &amp;#39;O0&amp;#39; to &amp;#39;O5&amp;#39; ports with the GPIO interface, the corresponding digital values are &amp;#39;0&amp;#39; and &amp;#39;1&amp;#39;. This has the standard TinkerKit 3-pin connector. Further information is available at: &lt;a class="jive-link-external-small" href="http://www.tinkerkit.com/tilt-sensor/" rel="nofollow ugc noopener" target="_blank" title="http://www.tinkerkit.com/tilt-sensor/"&gt;TinkerKit Tilt&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;USB&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;Universal Serial Bus.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="12%"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;VGA&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="88%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;A Video Graphics Array (VGA) connector is a three-row 15-pin DE-15 connector. The 15-pin VGA connector is found on many video cards, computer monitors, and high definition television sets.&amp;nbsp; In this project a PiView was used to connect the VGA monitor to the HDMI on the R-Pi.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h1&gt;&lt;a name="AtD"&gt;&lt;/a&gt;About this Document&lt;/h1&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table align="left" border="0" cellpadding="0" cellspacing="0" style="width:60%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="10%"&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="20%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Authors&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:45px;border:0px solid black;" valign="top" width="70%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;Colin Smythe (Dunelm Services Limited)&amp;nbsp; &lt;br /&gt;Christine Smythe (Dunelm Services Limited)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="10%"&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="20%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Date&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="70%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;7th April, 2014&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="10%"&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="20%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Version&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="70%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;1.0&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="10%"&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="20%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Copyright&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="70%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;Premier Farnell&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="10%"&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="20%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;License&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border:0px solid black;height:30px;border:0px solid black;" valign="top" width="70%"&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#000000;"&gt;GPLv3+&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="text-align:right;clear:both;"&gt;&lt;a class="jive-link-anchor-small" href="#top"&gt;top&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: rpibeginner, embedded_pi_introduction, raspberry_pi_projects&lt;/div&gt;
</description></item></channel></rss>