Skip to content

scottsullivan/ttMove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

How to make it work:

What it looks like (when it works)

https://vimeo.com/54501076

Hardware that I used

Connections on the Arduino

  • GND (on sensor) to GND (on shield)
  • VCC (on sensor) to 5V (on shield)
  • OUT (on sensor) to Digital pin 2 (on shield)

On the Arduino

Open File > Examples > Firmata > StandardFirmata
And run it on your arduino, that's it!

In Processing

Run

ttMove/ttMove.pde

It'll take a few seconds for the sensor to warm up, but it should be working fine!

Problems I ran in to

Right now, Processing 2.0 is in beta, and not a stable build. To get this to work I had to use Processing v1.5.1 (the last stable build)

When I first tried to connect Processing to Arduino, I got this error:

WARNING:  RXTX Version mismatch
Jar version = RXTX-2.2pre1
 native lib Version = RXTX-2.2pre2

I found this extremely useful post from kobby on this Processing forum thread.

To make this happen

About

TT Movement Counter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages