Mar 10, 2020
05:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 10, 2020
05:01 AM
2 Replies
Mar 15, 2020
10:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 15, 2020
10:26 PM
hello,
only thing you have to do is to supply power to the dc motor by activating one of the phase of h bridge.you can only activate phase 1 in the h bridge for one direction . for the reverse direction you can activate phase 2
the code below is for arm keil. i do not know how to do it in arduino. but i think you can find it.
BDRV_Set_Channel(HS1, Ch_On);//for firstdirection phase 1
BDRV_Set_Channel(LS1, Ch_On);
BDRV_Set_Channel(HS2, Ch_On);// for reverse direction
BDRV_Set_Channel(LS2, Ch_On);
only thing you have to do is to supply power to the dc motor by activating one of the phase of h bridge.you can only activate phase 1 in the h bridge for one direction . for the reverse direction you can activate phase 2
the code below is for arm keil. i do not know how to do it in arduino. but i think you can find it.
BDRV_Set_Channel(HS1, Ch_On);//for firstdirection phase 1
BDRV_Set_Channel(LS1, Ch_On);
BDRV_Set_Channel(HS2, Ch_On);// for reverse direction
BDRV_Set_Channel(LS2, Ch_On);
Mar 15, 2020
11:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 15, 2020
11:00 PM
Thank you!