Go Down

Topic: LCD + motors = bug (Read 734 times) previous topic - next topic

SalutBonjour

Hello
I have a little problem with the LCD display 2x16
It works very well when plugged alone with the arduino
The bugs start when I try to use the LCD with motors at the same time, it displays only the first message I print in the void setup(), but when the loop starts it doesn't print the IR distance sensors' values as I told it to, instead I see some gibberish scrolling by.
I have checked not to use the same pins for both.
If you have any thoughts please share^^
Thank you

pluggy

Sounds like a lack of decoupling.  Motors generate a huge amount of electrical noise and can upset sensitive circuits.  Do a search on decoupling, theres plenty of stuff out there.
http://pluggy.is-a-geek.com/index.html

SalutBonjour

#2
Feb 26, 2011, 05:25 pm Last Edit: Feb 26, 2011, 05:33 pm by SalutBonjour Reason: 1
Hello
I used the same assembly as http://www.arduino.cc/en/Tutorial/LiquidCrystal
except that I put 6.7 instead of 11 and 12 since they are used by the "motor shield" that control 12V motors
I use shield of L298N flamingoeda
Thank you

SalutBonjour

I do not think it's a voltage supply problem
Since I feed the arduino with its own 12V and the shield also

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy