I am not a coder. I am learning. I have been able to cobble together Arduino code to get what I needed using a old Megatronics V2 printer controller. Essentially a Mega 2560. I also have a Nano I use for the focus and zoom.
Right now I am using commercial software to run the camera and keyframes but I would like to get away from that. I started working on a script that will do that for the Arduino but since I have a Azteeg X5 laying around I thought I would use it so I had a faster controller for live motion.
I have a Wii Chuck sitting here I can hook up the the board. That would be good for running through the menus and controlling the motors. Its a bluetooth one.
Menu system on OLED 96x64 SPI
SD card for saving paths etc
Joystick, Wii Chuck Or MGP for motor control and Menu control (have all three laying around)
Up to 5 stepper motors. Smooth ramp of the motors when using joystick or playback of keyframes
Softlimits for motors. Ability to set a soft home position.
Keyframed paths need to be saved to SD card for later playback (i.e. 360 panos or other pre - programmed routines)
Ability to playback keyframed moves from any starting position (moves to start position when go is pressed)
Programmable intervelometer (shutter duration and interval between shots)
Set maximum number off shots.
Interpolate moves of up to 5 motors depending on keyframes and number of shots
Shoot Move Shoot routine
Bluetooth control via Android app (all functions setable from android and saved to sd runs autonomous when tablet is disconnected)
Once keyframes and intervelometer are set press go and walk away (timlapse mode)
Ability to turn off and on Screen without affecting ongoing processes
Count down timer on screen once go is pressed.
Override to stop and restart or make changes and restart
Estop via input pin
Camera shutter control via output pin
Onboard clock (ability to set a start time and stop time)
Ability to disable motors (during long exposure shots turn motors off to conserve power, Motors off except for jogging or shooting)
Menu Mode (setup parameters for motor speeds Keyframes and intervals for time-lapse and live video mode)
Motion Control (drives motors and sets keyframes)
Playback mode (plays back keyframes and clicks shutter till done for live and time-lapse)
That's the basics.
The Android integration will come last. Just wanted a complete picture of what I am trying to do.
If this was a Arduino I would know where to start. But being a new controller Arm M3 I am not sure. What IDE would you suggest. I have Atmel Studio but not very comfortable with it. Using Windows 7 x64 here.
I need to get library's for the OLED and Wii Chuck. Didn't see them in the src folder I downloaded.
I need a pin list for the AzteegX5mini. Looks like the Config file has all that. Interesting Pin 2.2 is Beta step pin. On the Arduino pins don't have a decimal place.
Since this thing runs G code I think we could just stick with that and use the existing stepper engine since it has all CV and ramping built in. Most motors on the rig are rotary not linear.
First step I think I need to do is just get some motors running via joystick or MPG. On a MPG the faster you turn it the faster the motors move. A joystick I think would pretty much be on and off except for ramping. Just trying to determine which would be better for Live video.
thanks for the input