https://github.com/apexskier/slider
Arduino based mechanical slider.
https://github.com/apexskier/slider
3d-printing arduino camera-slider iot
Last synced: 2 months ago
JSON representation
Arduino based mechanical slider.
- Host: GitHub
- URL: https://github.com/apexskier/slider
- Owner: apexskier
- Created: 2016-05-05T03:59:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-16T16:52:51.000Z (over 8 years ago)
- Last Synced: 2024-12-28T08:40:29.273Z (4 months ago)
- Topics: 3d-printing, arduino, camera-slider, iot
- Language: OpenSCAD
- Size: 1.74 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slider
Arduino driven mechanical video slider.
[Parts list](https://docs.google.com/a/camlittle.com/spreadsheets/d/1xlj7D98955wYuXj9ept1h3pb_NClaukpYvvVbXTrUsw/edit?usp=sharing)
## Finished project


## Features
- Auto calibration
- Simple oscillation between each end
- Single direction movement towards the end
- Speed control## Code
The code is controlled by a basic state machine, paired with global application
state and event triggers. When powered on, the system enters the
CalibratingFindLeft state.Each button produces buttonDown and buttonUp events as they are pressed and
released.These are the main state transitions:
```
Stopped
- main buttonUp -> OscillatingLeft
- left buttonUp -> MoveLeft
- right buttonUp -> MoveRight
OscillatingLeft
- position at left side -> OscillatingRight
- main buttonDown -> Stopped
OscillatingRight
- position at right side -> OscillatingLeft
- main buttonDown -> Stopped
MoveLeft
- position at left side -> Stopped
MoveRight
- position at right side -> Stopped
CalibratingFindLeft
- left buttonDown -> CalibratingFindRight
(record "0" point)
CalibratingFindRight
- right buttonDown -> CalibratingReset
(record slider length)
CalibratingReset
- position past center -> Stopped
```In most cases, when in motion buttonDown events on the direction of motion's
switch automatically adjust the internal calibration. There are a few other
event handling checks to safeguard against unexpected behavior.## Resources
These two DIY slider designs contributed heavily towards ours.
- http://s.co.tt/2015/04/24/diy-motion-control-camera-slider/
- https://learn.adafruit.com/bluetooth-motorized-camera-slider