A downloadable tool

Download NowName your own price

LlamaLogger is a tool that records the various bits of acquirable data from the Playdate and saves them as CSV files so you can import them into the spreadsheet of your choice.  The sources available to be captured are:

  • Accelerometer X, Y, Z
  • Crank Angle
  • Battery Voltage, Percent
  • Microphone Level

To turn capture of these on and off, use the D-Pad left and right to select one of the data sources.  In the example images, the "Crank" input source is shown selected.  Move the D-Pad UP to turn it on, and DOWN to turn it off.

Press (A) to start and stop capture of the data values to files...

Each data point is captured once per frame, and the 300 most recent data points are displayed on the screen along with a label on the right side showing their current value in their range.

The data is stored in the "Data" folder of your Playdate.  Hook it up to your host computer in disk mode, and look for the directory "Data/com.umlautllama.llamalloger".  In there you will find files named "lloger.123456.csv".  The "123456" is the unix epoch timestamp.  That also appears as a data column inside the file as well.

The data files are in CSV format, one file per second, one row per sample. Each file will usually be 31 lines long... 1 line for heading, 30 lines for value captured, and their contents look something like what's shown int the example screenshots.

3D Printables...

The file "Playdate-Brackets-STL.zip" contains three 3d-printable models in STL format:

  • Magnet Bracket - holds 4 rare earth magnets, for holding the Playdate in place
  • Crank-to-Technic adapter with two pin holes
  • Crank-to-Technic adapter with one pin hole and one axle hole

They all can be seen int the images with this project.

StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorBleuLlama
Tagscsv, lego, logging, Playdate, technic, tool

Download

Download NowName your own price

Click download now to get access to the following files:

LlamaLloger.101.zip 55 kB
Playdate-Brackets-STL.zip 141 kB

Development log

Comments

Log in with itch.io to leave a comment.

Thanks for this! I have some weird accelerometer ideas for future projects, and this might really help me figure out whether/how they are possible.