Pages: [1]   Go Down
Author Topic: LCD + motors = bug  (Read 610 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: February 26, 2011, 11:33:47 am by SalutBonjour » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: