Page 1 of 1

H bridge error

Posted: Sat Sep 04, 2021 6:21 pm
by rzeszurzeszu
Hi,
I got message like below.

Re: H bridge error

Posted: Mon Sep 06, 2021 12:44 pm
by BenR
Hello,

What AVR device are you trying to use the H-Bridge component with?

I think at the moment only PIC devices are supported by the component but I can look at supporting AVR if there are devices with hardware H-Bridges.

Re: H bridge error

Posted: Wed Sep 08, 2021 2:29 pm
by rzeszurzeszu
Hi,
I use arduino uno r3.

BR,
rzeszurzeszu

Re: H bridge error

Posted: Wed Sep 08, 2021 8:04 pm
by BenR
Hello,

Ok that device does not feature a hardware H-bridge peripheral and so the best way to create a H-Bridge is to use a PWM output and an additional digital output pin.

The digital output pin can be used to set the direction of the motor and the PWM can set the speed of the motor.

Let me know if you would like an example outting together to demonstrate this.

Re: H bridge error

Posted: Mon Sep 13, 2021 2:55 pm
by rzeszurzeszu
Hello,
thank you for help, I will try to do it myself but I use timer0 for another process(interrupt).
BR,