Tutorial.Datalogger History

Hide minor edits - Show changes to markup

December 05, 2011, at 08:52 AM by Federico -
Changed lines 18-19 from:
to:
December 05, 2011, at 08:47 AM by Federico -
Changed line 31 from:
to:
March 18, 2011, at 06:04 PM by Tom Igoe -
Changed lines 24-25 from:

The code below is configured for use with an Ethernet shield, which has an onboard SD slot. In the setup(), we call SD.begin(), naming pin 4 as the CS pin. This pin varies depending on the make of shield or board.

to:

The code below is configured for use with an Ethernet shield, which has an onboard SD slot. In the setup(), call SD.begin(), naming pin 4 as the CS pin. This pin varies depending on the make of shield or board.

March 18, 2011, at 04:10 PM by Scott Fitzgerald -
Changed line 12 from:
  • Breadboard or prototyping Board
to:
  • Formatted SD card
March 16, 2011, at 07:55 PM by Scott Fitzgerald -
March 16, 2011, at 05:23 PM by Scott Fitzgerald -
Changed lines 36-37 from:
to:
March 16, 2011, at 05:08 PM by Scott Fitzgerald -
Changed lines 24-28 from:

The code below is configured for use with an Ethernet shield, which has an onboard SD slot. In the setup(), we call SD.begin(), naming pin 4 as the CS pin. This pin varies depending on the make of shield or board you are using.

In the loop(), a String is created to hold the information from three analog sensors. We iterate through the sensors, adding their data to the string.

Next, we open the file on the SD card using SD.open(). Once available, we write the data and close it to save the information.

to:

The code below is configured for use with an Ethernet shield, which has an onboard SD slot. In the setup(), we call SD.begin(), naming pin 4 as the CS pin. This pin varies depending on the make of shield or board.

In the loop(), a String is created to hold the information from three analog sensors. The code iterates through the sensors, adding their data to the string.

Next, the file on the SD card is opened by calling SD.open(). Once available, the data is written to the card when dataFile.println() is used. The file must be closed with dataFile.close() to save the information.

March 11, 2011, at 11:12 PM by Scott Fitzgerald -
Changed lines 18-19 from:
to:
Deleted lines 23-27:
March 11, 2011, at 02:04 PM by Scott Fitzgerald -
Changed lines 29-31 from:

In the code below, the Arduino starts out by setting the SCP1000's configuration registers in the setup(). In the main loop,it sets the sensor to read in high resolution mode, meaning that it will return a 19-bit value for the pressure reading, and 16 bits for the temperature. The actual reading in degrees Celsius is the 16-bit result divided by 20.

Then it reads the temperature's two bytes. Once it's got the temperature, it reads the pressure in two parts. First it reads the highest three bits, then the lower 16 bits. It combines these two into one single long integer by bit shifting the high bits then using a bitwise OR to combine them with the lower 16 bits. The actual humidity in Pascals is the 19-bit result divide by 4.

to:

The code below is configured for use with an Ethernet shield, which has an onboard SD slot. In the setup(), we call SD.begin(), naming pin 4 as the CS pin. This pin varies depending on the make of shield or board you are using.

In the loop(), a String is created to hold the information from three analog sensors. We iterate through the sensors, adding their data to the string.

Next, we open the file on the SD card using SD.open(). Once available, we write the data and close it to save the information.

February 24, 2011, at 12:16 AM by Scott Fitzgerald -
Changed lines 39-40 from:
to:
February 24, 2011, at 12:12 AM by Scott Fitzgerald - Page created
Added lines 1-39:

Share