* You are viewing Posts Tagged ‘Arduino’

Time lapse camera using ArduCAM

My time lapse camera board.

My time lapse camera board.

Design files and code for this project can be found here: https://github.com/millerlp/Time_lapse_arducam

The goal of this project was to build a cheap and power-efficient time lapse camera to monitor some of my experiments in the field. The camera would capture an JPEG image every 30 seconds and write it to a micro SD card, and be able to run off of AA batteries for a day or two at least. To accomplish this, I build an Arduino-like controller board that … Continue Reading

Arduino compile error: the filename, directory name, or volume label syntax is incorrect

GetFileAttributesEx D:\Arduino\libraries\SdFat/SdInfo.h
D:\Arduino\libraries\SdFat/SdSpi.h: The filename, directory name,
or volume label syntax is incorrect.
The error message above started cropping up shortly after I upgraded to Arduino 1.6.8 on Windows 7 x64. The cause seems to be due to some folder becoming locked in the Arduino compile pathway. One solution seems to be to close the Arduino software, restart it, and attempt to compile again. The program will compile ONCE, and then lock up and fail on a second compile attempt.

This Arduino forum thread recounts the same error: https://forum.arduino.cc/index.php?topic=366757.0

Another workaround seems to be switching the board … Continue Reading

Building a simple tide clock

Myself and Jeremy Long recently had a paper published in PeerJ (open access, free to read) describing the use of an Arduino microcontroller to predict tides and regulate the water levels in aquaria in synchrony with the natural tides. You can read more about that tide controller system here and further variations here.

As part of the process of putting a poster together on the Tide Height Controller project for a meeting of the Western Society of Naturalists, I whipped up a simple little 3-piece tide clock that shows a live display of the tide for … Continue Reading

Controlling tide height in lab aquaria

A few years back I posted about a set of Arduino libraries I wrote to allow an Arduino with an attached clock to predict the tides for a coastal site. In that post, I showed a variation on the theme that had a motor-driven rack that transited up and down in time with the tide.

Now Jeremy Long and I have published an open access paper in the journal PeerJ (external link) describing our use of that tide-predicting-motorized-rack, which we called the Tide Height Control system. We used the THC system to recreate real tide … Continue Reading

Electronics parts list

Here’s the start of a list of common bits and doo-dads I use for building electronics projects.


That’s all there is to it.

Open Wave Height Logger prototype in the water

I finally got around to deploying a prototype OWHL unit in the real live ocean to log some waves.

The low-tech housing is made of 1.5″ schedule 40 pvc pipe. The pipe snugly fits the D-cell battery holder, while the electronics fit inside the modified 1.5″ end cap.

Components of the housing.

Components of the housing.

Prototype housing

Assembled prototype housing

I try not to rely solely on the tapered threads of the … Continue Reading

Revised Open Wave Height Logger battery tests

The Open Wave Height Logger is meant to be a submersible pressure logger that will record absolute pressure at 4Hz for several months to give a record of wave height, and ideally do this on a single set of 3 D-cell batteries. I have recently made a few changes to the OWHL software, and discovered a major flaw in my original battery test. As a result, I have begun a new round of battery tests. The hardware and software changes are described here, and new battery test results are shown at the bottom of the page.

I was … Continue Reading

Early Open Wave Height Logger battery tests

The Open Wave Height Logger prototype stack.

The Open Wave Height Logger prototype stack.

Following on the previous post about the Open Wave Height Logger project, I’ve been conducting a simple battery life test. One of the prototype OWHLs was powered by a 3 D-cell alkaline battery pack and shoved in the freezer for 32 days. The image below shows the collated daily data files for that time period, during which the data logger was sampling 4 times per second continuously. The black line is pressure in millibar, … Continue Reading

Open Wave Height Logger

OWHL – The Open Wave Height Logger
OWHL is a project originally dreamed up by Jarrett Byrnes and Ted Lyman at UMass Boston. Early on they contacted me for my thoughts on how to accomplish the goal of making a cheap, long-life pressure sensor data logger that could be used to record ocean wave heights near shore. I joined the effort during the initial specification stages. Ideally this device could be mounted on the seafloor at ~10 meters depth offshore, and record surface waves at 4 Hz for many months, with data saved to a micro SD card in a … Continue Reading

Arduino code for MS5803 pressure sensors

I have recently been developing a library for the Measurement Specialties MS5803 line of digital pressure sensors. These sensors are available in several different pressure ranges from 1 to 30 bar, they are submersible if installed in a proper housing, they communicate via I2C or SPI, and they cost around US$35. It’s fairly straightforward to interface the MS5803 with a microcontroller like the Arduino that can also communicate via the I2C or SPI protocols. They are a surface-mount style chip, meant to solder onto a 1.27mm pitch SOIC-8 layout (like the green board I used in the picture below). … Continue Reading

Page 1 of 212