Giter Site home page Giter Site logo

Comments (23)

Ultimaboot avatar Ultimaboot commented on July 19, 2024 1

The Resistor on the A4988 is R100 what is 0.1ohm.
Vref = 0.1 * 8 * 0.1 <=> Vref = 0.08V.
The setting of the pot is now 0.08V.
Everything is still running.
Next step 3D printing
I will close this issue.

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Hi @Ultimaboot !

Try to first check if the firmware is OK, just open Teraterm or miniterm session (9600bps, 8-bit, no parity, 1 stop bit) and you should be greeted with a welcome message, if not try to press the reset button on the Nano while being connected to the serial port.

If the motor gets hot usually there is and issue with the motor windings. There has been a lot of confusion due to the messing naming schema (1A, 2A, 1B, 2B). I have not corrected this post and published a new guide about modding the motor. Please read it and double check your connections.

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

Connecting with tera term gives me the following message:

 Ardufocus 0.2b-master ready.
                            Visit https://github.com/jbrazio/ardufocus for updates.

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

That's a good sign, the firmware should be OK.
Did you had time to check the motor windings ?

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

The motor windings are correct.
Orange connected to pin 1A A4988;
Pink connected to pin 1B A4988;
Yellow connected to pin 2A A4988;
Blue connected to pin 2B A4988.
Red not used and middle trace step motor by scrapping the PCB varnish and copper.

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Could you post your #define MOTOR1_PINOUT from config.h ?

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024
#ifdef MOTOR1_USE_A4988_DRIVER
  //                                       MS1, MS2, MS3, SLEEP,  STEP, DIR
  #define MOTOR1_PINOUT  12,   11,    10,      8,         7,      6
#endif

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Are you using the PCB version or the prefboard one ?

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

PCB version

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

To use OUT1 on the silkscreen do #define MOTOR1_PINOUT 16, 6, 5, 4, 3, 2to use OUT2 do #define MOTOR1_PINOUT 12, 11, 10, 9, 8, 7.

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

Its not working.

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Do you care to take a overview picture from the top side of the board with everything connected ?

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

20190512_234427

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Everything looks OK. I assume that 2nd wire is orange one and not the red one, on my motor orange's color tone is yellowish rather than reddish as yours.

Did you adjust the pot on the step stick ?
Do you see the flat lip on the pot ? Try rotating it 180ยบ CW.

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

Yes I did try to adjust the pot on the step stick CW and CCW but that didn't work.

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Do you hear or feel any vibration from the motor when it was supposed to be running ?
Which software are you using to test the motor ?

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

I do not hear or feel any vibration from the motor.
I use MoonliteSingleFocuser_v1.4 to test the motor.

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Imgur

  • Test continuity between the top pins in purple and the Arduino pins.

  • Test continuity between the bottom coil pins and the motor wires.

  • Test continuity between ENA and GND you should have it.

  • Measure resistance between "1B 1A" and "2A 2B", which values do you have ?

  • Measure voltage between RST and GND you should have +5V

  • Measure voltage between bottom two first pins, you should have +5V

  • Measure voltage between bottom two last pins, you should have +12V

  • Is the NTC connected between 1 and 2 or 2 and 3 and not between 1 and 3 ?

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Could you please also post your entire config.h ?

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

Test continuity between the top pins in purple and the Arduino pins. This is correct.

Test continuity between the bottom coil pins and the motor wires. This is correct.

Test continuity between ENA and GND you should have it. This is correct.

Measure resistance between "1B 1A" and "2A 2B", which values do you have ?
1B (Pink) 1A (Orange) = 203 ohm and 2A (Yellow) 2B (Blue) = 201 ohm. This a 12V step motor nr 181228766

Measure voltage between RST and GND you should have +5V. This is correct

Measure voltage between bottom two first pins, you should have +5V. This is correct

Measure voltage between bottom two last pins, you should have +12V. This is correct

Is the NTC connected between 1 and 2 or 2 and 3 and not between 1 and 3 ? 1 and 2 (left and middle on picture)

Config.h (ZIP file)
config.zip

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

The config file looks OK also.
All tests check out.

Can you test continuity between M1B and all others ?
Can you test continuity between M1A and all others ?
Can you test continuity between M2A and all others ?
Can you test continuity between M2B and all others ?
Can you test continuity between the two parts of the cut trace on the motor ?

Can you test continuity between any ground pin on the arduino and the first bottom left pin on the step stick ? (This is the ground pin of the +5V on the step stick). Test again between GND on arduino and the 7th pin on the step stick (This is the +12V ground). Both should have continuity.

If all this checks validated then I must start thinking about a broken step stick.
Do you have special tools such as a logic analyser or an oscilloscope ?

from ardufocus.

Ultimaboot avatar Ultimaboot commented on July 19, 2024

Can you test continuity between M1B and all others ? This is correct.
Can you test continuity between M1A and all others ? This is correct.
Can you test continuity between M2A and all others ? This is correct.
Can you test continuity between M2B and all others ? This is Correct.
Can you test continuity between the two parts of the cut trace on the motor ? This correct.

Can you test continuity between any ground pin on the arduino and the first bottom left pin on the step stick ? (This is the ground pin of the +5V on the step stick). This is correct.
Test again between GND on arduino and the 7th pin on the step stick (This is the +12V ground). Both should have continuity. This correct.

Do you have special tools such as a logic analyser or an oscilloscope ? I have no special tools.

If all this checks validated then I must start thinking about a broken step stick. Well i was smart to buy some spare parts. When i Exchange the step stick nothing happened but i did hear some noise from the step motor, so i turned the pot and now it is working. So try it again with old step stick and nothing happened. The step stick was indeed broken. Is there a ideal setting for the pot?

from ardufocus.

jbrazio avatar jbrazio commented on July 19, 2024

Great news !

These step sticks are very susceptible to burn out if we accidentally, or not, disconnect one of the four motor coils with it having +12V power.. it will instantly burn out internally.

There is a trick to correctly set the pot to your motor power requirements, so you have a 200R per coil motor at 12V this gives us 0.06A, letโ€™s round it to 0.1A.

Use the following formula:

Vref = 0.1 * 8 * 0.1 <=> Vref = 0.08V

Take a multimeter and measure the positive on the center of the pot against any GND point on the board. You should set this to the Vref value above.

Attention this is assuming that the little SMD resistor near the pot is a 0.1R one.

Could you please check the number written on it ?

from ardufocus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.