Code Monkey home page Code Monkey logo

yorbox's Introduction

Image alt

Conveyor Box

Image alt Image alt

Conveyor Box - The items delivery system based arduino. 3D printed parts, wooden carcass and acrylic windows.

There are 5 boxes on board. The conveyor mechanism will deliver the required box to the central mechanics window for you to pick it up.

Compared to other storage methods, the Conveyor looks futuristic, expensive and technologically advanced. 😁

How It Work

  • Scroll the encoder from 1 to 4 slot that appears in the display.

  • Single click - confirm, hold click - reset the timer for choose. If time is up, the arduino falls asleep.

(In actual version, instead of the encoder, we use the button)

Single press - next slot, hold pressd - reset timer for choose. If the time is up, your choice confirmed and the algorithm starts.

  • The conveyor will move to the confirmed slot.

  • To end the session, press the encoder (button) once.

The center window will close and the conveyor will return to its initial position.


A list of components:

  1. LCD Display 2x16 (x4 F-M adapter (x8 for wire extension))
  2. Sensor buttons (x3 F-M adapter (x6 for wire extension))
  3. Servos (x3)
  4. Stepper (x1)
  5. Stepper driver (x1)
  6. Arduino Nano/Uno (x1)

Remaster Edition

Watch a video (download)

INSTALLATION // Getting Started

If you haven't changed the sketch pins, connect pins by instructions :

Sensor button Right servo Left servo Central servo Stepper LCD with i2c
D2 D5 D6 D4 8, 9, 10, 11 (SDA) A4, (SCL) A5

Image alt

Libraries

Upload additional libraries from repository.

Move uploaded libraries into:

Documents x64 x32
C:\Users\User\Documents\Arduino\libraries C:\Program Files (x86)\Arduino\libraries C:\Program Files\Arduino\libraries

Additional libraries - CustomStepper & LiquidCrystal_I2C. Other libraries are standard

Sketch

  1. Download src/main.ino
  2. Make the pins according to the scheme.
  3. Upload main.ino into your arduino

Use sketch functions separately

Repository has three functions:

  • Central servo (Front Automatic Window)
  • R\L Servos (Right/Left Fixate Servos)
  • Stepper (Circle)
Central Servo
move_doorservo(int mode) - mode (true/false)

// (true) If the servo is in pos 90 (#define doorangle "degree of rotation") - servo returns to zero pos
// (false) If the servo is in pos 0 (#define doorangle "degree of rotation") - servo returns to 90 pos
Stepper
indexstepper(int tangaz, int mode) - tangaz (0-180 (position in degrees) ), mode (true/false (switch between servos) )

// If we raise the servo - we can lower them, but not vice versa!
// For swap this process, swap: mode == true & mode == false with steppermode = true; &  steppermode = false;
R\L Servos
move_highservo(int mode) - mode (true/false)
move_lowservo(int mode) - mode (true/false)

// If we raise the servo - we can lower them, but not vice versa!
// (true) lower
// (false) raise by #define leftservo "degree of rotation"
// This sketch contains 2 servos. Right and Left. Use as usual, raise - lowering.
[ move_lowservo - right / move_highservo - left ]

yorbox's People

Contributors

mrslv-bss avatar myrooooo avatar

Stargazers

 avatar  avatar Таир Ахмедов avatar bass_devware avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.