Shop OBEX P1 Docs P2 Docs Learn Events
How to Store sensor data the propeller quickstart board — Parallax Forums

How to Store sensor data the propeller quickstart board

Hi everyone. I have connected the DS1260 digital temperature sensor to the Propeller Quickstart board.
I wanted to store some temperature values at an 1 hour time interval in the propeller and then average the values. Has anyone tried writing the code for storing sensor values in the propeller board?
Help would be appreciated!

- Naziba

Comments

  • The Quickstart Board has a 64K byte EEPROM and the upper 32K is not used normally. That portion of the EEPROM is ideal for data logging. Have a look at any of the objects from the Propeller Object Exchange (OBEX) that provide for writing I2C EEPROM. "Basic_I2C_Driver" is one that includes some examples. Addresses from $8000 to $FFFF are available for your use. The only thing to be careful of is not writing repeatedly to the same memory location. Each location in the EEPROM is good for 100000 to 1000000 writes. This seems incredibly generous, but a program can write repeatedly to a specific location every 20ms. That's only 2000 to 20000 seconds or about 33 to 330 minutes.
  • Also, please let us know what language you are most comfortable with. You have a wide variety of options and lots of help in each.
  • Thanks Mike
  • I am comfortable with Propeller Spin. Thank you
Sign In or Register to comment.