ArduSat API
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
I2C_add.h
Go to the documentation of this file.
1 /*
2  @brief ArduSat I2C address list
3 
4  Defines all the addresses used for I2C devices on
5  the ArduSat Payload
6 
7  Copyright 2013 NanoSatisfi, Inc.
8 
9  This program is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see <http://www.gnu.org/licenses/>.
21 
22  @author Jeroen Cappaert and NanoSatisfi, Inc.
23  @date May 2013
24 */
25 
26 #ifndef I2C_add_H_ /* I2C_add_H_ */
27 #define I2C_add_H_
28 
29 // sensor addresses
30 #define I2C_ADD_MAG 0X0E // magnetometer
31 #define I2C_ADD_LUX1 0X29 // TSL2561 #1 (bottomplate camera)
32 #define I2C_ADD_LUX2 0x39 // TSL2561 #2 (bottomplate slit)
33 #define I2C_ADD_TMP1 0X48 // temp sensor TMP102 (payload #1)
34 #define I2C_ADD_TMP2 0X49 // temp sensor TMP102 (payload #2)
35 #define I2C_ADD_TMP3 0X4A // temp sensor TMP102 (bottomplate #1)
36 #define I2C_ADD_TMP4 0X4B // temp sensor TMP102 (bottomplate #2)
37 #define I2C_ADD_ACC 0X53 // accelerometer ADXL345
38 #define I2C_ADD_GYR 0X69 // gyros ITG3200
39 #define I2C_ADD_MLX 0X51 // IR thermometer (bottomplate)
40 
41 // experiment arduino addresses
42 #define I2C_ADD_ARD1 0X2B // experiment arduino 1
43 #define I2C_ADD_ARD2 0X2C // experiment arduino 2
44 #define I2C_ADD_ARD3 0X2D // experiment arduino 3
45 #define I2C_ADD_ARD4 0X2E // experiment arduino 4
46 #define I2C_ADD_ARD5 0X2F // experiment arduino 5
47 #define I2C_ADD_ARD6 0X30 // experiment arduino 6
48 #define I2C_ADD_ARD7 0X31 // experiment arduino 7
49 #define I2C_ADD_ARD8 0X32 // experiment arduino 8
50 #define I2C_ADD_ARD9 0X33 // experiment arduino 9
51 #define I2C_ADD_ARD10 0X34 // experiment arduino 10
52 #define I2C_ADD_GPS 0X3C // GPS arduino (node 11)
53 #define I2C_ADD_ARD12 0X3D // experiment arduino 12
54 #define I2C_ADD_ARD13 0X3E // experiment arduino 13
55 #define I2C_ADD_ARD14 0X3F // experiment arduino 14
56 #define I2C_ADD_ARD15 0X40 // experiment arduino 15
57 #define I2C_ADD_ARD16 0X41 // experiment arduino 16
58 
59 // peripheral arduino adresses
60 #define I2C_ADD_ASSV_1 0X04 // master arduino
61 #define I2C_ADD_ASSV_X 0X20 // master arduino
62 #define I2C_ADD_SPECT 0X22 // spectruino arduino
63 #define I2C_ADD_GEIGER 0X23 // uSD card arduino
64 
65 #endif /* I2C_add_H_ */