Category Archives: Logger scripts & code

My long and winding path learning how to program the Arduino

A substantial overhaul of the Cave Pearl codebase

Driving all the new sensors that have been added over the last few weeks produced a real “herd of cats” in the codebase.  So I spent some time doing a major update of the Cave Pearl software, which is now posted at the project github. There are … Continue reading

Posted in Logger scripts & code | Leave a comment

Github launch for the Cave Pearl Project

A benchmark of sorts for the project today, as I finally got around to setting up a Github for the Cave Pearl Project. As I learn more about coding, and add more sensors to the platform, the scripts for each build have grown well beyond the … Continue reading

Posted in DIY Arduino Datalogger, Logger scripts & code | Tagged , | Leave a comment

Using a DS18B20 Temp Sensor “without” a dedicated Arduino library

I haven’t had time to post to the blog lately, as I am now in full-on production mode: trying to get five full units running for deployment next week.  Between all the cutting and sanding of the new underwater housings, … Continue reading

Posted in Developing a Temp.Chain, Logger scripts & code | Tagged , , , , | Leave a comment

Buffering sensor data to an AT24C32 eeprom on I2C

While I was waiting on the results of the week-long power consumption test of the SRAM buffering script, I continued thinking about other ways I might extend the operating lifespan of the Pearls. I had originally considered using the processors … Continue reading

Posted in Lessons learned., Logger scripts & code, The quest for low power | Tagged , , , , | 4 Comments

Updated SRAM buffering data logger code.

Before I post the results of the eeprom buffering experiment, I will just add the updated version of the code that buffers 12 sensor read cycles of data in the internal SRAM before writing to a small 128mb Sandisk SD card.  In my power … Continue reading

Posted in Logger scripts & code | Tagged , , , | Leave a comment

Leaner meaner code for the Cave Pearls.

I have spent some time making that rough code more efficient, so that I can buffer more sensor read cycles to the Arduino’s very limited SRAM before having to burn away battery power writing data to the SD cards. There … Continue reading

Posted in Logger scripts & code | Tagged , , , | 2 Comments

What’s running in the currently deployed prototypes

Before I dive into optimizing the code for better power management, I thought I would post the script that is actually running (hopefully!) right now in the deployed units. This code was loaded on December 15th, 2013, and I managed … Continue reading

Posted in Logger scripts & code | Leave a comment