{"id":56,"date":"2016-12-17T17:20:36","date_gmt":"2016-12-17T17:20:36","guid":{"rendered":"http:\/\/pthat.com\/?page_id=56"},"modified":"2017-07-23T13:58:09","modified_gmt":"2017-07-23T12:58:09","slug":"wiring-up","status":"publish","type":"page","link":"https:\/\/pthat.com\/index.php\/wiring-up\/","title":{"rendered":"Wiring up"},"content":{"rendered":"<p>[et_pb_section admin_label=&#8221;Section&#8221; fullwidth=&#8221;off&#8221; specialty=&#8221;off&#8221; transparent_background=&#8221;off&#8221; background_color=&#8221;#f9f9f9&#8243; 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;#f9f9f9&#8243; 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;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;\">Wiring up<\/span><\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=&#8221;section&#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; module_id=&#8221;smi1&#8243;][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;\">Wiring up the Pulse Train Hat is very simple as you can see by the connection diagrams below.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">If just using the single channel PTHAT then you can only control one stepper driver. But simply plugging in the Top Hat expansion board, this will allow a total of\u00a0four channels and hence control of four stepper drivers.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Please note that the diagrams are based on stepper drivers that only require 5 volts line to be taken to the driver and 0 Volt lines are switched.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">If your stepper drivers have a input for\u00a0&#8211; Volts as well as + Volts on each input then, link all the + Volts lines together and connect to the 5 Volts output line. Then connect each of the &#8211; Volt inputs back to the Enable, Direction and Pulse line outputs.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">We have shown different connection diagrams for different drivers near the bottom of the page.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/pthatmainboardwiring.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/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; background_color=&#8221;#f9f9f9&#8243; 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; module_id=&#8221;smi2&#8243;][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;#f9f9f9&#8243; 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>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">Next diagram shows closer detail of the Top Hat expansion board.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">It has extra I\/O ports shown and the other three channels.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/pthatTOPboardwiring.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/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; module_id=&#8221;smi3&#8243;][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>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">In this diagram below\u00a0it shows both the PTHAT Mainboard and Topboard connected together.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The Limit switch inputs are pulled high and also the Emergency stop input. So attaching limit switches that are N\/O (normally open) will take the inputs down to 0 Volts when triggered.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The ADC inputs all run on 3.3 Volts and should use the connector blocks next to them for power. Do not put a higher voltage in on the ADC inputs than 3.3 Volts, as it will damage the board. Further down the page we show how to connect some pots to the ADC inputs.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The 5 Volt outputs should be used to control mosfets or relays and not used to drive a direct load.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Note the outputs are from the 7407 open collector buffer chips on board which have a 4K7 pull up resistor.\u00a0So if a very small load you could supply the 5 volt line (around 2ma), but it is recommended that you use the AUX outputs to switch 0v into the circuit as shown on the <a href=\"https:\/\/pthat.com\/index.php\/wiring-up\/#smi8\">diagram at the bottom of this page<\/a>\u00a0this way you can pull around 20-30ma<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/BothBoardsTogether.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/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; background_color=&#8221;#f9f9f9&#8243; 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; module_id=&#8221;smi4&#8243;][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;#f9f9f9&#8243; 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;\">Next below shows a typical setup combination, showing the PTHAT, stepper drivers and motors.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/BothBoardsTogether-MotorWiring.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/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; module_id=&#8221;smi5&#8243;][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>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">Here are some different connection diagrams for different types of drivers\u00a0.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/connectingtoUIROBOTDriver.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_image][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>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">As you can see with the UI-Robot driver, you can simply take the signal lines straight out to the driver.<\/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; background_color=&#8221;#f9f9f9&#8243; 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; module_id=&#8221;smi6&#8243;][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;#f9f9f9&#8243; 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_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/connectingtoCW5045Driver.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_image][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>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">The CW5045 driver is like other high current stepper drivers that have separate inputs for &#8211; Volt and + Volt lines.<br \/>\nIn the example above we link the + Volt lines together and take to 5 Volts.<\/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; module_id=&#8221;smi7&#8243;][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; 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_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/connectingtoDRV8825Driver.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_image][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>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">The small low cost DRV8825 stepper drivers\u00a0have the same connections\u00a0as the A4988 drivers. Take Reset and Sleep to 5 Volts.\u00a0<\/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; background_color=&#8221;#f9f9f9&#8243; 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; module_id=&#8221;smi8&#8243;][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;#f9f9f9&#8243; 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_image admin_label=&#8221;Image&#8221; src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/0VADCpthatTOPboardwiring3.jpg&#8221; show_in_lightbox=&#8221;off&#8221; url_new_window=&#8221;off&#8221; use_overlay=&#8221;off&#8221; animation=&#8221;fade_in&#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;]<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_image][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>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">Finally above we show examples of how to connect the ADC inputs and Aux 5 volt outputs.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The Limit switch inputs are pulled high and also the Emergency stop input. So attaching limit switches that are N\/O (normally open) will take the inputs down to 0 Volts when triggered.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The ADC inputs all run on 3.3 Volts and should use the connector blocks next to them for power. Do not put a higher voltage in on the ADC inputs than 3.3 Volts, as it will damage the board. Further down the page we show how to connect some pots to the ADC inputs.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The 5 Volt outputs should be used to control mosfets or relays and not used to drive a direct load.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Note the outputs are from the 7407 open collector buffer chips on board which have a 4K7 pull up resistor.\u00a0So if a very small load you could supply the 5 volt line (around 2ma), but it is recommended that you use the AUX outputs to switch 0v into the circuit,\u00a0this way you can pull around 20-30ma<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">At the moment the Aux outputs are\u00a0set low on start up, but on reflection this needs to be changed so they are high on start up and when the <strong>Set on\/off Aux Output Command<\/strong> is sent that the lines switches from high-low. We will amend this in the next firmware release.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/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_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;35&#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;] + Single Channel Main Board. + JTAG Programmer. + Set of Mounting Spacers and Bolts. [\/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;30&#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;] +Expansion Add on Board. +Increases the PTHAT to 4 channels. +Extra I\/O Functionality. +Set of Mounting Spacers. [\/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;55&#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;] +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 [\/et_pb_pricing_table] [\/et_pb_pricing_tables][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wiring up Wiring up the Pulse Train Hat is very simple as you can see by the connection diagrams below. If just using the single channel PTHAT then you can only control one stepper driver. But simply plugging in the Top Hat expansion board, this will allow a total of\u00a0four channels and hence control of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":50,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<span style=\"font-size: 14pt;\">Wiring up the Pulse Train Hat is very simple as you can see by the connection diagrams below.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">If just using the single channel PTHAT then you can only control one stepper driver. But simply plugging in the Top Hat expansion board, this will allow a total of\u00a0four channels and hence control of four stepper drivers.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">Please note that the diagrams are based on stepper drivers that only require 5 volts line to be taken to the driver and 0 Volt lines are switched.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">If your stepper drivers have a input for\u00a0- Volts as well as + Volts on each input then, link all the + Volts lines together and connect to the 5 Volts output line. Then connect each of the - Volt inputs back to the Enable, Direction and Pulse line outputs.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">We have shown different connection diagrams for different drivers near the bottom of the page.<\/span>\r\n\r\n\u00a0\r\n\r\n<img class=\"alignnone size-full wp-image-335\" src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/pthatmainboardwiring.jpg\" alt=\"\" width=\"1077\" height=\"729\" \/>\r\n\r\n\u00a0\r\n\r\n<span style=\"font-size: 14pt;\">Next diagram shows closer detail of the Top Hat expansion board.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">It has extra I\/O ports shown and the other three channels.<\/span>\r\n\r\n<img class=\"alignnone size-full wp-image-336\" src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/pthatTOPboardwiring.jpg\" alt=\"\" width=\"1077\" height=\"892\" \/>\r\n\r\n\u00a0\r\n\r\n<span style=\"font-size: 14pt;\">In this diagram below\u00a0it shows both the PTHAT Mainboard and Topboard connected together.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">The Limit switch inputs are pulled high and also the Emergency stop input. So attaching limit switches that are N\/O (normally open) will take the inputs down to 0 Volts when triggered.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">The ADC inputs all run on 3.3 Volts and should use the connector blocks next to them for power. Do not put a higher voltage in on the ADC inputs than 3.3 Volts, as it will damage the board. Further down the page we show how to connect some pots to the ADC inputs.<\/span>\r\n\r\n<span style=\"font-size: 14pt;\">The 5 Volt outputs should be used to control mosfets or relays and not used to drive a direct load.<\/span>\r\n\r\n\u00a0\r\n\r\n<img class=\"alignnone size-full wp-image-339\" src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/BothBoardsTogether.jpg\" alt=\"\" width=\"1077\" height=\"1013\" \/>\r\n\r\n\u00a0\r\n\r\n<span style=\"font-size: 14pt;\">Next below shows a typical setup combination, showing the PTHAT, stepper drivers and motors.<\/span>\r\n\r\n<img class=\"alignnone size-large wp-image-341\" src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/BothBoardsTogether-MotorWiring-1024x677.jpg\" alt=\"\" width=\"1024\" height=\"677\" \/>\r\n\r\n\u00a0\r\n\r\n<span style=\"font-size: 14pt;\">Here are some different connection diagrams for different types of drivers\u00a0.<\/span>\r\n\r\n<img class=\"alignnone size-large wp-image-357\" src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/connectingtoUIROBOTDriver-1024x512.jpg\" alt=\"\" width=\"1024\" height=\"512\" \/>\r\n\r\n<span style=\"font-size: 14pt;\">As you can see with the UI-Robot driver, you can simply take the signal lines straight out to the driver.<\/span>\r\n\r\n\u00a0\r\n\r\n<img class=\"alignnone size-large wp-image-358\" src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/connectingtoCW5045Driver-1024x512.jpg\" alt=\"\" width=\"1024\" height=\"512\" \/>\r\n\r\n<span style=\"font-size: 14pt;\">The CW5045 driver is like other high current stepper drivers that have separate inputs for - Volt and + Volt lines.\r\nIn the example above we link the + Volt lines together and take to 5 Volts.<\/span>\r\n\r\n\u00a0\r\n\r\n\r\n<img src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/connectingtoDRV8825Driver2-1024x512.jpg\" alt=\"\" width=\"1024\" height=\"512\" class=\"alignnone size-large wp-image-518\" \/>\r\n\r\n<span style=\"font-size: 14pt;\">The small low cost DRV8825 stepper drivers\u00a0have the same connections\u00a0as the A4988 drivers. Take Reset and Sleep to 5 Volts.\u00a0<\/span>\r\n\r\n\u00a0\r\n\r\n<img src=\"http:\/\/pthat.com\/wp-content\/uploads\/2016\/12\/ADCpthatTOPboardwiring2-973x1024.jpg\" alt=\"\" width=\"973\" height=\"1024\" class=\"alignnone size-large wp-image-520\" \/>\r\n\r\n<span style=\"font-size: 14pt;\">Finally above we show examples of how to connect the ADC inputs and Aux 5 volt outputs.<\/span>\r\n\r\n\u00a0","_et_gb_content_width":"","footnotes":""},"class_list":["post-56","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/56","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=56"}],"version-history":[{"count":31,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/56\/revisions"}],"predecessor-version":[{"id":4740,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/56\/revisions\/4740"}],"wp:attachment":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/media?parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}