Raptor:H-Bridge Output Block: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
 
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
[[Raptor-Platform|Return to the main Raptor page]]


[[Raptor:Input & Output|Return to Input & Output page]]
[[Raptor:Input & Output|Return to Input & Output page]]


[[File:RaptorHBridgeOutput.jpg|right|frame|Raptor H-Bridge Output]]
[[File:RaptorHBridgeOutput.jpg|right|frame|Raptor™ H-Bridge Output]]


== Description ==
== Description ==
Line 25: Line 25:
! Duty Cycle
! Duty Cycle
| int16
| int16
| The duty cycle of the output in 0.01%. For example raw value 500 = 5%.
| The duty cycle of the output in 0.01%. For example raw value 500 = 5%. For reverse bridge operation, a negative duty cycle is used.
|-
|-
! Frequency
! Frequency
Line 32: Line 32:
|}
|}


== Outputs ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Output
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}


== Parameters ==
== Parameters ==
Line 55: Line 48:
| Specifies the type of driver to be used on the selected output.
| Specifies the type of driver to be used on the selected output.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 18:41, 13 September 2023

Return to the main Raptor page

Return to Input & Output page

Raptor™ H-Bridge Output

Description

This block sets the state of the selected H-bridge output. An H-Bridge output is an output which uses 2 pins where either pin can be connected to V+ or V-. This type of output is typically used to drive DC motors which must move in both directions.

Inputs

Input Type Description
Enable boolean Enables the output. When the output is disabled the output pins are not driven high or low.
Brake boolean Causes the output to brake PWM the output in brake mode when enabled.
Duty Cycle int16 The duty cycle of the output in 0.01%. For example raw value 500 = 5%. For reverse bridge operation, a negative duty cycle is used.
Frequency uint32 The frequency of the output in 0.01Hz. For example raw value 40000 = 400Hz.


Parameters

Parameter Type Description
Hardware Resource Specifies which input from the hardware is being read.
Driver Type Specifies the type of driver to be used on the selected output.