Thursday 5 January 2017

360 CAM Completed

Original in progress post which contains info on the three other versions of this table, all far more complex : http://ceebeeoddsandsods.blogspot.com/2016/10/360-cam.html.

The table is Arduino Nano controlled and outputs single images, multiangle images, GIF480P , GIF240P and AVI video files.

The controller software I wrote in VS C#.

The table (the thai version) doing its thing.


The output from that test.





The build electronics are pretty simple.

and the Arduino code is only a few lines. 

#include <AccelStepper.h>
int Move = 0;
float Steps = 2048.00, ratio = Steps / 360, DriveA = 0;
String ReadRPI, AValue;
AccelStepper Camtable(4, 3, 5, 4, 6); // 4Wire-IN1-IN3-IN2-IN4 - 28BYJ-48
void setup() {
  Camtable.setMaxSpeed(200.0);
  Camtable.setAcceleration(100.0);
  Camtable.setSpeed(600);
  Serial.begin(57600);
}
void loop() {
  if (Serial.available() > 0 ) {
    ReadRPI = Serial.readString();
    DriveA = ReadRPI.toInt();
        ReadRPI = "";
    Move = DriveA * ratio;
    Camtable.moveTo(Move);
    Serial.print(DriveA);
  }
  if (Camtable.distanceToGo() == 0) {
    Camtable.disableOutputs();
  }
  else {
    Camtable.enableOutputs();
    Camtable.run();
  }
}

The controller software of course is a bit more involved, but can be freely downloaded in my thread on 3dcadjewelry.com.

The entire build costs a little under AU$100

And the build itself was fun, learning to work acrylic was interesting.