<?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 Gertboard with the Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/16801/an-introduction-to-using-the-gertboard-with-the-raspberry-pi</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>An Introduction to Using the Gertboard with the Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/16801/an-introduction-to-using-the-gertboard-with-the-raspberry-pi</link><pubDate>Mon, 10 May 2021 18:52:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a9d9f384-5230-491a-8aab-aafd04e377c1</guid><dc:creator>smythec</dc:creator><comments>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/16801/an-introduction-to-using-the-gertboard-with-the-raspberry-pi#comments</comments><description>Current Revision posted to Documents by smythec on 5/10/2021 6:52:05 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 Gertboard 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="#MoreGertboard"&gt;Connecting the Gertboard&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreBuffOutput"&gt;Using the Gertboard Buffered Output&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreADC"&gt;Using the Gertboard ADC Channels&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#MoreBuffInput"&gt;Using the Gertboard Buffered Input&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 Gertboard&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_1"&gt;Wiring-up the Hardware&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_2"&gt;Demonstrating the Gertboard Buffered Output (LEDs)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_3"&gt;Demonstrating the Gertboard Analogue to Digital Converters (Potentiometer)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#Use_4"&gt;Demonstrating the Gertboard Buffered Input (Buttons/Switches)&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 Gertboard&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppA_A1"&gt;A1 The Gertboard Layout&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppA_A2"&gt;A2 The Gertboard Buffered Output Configuration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppA_A3"&gt;A3 The Gertboard ADC Channel Configuration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppA_A4"&gt;A4 The Gertboard Buffered Input Configuration&lt;/a&gt;&lt;/li&gt;&lt;/ul&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;B1 System Software&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B2"&gt;B2 The Standard Gertboard Control Software&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B3"&gt;B3 Web-based Gertboard Control 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 External Interface Board&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppC_C1"&gt;C1 The Board Layout&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppC_C2"&gt;C2 The LEDs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppC_C3"&gt;C3 The Switches&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-anchor-small" href="#AppC_C4"&gt;C4 The Potentiometer&lt;/a&gt;&lt;/li&gt;&lt;/ul&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;This Project is about introducing the use of the Gertboard to extend the functionality of the Raspberry Pi (R-Pi). In particular, the use of the Gertboard to drive external Light Emitting Diodes (LEDs), to provide input from external switches/buttons and to use the Analogue to Digital Converters (ADC) will be explained and demonstrated. Furthermore, the control of the Gertboard directly from the R-Pi and its keyboard/mouse, and from a browser through a network will also be explained and demonstrated. The key learning objectives of this project are for an intermediate/novice developer to learn:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;How to use the LED, push-button switch and ADC features on a Gertboard connected to a R-Pi and how to use the Gertboard to control external LEDs and push-button switches;&lt;/li&gt;&lt;li&gt;How to write software that can be used by any browser-enable device e.g. smart phone, tablet, desktop, etc. to access the LEDs, push-button switches and ADCs controlled by the Gertboard.&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;"&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 Gertboard available on the &lt;a class="jive-link-external-small" href="/products/raspberry-pi/w/documents/10860/assembled-gertboard-for-raspberry-pi#apps" target="_blank"&gt;Element14 Community Gertboard 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="433" style="border:1px solid #000000;width:547px;height:413px;"&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;" valign="middle"&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/519x380/__key/communityserver-wikis-components-files/00-00-00-01-66/7144.contentimage_5F00_199599.jpg"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/7144.contentimage_199599.jpg-519x380.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=BabF7P%2Bj5XI%2BKE7jPRwmAxwWXc0KieFwr54lNI2UHLY%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=qxMoD4AIwZkXaNfBEu34aw==" style="max-height: 380px;max-width: 519px;" /&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;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. In both cases it is recommended that a WiPi is used to provide network connectivity (wireless, IEEE 802.11) via the USB2 port on the R-Pi. Network connectivity is required to provide access to the R-Pi Web Server and to download and install the necessary software updates required by the Gertboard 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. 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;Gertboard - a single Gertboard is connected to the GPIO interface on the R-Pi. The Gertboard configurations vary depending on the input/output operations required. For this set of instructions the Gertboard will be configured, separately, to drive the internal/external Light Emitting Diodes (LEDs), the internal/external switches/buttons and the external potentiometer. The Gertboard User Manual (Revision 2.0 published in 2012 by Fen Logic Ltd) is available at: &lt;a class="jive-link-external-small" href="http://www.element14.com/community/servlet/JiveServlet/previewBody/51727-102-3-267366/Gertboard_UM_final_with_schematics.pdf" target="_blank"&gt;Gertboard User Manual&lt;/a&gt;. This is required reading;&lt;/li&gt;&lt;li&gt;LEDs, Switches and Potentiometer (Pot) circuitry - the 12 LEDS are wired so that they can be driven as outputs via the Gertboard buffers. The LEDs used in this project have forward voltage of between 2.0V-2.2V.&amp;nbsp; The two external switches are &amp;#39;Push-to-Make&amp;#39; switches and they are again connected to the Gertboard buffers. The &amp;#39;Pot&amp;#39; is wired to the Analogue-to-Digital Converter (ADC) interface on the Gertboard.&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="420" style="border:1px solid #000000;width:529px;height:411px;" width="527"&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;" valign="middle"&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/490x367/__key/communityserver-wikis-components-files/00-00-00-01-66/1122.contentimage_5F00_199600.html"&gt;community.element14.com/.../1122.contentimage_5F00_199600.html&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 look as shown in Figure 1.2.&amp;nbsp; The views shown in Figure 1.2 are front (a), back (b), and sides (c) and (d).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="847" style="border:1px solid #000000;width:1051px;height:828px;"&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;" valign="middle"&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/494x353/__key/communityserver-wikis-components-files/00-00-00-01-66/7120.contentimage_5F00_199601.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/7120.contentimage_199601.jpg-494x353.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=7Zk0KcMPyNYco7AQRtxF2aq6fPuMjqL6u2TEpyKoyfc%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=P145YKoJ1hw+QqIw+d4BIA==" style="max-height: 353px;max-width: 494px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Front 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/443x351/__key/communityserver-wikis-components-files/00-00-00-01-66/5076.contentimage_5F00_199602.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/5076.contentimage_199602.jpg-443x351.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=pCtc7%2B60WXk4LUdziqHSrm3PPurQu6Wa2vEyPjjXeUU%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=mSWEeGEATxWjiRcG8blevQ==" style="max-height: 351px;max-width: 443px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Back view.&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/503x369/__key/communityserver-wikis-components-files/00-00-00-01-66/8078.contentimage_5F00_199603.html"&gt;community.element14.com/.../8078.contentimage_5F00_199603.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c) Side 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/491x372/__key/communityserver-wikis-components-files/00-00-00-01-66/6835.contentimage_5F00_199604.html"&gt;community.element14.com/.../6835.contentimage_5F00_199604.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(d) Side 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;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 to drive a Gertboard with the software controlled by access through a web browser. 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="524" style="border:1px solid #000000;width:635px;height:471px;" width="648"&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;" valign="middle"&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;border:1px solid #000000;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x471/__key/communityserver-wikis-components-files/00-00-00-01-66/8562.contentimage_5F00_199605.html"&gt;community.element14.com/.../8562.contentimage_5F00_199605.html&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;" valign="middle" 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;" valign="middle" 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;" valign="middle" 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;" valign="middle" 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;" valign="middle" 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-5KXbw8xh-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;Raspberry Pi Model A&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-5KXbw8xh-unlinked"&gt;Raspberry 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 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-9hc4g2Lu-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;Raspberry Pi Model B&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-9hc4g2Lu-unlinked"&gt;Raspberry 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-KpceN7Re-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-KpceN7Re-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-8zqEXTXt-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-8zqEXTXt-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;Gertboard&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;The external board, connected to the R-Pi using the GPIO interface, responsible for input/output to external devices.&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-yoTncN2d-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2250034&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=2250034&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;Gertboard&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-yoTncN2d-unlinked"&gt;Gertboard&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;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;vertical-align:middle;text-align:center;padding:2px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-raaEnYr2-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-raaEnYr2-unlinked"&gt;Accessory Bundle&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;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;"&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;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-J2kQaOGD-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-J2kQaOGD-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-gI4pfXbh-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-gI4pfXbh-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-80iaTvfD-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-80iaTvfD-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-Yukvujis-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-Yukvujis-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;Browser-based Devices&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Tablet Computers, Smart Phones, Laptops and Desktop Computers.&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;12&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Copper Strip Board&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Used to hold the LEDs, switches and resistors to create the display and the switch mount units.&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;13&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;LEDs&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;5MM/2V LEDs of any colour/colour combination.&lt;/td&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;text-align:center;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-wGThDBdh-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2217953&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=2217953&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;LEDs&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-wGThDBdh-unlinked"&gt;LEDs&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;14&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Switches&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Multicomp &amp;#39;Push-to-Make&amp;#39; switches. 28mm long and 7mm diameter.&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;2&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-Ptcj5PGB-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1634684&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=1634684&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;Switch&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-Ptcj5PGB-unlinked"&gt;Switch&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;15&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Potentiometer&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;A linear/radial analogue potentiometer.&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-ljXsg5ot-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1872361&amp;amp;nsku=43K2387&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=1872361&amp;amp;nsku=43K2387&amp;amp;COM=noscript" target="_blank"&gt;Potentiometer&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-ljXsg5ot-unlinked"&gt;Potentiometer&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;16&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;Wires&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;&lt;p style="margin:0;"&gt;A 1m mixture a red/black single core wires of wiring of the LEDs, Switches and Potentiometer.&lt;/p&gt;&lt;p style="margin:0;"&gt;A set of longer wiring straps (8cm) for connecting between the Gertboard and the external LEDs and switches are required.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;&lt;p style="margin:0;"&gt;1&lt;/p&gt;&lt;p style="margin:0;"&gt;24&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;&lt;p style="margin:0;"&gt;N/A&lt;/p&gt;&lt;p style="margin:0;"&gt;N/A&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;"&gt;17&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;2-Pin Headers&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;These pins (2.54mm) are used to provide connection to the external LEDs and switches.&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;14&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-ma7IPmQd-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=9731148&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=9731148&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;Pins (2-Pin)&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-ma7IPmQd-unlinked"&gt;Pins (2-Pin)&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;18&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;3-Pin Headers&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;"&gt;These pins (2.54mm) are used to provide connection to the potentiometer.&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-MF1roaoG-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=9731156&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=9731156&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;Pins (3-Pin)&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-MF1roaoG-unlinked"&gt;Pins (3-Pin)&lt;/span&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="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 - 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;" valign="middle" 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;" valign="middle" 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;" valign="middle" 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;" valign="middle" 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;Monitor/R-Pi&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Part of the Monitor cable to the R-Pi.&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;R-Pi/Monitor&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Part of the Monitor cable to the R-Pi.&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;R-Pi/Gertboard&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;The Gertboard can be plugged directly into the R-Pi.&amp;nbsp; Alternatively a separate GPIO flat-flex cable (male-to-female).&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;p style="margin:0;"&gt;&lt;span style="color:#000000;font-family:Verdana;font-size:12px;"&gt;USB2 Hub/Mouse + Keyboard&lt;/span&gt;&lt;/p&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;p style="margin:0;font-size:12px;font-family:Verdana;color:#333333;"&gt;&lt;span style="font-style:inherit;font-family:inherit;color:#000000;"&gt;USB cable connection for the Mouse and Keyboard.&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;G&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;USB Insert&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;Wire&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;p style="margin:0;"&gt;LEDs wiring&lt;/p&gt;&lt;p style="margin:0;"&gt;Switch wiring&lt;/p&gt;&lt;p style="margin:0;"&gt;Potentiometer wiring.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Wiring of the external interface board for the LEDs, switches and potentiometer.&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;Wiring Straps&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;&lt;p style="margin:0;"&gt;Gertboard/Gertboard&lt;/p&gt;&lt;p style="margin:0;"&gt;Gertboard/External board.&lt;/p&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;A set of coloured straps ar supplied as part of the Gertboard. More coloured wiring straps are required to support the full range of links.&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;Jumpers&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Gertboard.&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;These are used to configure the various I/O capabilities for the Gertboard.&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;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;/li&gt;&lt;li&gt;Integrated Development Environment - IDLE with Python 2.x support (normally installed as part of Raspbian);&lt;/li&gt;&lt;li&gt;The Apache2 Web Server - this may be installed as part of the Raspbian operating system. If not, then use the instructions provided in &lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.5&lt;/a&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;"&gt;The set of instructions for using the Gertboard are:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Configure the R-Pi system in preparation for the connection of the Gertboard and usage of the 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"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The next step is to connect the Gertboard to the RPi.&amp;nbsp; The Gertboard/RPi connection is via the GPIO interface on the top of the RPi and the underside of the Gertboard (the layout of the Gertboard is shown in &lt;a class="jive-link-anchor-small" href="#AppA"&gt;Appendix A&lt;/a&gt;). The Gertboard is supplied with a set of 6 plastic rods that can be inserted into the Gertboard so that it can be stood without the underside of the board touching the surface and so that the GPIO interface does not take all of the weight of the Gertboard on the RPi.&amp;nbsp; If the Gertboard is to be inserted directly into the RPi then do not insert the plastic rod on the bottom left corner of the Gertboard when looking at the underside with the GPIO connector at the bottom (this corner rests over the video jack port). It is possible to use a extra GPIO male/female cable (not supplied as part of the Gertboard) to connect the Gertboard to the RPi but in these instructions direct connection is assumed - see &lt;a class="jive-link-anchor-small" href="#MoreGertboard"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The external interface board that provides the external LEDs, switches and the potentiometer can now be constructed. The exact layout of the board is unimportant and fewer LEDs and/or switches can be used. The layout of the Board used in these instructions is described in &lt;a class="jive-link-anchor-small" href="#AppC"&gt;Appendix C&lt;/a&gt; and in &lt;a class="jive-link-anchor-small" href="#Use_1"&gt;Video 1&lt;/a&gt;. This board will be used to show how the Gertboard is used to drive external devices through the ADC and Buffered I/O pins on the Gertboard;&lt;/li&gt;&lt;li&gt;The Buffered Output on the Gertboard can now be demonstrated. This is demonstrated by using the R-Pi to switch on and off the set of onboard LEDs (on the Gertboard) and external LEDs (on the external interface board). The first demonstration will use the test software that is available as part of the Gertboard distribution kit.&amp;nbsp; This test software is available as both &amp;#39;C&amp;#39; and Python code. We will use the Python versions only. The instructions to obtain the Python text software are given in &lt;a class="jive-link-anchor-small" href="#AppA_A2"&gt;Appendix A2&lt;/a&gt;. The Gertboard must be wired for buffered output using the appropriate wiring straps and jumpers (if all twelve LEDs are to be used then 12 jumpers are placed on the Gertboard, 12 wiring straps are used on the Gertboard between the GPIO pins and the B1-B12 pins, and 24 wiring straps are used between the buffer pins and the LED pins and the external interface board - see &lt;a class="jive-link-anchor-small" href="#Use_2"&gt;Video 2&lt;/a&gt;). The test program &amp;#39;leds-rg.py&amp;#39; is now used (this is a part of the downloaded Gertboard test software) to demonstrate the LEDs being switched on and off (see &lt;a class="jive-link-anchor-small" href="#Use_2"&gt;Video 3&lt;/a&gt;) - see &lt;a class="jive-link-anchor-small" href="#MoreBuffOutput"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;Driving the Buffered Output on the Gertboard via a web browser can now be demonstrated. The hardware configuration and wiring of the R-Pi and Gertboard remain unchanged. The software configuration must be changed. New Python software is available that enables the same set of LEDs to be controlled using a web browser.&amp;nbsp; This software includes an HTML page which is loaded into the web browser to enable the control of the LEDs. Any web browser can be used on any device that supports a web browser.&amp;nbsp; We demonstrate the use of an iPad with the Safari web browser but the software has also been tested using Midori on the R-Pi and a Chrome, Safari and FireFox on a range of other devices (see &lt;a class="jive-link-anchor-small" href="#Use_2"&gt;Video 3&lt;/a&gt;) - see &lt;a class="jive-link-anchor-small" href="#MoreBuffOutput"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The ADC on the Gertboard can now be demonstrated. This is demonstrated by using a potentiometer to provide a variable analogue input to the Gertboard&amp;#39;s ADC input ports. The equivalent digital value is then provided by the Gertboard&amp;#39;s ADC. The first demonstration will again use the Python test software that is available as part of the Gertboard distribution kit. The Gertboard must be wired for one of the ADC channels (the Gertboard has two ADC channels) using the appropriate wiring straps and jumpers i.e. four jumpers and three wiring straps between the ADC pins and the potentiometer on the external interface port (see &lt;a class="jive-link-anchor-small" href="#Use_3"&gt;Video 4&lt;/a&gt;). The test program &amp;#39;atod.py&amp;#39; is now used to show the digital output when the value of the potentiometer is manually varied (see &lt;a class="jive-link-anchor-small" href="#Use_3"&gt;Video 4&lt;/a&gt;) - see &lt;a class="jive-link-anchor-small" href="#MoreADC"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;Monitoring the use of the Gertboard&amp;#39;s ADC via a web browser can now be demonstrated. Again hardware configuration and wiring of the R-Pi and Gertboard remain unchanged. Also, new Python software is available that enables the ADC channels to be monitored using a web browser (see &lt;a class="jive-link-anchor-small" href="#Use_3"&gt;Video 4&lt;/a&gt;). This software includes an HTML page which is loaded into the web browser. Any web browser can be used on any device that supports a web browser - see &lt;a class="jive-link-anchor-small" href="#MoreADC"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The Buffered Input on the Gertboard can now be demonstrated. This is demonstrated by using the three onboard switches (on the Gertboard) and two external switches (on the external interface board). The first demonstration will again use the Python test software that is available as part of the Gertboard distribution kit. The configuration and wiring (using the appropriate jumpers and wiring straps) of the Gertboard is different for the onboard and external switch usage (see &lt;a class="jive-link-anchor-small" href="#Use_4"&gt;Video 5&lt;/a&gt;). The test program &amp;#39;buttons-rg.py&amp;#39; is now used to demonstrate the operation of the buffered input ports via the switches (see &lt;a class="jive-link-anchor-small" href="#Use_4"&gt;Video 5&lt;/a&gt;) - see &lt;a class="jive-link-anchor-small" href="#MoreBuffInput"&gt;More Detail&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;Monitoring the Buffered Input on the Gertboard via a web browser can now be demonstrated. The hardware configuration and wiring of the R-Pi and Gertboard remain unchanged. Again new Python software is available that enables the buffered inputs to be monitored using a web browser (see &lt;a class="jive-link-anchor-small" href="#Use_4"&gt;Video 5&lt;/a&gt;).&amp;nbsp; This software includes an HTML page which is loaded into the web browser - see &lt;a class="jive-link-anchor-small" href="#MoreBuffInput"&gt;More Detail&lt;/a&gt;.&lt;/li&gt;&lt;/ol&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="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;a class="jive-link-anchor-small" href="#AppB_B1"&gt;Appendix B1.1&lt;/a&gt;. Make sure that the Git client is installed (see &lt;a class="jive-link-anchor-small" href="#AppB_B1"&gt;Appendix B1.2&lt;/a&gt;).&lt;/span&gt;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="416" style="border:1px solid #000000;width:1090px;height:381px;" width="1124"&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.1 - R-Pi Model board B layout.&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.2 - The R-Pi with the set of connected cables.&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/484x361/__key/communityserver-wikis-components-files/00-00-00-01-66/8306.contentimage_5F00_199606.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/8306.contentimage_199606.jpg-484x361.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=uAGHuvmOmzIYX2MRbtmQkKX8JZHeI4lUSUREAxQNMu0%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=j25l0+fBXyhzKN4hoo+ktQ==" style="max-height: 361px;max-width: 484px;" /&gt;&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/583x353/__key/communityserver-wikis-components-files/00-00-00-01-66/3438.contentimage_5F00_199607.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/3438.contentimage_199607.jpg-583x353.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=2UHFheWCzyyFIoAsD06cvjl%2FL4m0xE2tn%2FnFMzIBg3g%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=AP1q6DToN/+k85gFIcyRpA==" style="max-height: 353px;max-width: 583px;" /&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;If the WiPi has been inserted, the use of the appropriate wireless network must be established (this requires a wireless network to be activated, via an appropriate wireless network access device e.g. a wireless router, and for that device to be assigning IP addresses using DHCP). This is achieved by working on the desktop:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="line-height:19px;font-size:10pt;"&gt;Click on the &amp;#39;wifi config&amp;#39; icon;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="line-height:19px;font-size:10pt;"&gt;Now click on the &amp;#39;scan&amp;#39; button;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="line-height:19px;font-size:10pt;"&gt;From the resulting scanned list pick your wireless network;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="line-height:19px;font-size:10pt;"&gt;Enter the password for the network in the &amp;#39;psk&amp;#39; box and click &amp;#39;Add&amp;#39;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="line-height:19px;font-size:10pt;"&gt;Click &amp;#39;Connect&amp;#39;. The wireless network access point will now allocate an IP address to the R-Pi and will display the IP address (for example this will take the form of 192.168.1.99). Make a note of this address as this value will be required in some of the later instructions;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="line-height:19px;font-size:10pt;"&gt;Test that there is network access by running the Midori web browser to access a web-site e.g. the BBC web-site at: &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.bbc.co.uk/" rel="nofollow" target="_blank"&gt;http://www.bbc.co.uk&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin:0;"&gt;Once the above WiPi configuration has been completed, the R-Pi can be rebooted without repeating the above actions. However, each time the R-Pi is rebooted, the DHCP may not allocate the same IP address. In this case the IP address can be obtained by:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Click on the &amp;#39;LXTerminal&amp;#39; icon;&lt;/li&gt;&lt;li&gt;Type the instruction: &lt;em&gt;&lt;strong&gt;Hostname -I&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin:0;"&gt;The same approach for obtaining the IP address is used if the Ethernet port on the R-Pi Model B is being used.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreGertboard"&gt;&lt;/a&gt;4.2 Connecting the Gertboard&lt;/h2&gt;&lt;p style="margin:0;"&gt;The Gertboard and the R-Pi are connected via the GPIO connectors. The GPIO interface on the underside of the Gertboard (female) is inserted into the GPIO interface (male) on the R-Pi. Figure 4.3 shows the resulting layout. If the &amp;#39;Missing&amp;#39; Stand Pin was not missing then this form of connection would NOT be possible and so a separate cable would be required.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="512" style="border:1px solid #000000;width:541px;height:507px;" width="557"&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.3 - Connecting the Gertboard 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;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/529x459/__key/communityserver-wikis-components-files/00-00-00-01-66/2043.contentimage_5F00_199608.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/2043.contentimage_199608.jpg-529x459.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=HmEvykJRZr7aRzRCKDzVRYUsoDQINQPymyvEq%2FGtAKk%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=teHVnn9Sg/RvIv1fFWvoXQ==" style="max-height: 459px;max-width: 529px;" /&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;Once the Gertboard and the R-Pi have been connected then various software should be installed (the installation of the software does not require the Gertboard to be connected to the R-Pi). The software to be installed is:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The WiringPi Python module - &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.3&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The SPI Dev module - &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.4&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The Apache2 Web Server - &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.5&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The standard Gertboard control/demonstration software (from Raspi TV) - see &lt;a class="jive-link-anchor-small" href="#AppB_B2"&gt;Appendix B2&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;The new Gertboard Web Server-based control/demonstration software (from the Element14 Github) - see &lt;a class="jive-link-anchor-small" href="#AppB_B3"&gt;Appendix B3&lt;/a&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreBuffOutput"&gt;&lt;/a&gt;4.3 Using the Gertboard Buffered Output&lt;/h2&gt;&lt;p style="margin:0;"&gt;The wiring of the RPi, Gertboard and the LEDs on the external interface board is shown in Figures 4.4 and 4.5 (note that in the associated videos there drop-down resistors have been removed as these were significantly reducing the LED brightness). The full details of the actual wiring of the Gertboard to use the buffered output is described in &lt;a class="jive-link-anchor-small" href="#AppA_A2"&gt;Appendix A2&lt;/a&gt; and shown in &lt;a class="jive-link-anchor-small" href="#Use_2" style="text-decoration:underline;"&gt;Video 2&lt;/a&gt;. In Figures 4.4 and 4.5. all 12 buffered outputs are being used to drive the external LEDs and in this configuration the state of the external LEDs must always be same as the same as the internal LEDs. Due to the wiring on the external interface board the the wire straps to the equivalent buffered input/output pins on the Gertboard are swapped (this can be avoided by changing the wiring between the external LEDs and the 2-pin headers). The use of the buffered output ports can now be demonstrated using the standards test Python program in the file &amp;#39;leds-rg.py&amp;#39; or &amp;#39;leds-wp.py&amp;#39;: the details for obtaining this software are given in &lt;a class="jive-link-anchor-small" href="#AppB_B2"&gt;Appendix B2. &lt;/a&gt;See &lt;a class="jive-link-anchor-small" href="#Use_2" style="text-decoration:underline;"&gt;Video 3&lt;/a&gt; for a demonstration of the control of the onboard and external LEDs.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="562" style="border:1px solid #000000;width:542px;height:560px;"&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.4 - R-Pi/Gertboard wiring for using the buffered output ports (top view).&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/509x509/__key/communityserver-wikis-components-files/00-00-00-01-66/6175.contentimage_5F00_199609.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/6175.contentimage_199609.jpg-509x509.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=N%2BzsgnB%2Feu1QKLXIQdFBANZxS36JPw2WdobismMIPW8%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=8kPbq2ts6B9tWCizFuT0cA==" style="max-height: 509px;max-width: 509px;" /&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;table border="1" class="jiveBorder" height="453" style="border:1px solid #000000;width:545px;height:440px;"&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.5 - &lt;span style="color:#ffffff;text-align:center;"&gt;&lt;strong&gt;R-Pi/Gertboard wiring for using the buffered output ports (side view).&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/517x400/__key/communityserver-wikis-components-files/00-00-00-01-66/3022.contentimage_5F00_199610.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/3022.contentimage_199610.jpg-517x400.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=ZS4YcAOtq%2BLSXYYa4Oe3hAwah6nC98zYFqeTj%2F48IxQ%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=NuIMX2Qt/0Usg+ecMmRV6w==" style="max-height: 400px;max-width: 517px;" /&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 equivalent browser-based software can now be used. The details for obtaining the software are given in &lt;a class="jive-link-anchor-small" href="#AppB_B3"&gt;Appendix B3&lt;/a&gt;. The R-Pi and its Apache Web Server (make sure that Apache2 is active on the R-Pi- &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.5&lt;/a&gt;) must be on a network for this approach to work (in Figure 4.4 the network access is supplied using the WiPi). Once the Web Server Python demonstration software has been installed, a Web browser is used to access the web-page: this requires the IP address of the R-Pi to be used as part of the URL for the web page.&amp;nbsp; i.e.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="jive-link-external-small" href="/" target="_blank"&gt;http://&lt;/a&gt;&amp;lt;Your IP Address&amp;gt;/GertBoardTestv1p0p0.html&lt;/strong&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;Using this Web Page the state of the onboard and external LEDs can be controlled (press the blue button on the web-page). See &lt;a class="jive-link-anchor-small" href="#Use_2"&gt;Video 3&lt;/a&gt; for a demonstration of the Web Server approach for driving the onboard and external LEDs.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreADC"&gt;&lt;/a&gt;4.4 Using the Gertboard ADC Channels&lt;/h2&gt;&lt;p style="margin:0;"&gt;The wiring of the R-Pi, Gertboard and potentiometer on the external interface board is shown in Figure 4.6 (the wiper pin on the potentiometer, the central pin, is connected to the AD0 pin on the Gertboard using the yellow wire). The full details of the actual wiring for a potentiometer is described in &lt;a class="jive-link-anchor-small" href="#AppA_A3"&gt;Appendix A3&lt;/a&gt;. In this demonstration only one potentiometer is wired to the Gertboard using ADC channel 0. The use of the potentiometer can now be demonstrated using the standards test Python program in the file &amp;#39;atod.py&amp;#39;: the details for obtaining this software are given in &lt;a class="jive-link-anchor-small" href="#AppB_B2"&gt;Appendix B2&lt;/a&gt; and this requires the &amp;#39;py-spdev.py&amp;#39; module and SPI configuration as described in &lt;a class="jive-link-anchor-small" href="#AppB_B1"&gt;Appendix B1.4&lt;/a&gt;. See &lt;a class="jive-link-anchor-small" href="#Use_3"&gt;Video 4&lt;/a&gt; for a demonstration of the expected output on the screen as the potentiometer is rotated.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="448" style="border:1px solid #000000;width:544px;height:450px;" width="542"&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;" valign="middle"&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;Figure 4.6 - R-PI/Gertboard wiring for ADC channel usage.&lt;/strong&gt;&lt;/p&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/509x392/__key/communityserver-wikis-components-files/00-00-00-01-66/2781.contentimage_5F00_199611.html"&gt;community.element14.com/.../2781.contentimage_5F00_199611.html&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;Again the equivalent browser-based software can now be used. The details for obtaining the software are given in &lt;a class="jive-link-anchor-small" href="#AppB_B3"&gt;Appendix B3&lt;/a&gt;. The R-Pi and its Apache Web Server (make sure that Apache2 is active on the R-Pi- &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.5&lt;/a&gt;) must be on a network for this approach to work (in Figure 4.6 the network access is supplied using the WiPi). Once the Web Server Python demonstration software has been installed, a Web browser is used to access the web-page. &lt;span style="font-size:10pt;line-height:1.5em;"&gt;Using this Web Page the variation of the potentiometer can be displayed (press the red button on the web-page). Note that unlike the standard test program which uses a continual poll of the ADC values, the Web Server approach is a single poll after a period of some 5 seconds (this period can be altered by editing the Python code). See &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#Use_3" style="font-size:10pt;line-height:1.5em;"&gt;Video 4&lt;/a&gt;&lt;span style="font-size:10pt;line-height:1.5em;"&gt; for a demonstration of the Web Server approach for monitoring the potentiometer.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="MoreBuffInput"&gt;&lt;/a&gt;4.5 Using the Gertboard Buffered Input&lt;/h2&gt;&lt;p style="margin:0;"&gt;The wiring of the RPi, Gertboard and the switches on the external interface board is shown in Figures 4.7, 4.8 and 4.9. The full details of the actual wiring of the Gertboard to use the buffered output is described in &lt;a class="jive-link-anchor-small" href="#AppA_A4"&gt;Appendix A4&lt;/a&gt; and shown in &lt;a class="jive-link-anchor-small" href="#Use_4" style="text-decoration:underline;"&gt;Video 5&lt;/a&gt;. The wiring for using only the three onboard switches is shown in Figure 4.7. When support for two external switches is added then the wiring in Figure 4.8 is used (the two external switches are connected using the &amp;#39;B11-B12&amp;#39; buffered input/output ports and jumpers must be placed on the &amp;#39;B11-B12&amp;#39; In jumpers i.e. to set the &amp;#39;B11-B12&amp;#39; input/output ports as input. The use of the buffered output ports can now be demonstrated using the standards test Python program in the file &amp;#39;buttons-rg.py&amp;#39; or &amp;#39;buttons-wp.py&amp;#39;: the details for obtaining this software are given in &lt;a class="jive-link-anchor-small" href="#AppB_B2" style="font-size:10pt;line-height:1.5em;"&gt;Appendix B2. &lt;/a&gt;See &lt;a class="jive-link-anchor-small" href="#Use_4" style="text-decoration:underline;"&gt;Video 5&lt;/a&gt; for a demonstration of the onboard and external switches/buttons (note that in the Video the external switches are wired to the &amp;#39;B1-B2&amp;#39;&amp;nbsp; buffered input/output ports so that the same test software that is used to demonstrate the onboard buttons can be used for the external switches).&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="460" style="border:1px solid #000000;width:1050px;height:455px;" width="1048"&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.7 - R-Pi/Gertboard wiring for using the onboard switches.&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.8 - R-Pi/Gertboard wiring for using the buffered input ports (top view).&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/502x405/__key/communityserver-wikis-components-files/00-00-00-01-66/7180.contentimage_5F00_199612.html"&gt;community.element14.com/.../7180.contentimage_5F00_199612.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/448x380/__key/communityserver-wikis-components-files/00-00-00-01-66/2100.contentimage_5F00_199613.html"&gt;community.element14.com/.../2100.contentimage_5F00_199613.html&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;table border="1" class="jiveBorder" height="494" style="border:1px solid #000000;width:1049px;height:496px;"&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;" valign="middle"&gt;&lt;strong&gt;Figure 4.9 - &lt;span style="color:#ffffff;text-align:center;"&gt;&lt;strong&gt;R-Pi/Gertboard wiring for using the buffered input ports (side views).&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/502x416/__key/communityserver-wikis-components-files/00-00-00-01-66/0045.contentimage_5F00_199614.html"&gt;community.element14.com/.../0045.contentimage_5F00_199614.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Side view of the external interface board&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;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/461x335/__key/communityserver-wikis-components-files/00-00-00-01-66/2352.contentimage_5F00_199615.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/2352.contentimage_199615.jpg-461x334.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=TFVsfm5gJRq7WRxQ6%2Bcc1HpQRYVhUl11KG0LeKnk%2BGM%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=swK6AsqdlwujaOePLKp5Zg==" style="max-height: 334px;max-width: 461px;" /&gt;&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;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Side viiew&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;Again the equivalent browser-based software can now be used. The details for obtaining the software are given in &lt;a class="jive-link-anchor-small" href="#AppB_B3"&gt;Appendix B3&lt;/a&gt;. The R-Pi and its Apache Web Server (make sure that Apache2 is active on the R-Pi- &lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;see &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.5&lt;/a&gt;) must be on a network for this approach to work (in Figures 4.7, 4.8 and 4.9 the network access is supplied using the WiPi). Once the Web Server Python demonstration software has been installed, a Web browser is used to access the web-page. &lt;span style="font-size:10pt;line-height:1.5em;"&gt;Using this Web Page the variation of the state of the switches/buttons can be displayed (press the green button on the web-page). Note that unlike the standards test program which uses a continual poll of the switch/button values, the Web Server approach is a single poll after a period of some 5 seconds (this period can be altered by editing the Python code). See &lt;/span&gt;&lt;a class="jive-link-anchor-small" href="#Use_3" style="font-size:10pt;line-height:1.5em;"&gt;Video 5&lt;/a&gt;&lt;span style="font-size:10pt;line-height:1.5em;"&gt; for a demonstration of the Web Server approach for monitoring the state of the switches.&lt;/span&gt;&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 Gertboard&lt;/h1&gt;&lt;h2&gt;&lt;a name="Use_1"&gt;&lt;/a&gt;5.1 Wiring-up the Hardware&lt;/h2&gt;&lt;p style="margin:0;"&gt;A video, 6 minutes long, demonstrating the wiring of the Gertboard and R-Pi is shown in Video 1. This video is available in medium resolution (a) and high resolution (b) - the high resolution will require at least a 3.5Mbps broadband data rate to view.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="364" style="border:1px solid #000000;width:1067px;height:357px;" width="1065"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Video 1 - Wiring the Gertboard, R-Pi and external interface board.&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 id="dc5b7f42_413d_44b5_88e3_204b101bde09"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3281930460001"&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="6b2648ce_4827_48e3_a00b_0a0e3ed06b28"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3281945023001"&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_2"&gt;&lt;/a&gt;5.2 Demonstrating Gertboard Buffered Output (LEDs)&lt;/h2&gt;&lt;p style="margin:0;"&gt;A video, 6 minutes long, demonstrating the wiring of the external LEDs to the Gertboard&amp;#39;s buffered output is shown in Video 2. This video is available in medium resolution (a) and high resolution (b) - the high resolution will require at least a 3.5Mbps broadband data rate to view.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="379" style="border:1px solid #000000;width:1076px;height:251px;"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Video 2 - Wiring the buffered output on the Gertboard.&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 id="73ffea1e_f845_471e_95df_19813be7e4da"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3282328579001"&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="a2779778_39b6_48aa_9cc5_b7e6fde82a70"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3282347981001"&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;p style="margin:0;"&gt;A video, 3 minutes long, demonstrating the use of the Gertboard with external LEDs is shown in Video 3. This video is available in medium resolution (a) and high resolution (b) - the high resolution will require at least a 3.5Mbps broadband data rate to view.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="379" style="border:1px solid #000000;width:1077px;height:309px;" width="1075"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Video 3 - Demonstrating the buffered output on the Gertboard.&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 id="8533a833_43f3_49ec_8e7b_ee95365d1cf5"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3281313379001"&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="d1a59ff1_1408_4c21_8d8c_1fce35d57c16"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3281876356001"&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_3"&gt;&lt;/a&gt;5.3 Demonstrating the Gertboard Analogue to Digital Converters (Potentiometer)&lt;/h2&gt;&lt;p style="margin:0;"&gt;A video, 5 minutes long, demonstrating the wiring of the Gertboard to the potentiometer using the ADC is shown in Video 4. This video is available in medium resolution (a) and high resolution (b) - the high resolution will require at least a 3.5Mbps broadband data rate to view.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="369" style="border:1px solid #000000;width:1077px;height:371px;" width="1075"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Video 4 - Demonstrating the ADC on the Gertboard.&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 id="ab6e7b6d_1ad6_4f80_85cc_41818862d4b4"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3282238022001"&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="6cd9a097_fc99_4d71_b26c_a101eb9f37be"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3282242216001"&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_4"&gt;&lt;/a&gt;5.4 Demonstrating the Gertboard Buffered Input (Buttons/Switches)&lt;/h2&gt;&lt;p style="margin:0;"&gt;A video, 8 minutes long, demonstrating the use of the Gertboard&amp;#39;s buffered input using external switches and R-Pi is shown in Video 5. This video is available in medium resolution (a) and high resolution (b) - the high resolution will require at least a 3.5Mbps broadband data rate to view.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="379" style="border:1px solid #000000;width:1063px;height:370px;"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Video 5 - Demonstrating the buffered input on the Gertboard.&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 id="103cf39e_aeaa_4e33_b406_951a5700da58"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3281300224001"&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="6bf3eb48_c050_4a49_b805_d9e79db06d14"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3281303631001"&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;At runtime, a WiringPi module error is displayed when attempting to run one of the standard Gertboard Python testing files that has the string &amp;#39;-wp&amp;#39; in the name.&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;This error occurs when the WiringPi module has not been installed on the R-Pi. To install the module correctly follow the instructions in &lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.3&lt;/a&gt;. Once installed rerun the Python test program again.&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;At runtime, a py-spidev module error is displayed when attempting to run the Python &amp;#39;atod.py&amp;#39; testing file.&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;This error occurs when either the &amp;#39;py-spidev&amp;#39; Python module is not installed or the SPI has not be configured correctly. To install the &amp;#39;py-spidev&amp;#39; Python module and to configure the SPI correctly see the instructions in &lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.4&lt;/a&gt;. Once installed rerun the Python test program again.&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 attempting to access the demonstration software web-page, &amp;#39;GertboardTestv1p0p0.html&amp;#39;, using a web browser, the message &amp;#39;Server not found&amp;#39; is displayed on the browser.&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;This type of error message occurs when the Web Server that contains the required web-page(s) cannot be found. The possible causes are: i) the R-Pi is not on the network; ii) the device hosting the browser cannot connect with the network to which the R-Pi is connected; iii) the Web Server on the R-Pi is not installed, active or correctly configured. To confirm that the RPi is connected to the Internet use the Midora browser on the R-PI to visit a well known web-site. If this access is not possible then confirm that the R-Pi has an IP address (see &lt;a class="jive-link-anchor-small" href="#MoreRPi"&gt;Section 4.1&lt;/a&gt;) and that either the WiPi is correctly installed/working (see &lt;a class="jive-link-anchor-small" href="#MoreRPi"&gt;Section 4.1&lt;/a&gt;) or the Ethernet cable is connected to the R-Pi. You may need to confirm that connection to the Internet is possible through your router (for some networks the relevant MAC address, in this case the MAC address for the R-PI, must be registered with the router - see the corresponding instructions for your router). If there are no network access issues then make sure that the Apache2 Web Server is installed and active on the R-Pi (see &lt;a class="jive-link-anchor-small" href="#AppB_B1" style="font-family:Verdana;font-size:12px;"&gt;Appendix B1.5&lt;/a&gt;).&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 attempting to access the demonstration software web-page, &amp;#39;GertboardTestv1p0p0.html&amp;#39;, using a web browser, the message &amp;#39;404 Page not found&amp;#39; is displayed or there is a placeholder were the expected image is missing is displayed on the browser.&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;These errors occur when the Web Server cannot get the web-pages requested by the browser. In this case make sure that the HTML web-page and the three image files are correctly installed/located in the Web Server. See &lt;a class="jive-link-anchor-small" href="#AppB_B3"&gt;Appendix B3&lt;/a&gt; for more details on installing the web-pages. Also, make sure that you are using the correct file name for the test web page i.e. &amp;#39;GertboardTestv1p0p0.html&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;Problem 5&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 attempting to access the demonstration software web-page, &amp;#39;GertboardTestv1p0p0.html&amp;#39;, using a web browser, the message &amp;#39;You do not have the access rights&amp;#39; is displayed on the web browser.&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;This error occurs when the web-page being requested is attempting local processing on the Web Server but the Web Server does not have the correct access rights for the files to be processed. The access rights to the files must be changed (see &lt;a class="jive-link-anchor-small" href="#AppB_B3"&gt;Appendix B3&lt;/a&gt; for the details on how to change the access rights and for which fled these rights must be changed).&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 6&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 buffered output software only some of the LEDs appear to be used i.e. some never become &amp;#39;lit&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;There are two sources for this problem: i) the relevant jumpers may not be present; and ii) the wiring straps that connect the GPIO pins to the &amp;#39;B1..B12&amp;#39; In/Out Port pins may not be present. For each LED that is to be used make sure that both the GPIO wiring strap and the corresponding &amp;#39;B?&amp;#39; Out jumper pin is present. Make sure that the corresponding &amp;#39;B?&amp;#39; Input jumper pin is not present unless the port is being used as an input signal port.&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 7&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 external LEDs the state of the external and onboard LEDs is different.&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;If the external LEDs do not light in synchronisation with the onboard LED make sure that the wiring straps to the external interface board are present. Make sure that the buffered input/output port has not be configured as an input port i.e. there should NOT be a jumper on the &amp;#39;B?&amp;#39; Input jumper pin. If all else fails then test the integrity of the wires and make sure the LED is not &amp;#39;blown&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;Problem 8&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 varying the value of the potentiometer i.e. twisting the knob, there is NO change of the digital value displayed on the browser/display.&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 wire to the wiper pin on the potentiometer (the central pin) is correctly connected. Check that the other two wires are correctly used.&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 Gertboard&lt;/h1&gt;&lt;h2&gt;&lt;a name="AppA_A1"&gt;&lt;/a&gt;A1 The Gertboard Layout&lt;/h2&gt;&lt;p style="margin:0;"&gt;The layout of the Gertboard is shown in Figures A1.1a (top view), A1b (top view with detailed jumper pins layout) and A1.1c (underside view). The top view shows the location of the GPIO pins, the buffed input/output pins, the onboard LEDs, the ADC pins, the 3.3V power pins and the three onboard switches. The Gertboard provides 12 buffer ports that can be configures for either Input or Output (see Figure A1.1a) and these have a set of LEDs that also show the status of the signal level on the port. The buffer ports are configured as either Input or Output ports using the three sets of input jumper pins (the &amp;#39;B1..B4&amp;#39;, &amp;#39;B5..B8&amp;#39; and &amp;#39;B9..B12&amp;#39; In-Jumper pins) and the three sets of output jumper pins (the &amp;#39;B1..B4&amp;#39;, &amp;#39;B5..B8&amp;#39; and &amp;#39;B9..B12&amp;#39; Out-Jumper pins) - see Figure A1.1b. Jumpers are placed cross the relevant pins to set the configuration.&amp;nbsp; The buffered ports are linked to the corresponding GPIO ports, and hence the R-PI, using wiring straps between the twelve GPIO Pins (Figure A1.1a) and the twelve &amp;#39;B1..B12&amp;#39; In/Out Port Pins (see Figure A1.1b).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="573" style="border:1px solid #000000;width:593px;height:509px;"&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;" valign="middle"&gt;&lt;strong&gt;Figure A1.1- The Gertboard 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/584x463/__key/communityserver-wikis-components-files/00-00-00-01-66/0218.contentimage_5F00_199616.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/0218.contentimage_199616.jpg-584x463.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=otKCKVI97%2BMct7Dowi2JkZWMdYnYnYsEQJAlHfcEOx4%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=usKW/xVQNit9NIQ77tlJYg==" style="max-height: 463px;max-width: 584px;" /&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;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;text-align:center;"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/542x444/__key/communityserver-wikis-components-files/00-00-00-01-66/7802.contentimage_5F00_199617.html"&gt;community.element14.com/.../7802.contentimage_5F00_199617.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Top view for detailed jumper pins layout.&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/546x410/__key/communityserver-wikis-components-files/00-00-00-01-66/6560.contentimage_5F00_199618.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/6560.contentimage_199618.jpg-546x410.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=%2F5v%2F%2FZIp0%2FkVAMiRlkJK%2FEsmVF622bfVSW6GC915WNw%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=d7+rvShjsrjap9v+LivFow==" style="max-height: 410px;max-width: 546px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c) 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 Gertboard is supplied with a set of 6 plastic rods that can be inserted into the Gertboard so that it can stand without the underside of the board touching the surface and so that the GPIO interface does not take all of the weight of the Gertboard on the RPi.&amp;nbsp; If the Gertboard is to be inserted directly into the RPi then do not insert the plastic rod on the bottom left corner of the Gertboard when looking at the underside with the GPIO connector at the bottom (this corner rests over the video jack port).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="AppA_A2"&gt;&lt;/a&gt;A2 The Gertboard Buffered Output Configuration&lt;/h2&gt;&lt;p style="margin:0;"&gt;The wiring of the Gertboard for use with the buffered output functions is shown in Figures A2.1a (top view) and A2.1b (schematic top view): the schematic view is taken form the Gertboard User Manual and amended to include the wiring to the external devices e.g. LEDs. The wiring uses 12 jumpers on the B1-B12 Out jumper pins sets i.e. three blocks of four jumpers. Twelve, short, wiring straps are used to link the GPIO pins to the &amp;#39;B1-B12&amp;#39; In/Out port pins (these set the buffered ports as outputs i.e. a signal is sent as output from the R-PI).&amp;nbsp; Finally, 24, long, wiring straps are used to connect the 12 external LEDs to the buffered I/O ports.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="541" style="border:1px solid #000000;width:885px;height:431px;"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Figure A2.1 - Gertboard wiring for the use of the buffered output ports (top views).&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/563x427/__key/communityserver-wikis-components-files/00-00-00-01-66/3426.contentimage_5F00_199619.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/3426.contentimage_199619.jpg-563x427.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=oB%2FMRDGqyMAiRTfKH%2F1BD4zOMbH2whVVlHp2SG89m2s%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=oVOhjOAYmf4Qti05UUX6CQ==" style="max-height: 427px;max-width: 563px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Top view for buffered output wiring.&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/566x425/__key/communityserver-wikis-components-files/00-00-00-01-66/4186.contentimage_5F00_199620.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/4186.contentimage_199620.jpg-566x425.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=ER7fxnSa2zOvBcyuguk%2FnDQv5YODY%2FKHQu2AiE04hbw%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=ZTY7isiZR/8DQOWjYSuphg==" style="max-height: 425px;max-width: 566px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Schema top view for buffered output wiring.&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;Further side views of the Gertboard wiring for the use of the buffered output ports are shown in Figure A2.2.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="512" style="border:1px solid #000000;width:1051px;height:482px;"&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;" valign="middle"&gt;&lt;strong&gt;Figure A2.2 - Gertboard wiring for the use of buffered output (side views).&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/461x436/__key/communityserver-wikis-components-files/00-00-00-01-66/8228.contentimage_5F00_199621.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/8228.contentimage_199621.jpg-461x436.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=xNMzOkLYCEftcmrpl33%2FiiroOljF3ajAw%2BY3fCXpTY4%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=jluWCfWw3Gkr05edYCYydA==" style="max-height: 436px;max-width: 461px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Side 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/533x437/__key/communityserver-wikis-components-files/00-00-00-01-66/7723.contentimage_5F00_199622.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/7723.contentimage_199622.jpg-533x437.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=WdnrY8hNg0kxrzdCaqh4jt7UJHFcYuecLHwKXgir4eI%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=pnE6vSwuy1V+PK22kyA+oA==" style="max-height: 437px;max-width: 533px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Side 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;h2&gt;&lt;a name="AppA_A3"&gt;&lt;/a&gt;A3 The Gertboard ADC Channel Configuration&lt;/h2&gt;&lt;p style="margin:0;"&gt;The wiring of the Gertboard for use with the ADC functions is shown in Figures A3.1a (top view) and A3.1b (schematic top view): the schematic view is taken form the Gertboard User Manual. This wiring is for the use of the ADC0 channel only. The wiring uses four Jumpers on between the pins GP11-SCLK, GP10-MOSI, GP9-MISO and GP8-CSnA). Three wiring straps are used: Black to the 3.3V pin (line 3 in Figure A3.1b), Red to the GND pin (line 1 in Figure A3.1b) and Yellow to the ADC pin (line 2 in Figure A3,1b). It is the Yellow wire that must be connected to the wiper on the potentiometer. The connection of the Red and Black wires to the potentiometer determines the direction in which movement changes, increasing/decreasing, the resistance.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="461" style="border:1px solid #000000;width:1110px;height:393px;"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Figure A3.1 - Gertboard wiring for use of the ADC.&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/546x386/__key/communityserver-wikis-components-files/00-00-00-01-66/2055.contentimage_5F00_199623.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/2055.contentimage_199623.jpg-546x386.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Hqddbb%2BMoVeiu4TTG4uOy9bG9aCXRPpe8LCvBkdSxXc%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=5Oddzxi87xsNY8K70ev1aQ==" style="max-height: 386px;max-width: 546px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Top view for ADC wiring.&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/592x383/__key/communityserver-wikis-components-files/00-00-00-01-66/8463.contentimage_5F00_199624.html"&gt;community.element14.com/.../8463.contentimage_5F00_199624.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Schematic top view for ADC wiring.&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;Further views of the wiring of the Gertboard for use with ADC Channel 0 are shown in Figures A3.2 (the same wiring as shown in Figure A3.1). Figure A3.2a shows connection to a potentiometer with the Yellow cable connected to the wiper (central pin) of the potentiometer.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="361" style="border:1px solid #000000;width:1065px;height:338px;"&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;" valign="middle"&gt;Figure A3.2 - Side views of the Gertboard wiring for ADC usage.&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/438x279/__key/communityserver-wikis-components-files/00-00-00-01-66/2605.contentimage_5F00_199625.html"&gt;community.element14.com/.../2605.contentimage_5F00_199625.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Connection to a potentiometer.&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/570x286/__key/communityserver-wikis-components-files/00-00-00-01-66/5483.contentimage_5F00_199626.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/5483.contentimage_199626.jpg-570x286.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=y%2FM%2FGHujop%2B4m%2B7bXMIyvIxJHIhczMKdWxUJBL1rbDc%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=Vp29aAXuRRIkj2Gl2JmcJQ==" style="max-height: 286px;max-width: 570px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Side 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;h2&gt;&lt;a name="AppA_A4"&gt;&lt;/a&gt;A4 The Gertboard Buffered Input Configuration&lt;/h2&gt;&lt;p style="margin:0;"&gt;The wiring of the Gertboard for use with the onboard buttons and buffered input functions is shown in Figures A4.1a (top view) and A4.1b (schematic top view): the schematic view is taken form the Gertboard User Manual and amended to include the wiring to the external devices e.g. buttons. In Figure A4.1b the wiring uses 5 jumpers on the B1-B3 Out jumper pins sets and the B11-B12 In jumper pins. Five, short, wiring straps are used to link the GPIO pins to the &amp;#39;B1-B3&amp;#39; (these are optional) and &amp;#39;B11-B12&amp;#39;&amp;nbsp; (to set these as input ports) In/Out port pins. Finally, 4, long, wiring straps are used to connect the two external buttons to the buffered I/O ports.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="514" style="border:1px solid #000000;width:1218px;height:480px;"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;A4.1 - Gertboard wiring for use with onboard buttons and external buffered input.&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/543x437/__key/communityserver-wikis-components-files/00-00-00-01-66/0552.contentimage_5F00_199627.html"&gt;community.element14.com/.../0552.contentimage_5F00_199627.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Top view wiring for use of the onboard buttons (support for external buffered input not shown).&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/720x510/__key/communityserver-wikis-components-files/00-00-00-01-66/0285.contentimage_5F00_199628.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/0285.contentimage_199628.jpg-620x439.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=bdqxFXpc76tca4%2FnYfVPMpiIGkquakBiEb0p7Tvi4ek%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=6cJA2mp5CFsdUH/hJx7uCw==" style="max-height: 439px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Schematic view for onboard buttons and buffered input wiring.&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;Further side views of the Gertboard wiring for the use of the onboard switches are shown in Figure A4.2.&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="669" style="border:1px solid #000000;width:1038px;height:558px;" width="1086"&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;" valign="middle"&gt;&lt;strong&gt;Figure A4.2 - Side views of the Gertboard wiring for the use of the onboard switches.&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/409x594/__key/communityserver-wikis-components-files/00-00-00-01-66/7142.contentimage_5F00_199629.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/7142.contentimage_199629.jpg-409x594.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=sT0j96Ox076bY1RHqhJDWHRG%2FrJQGO3DCJEM6jhf4as%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=66F20fcqln1ZkUtoUvi8cQ==" style="max-height: 594px;max-width: 409px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(a) Side 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/620x594/__key/communityserver-wikis-components-files/00-00-00-01-66/3288.contentimage_5F00_199630.html"&gt;community.element14.com/.../3288.contentimage_5F00_199630.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Side view.&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;h3&gt;B1.1 Update the Operating System&lt;/h3&gt;&lt;p style="margin:0;"&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;"&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 apt-get update&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;sudo apt-get install python-get python-pip&lt;/strong&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;This will download and install the latest versions of the software.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3&gt;B1.2 Install GIT&lt;/h3&gt;&lt;p style="margin:0;"&gt;A lot of the required software is stored in GitHub.&amp;nbsp; Access to this software repository requires the use of Git. To install Git, use the LXTerminal and type the following instructions:&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 apt-get install git-core&lt;/strong&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;The installation process will inform you if you already have the latest version of Git installed and will to over right that latest version.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3&gt;B1.3 Install the Wiring.Pi Module&lt;/h3&gt;&lt;p style="margin:0;"&gt;Using the LXTerminal application 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 clone git://git.drogon.net/wiringPi&lt;/strong&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;To build and install the WiringPi module type:&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;cd wiringPi&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;sudo ./build&lt;/strong&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;Once this installation has been completed it can be confirmed by typing the 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;gpio -v&lt;/strong&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;This should print to the terminal a list of the states of all the GPIO devices. This list provides a map between the WiringPi Pin Number, the BCM (Broadcom chip) GPIO Pin Number, Physical Pin Number, Mode and Value.&amp;nbsp; Take a copy of this table.&lt;/p&gt;&lt;p style="margin:0;"&gt;NOTE: If you use the GPIO Utility then be careful because some functions use the &amp;#39;BCM Pin Number&amp;#39; whereas others use the &amp;#39;WiringPi Pin Number&amp;#39; by default.&amp;nbsp; Read the GPIO Utility notes carefully.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3&gt;B1.4 Install and Enable the SPI Dev Module&lt;/h3&gt;&lt;p style="margin:0;"&gt;Using the LXTerminal application, the &amp;#39;py-spidev&amp;#39; module is installed by typing the following instructions (make sure that Git has been installed):&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;cd ~&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;git clone git://github.com/doceme/py-spidev&lt;/strong&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;Once completed, type:&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;cd py-spidev&lt;/strong&gt;&lt;/em&gt;&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 setup.py install&lt;/strong&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;Once the module has been installed, the SPI capability for the operating system must be enabled. To enable the SPI driver the file &lt;em&gt;raspi-blacklist.conf&lt;/em&gt; file has to be edited and the line &amp;#39;blacklist spi-bcm2708&amp;#39; must be &amp;#39;commented out&amp;#39;.&amp;nbsp; Once edited the line should read as (the hash makes the line a comment):&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;#blacklist spi-bcm2708&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;The file &lt;em&gt;raspi-blacklist.conf&lt;/em&gt; can be edited by typing into the terminal interface:&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 nano /etc/modprobe.d/raspi-blacklist.conf&lt;/strong&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;If you use the alternative technique of typing into the terminal the 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 modprobe spi-bcm2708&lt;/strong&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;then you will have to do this every time the R-Pi is restarted. Now restart the R-Pi.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3&gt;B1.5 Installation and Configuration of the Apache2 Web Server&lt;/h3&gt;&lt;p style="margin:0;"&gt;The new software written for this project makes use of a Web Server. &lt;span style="font-size:10pt;line-height:1.5em;"&gt;To install the Apache2 Web Server, using the LXTerminal application type the following instructions:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;sudo apt-get install apache2&lt;/strong&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 that the Web Server has been installed it has to be configured to support the running of Python programs. All of the web pages must be placed in the folder &lt;em&gt;/var/www&lt;/em&gt; whereas the Python programs must be placed in the folder &lt;em&gt;/usr/lib/cgi-bin&lt;/em&gt;. Whereas Apache is already configured to handle &amp;#39;.html&amp;#39; files it must be configured to execute the &amp;#39;.cgi&amp;#39; and &amp;#39;.py&amp;#39; files. &lt;span style="font-size:10pt;line-height:1.5em;"&gt;Again using the LXTerminal application type the instructions:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;cd //&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;cd /etc/apache2/sites-available&lt;/strong&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 make a copy of the current default file so that the regional can be reused at a later date.&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 cp default old_default&lt;/strong&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 edit the current &amp;#39;default&amp;#39; file by starting the editor:&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 nano edit default&lt;/strong&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;In the section starting ScriptAlias /cgi-bin /usr/lib/cgi-bin/ the flowing line must be added:&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;AddHandler cg-script .cgi .py&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;Save the change and exit the editor. Now restart Apache:&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 restart apache2&lt;/strong&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;This new line has configured Apache2 so that any script files in the folder &lt;em&gt;/usr/lib/cgi-bin&lt;/em&gt; which have a file extension of &amp;#39;.cgi&amp;#39; or &amp;#39;.py&amp;#39; are scripts that can be called and executed from &amp;#39;.html&amp;#39; files.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="AppB_B2"&gt;&lt;/a&gt;B2 The Standard Gertboard Control Software&lt;/h2&gt;&lt;p style="margin:0;"&gt;Testing of the configuration and wiring, and use of the Gertboard uses the software written by A.Eames of Raspi.TV. This software is written in Python 2.7. The software can be downloaded to your computer or via a browser by visiting the web-site: &lt;a class="jive-link-external-small" href="http://raspi.tv/downloads/" rel="nofollow ugc noopener" target="_blank"&gt;http://raspi.tv/downloads&lt;/a&gt;. To get the software directly on your Internet connected R-Pi then, working in LXTerminal, use the &amp;#39;cd&amp;#39; instruction to change directory to that where you want the programs installed, now type the commands:&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;&lt;span&gt;wget &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://raspi.tv/download/GB_Python.zip" rel="nofollow" target="_blank"&gt;http://raspi.tv/download/GB_Python.zip&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unzip GB_Python.zip&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd GB_Python &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;These instructions will download and establish the directory GB_Python in which is stored the set of Gertboard Python test programs (each of the Python programs has a &amp;#39;.py&amp;#39; file extension). The &amp;#39;README.txt&amp;#39; file provides further instructions on how to configure the operating system to enable the programs to be used with a Gertboard. The programs are supplied in two flavours: one using the RPi.GPIO Python module (RPi.GPIO is installed in all Raspbian operating system from Sept 2012 onwards) and one using the WiringPi for Python module (the instructions on how to install the WiringPi module are provided in &lt;a class="jive-link-anchor-small" href="#AppB_B1"&gt;Appendix B1.3&lt;/a&gt;). Both may be required depending on what you are going to do with the Gertboard using Python. For example, RPi.GPIO cannot be used to drive the Gertboard&amp;#39;s pulse code modulation (PCM) capability. Three programs will be used to test and demonstrate the use of the Gertboard:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;leds-rg.py - test of the buffered output ports and the inboards LEDs using the RPi.GPIO module&lt;/li&gt;&lt;li&gt;buttons-rg.py - test of the onboard buttons and the buffered input ports using the RPi.GPIO module&lt;/li&gt;&lt;li&gt;atod.py - test for ADC using the SPI on the Gertboard with the &amp;#39;spidev&amp;#39; module (this also requires configuration of the SPI as described in &lt;a class="jive-link-anchor-small" href="#AppB_B1"&gt;Appendix B1.4&lt;/a&gt;).&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="AppB_B3"&gt;&lt;/a&gt;B3 Web-based Gertboard Control Software&lt;/h2&gt;&lt;h3&gt;B3.1 Installing the Software&lt;/h3&gt;&lt;p style="margin:0;"&gt;The 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/Gertboard_Introduction" rel="nofollow ugc noopener" target="_blank" title="https://github.com/element14/pi_project/tree/master/Gertboard_Introduction"&gt;https://github.com/element14/pi_project/tree/master/Gertboard_Introduction&lt;/a&gt;. A clone of this software should be established using an appropriate software versioning application. The clone can be established at: &lt;a class="jive-link-external-small" href="https://github.com/element14/pi_project.git" rel="nofollow ugc noopener" target="_blank"&gt;https://github.com/element14/pi_project.git&lt;/a&gt;. The software is collected in two folders: &amp;#39;cgi-bin&amp;#39; and &amp;#39;www&amp;#39;. The software files are:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;#39;cgi-bin&amp;#39; folder&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Buttontestv1p0p0.py - the python script to run the button test;&lt;/li&gt;&lt;li&gt;Ledtestv1p0p0.py - the python script to run the led test;&lt;/li&gt;&lt;li&gt;Pottestv1p0p0.py - the python script to run the potentiometer test.&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;&amp;#39;www&amp;#39; folder&lt;/p&gt;&lt;ul&gt;&lt;li&gt;GertboardTestv1p0p0.html - the webpage you see on the remote browser;&lt;/li&gt;&lt;li&gt;ButtonTestButton.png - the image for the “Button Test” button;&lt;/li&gt;&lt;li&gt;LEDTestButton.png - the image for the “LED Test” button;&lt;/li&gt;&lt;li&gt;PotTestButton.png - the image for the Potentiometer “Pot Test” button.&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;The files in the &amp;#39;www&amp;#39; folder should be copied into the R-Pi directory &amp;#39;/var/www/&amp;#39; and the file in the &amp;#39;cgi-bin&amp;#39; folder should be copied into the R-Pi directory &amp;#39;/usr/ib/cgi-bin/&amp;#39;. The next step is to make sure that these files have the correct access rights i.e. readable and exectable by Apache2. Using the LXTerminal application type the following instructions:&lt;span style="font-size:10pt;line-height:1.5em;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10pt;line-height:1.5em;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="line-height:1.5em;font-size:10pt;"&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;cd //&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /var/www&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chmod 755&amp;nbsp; GertBoardTestv1p0p0.html&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chmod 755&amp;nbsp; ButtonTestButton.png&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chmod&amp;nbsp; 755 LEDTestButton.png &lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chmod&amp;nbsp; 755 PotTestButton.png&lt;/strong&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;strong&gt;cd //&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /usr/lib/cgi-bin&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chmod 755&amp;nbsp; Buttontestv1p0p0.py&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chmod 755&amp;nbsp; Ledtestv1p0p0.py&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chmod 755&amp;nbsp; Pottestv1p0p0.py&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3&gt;B3.2 Using the Software&lt;/h3&gt;&lt;p style="margin:0;"&gt;To use and test that the software has been correctly installed start a browser on a device that is on the same local network as the R-Pi. In your browser type in the location (the URL for the test page):&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;&lt;a class="jive-link-external-small" href="/" target="_blank"&gt;http://&lt;/a&gt;&lt;span&gt;&amp;lt;Your IP Address&amp;gt;/GertBoardTestv1p0p0.html&lt;/span&gt;&lt;/strong&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;The &amp;#39;Your IP Address&amp;#39; can be obtained using the LXTerminal application and typing the command:&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;Hostname -I&lt;/strong&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;If the software has been installed correctly the web page show in Figure B3.1 should be displayed on your browser. If not, then read the &lt;a class="jive-link-anchor-small" href="#Trouble"&gt;Troubleshooting&lt;/a&gt; instructions.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="376" style="border:1px solid #000000;width:606px;height:357px;" width="648"&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;" valign="middle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;Figure B3.1 - The start web page displayed for the Gertboard testing.&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;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/591x307/__key/communityserver-wikis-components-files/00-00-00-01-66/7573.contentimage_5F00_199631.html"&gt;community.element14.com/.../7573.contentimage_5F00_199631.html&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;h3&gt;B3.3 Design of the Software&lt;/h3&gt;&lt;p style="margin:0;"&gt;The design of this new software is largely based upon that by Alex Eames (RasPi.TV) and his use of the &amp;#39;WiringPi.py&amp;#39; module, to demonstrate the use of the Gertboard. The aim has been to take this software and convert it to an equivalent form that can be accessed through a Browser and Web Server. The WiringPi and RPi.GPIO software both require root access hence using the command &amp;#39;sudo&amp;#39; to run one of the test programs. There is no equivalent command in a Browser but the corresponding Python programs used by the Web Server make use of &amp;#39;bash&amp;#39; shell commands to achieve the same access to the R-PI&amp;#39;s GPIO interface.&lt;/p&gt;&lt;p style="margin:0;"&gt;The core HTML code for the web-page is shown below:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;html xmlns=&amp;quot;&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&lt;span&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=UTF-8&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Gertboard Test Program&amp;lt;/title&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;06&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;07&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;Gertboard Test Page&amp;lt;/h1&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;08&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;Press one of the buttons below to start the corresponding test.&amp;lt;/p&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;09&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;/cgi-bin/Ledtestv1p0p0.py&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;LEDTestButton.png&amp;quot; width=&amp;quot;155&amp;quot; height=&amp;quot;89&amp;quot; alt=&amp;quot;LED Test Button&amp;quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;/cgi-bin/Buttontestv1p0p0.py&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;ButtonTestButton.png&amp;quot; width=&amp;quot;155&amp;quot; height=&amp;quot;89&amp;quot; alt=&amp;quot;Button Test Button&amp;quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;/cgi-bin/Pottestv10p0.py&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;PotTestButton.png&amp;quot; width=&amp;quot;155&amp;quot; height=&amp;quot;89&amp;quot; alt=&amp;quot;Potentiometer Test Button&amp;quot;/&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;Run LED Test Sequences&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;Press up to 10 buttons in 10 seconds&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;Potentiometer Test&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/html&amp;gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The key features are lines 11-13 which define the code that is to be run on the Web Server when the associated &amp;#39;button&amp;#39; on the web-page is pressed. For example, in line 11, the image &amp;#39;LEDTestButton.png&amp;#39; is used to invoke the Python code in the file &amp;#39;Ledtestv1p0p0.py&amp;#39; in the &amp;#39;cgi-bin&amp;#39; directory. When a user presses the image, an HTTP call is sent to the Web Server which upon receipt runs the corresponding Python program. In this case it causes the LED test sequence to be completed. Once competed the Python code redraws the web-page on the browser in preparation for another user action.&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 External Interface Board&lt;/h1&gt;&lt;h2&gt;&lt;a name="AppC_C1"&gt;&lt;/a&gt;C1 The Board Layout&lt;/h2&gt;&lt;p style="margin:0;"&gt;The layout of the external interface board is shown in Figures C1.1a (top view), C1.1b (bottom view), C1.1c (side) and C1.1d (side). The external board is used to house the 12 external LEDs, the two external switches and the potentiometer.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" height="1155" style="border:1px solid #000000;width:562px;height:1051px;"&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;" valign="middle"&gt;&lt;strong&gt;Figure C1.1 - The external interface board.&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/520x286/__key/communityserver-wikis-components-files/00-00-00-01-66/2625.contentimage_5F00_199632.html"&gt;community.element14.com/.../2625.contentimage_5F00_199632.html&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;/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/534x293/__key/communityserver-wikis-components-files/00-00-00-01-66/1220.contentimage_5F00_199633.html"&gt;community.element14.com/.../1220.contentimage_5F00_199633.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(b) Bottom view.&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/500x179/__key/communityserver-wikis-components-files/00-00-00-01-66/8228.contentimage_5F00_199634.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/8228.contentimage_199634.jpg-500x179.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Taj8SD5vyb%2FfEtoTNRvTz4zXgywuyWVDttFzrKJ17kg%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=JvxccZ8WZvA4ZWTn0DAExg==" style="max-height: 179px;max-width: 500px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(c) Side view.&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/497x177/__key/communityserver-wikis-components-files/00-00-00-01-66/7723.contentimage_5F00_199635.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/7723.contentimage_199635.jpg-497x177.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=tqMeqpTTxyO5CR0H4ngoiB91VWc5waWuHPBP6E2qB%2Bc%3D&amp;amp;se=2026-05-27T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=ctaWGSyc3oQgLkAPTKx+gg==" style="max-height: 177px;max-width: 497px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;(d) Side 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;h2&gt;&lt;a name="AppC_C2"&gt;&lt;/a&gt;C2 The LEDs&lt;/h2&gt;&lt;p style="margin:0;"&gt;Twelve LEDs are supplied on the board i.e. one for each of the output buffers available on the Gertboard. As shown in Figures C1.1a and C1.1b, each LED has two pins, the Anode (A) and the Cathode (C). These LEDs have a forward voltage of approximately 2.0V-2.2V with a forward current of 20mA. The output voltage across an I/O buffer on the Gertboard was measured at 2.3V and so no drop-down resistor is required.&amp;nbsp; As shown in Figure C1.1b, each LED is wired to 2-way square pin Molex Header with pins &amp;#39;J&amp;#39; and &amp;#39;K&amp;#39; with &amp;#39;A&amp;#39; wired to &amp;#39;J&amp;#39; and &amp;#39;C&amp;#39; wired to &amp;#39;K&amp;#39;. If a drop-down resistor is used then this would be inserted between pins &amp;#39;J&amp;#39; and &amp;#39;A&amp;#39;.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="AppC_C3"&gt;&lt;/a&gt;C3 The Switches&lt;/h2&gt;&lt;p style="margin:0;"&gt;Two external push-button switches are supplied on the board. As shown in Figures C1.1a and C1.1b these each have two pins &amp;#39;X&amp;#39; and &amp;#39;Y&amp;#39;. Connection to each of the set of pins is achieved using a 2-way square pin Molex Header. It does not matter which way round these &amp;#39;X&amp;#39; &amp;#39;Y&amp;#39; pins are connected to the Gertboard.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;a name="AppC_C4"&gt;&lt;/a&gt;C4 The Potentiometer&lt;/h2&gt;&lt;p style="margin:0;"&gt;The Pot is used to demonstrate the operation of the ADC functionality of the Gertboard. As shown in Figures C1.1a and C1.1b, the Pot has three pins &amp;#39;A&amp;#39;, &amp;#39;B&amp;#39; and &amp;#39;C&amp;#39;. The central pin &amp;#39;B&amp;#39; is the wiper and pins &amp;#39;A&amp;#39; and &amp;#39;C&amp;#39; should be connected to the high (3.3V) and ground (0V); it does not matter which way round pins &amp;#39;A&amp;#39; and &amp;#39;C&amp;#39; are connected unless the direction in which the potentiometer is to be rotated is important. A rotational pot is used herein but this could be replaced by any equivalent form of pot e.g. linear slider. Connection to the three pins is achieved using a 3-way square pin Molex Header.&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="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;Analogue to Digital Converter&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 conversion of an arbitrary analogue signal (in the range 0V-3.3V) into its digital equivalent. The ADC capability on the Gertboard is based upon two channels with a sampling rate of 72 samples per second with a maximum digital value of 1023 for an input single of 3.3V.&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;DHCP&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 Dynamic Host Configuration Protocol (DHP) is responsible for allocating an IP Address to a device from DHCP Server (typically supported in the local wireless/broadband router that is also connected to the Internet). DHCP avoids having to allocate a device with a specific, unique, IP address.&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;Gertboard&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 Gertboard is an input/output extension board for the R-Pi. It fits onto the GPIO pins of the R-Pi via a socket on the back of the Gertboard. The Gertboard has a collection of functional blocks which can be connected together, using cable straps and jumpers, in a wide range of ways using header pins.&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;The General Purpose Input/Output interface that is used to connect the Gertboard 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;/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;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;IP Address&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 address for a device that enables it to access the Internet.&amp;nbsp; Every device that uses the standard Internet (assuming that is is based upon the Internet Protocol, IP) must have an IP Address that is in the form of &amp;#39;***.***.***.***&amp;#39; e.g. &amp;#39;192.68.2.1&amp;#39;.&amp;nbsp; This is typically allocated through the use of DHCP.&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&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;Light Emitting Diode.&amp;nbsp; A set of 12 LEDs is used in this project.&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.7.&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. This project will work on both Model A and B versions. This project requires access to the Internet and so R-Pi Model A must also use a WiPi device.&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;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;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;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. In this project a PiView was used to connect the VGA monitor to the HDMI on the R-Pi.&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;Web Server&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;A Web Server is the software that is responsible for providing access to web pages i.e. pages written in HTML and accessed using HTTP. The R-Pi contains a Web Server. The corresponding web services are accessed by pointing a browser at the web-site using the appropriate combination of the IP Address and the specific directory/file names (this avoids having to register a domain name e.g. &amp;#39;www.element14.com&amp;#39; but still allows the R-Pi Web Server features to be used).&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;WiPi&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 device that can connect an R-Pi to a wireless network (using the IEEE 802.11 media access control protocol). The WiPi is inserted into the USB port of the R-Pi. A WiPi must be used for all R-Pi Model A devices otherwise access to the Internet will not be 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;Wireless Router&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 router that provides the interconnection between the local wireless network and the broadband Internet access. It is the router that creates the wireless network to which all compatible user devices are connected.&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;24th March, 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, gertboard_introduction, raspberry_pi_projects&lt;/div&gt;
</description></item></channel></rss>