|
Post by AlbEagle on Jun 25, 2017 1:15:14 GMT 2
Connect 5V ULN2003 28BYJ-48 4-Phase Stepper Motor input wires to Arduino pins (in my case 31, 33, 35, 37) and +5V and GND according to the picture below.
|
|
|
Post by AlbEagle on Jun 25, 2017 1:20:04 GMT 2
Insert a new Stepper device like the picture below, define the pins of the arduino you want to use like the picture below and configure the settings. In the next picture you see the compass offset: And the values that work for me: In Case your Compass turns in the wrong direction, than in Interpolation settings use the values 0 - 360 360 - 0 When you start the Sim, make sure to move the motor to the N position using the Manual calibration section by clicking the button move (last picture). Once the needle is on the letter N, click the button Set Zero and you are set.
|
|
|
Post by Fabián on Jun 30, 2017 23:19:45 GMT 2
Thanks, thanks, thanks...!!!
|
|
|
Post by AlbEagle on Jul 1, 2017 23:22:15 GMT 2
Thanks, thanks, thanks...!!! You are welcome AlbEagle
|
|
|
Post by Les on Jul 17, 2017 11:09:57 GMT 2
Hi AlbEagle, Thanks for the Whisky Compass 3D files,just completed it. How did you find the stepper motor's operation. My ones(3) seem to have a certain amount of slop in the gearbox. This slop is magnified when the disk is added resulting in a shaky readout while turning. Did you find this in your steppers. If so how did you overcome it. Regards Les
|
|
|
Post by AlbEagle on Aug 1, 2017 11:45:52 GMT 2
Hi AlbEagle, Thanks for the Whisky Compass 3D files,just completed it. How did you find the stepper motor's operation. My ones(3) seem to have a certain amount of slop in the gearbox. This slop is magnified when the disk is added resulting in a shaky readout while turning. Did you find this in your steppers. If so how did you overcome it. Regards Les Hi there Les The stepper I have is a cheap one from ebay and it doesn't have any slop. If you watch the video it rotates great, check it here: Here is the link from the stepper i have bought: Link for Stepper on ebayRegards AlbEagle
|
|
|
Post by Les on Aug 1, 2017 22:29:21 GMT 2
Hi, Thanks for replying, that's the same type i have. The disc that i printed from the files on your site is pushed onto the shaft and you apply a little pressure at the perimeter of the disc you will see a variation of about 3 to 4mm. So i really don't know what the diff is between our gauges are. I proved it was slop in the gearbox by dismantling the motor and packing it with grease. Now the problem is gone. You must have got lucky with your one as all three have the same problem. Thanks anyway, the grease seems to have stayed in place. Regards Les
|
|
|
Post by AlbEagle on Oct 22, 2017 22:51:19 GMT 2
Hi, Thanks for replying, that's the same type i have. The disc that i printed from the files on your site is pushed onto the shaft and you apply a little pressure at the perimeter of the disc you will see a variation of about 3 to 4mm. So i really don't know what the diff is between our gauges are. I proved it was slop in the gearbox by dismantling the motor and packing it with grease. Now the problem is gone. You must have got lucky with your one as all three have the same problem. Thanks anyway, the grease seems to have stayed in place. Regards Les Hi Les Probably mine was a good one, I can't tell as I have only bought one, but I'm glad to hear that you have got it working. AlbEagle
|
|
|
Post by craighaskell on Apr 5, 2018 12:04:37 GMT 2
Hi,
On the photo it shows a 5v connection. from the motor board and the ardunio board. Could you tell me what could be used to power this? Is there enough volts from the ardunio that It could be powered from?
Cheers
|
|
|
Post by hannes1 on Apr 5, 2018 12:10:38 GMT 2
Yes, the power supply from the Arduino board is sufficient for the stepper motor.
|
|
|
Post by craighaskell on Apr 5, 2018 20:56:12 GMT 2
Thank you Hannes
|
|
|
Post by polarair on Oct 1, 2020 21:35:50 GMT 2
I would always power it externaly, i have a Powersupply (fixed_) for all 5volt and 12 volt parts of the sim.
|
|