MMA7455 module has I2C interface for data exchange with the microcontroller. So we need to connect this module on the I2C bus of the AVR microcontroller. I2C bus only has two line SDA and SCL. The table below show the connection between the accelerometer module and xBoard MINI.
MMA7455 Module | xBoard MINI |
---|---|
VCC | 5V OUT |
GND | GND (0V) |
IN2 | NC |
IN1 | NC |
CS | NC |
SDO | NC |
SDA | SDA |
SCL | SCL |
Since both the accelerometer module and development board has male interface headers. We need female to female burg wires as shown in the image below. These wire makes it very easy to hook up things to your development board.
NOTE: Please change position of switch 1 and 2 of the RED DIP switch on xBoard MINI to off position. This will disconnect the internal pull up resistors on SDA and SCL line of xBoard MINI. This is required because the internal pull-up resistors will pull SDA and SCL line to +5v but MMA7455 works on 3.3v so the accelerometer module is also equipped with its own pull up resistors which pulls these line high to 3.3v.
We cordially thanks the following peoples who shared this page on various social networks and insprided us to develop more quality contents!
Marice, Puda, Furi Adipratama,