I'm not saying what my favourite AI is right now, because it is free, and slow as molasses in February, without any natgas in the US.
I have finally got Python3 reading the ADXL355 accelerometer, on a Raspberry Pi 5. This was a nearly impossible task, since nobody has published a solution available to search engines. The most modern was dated 2022, and many earlier, since the adxl355 has been around for 7 years. It is still the most sensitive mems accelerometer, and nothing new has appeared, and it is still expensive.
Although the accelerometer is the same, everything and their dog has changed on the computing side. The rpi5 has completely changed, so all the solutions for earlier rpi's are useless. Python has changed, so that blows the python2 solutions. The rpi5 only works with smbus2, and that has changed.
I've been working on this for weeks. All the AI's gave programs that didn't work with a simple prompt. I had to 'prompt engineer' on a level that is equivalent to becoming an expert in python. Blah. With all the things I learned by endlessly searching, I got a long prompt and and a program that worked.
I'm just writing this because I got numbers that looked good, instead of garbage. I still have to plot and do tests. I hope somebody comes out with a new accelerometer, or the adxl355 crashes to the price of an adxl345. Neat.
No comments:
Post a Comment