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 no translation for that post!
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.
@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).
Internet Archive: Wayback Machine Ever wondered what a current or disappeared website used to look like? Check it! Go back in time ...
Google Fonts Very large collection of high quality and free TrueType/OpenType fonts.
Elementary OS (Freya) Freya, a.k.a. Elementary OS, is my favorite Linux distribution. It looks slick and works great. Highly recommend it.
WinSCP WinSCP - Great free tool for (S)FTP/SSH, includes remote editing of text files, copying files, etc.
ViMediaManager ViMediaManager is a media manager for Mac OS X, allowing you to gather, store, and manage information, extra art, trailers and television tunes for your movie, television etc for use with for example XBMC.
Hex Fiend Free Open Source Hex viewer and editor for MacOS X.
Links Page These and more of our favorite links can be found on the Links Page.
New Downloads
ConnectMeNow4-v4.0.18-macOS-x86-64.dmgDate: 2024-04-24 - Size: 3.5 MBVersion 4 of ConnectMeNow - A tool for more convenient mounting of network shares under macOS. This is the Intel version which works on Intel and Apple Silicon Macs.
ConnectMeNow4-v4.0.18-macOS-arm64.dmgDate: 2024-04-24 - Size: 3 MBVersion 4 of ConnectMeNow - A tool for more convenient mounting of network shares under macOS. This is the Apple Silicon version (not suitable for Intel).
MiniWOL2 MacOS (64 bits Apple Silicon)Date: 2023-08-01 - Size: 1.2 MBminiWol is a simple, but effective application to send Wake On LAN to network devices. This is the signed 64 bit MacOS ARM (Apple Silicon) version.
MovieScanner2-2.2.3-Windows-32bit-setup.exeDate: 2023-04-12 - Size: 18.6 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 32 bit Windows version.
MovieScanner2-2.2.2-Linux-GTK-64bits.tar.gzDate: 2023-04-11 - Size: 29.2 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 64 bit Linux version for GTK.
MovieScanner2-2.2.2-Linux-QT5-64bits.tar.gzDate: 2023-04-11 - Size: 29.1 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 64 bit Linux version for QT5.
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).