Skip to main content

2x16 UI and minimal engine

Posted in

Hello,

miniE is an engine sketch to provide control over a single stepper motor and camera, using an Arduino and DFRobot LCD Keypad shield. It is a minimalist design providing all the necessary features to do shoot-move-shoot or continuous timelapse with a built-in UI. The 1st version of this code was heavily inspired by the OpenMoCo Engine by C.A. Church and is basically based on it. Thank you for your great work and help!

The project can be downloaded from the SourceForge repository or directly as a GNU tarball.

The aim of the system is to be flexible. For this lightweight engine full system control should be possible out in the field without extra hardware. The GUI code was implemented as customizable and modular as possible.

Main features

  • Arduino (ATMega) based motion control system for use with the DFRobot LCD Shield
  • System control is fully implemented as a 5 button - 16x2 char user interface
  • Supports 1 stepper motor
  • Supports 1 camera
  • Shoot-move-shoot mode
  • Continuous mode
  • Sinus shaped motor ramping
  • Up to 30 programs can be created (single date events, repeating weekday events)
  • Motor: home, sleep, post delay
  • Camera: focus time, exposure time, post delay
  • 2 physical limiting switches
  • Max. motor steps & max. shot limits
  • Settings and programs can be stored in the EEPROM


the main status screen


in the program menu

cm

CM, You should post as a

CM,

You should post as a story so that it shows up on the front page, and it won't get lost in the forums as more people post.

Great work! I'd love to see it in action!

As for posting code, you can use the openmoco subversion repository if you like, you'll need to email me church/dynamicperception.com (replace / with @) your Sourceforge username, and I can add you to the project so that you can upload code.

!c

Hi. I'm new here. Might want

Hi. I'm new here.

Might want to consider adding provisions for limit switches. I realize that it's not really in the scope of the ui, but it would be a nice feature.

Hej !c I did not find a way

Hej !c

I did not find a way to post/move this thread as/to a story.

Hej jaightaylor,

there are "max shots" and "max steps" already in the UI - you can change the values but they are not yet implemented in the engine and have no effect but will have in a later version. Did you mean that?

c.m.

c.m., There should be a link

c.m.,

There should be a link on the left-hand nav bar for you called "Create Content" - that is how you post a story.

Thanks,
C

Core_moran: Not quite. More

Core_moran:

Not quite. More along the lines of provisions via a couple of the analog-in's for physical limit switches at the ends of the track that effectively prevent the carriage from moving in that direction any further.

--J

Hi core_moran: I am doing a

Hi core_moran:

I am doing a similar project. If possible I would like to share the skecth. I wonder how you did the menu.

my mail: eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%62%79%68%75%67%6f%72%69%64%65%72%40%67%6d%61%69%6c%2e%63%6f%6d%22%3e%62%79%68%75%67%6f%72%69%64%65%72%40%67%6d%61%69%6c%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))

Thanks

Hej BH, to see how I did the

Hej BH,

to see how I did the menu you can have a look at the code if you want. I committed the sketch to the OpenMoCo SVN repository: http://sourceforge.net/projects/openmoco/

c.m.