Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is most likely no translated for the post!
Ad Blocking Detected
Please consider disabling your ad blocker for our website.
We rely on these ads to be able to run our website.
You can of course support us in other ways (see Support Us).
I know the code as posted works for the most part.
I have contacted the developers of the MPU6050 library (Electronic Cats) and the library it was based on (jrowberg/i2cdevlib)
Neighther could offer a solution. I was advised that it was an issue with the I2C bus timeout. I believe it was due to an underlying issue with the arduino wire library which needed to be fixed.
Not sure if that will ever happen. So I have had to shelve the project for the time.
Disappointing since I had been running my RC cars all summer and could have used this logger.
Keep us posted. I developed this project with the Neo 6m GPS module and a similar Goouuu. But am interested in any feedback.
On the I2C bus freeze issue. I found few accelerometer modules that use analog pins instead of I2C. I ordered one and will experiment with that instead of the MPU6050.
Since it uses three analog pins (x,y,z) i will need to modify the code. But if it works it will be worth it.
I have tested an analog accelerometer module MMA3761 and it is erratic, possibly because it is analog.
I hooked it up and ran a test example which used analogread. It keeps producing reading and does not freeze. However, the 0g readings even with no motion change and do not stabilize.
I have also not been able to find much documentation or code for this module, possibly due to the age and the product being discontinued.
Please consider disabling your ad blocker for our website.
We rely on these ads to be able to run our website.
You can of course support us in other ways (see Support Us).
@hans I did look at the library. It was a complete disaster.
First, the library is 8 years old. I couldn't even get it to install in the arduino ide. I had to install it manually.
Then the library is not compatible with the ESP32. I tried to get the simple sketch to compile and after hours, gave up. The library may work fine on an uno, nano or whatever. It will not compile for an esp32 or the heltec board
I did find an AXL345 accelerometer board that used SPI and I2C. I ordered one yesterday. I am going to try this in SPI mode
I hope the new accelerator works better. As for the model you have right now; how bad are the numbers bouncing? Since I have no idea about the values, maybe you can calm them down a little with one or the other math trick? I'm just spitballing here obviously ... maybe make it a float, divide by 10, trunc the number, and multiple by 10 again (a trick I used in other projects, so this may not be relevant for your project).
Please consider disabling your ad blocker for our website.
We rely on these ads to be able to run our website.
You can of course support us in other ways (see Support Us).
Lubuntu A Ubuntu variant aimed at being small and fast. Love it!
Down For Every One or Just Me? Checks if a website (URL) is up or down, for every one or just you ... Awesome to test when a link is not working.
OpenElec The ultimate XBMC distribution. No operating system required, comes completely in a compact form with Embedded Linux, for Intel, AMD, AppleTV, Raspberry Pi, etc.
7-Zip One of the best, free, and most efficient Windows archive and unarchive utilties around. Support quite a few formats as well.
Leapfrog 3D printers Manufacturer of the great Creatr and Xeed 3D printers - Stunning customer service!!
Visualping Great website if you like to track website changes when changes occur (hourly, daily, weekly).
Links Page These and more of our favorite links can be found on the Links Page.
Downloads Page Find these and more Downloads on the Downloads Page, where you will also find articles references, operating system requirements and categories.
Amazon Ads
Support us by doing your shopping at Amazon.com, either click the link, or click one of the links below …
You can also sponsor us through these Amazon offerings:
Please consider disabling your ad blocker for our website.We rely on these ads to be able to run our website.You can of course support us in other ways (see Support Us on the left).