Show Posts
Pages: [1]
1  Community / Gigs and Collaborations / Re: Need programming help, could include some cash on: April 01, 2013, 08:53:11 pm
Thanks to Wildbill for all his help !!!
2  Community / Gigs and Collaborations / Re: Need programming help, could include some cash on: February 04, 2013, 02:45:02 pm
Sorry, missed Paul's question.

The evil plan was on power up to rotate the model till it hit a switch that would decide it's home.

Not at the computer that has the code on it right now. Basically I was just sending a high low to pin 13 x number of times on button push.  Seems simple but I ran in to two problems doing it this way, one I messed up and only could get 1 of 4 buttons to work ....  and the second was while the motor is running how to check the switch to see if it has been pushed again.   

I also didn't want to post my code out of embarrassment :-(  Somebody with a fresh start might be quicker then trying to understand  my lack of logic.

But an earlier comment got me thinking more about a different approache.  I think I was doing a lot of unnecessary coding using ifelse... if button is pushed, send 17000 pulses to motor controller, check next button instead of if button is pushed, add to variable... if variable is above 0 send pulses to motor... clear as mud
The second problem was making the calls to the switch while the motor was running.... and then my head exploded and figured there was someone out there who would say " oh that's easy"
dooh
3  Community / Gigs and Collaborations / Re: Need programming help, could include some cash on: February 04, 2013, 10:41:01 am
Not complicated for someone who knows what they are doing.... me not so much.   That is why I am looking for someone who is willing to write it up and earn some beer money. 
I've just gotten too frustrated, and the beer wasn't helping  smiley
4  Community / Gigs and Collaborations / Re: Need programming help, could include some cash on: February 04, 2013, 09:28:33 am
Set number of steps... 17750 is one quarter turn.  So need to track current position and number of steps to next position defined by which button pushed.

The other half is while it is running clockwise or counter clockwise continuously ( as defined by button 5 and 6 ( Which if hit again would stop the motor )) it needs to track the number of steps ( position ) so if one of the four cardinal points are pushed it will go to that location.

The whole idea of the project is they are presenting a building on a turntable.... the model will be slowly rotating, as the presenter says " on the west side " they will hit the button and the unit will rotate to the west side and stop... the presenter will then say " on the North side" hit a button and it will rotate to the north side etc etc... until at such point the presentation ends and the presenter will hit the CW(6) or CCW(5) buttons and the model will just continuously rotate.

I'm finishing up the hardware and I have limited control of the motor with the arduino but not all the functions I want.

Thanks all

5  Community / Gigs and Collaborations / Need programming help, could include some cash on: February 03, 2013, 09:54:48 pm
Tired of pulling my hair out so I might as well ask for someone who knows what the heck they are doing

Arduino Uno
Running a stepper motor driver
4 buttons to run the motor to 4 cardinal positions
1 button to start and stop it running clockwise
1 button to start and stop it running counterclockwise

And a couple other items to be discussed.

Anyone ?

Thanks
Pages: [1]