MPU-9150 + L293D + Arduino Mega, Arduino Gets Stuck!
i have arduino mega 2560 connected to
l293d motor driver ic connected 2 small size dc motors.
mpu-9150 using i2c
xbee v1.1 arduino shield seeed
li-po battery, 7.4 volts, 2200 mah.
all components tested separately, working fine, sensor readings showing data on serial monitor, l293 drives motors, xbee sends wireless serial data on pc, , li-po working fine.
i have checked wiring alot of times. seems correct.
the problem arises when connect of them together, since using single power source, power l293d li-po , arduino li-po.
when l293d powered using li-po , starts drawing current battery, serial monitor/arduino gets stuck. doesnt show sensor readings anymore, while dc motors start spinning. , continue spin, until break connection battery.
without l293d powered, sensor readings working fine, going normal, should, l293d connected, arduino stuck..
i have searched alot of forums this, found info, perhaps analog , digital ground? mpu-9150 digital ground. why stops arduino mega l293d starts drawing current. hell breaks loose.
can please me this? giving me headaches ever since!
l293d motor driver ic connected 2 small size dc motors.
mpu-9150 using i2c
xbee v1.1 arduino shield seeed
li-po battery, 7.4 volts, 2200 mah.
all components tested separately, working fine, sensor readings showing data on serial monitor, l293 drives motors, xbee sends wireless serial data on pc, , li-po working fine.
i have checked wiring alot of times. seems correct.
the problem arises when connect of them together, since using single power source, power l293d li-po , arduino li-po.
when l293d powered using li-po , starts drawing current battery, serial monitor/arduino gets stuck. doesnt show sensor readings anymore, while dc motors start spinning. , continue spin, until break connection battery.
without l293d powered, sensor readings working fine, going normal, should, l293d connected, arduino stuck..
i have searched alot of forums this, found info, perhaps analog , digital ground? mpu-9150 digital ground. why stops arduino mega l293d starts drawing current. hell breaks loose.
can please me this? giving me headaches ever since!
i'd when motors run, voltage of battery drops below cartain level arduino can't run at. if powering arduino thru vin pin or barrel connector, need > 7v voltage regulator can supply enough power. confirm that, use volt meter measure voltage when motors run .
Arduino Forum > Using Arduino > Project Guidance > MPU-9150 + L293D + Arduino Mega, Arduino Gets Stuck!
arduino
Comments
Post a Comment