07-19-2012 08:53 AM
Thank you ,
07-19-2012 07:01 PM
Is there any other functions that you think would be nice to have with this library?
07-19-2012 08:09 PM
With I2C everything is fine.I see that pulsein() function needs implementation in Labview for reading pulses and lcd 16x2 vi needs some fix.
Although very nice job .
07-19-2012 08:40 PM
There is a suggestion thread around here somewhere that you should post in about pulseIn() so that they know that several people want it. There is probably a "bugs" thread or something too for issues.
If you have any other specific requests regarding this sensor, feel free to post and I will see what I can do.
07-21-2012 08:11 PM
I've updated this library. I made a mistake in my last one. I've also added a subVI to read all the axis data. If any body gets a chance to use this, let me know if it works or doesn't work or if you have any suggestions.
08-04-2012 06:51 AM
Can anybody send me a working VI for ADXL345? I tried IPIN's VI but it didn't work.
Thanks.
08-04-2012 06:41 PM
Those links do not work. Attach the VIs.
08-05-2012 04:00 AM
Adxl VI 1:
Adxl VI 2:
08-05-2012 11:18 AM
The default baud rate for the Uno is 115200. If you want to use different value you have to manually change it in the LIFA firmware. Otherwise, I don't see any issues. However, the sensor may need to be set up correctly (setting certain registers and whatnot). If you have or can find a working Arduino sketch, it will likely set some registers prior to reading any values.
After fixing the baud rate, try reading specific registers individually and see if that works because rusty (who posted earlier) said that it works.
08-06-2012 01:45 AM
I believe, I adjusted my default baud rate for 9600 in some point. When I look for ADXL345 sensor here and there I see different ones. Datasheet looks the same though.
But one thing is really confusing. I tied VCC to CS and couple of times I tried to tie SDO to VCC and CS. Basically I tied all of them to 3.3V source.
I have seen somewhere that I2C pins were connected to VCC via some 10K resistors. I have not tried that. Can it be the problem?
The one I have looks like this:
https://www.sparkfun.com/products/9836
Thanks.