Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by kidi3

  1. K

    Make a stepper motor less noisy

    The ramp was the problem... A higher acceleration rate made it less noisy, but weird part is that the decelleration make a bit of noise in a certain area of the decelerating step.
  2. K

    Make a stepper motor less noisy

    No.. The time stamp on the ramp is not synchronized with the sound clip.. (I am not that fast when it comes to entering commands.... ) - - - Updated - - - Why different ramps?... I know other people have managed to do it with this one. The only things I could think, which could cause it to...
  3. K

    Make a stepper motor less noisy

    I am pretty sure that the current has been limited to 1.5 A and voltage is 12V.. The power is provided through a battery a 12 V battery. So...
  4. K

    Make a stepper motor less noisy

    my motor is powered with an 12 V battery, it could be that the source is not stable i dont know, i have to test that.. but it should work.. so iam not sure what is wrong.. I havent put a cap. on the input wire. i will later test with an higher acc an decel
  5. K

    Make a stepper motor less noisy

    I am currently trying to make my stepper motor ramp up and down as noiseless as possible, but for some reason am I not able to hit the right sweet spot, which causes my motor to get warm, and the motor to make noise in vibration. The top-speed it reaches it very noise free. The motor i am...
  6. K

    Reading the latest value from incremented in ISR

    should be fixed now.
  7. K

    Reading the latest value from incremented in ISR

    I choose not to post the full code, as it would just cause confusing.. but can see that i might need to post it. - - - Updated - - - Here is the full code: .cpp #include "speed_profile.h" speed_profile profile; ros::NodeHandle nh; std_msgs::Int16 status_step_count; ros::Publisher...
  8. K

    Reading the latest value from incremented in ISR

    I at the moment trying to extract a value that gets incremented inside of a ISR, but can't seem to get the final value, or the correct value. here is the code: How do i extract the newest value from the ISR? code example: volatile speed_prof profile; bool activate = false; void...
  9. K

    Why is better to ramp up a stepper motor, rather than PWM?

    Ahh.. sorry my bad. I wrote an implementation with the use a timer1 library i found on the arduino page https://code.google.com/archive/p/arduino-timerone/downloads. Could any on you maybe comment on whether it would work or not. .h file #ifndef stepper_motor_h #define stepper_motor_h...
  10. K

    Why is better to ramp up a stepper motor, rather than PWM?

    It has a dir, en and step signal. en = enable (high when motor is being used), dir the direction. and step is a pwm, where the frequency determines the speed
  11. K

    Why is better to ramp up a stepper motor, rather than PWM?

    I can see I have a lot of information that need to be processed.. But I can say that the stepper motor I am using is a pk244-01a 2-phase. the controlboard is a st330-v3.
  12. K

    Why is better to ramp up a stepper motor, rather than PWM?

    I do understand the concepts of interrupt... but aren't sure why i should use a timer. if the problem is that I aren't able to do a analog read within the while loop, (which I have to do anyway), could I just not do it within the while loop?
  13. K

    Why is better to ramp up a stepper motor, rather than PWM?

    would something like this work? this is written on a arduino uno int timestep = 1; while(1) { unsigned long startTime = millis(); while(startTime != 500) { digitalWrite(step_pin,LOW); delayMicroseconds(208/timestep)...
  14. K

    Why is better to ramp up a stepper motor, rather than PWM?

    you are right.. i made a mistake.
  15. K

    Why is better to ramp up a stepper motor, rather than PWM?

    I guess i would go with the simple method, as it seem simpler an easier to comprehend than the NCO. So.. I am microstepping my stepper motor, so archieve a smoother motion. I decided within 10 second should the motor go from 0 to hz 48000 hz => 900 rpm. Which means that for each 0.5 s...

Part and Inventory Search

Back
Top