Documente Academic
Documente Profesional
Documente Cultură
CS (J2) Jumper
J2 CS J2 CS
I2C address Write address = D2h Read address = D3h Write address = D0h Read address = D1h
SDA (J3) and SCL (J4) are used to activate pull-up resistors for SDA and SCL pin on the I2C interface.
Important ! If more than one module are connected to I2C-bus, then only one set of SDA (J3) - SCL (J4) jumpers needs to be connected. CD/DVD Contents 1. Testing Program. 2. DT-Sense 3 Axis Gyroscope Manual. 3. Datasheet. 4. Innovative Electronics Offline Website. Testing Procedure A simple testing procedure can be performed by following the steps below: 1. Prepare the DT-AVR ATmega168 BMS module, load the program Contoh (included in CD/DVD). 2. Attach the voltage selector jumper so that DT-AVR ATmega168 BMS works at 3.3 volts. 3. Connect the DT-AVR ATmega168 BMS and DT-SENSE 3 AXIS GYROSCOPE module using the following table:
Pin 1 2 3 4 5 6 7 8
Name INT1 INT2 SDO CS SDA/ SDI SCL/ SPC Ground V33
Function Programmable Interrupt Data Ready / FIFO Interrupt SPI Serial Data Output / I2C Address Selector (0 : D0h/D1h ; 1 : D2h/D3h) Chip Select & SPI Enable (0) or I2C Enable (1) I2C Serial Data (SDA) / SPI Serial Data Input (SDI) I2C Serial Clock (SCL) / SPI Serial Clock (SPC) Ground reference point 3.3 VDC voltage input
DT-AVR ATmega168 BMS (PORT B) VIN (Pin 2) GND (Pin 1) PB0 (Pin 3) PB1 (Pin 4)
DT-Sense 3 Axis Gyroscope V33 (Pin 8) Ground (Pin 7) SCL (Pin 6) SDA (Pin 5)
4. Attach all I2C pull up and CS jumpers on the DTSENSE 3 AXIS GYROSCOPE module. 5. Attach the SDO jumper on 2-3 so that I2C address is D0h. 6. Connect the 9 volts power supply to the DT-AVR ATmega168 BMS module. Turn the power supply on. 7. Afterward, the gyroscope data gyroX, gyroY, and gyroZ will be sent via DT-AVR Atmega168 BMS
module's UART line with 38400 bps baudrate mode, 8 bits data,1 stop bit, and without parity. 8. Spin the DT-SENSE 3 AXIS GYROSCOPE module to test the changes on each of the gyroscope's axis. 9. If the DT-SENSE 3 AXIS GYROSCOPE module is spun with Z axis shaft (shaking motion), then the gyroZ value will change the most. 10. If the DT-SENSE 3 AXIS GYROSCOPE module is spun with X axis shaft (nodding motion), then the gyroX value will change the most.
11. If the DT-SENSE 3 AXIS GYROSCOPE module is spun with Y axis shaft (teeter totter motion), then the gyroY value will change the most.
Thank you for your confidence in using our products, if there are difficulties, questions, or suggestions regarding this product please contact our technical support:
support@innovativeelectronics.com