TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: brianb@brianboschma.com on April 08, 2022, 02:51:21 PM

Title: TinyShield ASD2511 R N 9 axis IMU - start up issues with order of 15 units .
Post by: brianb@brianboschma.com on April 08, 2022, 02:51:21 PM
Hi,  I have an order of 15 units and I am trying to use them in an Arduino environment with a custom device driver. The driver works with similar boards from Sparkfun, Adafruit, and Smartproto.  I am guessing the failure has to do with a setting, like a sleep mode, that is enabled , or dis enabled , on the TINYCIRCUITS board, or a setting made at production time of the LSM9DS1.  I have measured all the voltages on the board, and have confirmed several times all connections. Note that this all works with the other vendors solutions as is.  Is there a setting I have to re program from LSM9DS1 factory settings ?  Or a jumper somewhere on the TINYCIRCUITS board ?   
Regards,
Brian   
Pelagic AUtopilot LLC
Title: Re: TinyShield ASD2511 R N 9 axis IMU - start up issues with order of 15 units .
Post by: lennevia on April 08, 2022, 05:02:13 PM
Hi there,

Can you share more information on what your goals are and the hardware and software you are using? Some pictures of your hardware setup as well as links to the libraries and example code you are using might help. Can you share the other products you have used from different vendors that use the same 9-Axis sensor?

Are you using our 9-Axis TinyShield, or are you using our 9-Axis Wireling? Are you using a TinyCircuits processor? What results are you trying to produce from the 9-Axis, and what results are you getting instead?

Let me know.

RĂ©na

Title: Re: TinyShield ASD2511 R N 9 axis IMU - start up issues with order of 15 units .
Post by: brianb@brianboschma.com on April 14, 2022, 12:43:54 PM
Hello Rena, here is a copy of a note I sent via info@Tiny........com.   Note that my original messages states the sensor I am using via the part number on the package the sensors come in.   The following explains further. 

Issue:  I am connecting to the module directly to the pin inputs, not the connector.  This is being installed on an existing product with mature software that typically uses a SparkFun or Adafruit or Smart-Proto module of similar design (i.e. a carrier board for the LSM9DS1)   Those work well.  Connections have been checked and re checked. All voltages on your module meet requirements (3.3 volts). The module does not respond to requests via the I2C bus.   The driver used is a custom driver that works perfectly with other vendors modules.

I suspect your unit is shipping with a power down mode enabled ?  Or is using a different I2C address rather than that the LSM9DS1 ships with ?   I can't find a copy of the Tinycircuits driver online that I could inspect, if there is one online that is source code maybe that would help me ?   If there is some setting that is not apparent from the online info could you please share this with me ?    I could potentially add a test to the driver I have created.

I have a package of 15 I ordered that is rendered useless if I cannot resolve this.  Can I return these for a refund ?

Thanks for you support.
Title: Re: TinyShield ASD2511 R N 9 axis IMU - start up issues with order of 15 units .
Post by: lennevia on April 14, 2022, 04:37:45 PM
Hello Brian,

I'm glad you were able to get the forum working for you, I did see the emails and will respond here.

The 9-Axis code we use implements the I2C addresses:

Code: [Select]
//  I2C Slave Addresses

#define LSM9DS1_ADDRESS0  0x6a
#define LSM9DS1_ADDRESS1  0x6b
#define LSM9DS1_ID        0x68

#define LSM9DS1_MAG_ADDRESS0        0x1c
#define LSM9DS1_MAG_ADDRESS1        0x1e
#define LSM9DS1_MAG_ID              0x3d

These addresses are defined in the RTIMULSM9DS1.h file packaged in with the 9-Axis TinyShield example you can download here: https://github.com/TinyCircuits/TinyCircuits-TinyShield-Sensor-ASD2511/raw/master/examples/9-Axis_TinyShield_example.zip

Additionally, here is the tutorial you can review for any differences in hardware or software that you may need to inspect: https://github.com/TinyCircuits/TinyCircuits-TinyShield-Sensor-ASD2511/raw/master/examples/9-Axis_TinyShield_example.zip

If you'd like to return the modules, please email us with your original order number and return request and we will go from there.

Let me know if you have any other questions.