LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Arduino outputs

OHH ok i think I understand now, I got an "IF" inside another "IF" but its not needed right ? thats what you mean ? you're correct

0 Kudos
Message 11 of 16
(920 Views)

Ok thanks for your help untill now, i would like to know if you can help me with this:

So what if i'm pressing the forward button but there is an obstacle and the device isnt moving? How can I be checking the motor's current or voltage to see if it changes suddenly ?

0 Kudos
Message 12 of 16
(920 Views)

You would need to "close the loop" with some sort of sensor.  You can either use a current sensor or a position (absolute or relative) sensor to determine a stall condition.  The two sensors are not really the same thing and provide different information and you would probably need to use both (the current sensor to protect the electrical circuit and the position sensor to see if the motor is moving.

I'm sure that there are many ways to do it but these are the two that I've used in the past.

0 Kudos
Message 13 of 16
(920 Views)

ok thanks very much for your help, i will search for those sensors and i will come back if i need help.

0 Kudos
Message 14 of 16
(920 Views)

Will this sensor work ? I can input some limits for the current and if the sensor reads more current display an error..

http://www.youtube.com/watch?v=lisprJs5sNU

0 Kudos
Message 15 of 16
(920 Views)

I don't see any reason why that won't work to measure current. 

Message 16 of 16
(920 Views)