Hello (sorry for my bad English) I am doing a project that consists of showing two graphs of the data of two adxl345 sensors, through LabVIEW and using an Arduino code. For this I use Linx and I2C in LabVIEW to be able to show the two graphs, however when I show the information I only see the data of one sensor in both graphs, the sensors are connected to the Arduino using the TCA9548A extender using the SC3 + SD3 pins for the Sensor B, which is the one that can be seen, and SC2 + SD2 for Sensor A, which cannot obtain its data. In my Arduino code, I don't have any problem when displaying my data, I use Wire.beginTransmission 0x70 to do it, sorry but these sensors and Arduino board are new to me I've only had experience with the Arduino Mega, I share my codes from Arduino and LabVIEW I hope someone can explain to me how to do it to able to place more of these sensors, thanks for taking the time to read.
Question
jmch
Hello (sorry for my bad English) I am doing a project that consists of showing two graphs of the data of two adxl345 sensors, through LabVIEW and using an Arduino code. For this I use Linx and I2C in LabVIEW to be able to show the two graphs, however when I show the information I only see the data of one sensor in both graphs, the sensors are connected to the Arduino using the TCA9548A extender using the SC3 + SD3 pins for the Sensor B, which is the one that can be seen, and SC2 + SD2 for Sensor A, which cannot obtain its data. In my Arduino code, I don't have any problem when displaying my data, I use Wire.beginTransmission 0x70 to do it, sorry but these sensors and Arduino board are new to me I've only had experience with the Arduino Mega, I share my codes from Arduino and LabVIEW I hope someone can explain to me how to do it to able to place more of these sensors, thanks for taking the time to read.
SWADXLl3458NA.vi Multiplexor.ino
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now