Greetings! Welcome to another Instructable from NextFab. In this Instructable we will be switching gears a little bit and doing an Instructable that's much more fundamentals based that anyone can pick up then expand upon.
The Raspberry Pi 2 B is a pretty impressive little computer for $35. It has a quad core processor that runs at 900 MHz and has1 GB of RAM which equates to a nice little processing punch in a small package. That's why when given the chance we couldn't think of a better way to take advantage of that processing power than hooking it up and pulling data from a Particle (formerly spark) micro-controller.
Particle is a wifi capable micro-controller that makes sending, receiving, and logging data very easy. With the new Particle Photon in the hands of makers, we thought this would be a nice opportunity to revisit the platform. Unfortunately our Photons were still in the mail at the time of this writing so we went with the Spark Core (see our SparkCore Instructable here!) but it was more than enough for this Instructable. We connected it to an accelerometer and used the RasPi 2 to get the data from the API we set up using the sparkCore. With this data we could then, if we choose to, log it on the RasPi and do some neat things with Processing or Wolfram track it with a touchscreen interface, or even use it as the start of a much larger controls system. So sit back and enjoy this quick exercise we worked out for your education and enjoyment.