Asked
Resolved Resolved by DJ Sures!

Hbridge PWM Movement - No Signal On Trigger A And B

Hello ,

I have configured an HBridge PWM Movement skill on my EZ-B v4 with the following settings:

  • Left Trigger A: Port 0.D21
  • Right Trigger B: Port 0.D22
  • PWM: Port 0.D23

When I measure the PWM output on my oscilloscope at port 0.D23, the signal appears perfect, and everything functions smoothly when I adjust the skill's slider.

However, I'm encountering an issue with the directional control signals. There is no signal output on Trigger A (0.D21) and Trigger B (0.D22) to control the direction. The signal remains flat at 0, regardless of the direction I select using the skill's directional arrows.

This seems like a basic setup, and I have successfully used this skill in the past. I am unsure what I might have overlooked. What could be causing this issue? I even tested with another EZ-B v4, suspecting a possible fault with the first one, but the behavior remains the same. It seems the problem is on my end, but I can't pinpoint where.

Any insights or suggestions would be greatly appreciated. Thank you!


Related Hardware EZ-B v4
Related Control Dual HBridge w/PWM

ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

PRO
Synthiam
#1  

There should be 4 wires for triggers and 2 wires for pwm. The triggers are a logic matrix for the movement and the pwm is the enable pin for speed.

PRO
Canada
#2  

It sounds like you're experiencing an issue with the directional control signals for your Dual HBridge w/PWM setup. Let's go through a few troubleshooting steps to help identify and resolve the problem:

  1. Verify Wiring Connections:

    • Ensure that the wiring from the EZ-B v4 to the H-Bridge is correct. You should have four wires for the directional control (Trigger A and B for both left and right motors) and two wires for the PWM signals.
    • Double-check that the connections are secure and that there are no loose wires.
  2. Check Port Assignments:

    • Make sure that the ports assigned in the ARC project match the physical connections on the EZ-B v4. For example, if you have set Trigger A to D21 and Trigger B to D22, ensure these are the ports connected to the H-Bridge.
  3. Review Skill Configuration:

    • Open the settings for the Dual HBridge w/PWM skill in ARC and verify that the port assignments are correct for both the triggers and PWM.
    • Ensure that the PWM sliders are set to a value greater than 0, as this will enable the PWM signal.
  4. Test with Basic Script:

    • You can create a simple script to manually set the digital ports for Trigger A and B to test if they respond. For example:
      Digital.set(D21, true); // Set Trigger A high
      Digital.set(D22, false); // Set Trigger B low
      
    • Run the script and check if the oscilloscope shows any change in the signal.
  5. Inspect for Software Updates:

    • Ensure that you are using the latest version of ARC. Sometimes, updates can resolve unexpected issues.
  6. Swap Ports:

    • If possible, try using different digital ports for Trigger A and B to see if the issue persists. This can help determine if the problem is with the specific ports.
  7. Check for Conflicting Skills:

    • Ensure that no other skills or scripts in your project are interfering with the digital ports used for the triggers.

If you've gone through these steps and the issue persists, it might be helpful to review the wiring and configuration with a fresh perspective or consult the Dual HBridge w/PWM documentation for any additional insights. Feel free to ask if you have more questions or need further assistance!


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Canada
#3  

Step 4, test with Basic Script:doesn't work, i don't have any signal with :

Digital.set(D21, true);

I tried too on D1. I have the same result.

But... With the Set Digital skill it work! I have a signal. Green = 3.3V, Red = 0V on oscilloscope

Do you have an explanation?

PRO
Synthiam
#4   — Edited

What do you mean by green and red? The pins are black and white and red?

are you checking between gnd and signal? Something must be correct when testing with the oscilloscope and meter and such

PRO
Canada
#5  

The color of the skill. See screenshot.

User-inserted image

But forget my message #3 above. The mistake is mine. I retested with the basic script and it works.

What it doesn't work is with the HBridge PWM Movement Skill. The PWM signal is good after clicking on any of the arrows on this Skill, but nothing happens with Trigger A and B. Signal See my project. The signal remains at 3.3V or 0V depending on the state I left it in with the basic script (or the Digital Set Skill)

My test project: Test.EZB

#6  

Can you please tell us what version of ARC Pro you are using? Also, what type of EZB are you using? The question has EZB-v4 (from EZ-Robot) selected, but we must ensure it is correct.

PRO
Canada
#7   — Edited

ARC Pro v2024.09.23.00

EZ-B v4.x/2

PRO
Synthiam
#8  

I can confirm the same experience. I’ll have it looked at right away. Stay tuned

PRO
Canada
#9  

Thanks! I was beginning to seriously doubt my abilities...

#10  

We were able to confirm this behavior. There will be an update which will include this fix. We’ll push it through as a priority release in the next few days.

PRO
Canada
#11  

Thank you for your quick follow-up!

PRO
Synthiam
#12  

I tried the fix and it works. Its pushed into qa for testing. Probably be online in the next day or two

PRO
Canada
#13   — Edited

I just tested with the new version v2024.12.16.00 and it works!

Excellent! Thank you!

PRO
Canada
#14  

Resolved with the new version v2024.12.16.00