Menu

Choice configuration

Alonso
2017-07-20
2017-08-13
  • Alonso

    Alonso - 2017-07-20

    hello, I´m Olivier and i would like to thanks to you for the job accouplished.
    also, I´m sorry for my english, I'm french!

    so, my problem is:

    i have baught there is a moment 2 steppers to build a goti for my mount.
    it is not use at this moment because i baught a better.
    i have a refractor for photo and another for guiding in piggy back.

    i would like to build 2 versions:
    a simply for guiding which a easystepper 4.4
    and the other with a drv8825.
    i have all components but my pb it´s the sketch.

    in fact, when i open the *ino for the easystepper 4.4 the pin are M0, M1 & M2
    but there is only MS1 & MS2!

    can you say me how to please?

    sincerly

    OLIVIER

     
  • brownrb

    brownrb - 2017-07-21

    Hi Oliver.
    Dont worry about the Easydriver.
    It will handle MS1 and MS2 ok, no problem
    Easydriver and DRV8825 use same code.
    You can use DRV8825 code on the Easydriver no problem.
    But easydriver will not support higher microstepping like 1/32.

     
  • Alonso

    Alonso - 2017-07-21

    Hi Robert,

    thanks for the response.
    could you say me what is the draw that i must to choose please?
    i´m a little loose! sorry!
    or just say me the number of arduino -> esaydriver.

    also, a last question: for use the drv8825, i must to buy component or i can to put like as the easydriver?

    thanks a lot.

    Olivier

     
  • Alonso

    Alonso - 2017-07-21

    woah!!! it´s exactly that i want!
    thanks :-)
    i will go to read and look all and if i have a question i will go back to ask!!
    i will build my board this weekend.
    thank you very much
    have a nice day

    Olivier

     
  • Alonso

    Alonso - 2017-07-26

    Hi Robert,

    I come back!!
    I welded the easystepper 4.4 on my chiness arduino nano. Well...it's perfect!!
    just to fix on my refractor and test.
    given that it's a first version for my guide scope the micro of 1/8 is enough.
    but i've a question about the ascom software.

    i explain to you,

    i mesured that:
    - imager: F/D=6 -> CRZ= 79µm -> so I want 8µm per step.
    - 1 lap of the screw give 18mm
    - i have a stepper with 400 steps
    - so with your calcul i find with 1/8 microstep that: (18x1000)/3200= 5.6µm -> very good!

    exactly? or no?

    also, i have an other question in ascom.

    ok, i connect all and i use maximDL for focus. But, when I connect the focuser it says that the position is 0. If i start an autofocus and (assuming that the ideal focus is o 4000 steps) there is a long delay to arrived to focus.
    like I want to automate my equipments that's not possible. can help me?

    thanks

    Olivier

     
  • brownrb

    brownrb - 2017-07-26

    Welcome back.
    About step size, yes

    Ok, If you have permanent setup you can leave focuser at or near focal point. The focuser will remember where it is when power come back on. no need to goto 0 or start from 0.

    Position 0 means focuser should be the most in position (about 50mm back from fully in).

    If you setup and tear down each night.
    Connect to focuser. Slowly step till focuser is near fully in position. Set position to 0.

    You will know the position where the focuser is about good. You need to remember that number.

    Next, when you setup start. Start maximdl, it connects to ficuser, tell focuser to move to the number for good focus. Then start focus routine from there.

    Automatiom is possible. We do it all the time.

    Regards
    Robert

     
  • Alonso

    Alonso - 2017-08-09

    Hi Robert,

    i hope that you're fine.
    i come back because i have 2 problems! I explain to you:
    I finished building my DRV8825 HW203 card complete entirely with wires.
    So, LCD1602 16x2 is ok.
    Temp is ok.
    No steppermotor connected:
    when i connect the arduino to PC the green and blue DEL lights 2s and extinguish but, if i push the in or out button, no action, no LED lights.
    i have verified all connection and it's ok. i don't understood.
    for information, i don't have chiness nano CH340 but i have the official with FTDI and i have read P.11 of the doc that there is a possible problem. Is it possible that it comes from that?
    it's like as the button are no connected :(

    Also, when i connect take the voltage on the DRV8825 in the pin VMOT and GND i don't have 12V of my generator. an idea? I also verify the connections and it's ok.

    can you help me?

    thanks a lot.

    Olivier

     

    Last edit: Alonso 2017-08-09
  • Alonso

    Alonso - 2017-08-09

    I come back!
    So, I have mesured yet the voltage on the drv8825 and i have 12V.
    But, I have an another problem! In fact, the motor don´t turn! the stepper turn with facilty with the hand like as it is not alimented. So, can you explain to me how to take the voltage on the coil lease? because i read to mesure Vref but i don´t know if necessary any values on the coil.
    The question number 1 is still acutality ;-)
    Thanks

    Olivier

     
  • brownrb

    brownrb - 2017-08-09

    Hi Alonso
    To test the push buttons I would use the test program found here. Use the Arduino IDE and upload the firmware file, then open the Serial port monitor (set to 9600bps) and watch the output in the window,

    https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/Testing/PushButton_Test.ino/download

    For the stepper motor to turn.
    You need to use 12V external power connected. If 12V not used then stepper will not turn.
    If only use USB cable then stepper cannot turn.

    So connect 12V to the controller 12V input and turn on.
    Connect USB cable to controller and computer.
    Start WIndows program
    Connect to correct com port
    When connected, can click +100 or -100 to move stepper 100 steps.

    BEWARE: NEVER EVER CONNECT OTR DISCONNECT STEPPER MOTOR WHEN POWER IS ON - The drv8825 can be damaged

    If stepper does not move
    1. Check that there is 12V across the VMOT and Ground pins of the DRV8825
    2. Check that the wiring of the stepper motor is correct
    3. Check that the wiring of the DRV885 outputs is wired to correct pins of RS232 connector

    If still not moving then may need to adjust little pot on the DRV8825

     
  • Alonso

    Alonso - 2017-08-09

    thanks for the response.
    you can to develop your response about the rs232?

    i will go test the program.
    but, like as say, i have mesured the voltage on the dvr8825. if the motor don´t conncted to the driver, it´s possible to test the voltage on the wire? any motor?
    also, to test all it´s absolutly necessary to connect the arduino to the pc via usb?

    Olivier

     

    Last edit: Alonso 2017-08-09
  • Alonso

    Alonso - 2017-08-10

    Hello Robert,

    So, I downloaded this program into the nano but when I play a monitor in series, nothing happens. The screen remains blank even if the buttons are pressed.
    I edited a new program with the instructions of the doc of myfocuserpro2 and I have a large number of numbers between 0 and 30 numbers completely random running at full speed.

    can you explain to me please how to do?

    To try, i have uploaded the test home position and i have replace D12 by A0 and when i clic on SW1 or SW2 or Both I have a positive reaction in the serial monitor. What do you think?

    Do you think the problem is beacause I use an official nano?

    Olivier

     
  • brownrb

    brownrb - 2017-08-10

    Hi
    No I do not think the issue is the official nano.

    I cannot offer support for things that are changed. If you swap things around, then it is too hard to predict what will happen.

    I think you should try to fix one problem at a time. And I would start with the switches, and get them going properly first.

    Let start with simple program below

    void setup()
    {
    Serial.begin(9600);
    }

    void loop()
    {
    int num;
    num = analogRead(A0);
    Serial.println(num);
    delay(500);
    }

    Upload this program to your controller using USB cable.
    Watch the output in the serial monitor window of the Arduino IDE
    The number should be relatively constant.
    If the number is changing all the time, then there is something wrong with the wiring of the switches.

    Check that you have a 1 megaohm resistor wired from A0 to GND

    WHen a push button is pushed, the number should change and stay within a value +- about 5 of that value. When the push button is released the number should go back to the previous value.

    When push button hold down for at least 5 seconds

    Youcan expect to see values like
    no button pushed - a value of 100 or less
    one button pushed (sw1) a value between 650 and 720
    other button pushed (sw2) a value between 460 and 530
    two button pushed (sw1 and sw2) a value between 310 and 380

    What are the values you get?

     
  • Alonso

    Alonso - 2017-08-12

    Hi Robert,

    i found the problem!! my resistor 1 was not the good!! it was a 500k ohm... i'm very sorry.
    i have now the values of the PDF!!
    so, all parts it's ok! stay that to connect the motor on the driver!

    Just to know: it's an obligation to connect the nano on the usb pc to use the lcd and button? becasue when i don't connect the usb, the LCD don't light.

    thank you very much.

    Olivier

     
  • brownrb

    brownrb - 2017-08-12

    The LCD will light when there is power on.
    Power can come from either the USB cable or the 12V supply.

    So if no usb cable then LCD will only light if using LM7808 voltage regulator to drop 12V external power to 8V and connected to VIN.

     
  • Alonso

    Alonso - 2017-08-13

    ok. but, i solvered the lm7808 and i have 8v on the pin vin. i have also 5v on pin 5v.
    but the lcd don´t bright. i have good followed the schema.
    i have solvered the del in parallel. i will go to weld in serie after the power to ser it´s bright.
    maybe i have voltage but no current.
    when i plug in to usb the lcd bright but no with the lm7808.
    i don´t understand.

     
  • brownrb

    brownrb - 2017-08-13

    Is the backlight ON for the LCD? If no then this is wiring issue and you need to make sure wire from board goes to correct pin on LCD, sometimes wires cross over.

    If backlight for LCD is ON - then
    have you turned little blue pot on back of lcd board - this adjust constrast so you can see display.

     
  • Alonso

    Alonso - 2017-08-14

    Hi Roberts,

    I have already donwloded this files and i found the same adress that tou in the PDF.
    And when i use the USB power the lcd bright. It's just when i use only 12V that the lcd don't bright.
    i will go to verify my wires.
    I baught a stripboard and i try to weld on but i have a problem: i welded parts on the baord on the front (without copper) and welded in the back (with copper) and when I wanted to weld the nano it'is inversed: the pin VIN it was on the left while it should be in the right
    So i don't understood and i will go to retry.

     
  • brownrb

    brownrb - 2017-08-14

    I think you said the 12V in gave you around 8V on the VIN pin, so that would mean you should also get 5V on the 5V pin.
    So with just the 12V connected, can you check the VCC and GND of the LCD? It should be 5V. If not then something is wrong.
    The 12V goes through the LM7808 to give 8V. The 8V goes to VIN. On the nano there is a chip that converts the 8V to 5V and 3.3V.

    Well the stripboard sounds like a problem.Did you watch this video?
    https://www.youtube.com/watch?v=IYjJRSXTfQI
    this video gives an idea about how to do the stripboard.

    The layout of the stripboard is shown as if you are looking through the board from the top and can see the copper tracks underneath.

    So if you are looking directly at the cooper tracks underneath everything is actually reversed.

    Regards
    Robert

     

    Last edit: brownrb 2017-08-14

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.