HDD (3 Phase) motors and code timing


i've been struggling bit, , decided time seek help.

i'm making hdd pov (persistence of vision) clock, , have number of scrap hard drives choose from. thought picked 1 spin continuously when powered on, after removing read/write components, found out not case. spins up, slows down, spins up, slows down, stops. total spin time 10-20 seconds.

the thing is, had set leds hard drive already, , i'm committed making work. swapped out hdd board another, didn't help.

finally, decided try , drive motor code, , hooked phases 5v logic mosfets. followed guys' video:
https://www.youtube.com/watch?v=cmz2dypos8w
and modified code bit (here's code):
http://bartvenneker.nl/schemas/code_arduino_hdd.txt

after lot of tweaking, got code spin motor maybe 3-5,000 rpm. problem is, @ these speeds (or lower speeds) continuous spinning dependent upon timings of code. motor must gradually accelerated speed (which have hard-coded ramp in code right now), , @ high speeds delays 1ms or less. think means there's no room other code if want run @ these speeds.

that brings me question(s):
  • is there simple way modify hdd board runs motor continuously?
  • if not, should write motor code dedicated chip (i have atiny85s on hand)
  • better ideas? hoping avoid buying driver chip (would rather option 2).


thanks in advance!



Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > HDD (3 Phase) motors and code timing


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code