Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Daftlander

Member
  • Content Count

    77
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About Daftlander

  • Title
    Member
  • Birthday 1994-02-12

Profile Information

  • Gender
    Male
  • Location
    The Heart of the Empire
  • Interests
    Building a new gaming rig, building a NAS... a network to attach it to as well.
    Gaming, Writing, Reading. Blacksmithing.
  • Occupation
    Archaeologist

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. So this is my first Eagle project. I'm trying to have an A4988 stepper motor driver to drive a turntable and a 9v to 5v converter so that I can power the logic and the motor from one power plug. There's also an IR LED on the board as well. Although as I type this I realise it will just be permanently on in this layout.... It's supposed to be controlled by the arduino. Still I can fix that easily enough. This is just a check that I've understood the programme. Cheers.
  2. I recently got a proper cine lens from Samyang. I haven't really got any education in using this sort of stuff. But it has a decoupled aperture ring marked in T rather than F. If I'm using it to film stuff will I need to adjust the aperture on the fly? And if so is it worth getting a second follow focus?
  3. I'm following this instructable with some success. https://www.instructables.com/id/Build-a-DIY-Desktop-3d-Scanner-With-Infinite-Resol/ But stepper motors movement is random and jerky, causing my scans to fail. Instead of gently moving forward a few degrees between shots it randomly spin and lands on a new position. I'm using an A4988 instead of a Big Easy Driver, might that be causing the issue? Here's the arduino code #include <Stepper.h> /* Shapespeare Scanner by Whitney Potter This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Controls SELECT: Start/Stop automatic scan. LEFT: Trigger exposure and advance one unit clockwise. RIGHT: Step one unit clockwise without triggering camera. DOWN: Step one unit counter clockwise without triggering camera. UP: Cycle through options for number of exposures per revolution. */ #include <LiquidCrystal.h> #include "DFR_Key.h" #include <Stepper.h> #include "multiCameraIrControl.h" const int stepsPerRevolution = 200*64; // change this to fit the number of steps per revolution for your motor Stepper myStepper(stepsPerRevolution, 20,21); // initialize stepper // Enable pin is 19. Step pin is 20. Direction pin is 21 LiquidCrystal lcd(8, 9, 4, 5, 6, 7); //pin assignments for SainSmart LCD Keypad Shield DFR_Key keypad; // initialize keypad int localKey = 0; int lastKey = 0; int keyChange = 1; //set true when key is released. Prevents double triggers. int stepChoices [] = {25,50,75,100,200}; //different numbers of exposures per revolution which may be selected. Higher number = smaller angle change int stepIndex = 0; // count exposures starting at 1 int numChoices = 5; //number of step choices int runFlag = 0; //is scanner running int stepCount =1; // count exposures starting at 1 unsigned long startWait; //time we start the wait timer unsigned long currentTime; // current time const long preWait = 2000; // pre exposure pause in milis. Allows the specimen to settle before exposure. const long postWait = 2000; // post exposure pause in milis. Allows time for the exposure to finish before moving. int waitFlag = 0; // 0=ready to move 1=pre-exposure wait 2=post-exposure wait Canon Camera(53); //change Nikon to any other supported brand void setup() { lcd.begin(16, 2); lcd.clear(); lcd.setCursor(0, 0); lcd.print("Shapespeare Scanner"); delay(2500); lcd.clear(); // set the speed at 60 rpm: myStepper.setSpeed(2); pinMode(19, OUTPUT); //enable pin digitalWrite(19, HIGH); } void loop(){ // lcd.setCursor(0,0); lcd.print("Steps:"); lcd.setCursor(6,0); lcd.print(" "); lcd.setCursor(6,0); lcd.print(stepChoices[stepIndex]); lcd.setCursor(0,1); if (runFlag == 1) { lcd.print("run "); } else { lcd.print("stop "); } localKey = keypad.getKey(); // read keypad if (localKey != SAMPLE_WAIT) { if (localKey == 0) // key has been released { keyChange =1; // the next key data represents a new key press } if (localKey == 1 && keyChange == 1) //select=start sequence { if (runFlag == 0 && keyChange ==1) { runFlag = 1; waitFlag = 0; keyChange = 0; } if (runFlag == 1 && keyChange ==1) { runFlag = 0; //stepCount = 1; //uncomment to reset stepCount every time the auto scan is stopped. keyChange = 0; } } if (localKey == 2 && keyChange == 1) //left=manual mode { keyChange =0; lcd.setCursor(0,1); lcd.print("manual"); Camera.shutterNow(); //trigger exposure delay (postWait); //wait for exposure to complete digitalWrite(19, LOW); // activate stepper driver myStepper.step(stepsPerRevolution/stepChoices[stepIndex]); // advance stepper digitalWrite(19, HIGH); // deactivate stepper driver to save power, heat and noise stepCount ++; } if (localKey == 3 && keyChange == 1 && runFlag ==0) //up cycle through angle choices { keyChange =0; if (stepIndex < numChoices -1) { stepIndex ++; } else { stepIndex = 0; } } if (localKey == 4 && keyChange == 1) //down { keyChange =0; lcd.setCursor(0,1); lcd.print("CCW step"); digitalWrite(19, LOW); myStepper.step(-stepsPerRevolution/stepChoices[stepIndex]); digitalWrite(19, HIGH); } if (localKey == 5 && keyChange == 1) //right { keyChange =0; lcd.setCursor(0,1); lcd.print("CW step"); digitalWrite(19, LOW); myStepper.step(stepsPerRevolution/stepChoices[stepIndex]); digitalWrite(19, HIGH); } } if (runFlag == 1) //sequence is running { if (stepCount > stepChoices[stepIndex]) //the revolution is complete. { runFlag = 0; // stop sequence lcd.setCursor(9,1); lcd.print("Done "); } //This interrupt based time delay allows us to still receive keypad input during the delay currentTime = millis(); if (waitFlag == 0) // advance stepper and start wait timer { startWait = millis(); waitFlag = 1; // start preshutter wait lcd.setCursor(9,1); lcd.print("Exp#: "); lcd.setCursor(13,1); lcd.print(stepCount); digitalWrite(19, LOW); //activate stepper driver myStepper.step(stepsPerRevolution/stepChoices[stepIndex]); //advance stepper digitalWrite(19, HIGH); //deactivate stepper driver } if (waitFlag == 1) // when preshutter wait expires trigger shutter { if (currentTime - startWait >= preWait) //wait time has expired { Camera.shutterNow(); // trigger shutter startWait = millis(); // restart wait timer waitFlag = 2; // initiate post shutter wait stepCount ++; } if (waitFlag == 2) // wait after triggering shutter before moving motor { if (currentTime - startWait >= postWait) //wait time has expired { waitFlag = 0; //done waiting } } } } } Let me know if you see anything I can fix. Ignore the double use of Stepper.h that's a copy error by me. Thanks in advance!
  4. Thanks all! I've been a veritable ripping machine.
  5. I have had my alienware for about a year. Every now and again, and this doesn't seem to be correlated with any strenuous activity, my laptop will get uncomfortably hot to the touch and then BSOD on me. I think I've narrowed it down to when it gets hot the M.2 drive that serves as my boot drive is no longer registered by the computer. If I'm reading my bios right. When it cools down it restarts with no issues, this is often instantaneously. Occasionally I have to power it down completely and wait for a few moments. Is it merely time to repaste with some Kryonaut and replace some thermal pads or is there a deeper issue at play?
  6. Sorry to keep at you, When I hit encode it outputs a 0 sec black video. Any idea what this issue is or should I start another topic in software?
  7. Windows 10. Will handbrake work with drm protected dvd's?
  8. So I've set up my NAS and the plex server on it. But how do I get my media in the NAS? Sorry terribly noobie question.
  9. Is having the M.2 drive populated essential? Linus has infected me with the mind virus that I need to keep a hold of my files, but if I can put it off and it still works, my credit card will be slightly less stressed.
  10. Bugger. So definitely have to buy a big easy then... Thanks!
  11. I'm trying to make this scanner. https://www.instructables.com/id/Build-a-DIY-Desktop-3d-Scanner-With-Infinite-Resol/ But I'm trying to use an polulu A4988, because that's all I've got hanging around, instead of the big easy driver he has used. But I can't get my head around the wiring. Do I need a second power source? In the diagram he and photos he seems to be plugging the arduino in and using that to power the motor. Which, as far as I know you cant do with the polulu. Thanks for any advice.
  12. She's looking to spend £350-£400. She uses it mainly for minute taking and video conferences. I'm doing some of my own research, but do you guys have any suggestions?
  13. I'm trying to use boolean difference to cut shapes out of a mould in Blender, some cuts work flawlessly, but some leave big faces in place while cutting underneath and some make the object that is to be cut entirely disappear. I am losing patience rapidly. I would use the, much better, cut functionality in Fusion 360 but it can't handle changing the complex meshes into bodies. I read help articles, try everything I can think of and this never gives me a consistent result. It's beginning to piss me off.
  14. I'm trying to make a mould to inject resin into. But when I use the boolean difference function to cut the part into the blank it doesn't work. Some of the part appears to be there and there are some of flickering areas indicating some faces that are intersecting, but it isn't making a cut into the blank. The part is an imported STL but the sprue was made entirely within blender. I'm not sure what the issue is. Is there a way to make blender treat an object as solid? Thanks in advance.
×