Sep 20, 2019
06:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 20, 2019
06:25 AM
"I have set up a working bi directional motor from this H bridge and would like to read the current being drawn by the motor. I am trying to output the current from the IS_1 / IS_2 analogue output pins to my Arduino uno but i cannot get it to work. I do not know what the correct procedure is. if i simply analogRead(0) i get a constant value. How are you supposed to do this??
ps. i have hooked up an ammeter so i know the system works well "
ps. i have hooked up an ammeter so i know the system works well "
Labels
- Tags:
- IFX
1 Reply
Sep 23, 2019
01:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 23, 2019
01:24 AM
Hello, please measure the voltage at IS pin by using the following demo code: Serial.begin(9600); int VIS = analogRead(A0); // or A1 IS current could be calculated based on the IS voltage and the slew rate resistance.