Monday 22 May 2017

Markup/Margin Calculator

Handy little thing..

Link to APK.

You need android lollipop or higher and allow unknown sources in your settings.

(You arent installing it from the playstore)



Wednesday 26 April 2017

Arduino Turntable > ShutterStream 4 Joe.


#include <AccelStepper.h>
AccelStepper stepper(4,3,5,4,6);
String Read,AValue;int maxsteps = 400;

void setup() {
  Serial.begin(9600);
  stepper.setMaxSpeed(1000.0);stepper.setAcceleration(100.0);stepper.setSpeed(200);}

void loop() {
  if (Serial.available() > 0 ) {Read = Serial.readString();
          if (Read.equals("c"))stepper.moveTo(0);
          if (Read.equals("p"))stepper.moveTo(maxsteps);      
          if (Read.equals("v"))Serial.println("Zcapture Pro - 123456");
          if (Read.equals("o"))stepper.setCurrentPosition(0);
          if (Read.equals("r"))stepper.moveTo(0);
          if (Read.equals("l"))stepper.enableOutputs();
          if (Read.equals("u"))stepper.disableOutputs();          
          if (Read.substring(0, 1).equals("x")) {
              AValue = Read.substring(1, 5);
              stepper.moveTo(AValue.toInt());
              while (stepper.distanceToGo() != 0)stepper.run();
              Serial.println("Steps for Shot - Completed");}}
  if (stepper.distanceToGo() == 0){stepper.disableOutputs();}else{stepper.run();}
}

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.