BarBot/Components/Makerslide and Platform: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:


Notes:
Notes:
* Not sure whether the ultrasonic sensor will be affected by spills and splashes. (Worth investigating whether clingfilm provides suitable protection, otherwise need to have some spares available and/or an over-ride mechanism).
* Not sure whether the ultrasonic sensor will be affected by spills and splashes.
* To prevent overheating of the Pololu driver and/or stepper motor, it is recommended that the stepper driver is disabled whenever the platform is stationary. (However, this does present a risk of not knowing the position if it should be knocked whilst disabled.)
* To prevent overheating of the Pololu driver and/or stepper motor, it is recommended that the stepper driver is disabled whenever the platform is stationary. (However, this does present a risk of not knowing the position if it should be knocked whilst disabled.)


Line 20: Line 20:


===Logical===  
===Logical===  
The Pololu driver needs three signals: Enable, Step, Direction
The Pololu driver needs three Arduino digital outputs: Enable, Step, Direction


The ATtiny85 in the platform provides a "glass present" signal. (0 = no glass, 1 = glass present)
The ATtiny85 in the platform provides a "glass present" signal. (0 = no glass, 1 = glass present)
A further "mode" signal is used to select ultrasonic diagnostic mode (if low when power applied), or over-ride the ultrasonic sensor (if low during normal mode).


===Connections===
===Connections===
* +12V
{| class="wikitable"
* Ground
|-
* ENABLE, STEP, DIRECTION
! Wire colour !! Signal
* GLASS_PRESENT
|-
| Black || Stepper coil A
|-
| Green || Stepper coil A
|-
| Blue || Stepper coil B
|-
| Red || Stepper coil B
|-
| Orange || +5V supply to ATtiny85 and Neopixel ring
|-
| Brown|| Ground
|-
| White || "Glass present" output
|-
| Yellow || Diagnostics / ultrasonic over-ride "mode" input
|}


===Power===
===Power===
+12V, TBC mA
* Stepper motor / Pololu driver: +12V, TBC mA
* ATtiny85 / Neopixel ring: +5V, TBC mA


===Bling===
===Bling===
An awesome 24 RGB LED Neopixel ring!
An awesome 24 RGB LED Neopixel ring!

Revision as of 23:11, 1 July 2014

Makerslide and platform

General Description

The 24 RGB Neopixel ring illuminated drinks platform glides along awesome Makerslide!

The platform is moved by a NEMA17 Stepper Motor, 1.8° per step, 1.7 A, 4000 g·cm stepper motor driven by a Pololu stepper driver. The AccelStepper library is used to control the stepper. One cm travel is approx 55 steps.

An ultrasonic sensor is used to detect the presence of a glass. This provides a signal to a local ATtiny85 in the platform, which in turn controls the Neopixel LEDs and provides a "glass present" signal to the master Arduino.

The left hand end of the Makerslide has a limit switch. This should be used to "zero" the stepper on each cycle.

BarBot Makerslide and platform
BarBot Makerslide and platform

Notes:

  • Not sure whether the ultrasonic sensor will be affected by spills and splashes.
  • To prevent overheating of the Pololu driver and/or stepper motor, it is recommended that the stepper driver is disabled whenever the platform is stationary. (However, this does present a risk of not knowing the position if it should be knocked whilst disabled.)

Mounting & hardware

T-slot nuts are used to invisibly (and very nicely) mount the Makerslide.

Logical

The Pololu driver needs three Arduino digital outputs: Enable, Step, Direction

The ATtiny85 in the platform provides a "glass present" signal. (0 = no glass, 1 = glass present)

A further "mode" signal is used to select ultrasonic diagnostic mode (if low when power applied), or over-ride the ultrasonic sensor (if low during normal mode).

Connections

Wire colour Signal
Black Stepper coil A
Green Stepper coil A
Blue Stepper coil B
Red Stepper coil B
Orange +5V supply to ATtiny85 and Neopixel ring
Brown Ground
White "Glass present" output
Yellow Diagnostics / ultrasonic over-ride "mode" input

Power

  • Stepper motor / Pololu driver: +12V, TBC mA
  • ATtiny85 / Neopixel ring: +5V, TBC mA

Bling

An awesome 24 RGB LED Neopixel ring!