StateFarm-STEM / pyinthesky

Py in The Sky - Python High Altitude Balloon Data Tracker
5 stars 4 forks source link

BMP180s have not proven reliable and don't seem to play well with SD card #5

Open gregdirst opened 2 years ago

gregdirst commented 2 years ago

Using my breadboard build and replacing with the new offbrand, but highly rated SD card module. Worked for 12 minutes using the source code from my original sketch, then couldn't see the SD card. In fairness I did bump it as it sits next to me, so maybe user error that time..

The bmp180 read once on the first write but subsequently. Maybe I am having a bmp180 issue?

I reset the Arduino using the reset button and it recovered so far. Been running for 14...as I wiggle the bmp180 and oops, it broke...15 minutes.

I reset the Arduino again. Oh, that worked...once then died. Promise I didn't touch it this time. I noticed the sensor data wasn't in the logs. I am going to remove the bmp180 and see what happens.

Removed the bmp180 library and code from the sketch. Removed the bmp180 from the breadboard and BAM. The SD Card has been working flawlessly writing at 3 second intervals for quite a while and several resets. However, there is now a new issue where the GPS data is just repeating.

Switched to my new code sketch and POWZA! GPS is working and SD card is working, both reliable and able to recover with ease.

Added the blinky light to the new sketch and a new slower blink cycle when the SD card fails.

Gonna let it run all night and leave the Serial Monitor open.

gregdirst commented 2 years ago

The Arduino worked all night until I bumped the breadboard. See attached 4.log

gregdirst commented 2 years ago

Shows errors:1.log Shows errors:2.log Shows errors:3.log Solid run: 4.log

gregdirst commented 2 years ago

Drove to Chicago and stopped by Microcenter. I now have a BMP280. Testing it is my goal for tonight.