BarBot/Components/Lemon Vendor: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 11:49, 5 February 2019

Lemon Vendor

General Description

The lemon vendor dispenses single slices of lemon. The design is based on the mechanism seen in many vending machines, e.g. like the one at Nottinghack. The mechanism is made from a length of mini guttering and a geared motor found in the motors draw at the space. A cam and micro-switch are used to control rotation of the vending coil. One side of a dual L298N H-bridge module along with a ATtiny85 controls the motor. An input on the ATtiny85 is used to start the vend cycle. The mechanism holds approx 25 slices of lemon.

BarBot Lemon Vendor
BarBot Lemon Vendor

Notes:

  • The lemon slices need to be quite thin (2-3 mm)
  • The lemon slices need to be larger than the coil diameter, otherwise the coil "screws" over them, rather than pushing them along
  • After use the mechanism should be run under a tap to clean it, however try to avoid getting the motor wet.

Mounting & hardware

Two mini gutter mounts are used for mounting, however these must be fitted near to the motor end otherwise they can interfere with the movement of the lemon slices.

Logical

To vend one slice of lemon the /TRIG input needs to be pulsed low for at least 5 msec. One vend cycle takes TBC seconds to complete

Connections

  • +12V
  • Ground
  • /TRIG ("start" signal)

Power

+12V, TBC mA

Bling

None really! However, there is a red LED on the L298N module which illuminates when power is available.