Go Down

Topic: need help with coding ,i will pay (Read 2510 times) previous topic - next topic

iron1987

Dec 15, 2019, 01:24 am Last Edit: Dec 16, 2019, 12:05 am by iron1987
hi...i'm build dtg printer,and need some help..i have already most of code,works fine,but still need some help with rotary encoder,movable table/platen,and need help with opto coupler pc817....i'm not share my code there for public,but i can send to PM who won't to help finish them,i pay 250 usd

need:
arduino uno or nano
stepper driver tb6600 or a4988
stepper motor nema 17
3x spst push buttons
2x limit switches
rotary encoder-can use ky-040

if you have questions please ask

wvmarle

Reading & controlling those peripherals on their own is easy enough.

Now for the hard part: what is this code supposed to be doing with those parts?
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

iron1987

#2
Dec 15, 2019, 10:58 am Last Edit: Dec 15, 2019, 02:31 pm by iron1987
push buttons and limit switches control position of base/table...button one when pressed move forward till limit switch pressed,button two move backward till second limit pressed and stops...when i turn encoder read stepper motor clockwise or Counter clockwise direction..that part of code i have already..for example how that works:
https://www.youtube.com/watch?v=A_2xnB_eZ3w
https://www.youtube.com/watch?v=PvmTClMF5Fw

wvmarle

I don't see push button control or encoder control in those videos, so that part is not helping, but the rest of the description is clear enough.
What is the purpose of the third push button?
The limit switchers, are that the photo interrupt sensors or are that different things?
Why two limit switches for one stepper motor? When you know where one end is you know where the other end is (that's simply a number of steps away).
Is there going to be a separate input from the printer to control the stepper motor, and move the table under the print head?
You also mentioned you need some help with the electronics part - what exactly?
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

iron1987

#4
Dec 15, 2019, 04:20 pm Last Edit: Dec 15, 2019, 10:12 pm by iron1987
third button for 2 automatic print pass...
limit switch standart mechanical..two limit switches i use because i have two position of base/platen..1st loading on front,2nd printing on back...i'm not use number of steps,like i have two buttons and two limit switches....i have 2 digital pins on arduino connected to printer encoder and it is input...when encoder wheel turn then my stepper motor moves clockwise or counter clockwise depends of encoder turn position.....i have 3 jobs left if finish:
1) 2 automatic printing pass...i have but works with some issues
2) encoder state: 1. encoder state ready printing to back limit  2. encoder home position-disable front limit..encoder itself work fine but need that states where enable/read and disable/where not do any actions till again it is on back limit and only then start read...
3) photo interrupt sensor i won it to replace/emulate with code,i have sample code for that but works only 50% of time...need some helps with opto coupler pc817.....


Go Up