Arduino Genuino 101 Accelerometer and serial noise
i've connected motor driver arduino 101 built in 6 axes gyro/accelerometer. code working fine, needs pumping out serial terminal before motors remain stable. when code started , gyro/accel tipped without serial output motors unstable. serial active terminal , heading(yaw), pitch , roll data pumping serial terminal @ 9600 baud 25 times second motors , speed control stable, absolutely no glitches @ all. if serial terminal shut down motor driver becomes unstable. if serial closed motors running become unstable. if system started without serial output system unstable. seems me have serial termination issue , not motor driver issue. motors show me fault , not seem cause.
what appears me happening sending serial data slows code down. slowdown appears make code more stable. so, possible make code stable without sending serial data slowing things down. how depends on code can not see.
Arduino Forum > Topics > Robotics (Moderator: fabioc84) > Arduino Genuino 101 Accelerometer and serial noise
arduino
Comments
Post a Comment