This wiki has been archived and made read-only.
For up-to-date information about TkkrLab and it's projects please visit our main website at tkkrlab.nl.

LasVegas

From

Jump to: navigation, search

Tkkrlab arduino las vegas.jpg

Aim: Control a slot machine with OSC messages

Hardware

  • Arduino
  • Ethernet shield
  • 4 x ULM2003 for controlling the stepper motor
  • slot machine wheel (they were a donation, no idea where it came from)
  • 24 Volt power

Schematic

We used the following schematic found on the arduino site:

http://arduino.cc/en/Reference/StepperUnipolarCircuit

We have 4 stepper motors so we had to have 4 of these. Connect the motors to the right pins of the ULN2003 and the hardware part should be done.


Software

  • Z_OSC libary for the OSC messages

You can download the code we used at github

TODO

  • Automatich adjustment if device is powered on. There are light switches on the slot machine, have to connect them to the Arduino and use them.
  • add button to play with it if there are no OSC messages


Credits

Hardware: BigRed

Software: Zeno4ever