Microscope stepper controller


Posted on Feb 5, 2014

Built for Birkbeck, the microscope controller is a open source stepper motor driver. It uses an Arduino Uno, and arduino stepper motor shield to drive a Phytron ZSS32. 200 1. 2A 3V stepper motor. To move the sample port, we use an inverted Marzhauser microscope stage, controlled by an Arduino Uno. The Arduino drives four SN754410 quadruple half h d


Microscope stepper controller
Click here to download the full size of the above Circuit.

rivers (connected in parallel). The Phytron ZSS33 stepper motors draw 1. 2 A per phase (i. e 2. 4 A) but the SN754410 is limited to 1A, hence four in parallel). The schematic below shows the final circuit, which controls one of the axes. The schematic shows only one SN754410 IC. otherwise it looks messy. I think all the part numbers and connections are correct - check before building! /* * COD (CO2Driver) */ #include // create an instance of the stepper class, specifying // the number of steps of the motor and the pins it`s // attached to, for each of the motors Stepper stepper1(200, 6, 7, 8, 9); int sensor1=A0; int sensorVal1; int sensorVal2; int defaultval1; int defaultval2; void setup() { stepper1. setSpeed(5); Serial. begin(9600); pinMode(2, INPUT); // set pin 2 to input digitalWrite(2, HIGH); // turn on pullup resistors pinMode(3, INPUT); // set pin 3 to input digitalWrite(3, HIGH); // turn on pullup resistors pinMode(A5, INPUT); // Set A5 to input digitalWrite(A5, HIGH); // Turn on pull up resistors defaultval1=analogRead(sensor1); //Get the centre voltage of the joystick } void loop() { if (analogRead(5) < 100) { Xmove(); } } void Xmove(){ //Define the centre position for joystick // defaultval1=503; // get the current joystick position sensorVal1=analogRead(sensor1); //Speed of the motor is proportional to offset of the joystick int offset1=defaultval1-sensorVal1; int spd1=1+abs(offset1)/4; //Axis 1 -ve...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Hf Broadband Antenna Preamp Circuit
    Serial programmer circuit for AT89Sx MCUs
    GPS USB Dev Board
    microphone Oktava MK 319
    pwm 01
    prop clock
    Simple preamplifier circuits by transistors
    Microcontroller Clapper Switch
    Bicycle Speedometer With Hub Dynamo
    Captret and Tesla switch
    Low-noise switching power supply schematic circuit diagram



    Top