Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slider Protocol Redesign Proposal
07-04-2020, 02:59 PM
Post: #9
RE: Slider Protocol Redesign Proposal
(06-17-2020 12:32 AM)Oki Wrote:  
(05-24-2020 08:12 PM)jojoconley Wrote:  I broke off the pins for stepper 2 on my original board and then the wifi seems to have stopped. After receiving another board and doing a good chunk of the new arduino code I threw together a quick mock up of the app that does allow the joysticks to be used.

Right now the arduino receives commands through udp packets that tell it to either perform a X steps over Y milliseconds for either the linear motion or the pan motion. A queue of events is then used for each stepper independently that will count down the steps for a given event, step the motor and go to the next event if steps remaining is zero.

I have step tracking for each motor, and will add reporting these values back to the app to allow a list of movements be created, stored and then sent. We'll be able to press a record / snapshot button to remember the current position and then string these together to perform more complicated slides.

Great job! Would you mind to share your code?
Did you thought about Blynk App?
I was not able to make motors working via Blynk due to lack of my knowledge how to correctly control the stepper motors. Basic example arduino code for Blynk would help not only me but anyone could build his own App Smile

I do not plan on using something like blynk. In my experience, most drag and drop systems just fall far short of anything I could do in a relatively short amount of time myself.

Writing a relatively simple android app is doable in a weekend I have only a few features left to implement for the arduino. This is mostly communication from the slider to the phone. This is for things like telling the phone how many mm's the sliders have moved since being "homed". This allows for a stack of actions to be used to tell the slider to move in a given direction for a given amount of time. This should make these movements repeatable.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Slider Protocol Redesign Proposal - jojoconley - 07-04-2020 02:59 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)