Hello,
I just recently got hooked on my Arduino. Quick question. I would like to build a project that requires the BMP180 pressure sensor, the BN0055 orientation chip and the simple LCD display bar. I want to use the simplified LCD setup that minimizes the number of wires coming from the LCD display. All three of these devices use the A4 A5 slots on the Arduino.I noticed that my Arduino is an R3 version and has SCL and SDA slots next to the AREF position. Can I use these devices together on the one Arduino board ?
If you look at the schematics A4/SDA and A5/SDA are interconnected. It doesn't matter which two you will use. It is I2C bus and you can hook more devices on it. Each device is accessed via its address which has to be unique.
Ah, yes , its an Arduino Uno board. I am just assuming that the board with handle to code for all the devices that I want to put on it simultaneously. I see that I have to learn more about l2C and code writing. But at least I got my answer. Gosh that was quick. Just beginning. Ok l2C bus and device addresses. Gonna start with my copies of PROGRAMMING ARDUINO BY Simon Monk both volumes and then onto Google searches.
It should not be a problem to use I2C, it is quite simple. Arduino SW contains Wire library for I2C comunication. There are also examples for use. Your LCD, whether is original I2C or use some transceiver, there is a library for it. You just have to find out the address from the datasheet of LCD or IC which is on transceiver. Personally, I'm using LiquidCrystal library from Francisco Malpartida. It supports I2C and it's fast and small. BMP180 - look at: https://www.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf, section 5.2 for address etc.
Good luck