ATTiny-based stepper motor controller

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

I'm not sure if this is the correct category but since the Projects-section of this forum is not allowed to be used for such posts, I try it here:

 

At http://sourceforge.net/projects/tardyondrive-avr/ there is a complete implementation and documentation of an ATTiny-based stepper motor controller available. This includes hardware design (schematics), firmware that runs on the AVR, host-side client library that communicates with the controller and provides programming interface and a few example applications.

 

This controller can be used to move a stepper motor, it emits a direction signal and step-pulses for movement. It of course needs a power driver for the motor itself but full logic of controller (including acceleration/deceleration, referencing, external triggering of movements) is done on the ATTiny.

 

All sources and hardware layout are available for free. Comments, ideas and suggestions are welcome - but it would be best they arrive as patches to the sources provided at http://sourceforge.net/p/tardyondrive-avr/code/ci/master/tree/ ;-)

 

Kind regards

 

Oxy

 

*Moved by moderator*

 

 

Last Edited: Thu. May 18, 2017 - 06:19 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oxygenic wrote:

I'm not sure if this is the correct category but since the Projects-section of this forum is not allowed to be used for such posts, I try it here:

Firstly welcome to AVRFreaks.

 

I don't know where you obtained the idea that a completed project like yours could not be submitted in the PROJECTS forum... but you are wrong. It is most welcome.

 

So please submit it.

 

Thanks,

 

Ross

Moderator

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

valusoft wrote:
I don't know where you obtained the idea that a completed project like yours could not be submitted in the PROJECTS forum

 

I got it from this posting saying that this sub-forum is for the project-area only - elsewhere it will be deleted. And since my project is not hosted in AVRFreak's project-area, it would have been subject to deletion...

 

Oxy

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK Oxy, I see what has happened. The forum in which you read that post was meant for discussion about projects posted in the http://www.avrfreaks.net/projects forum. The projects themselves were not allowed to be posted in the discussion area. A slight distinction that has obviously misled you.

 

But I now see that you have submitted your project in the projects forum itself.

 

I am personally interested in your project. Do you have a video of its usage at all?

 

Cheers,

 

Ross

 

EDIT for clarity.

 

Ross McKenzie ValuSoft Melbourne Australia

Last Edited: Fri. Oct 16, 2015 - 06:52 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

valusoft wrote:
I am personally interested in your project. Do you have a video of its usage at all?

 

Sorry, there is no video available.

 

We tested the controller and software together with a Powerlolu driver and a plain stepper motor. But since the power levels of AVRs outputs are high enough, it should work with every other (e.g. Pololu-based) stepper driver too.

 

With kind regards

 

Michael

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Michael.

 

I notice that you mention USB 2.0, but isn't the code using the V-USB package that is rated USB 1.1 compliant... and not USB 2.0?

 

 

I should now move this thread over to the project discussion forum.

 

Cheers,

 

Ross

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You are of course right - thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Michael,

 

In your documentation, you show a schematic based upon the ATTiny85 with three signals labelled STEP, DIR and REF. Am I correct in "interpreting" REF as being the "ENABLE" line on the Powerlolu board?

 

 

Cheers,

 

Ross

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

... and I forgot... more questions.

 

Is the windows executable available for those who do not want to rebuild your source code?

 

And the .hex file for the Tiny85?

 

Ross

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

REF is an input which has to be connected with a reference switch that can be used for homing.

 

Binaries will be added to repository including both, the Windows DLLs and the AVR .hex file...should be available latest on Monday :-)

 

Oxy

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Michael.

 

I look forward to giving your contribution a trial "run".

 

Enjoy the weekend.

 

Ross

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm a beginner in these jobs and I want to make a system that just walks forward when I try to shut it down. My question is whether I should buy a car kit with encoders or without. In what cases are encoders justified?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So exactly how many threads do you think you can get away with posting that same message on before your account is deleted? 

 

Don't cross post again. 

 

Moderator 

Topic locked