Hardware setup:
 MPU9150
Breakout ---------------- Arduino
 5V -------------------------- 5V
 SDA ----------------------- A4 pull up to +3.3
 SCL ----------------------- A5 pull up to +3.3
 GND ---------------------- GND


 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground

LCD Contrast
 * 10K pot (I used 2 K)
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)

LCD Backlight
* +5V 1.2K to  pin 15 (A)
* gnd  pin 16 (K)



Source files for Arduino  ( a zip file about 30 kb)

Return to front page index