{"id":52,"date":"2016-12-17T17:19:49","date_gmt":"2016-12-17T17:19:49","guid":{"rendered":"http:\/\/pthat.com\/?page_id=52"},"modified":"2021-05-11T10:06:26","modified_gmt":"2021-05-11T09:06:26","slug":"using-with-raspberry-pi","status":"publish","type":"page","link":"https:\/\/pthat.com\/index.php\/using-with-raspberry-pi\/","title":{"rendered":"Using with Raspberry Pi"},"content":{"rendered":"<p>[et_pb_section admin_label=&#8221;section&#8221; background_color=&#8221;#132c47&#8243; inner_shadow=&#8221;off&#8221; parallax=&#8221;on&#8221;][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;60&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;center&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<h1><span style=\"font-size: 36pt;\">Using with the Raspberry Pi<\/span><\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-767\" src=\"https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/H3-300x240.png\" alt=\"\" width=\"450\" height=\"360\" srcset=\"https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/H3-300x240.png 300w, https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/H3-768x615.png 768w, https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/H3-1024x819.png 1024w, https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/H3-610x488.png 610w, https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/H3-1080x864.png 1080w, https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/H3.png 1417w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><strong><span style=\"font-size: 18pt;\">Introduction<\/span><\/strong><\/p>\n<p><span style=\"font-size: 14pt;\">The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and in developing countries.The original model became far more popular than anticipated, selling outside of its target market for uses such as robotics.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The PTHAT has been designed to fit directly onto the Raspberry Pi expansion connector and complies to the Raspberry Pi HAT specifications.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">More information can be found at the official site <a href=\"http:\/\/www.raspberrypi.org\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.raspberrypi.org<\/a><\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;Section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; transparent_background=&#8221;off&#8221; allow_player_pause=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221; background_color=&#8221;#34517c&#8221;][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;center&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] <span style=\"font-size: 24pt;\">Development Platforms<\/span> [\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; module_id=&#8221;layouts&#8221;][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/raspbian_pixel_desktop.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">The Raspberry Pi can run a number of different operating systems and the popular one is\u00a0RASPBIAN JESSIE WITH PIXEL .<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">This is Linux with a Windows GUI and has a number of different development options, with Python being the main one used by devlopers.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Check out the official site for more information and image downloads.<\/span><\/p>\n<p><a href=\"http:\/\/www.raspberrypi.org\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-size: 14pt;\">http:\/\/www.raspberrypi.org\u00a0<\/span><\/a><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;40&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">Windows 10 IoT Core is a new edition of Windows targeted towards small embedded devices and maker boards such as Raspberry Pi2 or Pi3. IoT core is designed to work with low-level bus interfaces such as Serial, I2C, SPI, USB. You can write a Universal Windows Application using a variety of programming languages in Visual Studio to rapidly create maker projects.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Running a dedicated application in a Windows 10 sandbox is pretty cool and more information can be found on the following link which includes how to setup the development environment for your Raspberry Pi<\/span><\/p>\n<p><a href=\"https:\/\/developer.microsoft.com\/en-us\/windows\/iot\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-size: 14pt;\">https:\/\/developer.microsoft.com\/en-us\/windows\/iot<\/span><\/a><\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/windows_10_iot_core_launch1.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;left&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;Section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; transparent_background=&#8221;off&#8221; allow_player_pause=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221; background_color=&#8221;#34517c&#8221;][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;center&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] <span style=\"font-size: 24pt;\">Using the PTHAT with Windows 10 IoT Core.<\/span> [\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; module_id=&#8221;layouts&#8221; transparent_background=&#8221;off&#8221; background_color=&#8221;#ededed&#8221; allow_player_pause=&#8221;off&#8221; parallax_method=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221;][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/pthat-screen1.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; text_text_color=&#8221;#303030&#8243;]<\/p>\n<p><span style=\"font-size: 14pt;\">We have created an example application using Visual Studio 2015 that can be used with Windows 10 IOT.<\/span><br \/>\n<span style=\"font-size: 14pt;\">The example has been written in C# as a Universal Windows Platform (UWP).<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">This allows you to send commands using the serial port and covers the Instant Commands that are shown on the <a href=\"https:\/\/pthat.com\/index.php\/command-set\/\">Command Set Page<\/a>.\u00a0Also it automatically formats the commands to the correct syntax.\u00a0<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Please use the following link to download the full source code.\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;40&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; text_text_color=&#8221;#303030&#8243;]<\/p>\n<p><span style=\"font-size: 14pt;\">To go through every step of setting up Visual Studio 2015 development environment with Windows 10 IOT is a big task and no point repeating it here as there is already good existing information.<\/span><br \/>\n<span style=\"font-size: 14pt;\">A good starting place is Microsoft&#8217;s own site<br \/>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/iot-core\/tutorials\/rpi\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/docs.microsoft.com\/en-us\/windows\/iot-core\/tutorials\/rpi<\/a><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Once you have your Raspberry Pi computer setup with the Windows 10 IOT image and Visual Studio configured, the you will be able to simply load the example application we have provided and start to send commands back and forth to the PTHAT.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/vs2015pthat.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;left&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; module_id=&#8221;layouts&#8221;][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/SESC-1.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">When you launch the application it should enumerate the serial ports on your Raspberry Pi and list them in the top box.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">1.) Highlight the Serial Port.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">2.) Click the Connect button.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/SESC-2.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">Once connected you will find that all the buttons at the bottom of the application will become enabled and the Read Data box will display Waiting for data..<\/span><br \/>\n<span style=\"font-size: 14pt;\">You are now ready to send commands.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/SESC-3.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">Each Axis has to be set before it can be started and in the example we have listed individual settings for the X,Y,Z and E Axis&#8217;s.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The following settings can be set:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Frequency: Sets the speed of the pulse train<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Pulse Count: Sets the required amount of pulses to be sent out<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Direction: Sets motor direction 0=CW 0=CCW<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Ramp UP: See command Set page for more details.<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Ramp Down: See command Set page for more details.<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Ramp Divide: See command Set page for more details.<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Ramp Pause: See command Set page for more details.<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Link to ADC: See command Set page for more details.<\/span><br \/>\n<span style=\"font-size: 14pt;\"> Enable Polarity: See command Set page for more details.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">1.) Click Set button<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">2.) Once set you will see that the Start button has been enabled.<\/span><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/SESC-4.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] <span style=\"font-size: 14pt;\">Once the Start button has been pressed the PTHAT will start sending out the pulses and also the Pause and Stop buttons will become enabled. At this point you can pause or stop the pulse train at any time.<\/span> [\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/SESC-5.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">Also while the pulse train is running, you can send other request commands such as requesting the amount of pulses that have been sent out so far, the value of the ADC&#8217;s etc.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The Read Data box will be updated with the replies from the PTHAT.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/SESC-6.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">You can of course select more than one Axis to set and start at the same time or even start then at different times while the others are running.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Just choose Set for each Axis and the click on Start All.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/SESC-7.jpg&#8221; url_new_window=&#8221;off&#8221; animation=&#8221;right&#8221; show_in_lightbox=&#8221;off&#8221; use_overlay=&#8221;off&#8221; sticky=&#8221;off&#8221; align=&#8221;left&#8221; force_fullwidth=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_divider admin_label=&#8221;Divider&#8221; color=&#8221;#ffffff&#8221; show_divider=&#8221;off&#8221; height=&#8221;70&#8243;] [\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] <span style=\"font-size: 14pt;\">As you can see when selecting more that one Axis, it will still then allow you to individually pause, Stop each Axis or to control all at the same time.<\/span> [\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;1_2&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] <iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/jk6PBNqEYAA\" width=\"400\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe> [\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] <span style=\"font-size: 14pt;\">Here is a video of us testing our application with our 4 motor rig.<\/span> [\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">Rather than clutter this one page with too much information, we have created an Example Page that has more Windows 10 IOT example applications you can download and try out, along with pictures, screen shots and videos.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Please click here to go to the <a href=\"https:\/\/pthat.com\/index.php\/examples\/\">PTHAT Examples Page<\/a><\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;Section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; transparent_background=&#8221;off&#8221; allow_player_pause=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221; background_color=&#8221;#34517c&#8221;][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;center&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] <span style=\"font-size: 24pt;\">Using the PTHAT with\u00a0RASPBIAN JESSIE &amp; PYTHON<\/span> [\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;Section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; transparent_background=&#8221;off&#8221; allow_player_pause=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221;][et_pb_row admin_label=&#8221;Row&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; use_custom_gutter=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; background_color=&#8221;#ffffff&#8221; allow_player_pause=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; make_equal=&#8221;off&#8221; parallax_1=&#8221;off&#8221; parallax_method_1=&#8221;off&#8221; column_padding_mobile=&#8221;on&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p><span style=\"font-size: 14pt;\">There is a lot of information already out there covering the use of the serial port on the Raspberry Pi, but there is a few considerations when running Raspbian as the serial port may need freeing up or enabled. A good site covering this information is\u00a0<a href=\"http:\/\/elinux.org\/RPi_Serial_Connection\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/elinux.org\/RPi_Serial_Connection<\/a> and especially the section near the bottom of the page named\u00a0<em><strong><span id=\"Connection_to_a_microcontroller_or_other_peripheral\" class=\"mw-headline\">Connection to a microcontroller or other peripheral<\/span><\/strong><\/em><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">In the future we will also be providing some PYTHON examples.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">A big thanks to Bill for the following Python Code. New Release 30\/12\/2018<br \/>\n<a href=\"http:\/\/www.pthat.com\/PythonPTHatmoduleV2.zip\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.pthat.com\/PythonPTHatmoduleV2.zip<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt; text-decoration: underline;\"><strong>Python Module for PT Hat<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">This module uses Python3 or higher to control the CNC Design&#8217;s Pulse-Train Hat for the raspberry-pi3 (or rpi2 if baud is set*) . It requires PySerial installed (check by typing: &gt;&gt;&gt; import serial&lt;&lt;&lt; at the command line) and the RPi configured to allow the use of the serial port (by default is is used for debug so needs to be fiddled with).<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The module acts as a wrapper class for the PTHAT&#8217;s serial commands . The user only has to set the motor\/drive characteristics (steps per unit etc.) to get the hat to work.<\/span><br \/>\n<span style=\"font-size: 14pt;\">e.g.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">PT = PTHAT() #create a PThat object<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Xaxis = PT.GetXaxis # create an axis object<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Xaxis.StepsPerUnit = 100 * 16 * 3 # 100step\/rev motor * 16 microstep driver * 3:1 ratio belt<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"># the units can be mm , inches or anything else &#8211;\u00a0 the input is a float()<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Xaxis.MotorEnable = True\u00a0 #enable the motor<\/span><br \/>\n<span style=\"font-size: 14pt;\">Direction = True # true is oneway , false is the other. default is true<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Revs = 100<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">RPM\u00a0 = 100<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"># the number of pulses sent to the motor drive is calculated by the PTHAT object (in inputs are signed float()\u00a0 so will reverse if negative e.g. -12.62 .<\/span><br \/>\n<span style=\"font-size: 14pt;\">Xaxis.SetMove(Revs, RPM, Direction)\u00a0 # Direction is default so Xaxis.SetMove( -6, 34.6) is fine<\/span><br \/>\n<span style=\"font-size: 14pt;\">Xaxis.Start() # make it move OR\u00a0 use PT.StartAll() to &#8230; well guess \ud83d\ude09<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Note: if the axis is heavy you may need to set the acceleration\/deceleration time with Xaxis.AccelerationTime = (time in seconds (float) max~65s).<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/span><br \/>\n<span style=\"font-size: 14pt;\">If responses are required from the PTHat, the object need to be polled in a loop<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">(if anyone knows how to make pyserial event driven &#8211; please let me know!)<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">e.g.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u00a0\u00a0\u00a0 while axis.IsRunning:<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 x = PT.Pollport # must poll the port to read the serial data<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 if x : print(x)<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"># PT.pollport returns fault codes:<\/span><br \/>\n<span style=\"font-size: 14pt;\">8 = ESTOP flagged<\/span><br \/>\n<span style=\"font-size: 14pt;\">4 = BufferEmpty<\/span><br \/>\n<span style=\"font-size: 14pt;\">2 = Limit hit<\/span><br \/>\n<span style=\"font-size: 14pt;\">1 = OK<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">in any combination e.g. 4+2 = 6 buffer empty and limit hit<\/span><br \/>\n<span style=\"font-size: 14pt;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/span><br \/>\n<span style=\"font-size: 14pt;\">If the module is used with Tkinter , it is best to poll the PT object from an app.after() callback<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">e.g.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">root=Tk()<\/span><br \/>\n<span style=\"font-size: 14pt;\">app = MyTestApp(root)<\/span><br \/>\n<span style=\"font-size: 14pt;\">app.after(150,PT_update) # PT_update polls PT.pollport and updates stuff every 150mS<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><br \/>\n<span style=\"font-size: 14pt;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/span><br \/>\n<span style=\"font-size: 14pt;\">The PT object can also use the ADC&#8217;s and AUX outputs:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">e.g.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">ADC = PT.GetADC1<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Relay = PT.GetAUX1<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Relay.SetAux(False) # for OFF or true for ON<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Setting the PT.BufferEnable(True) will start buffering all following commands until PT.BufferStart() or PT.BufferEnable(False)<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">I have not as yet implimented the PWM pins .<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">RPI 2<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">*The RPi3 uses a baud rate of 115,200 , this rate is hard coded into the PTHmodule , if you need to use the higher rate (806400) you will need to edit the module<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">=====================================================================================================<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">All usual caveats apply : Do not use for mediacal use or anything that might be in anyway dangerous .<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Code is provided without warrenty and is royaly free. It&#8217;d be nice if you at least acknowledged the author.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">If you have improvements please let me know . I am not any kind of python expert , in fact this is my first real python project.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">W.K.Todd (2018)<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u00a0<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Also there is now a Python API that has been developed and more information can be found on the link<\/span><br \/>\n<span style=\"font-size: 14pt;\"><a href=\"https:\/\/pthat.com\/index.php\/python-api\/\">https:\/\/pthat.com\/index.php\/python-api\/<\/a><\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;Section&#8221; global_module=&#8221;3990&#8243; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; transparent_background=&#8221;off&#8221; allow_player_pause=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221;][et_pb_row global_parent=&#8221;3990&#8243; admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text global_parent=&#8221;3990&#8243; admin_label=&#8221;Text&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;center&#8221; header_font_size=&#8221;75px&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<h1>Closer look\u00a0at the PCB&#8217;s<\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row global_parent=&#8221;3990&#8243; admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_pricing_tables global_parent=&#8221;3990&#8243; admin_label=&#8221;Pricing Tables&#8221; show_bullet=&#8221;on&#8221; center_list_items=&#8221;off&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; custom_button=&#8221;off&#8221; button_letter_spacing=&#8221;0&#8243; button_use_icon=&#8221;default&#8221; button_icon_placement=&#8221;right&#8221; button_on_hover=&#8221;on&#8221; button_letter_spacing_hover=&#8221;0&#8243; remove_featured_drop_shadow=&#8221;off&#8221;] [et_pb_pricing_table featured=&#8221;on&#8221; title=&#8221;PTHAT Mainboard&#8221; currency=&#8221;\u00a3&#8221; per=&#8221;Ex VAT&#8221; sum=&#8221;45&#8243; href=&#8221;%22https:\/\/ukcnc.net\/index.php?route=product\/product&amp;path=69&amp;product_id=129%22&#8243; button_text=&#8221;Buy Now&#8221; header_font_select=&#8221;default&#8221; header_font=&#8221;||||&#8221; subheader_font_select=&#8221;default&#8221; subheader_font=&#8221;||||&#8221; currency_frequency_font_select=&#8221;default&#8221; currency_frequency_font=&#8221;||||&#8221; price_font_select=&#8221;default&#8221; price_font=&#8221;||||&#8221; body_font_select=&#8221;default&#8221; body_font=&#8221;||||&#8221; custom_button=&#8221;off&#8221; button_font_select=&#8221;default&#8221; button_font=&#8221;||||&#8221; button_use_icon=&#8221;default&#8221; button_icon_placement=&#8221;right&#8221; button_on_hover=&#8221;on&#8221; button_url=&#8221;https:\/\/ukcnc.net\/index.php?route=product\/product&amp;path=69&amp;product_id=129&#8243;]<\/p>\n<p>+ Single Channel Main Board. + JTAG Programmer. + Set of Mounting Spacers and Bolts.<\/p>\n<p>[\/et_pb_pricing_table][et_pb_pricing_table featured=&#8221;on&#8221; title=&#8221;PTHAT Add on Board&#8221; currency=&#8221;\u00a3&#8221; per=&#8221;Ex VAT&#8221; sum=&#8221;40&#8243; button_url=&#8221;https:\/\/ukcnc.net\/index.php?route=product\/product&amp;path=69&amp;product_id=129&#8243; button_text=&#8221;Buy Now&#8221; header_font_select=&#8221;default&#8221; header_font=&#8221;||||&#8221; subheader_font_select=&#8221;default&#8221; subheader_font=&#8221;||||&#8221; currency_frequency_font_select=&#8221;default&#8221; currency_frequency_font=&#8221;||||&#8221; price_font_select=&#8221;default&#8221; price_font=&#8221;||||&#8221; body_font_select=&#8221;default&#8221; body_font=&#8221;||||&#8221; custom_button=&#8221;off&#8221; button_font_select=&#8221;default&#8221; button_font=&#8221;||||&#8221; button_use_icon=&#8221;default&#8221; button_icon_placement=&#8221;right&#8221; button_on_hover=&#8221;on&#8221;]<\/p>\n<p>+Expansion Add on Board. +Increases the PTHAT to 4 channels. +Extra I\/O Functionality. +Set of Mounting Spacers.<\/p>\n<p>[\/et_pb_pricing_table][et_pb_pricing_table featured=&#8221;on&#8221; title=&#8221;PTHAT Full Package&#8221; currency=&#8221;\u00a3&#8221; per=&#8221;Ex VAT&#8221; sum=&#8221;75&#8243; button_url=&#8221;https:\/\/ukcnc.net\/index.php?route=product\/product&amp;path=69&amp;product_id=129&#8243; button_text=&#8221;Buy Now&#8221; header_font_select=&#8221;default&#8221; header_font=&#8221;||||&#8221; subheader_font_select=&#8221;default&#8221; subheader_font=&#8221;||||&#8221; currency_frequency_font_select=&#8221;default&#8221; currency_frequency_font=&#8221;||||&#8221; price_font_select=&#8221;default&#8221; price_font=&#8221;||||&#8221; body_font_select=&#8221;default&#8221; body_font=&#8221;||||&#8221; custom_button=&#8221;off&#8221; button_font_select=&#8221;default&#8221; button_font=&#8221;||||&#8221; button_use_icon=&#8221;default&#8221; button_icon_placement=&#8221;right&#8221; button_on_hover=&#8221;on&#8221;]<\/p>\n<p>+Single Channel Main Board. +Expansion Add on Board. +Increases the PTHAT to 4 channels. +Extra I\/O Functionality. +JTAG Programmer. +Set of Mounting Spacers and Bolts. +Save \u00a310 with this Package<\/p>\n<p>[\/et_pb_pricing_table] [\/et_pb_pricing_tables][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using with the Raspberry Pi Introduction The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and in developing countries.The original model became far more popular than anticipated, selling outside of its target market [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":20,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<p>Information on Using with Raspberry PI\u00a0to be displayed here<\/p>","_et_gb_content_width":"","footnotes":""},"class_list":["post-52","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":98,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/52\/revisions"}],"predecessor-version":[{"id":5015,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/52\/revisions\/5015"}],"wp:attachment":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/media?parent=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}