Hi,
I got message like below.
H bridge error
-
- Posts: 22
- http://meble-kuchenne.info.pl
- Joined: Fri Aug 27, 2021 1:34 pm
- Been thanked: 2 times
-
- Matrix Staff
- Posts: 1746
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: H bridge error
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 22
- Joined: Fri Aug 27, 2021 1:34 pm
- Been thanked: 2 times
-
- Matrix Staff
- Posts: 1746
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: H bridge error
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 22
- Joined: Fri Aug 27, 2021 1:34 pm
- Been thanked: 2 times
Re: H bridge error
Hello,
thank you for help, I will try to do it myself but I use timer0 for another process(interrupt).
BR,
thank you for help, I will try to do it myself but I use timer0 for another process(interrupt).
BR,