Hello,
The Matching battery link shows many choices...one to use? Thanks RichardM
hakancirit
over 4 years
Hi,
could you share the schematic diagram
RJ_Make
almost 6 years
@Matt Abeley,
Do you have an example of the charging mounts? The one I use was suggested by Tom, because building from scratch was going to be an issue for me.
Yes, they require a magnetic field.
RJ_Make
almost 6 years
@Matt Abeley
1) You should be ok with A4988, I'm pretty sure the wiring is the same.
2) You don't need to use CAT5 cable, I just have a metric ton of it so that's what I used. :-)
RJ_Make
almost 6 years
@ Matt Abeley
Have you tried my code? https://github.com/RJ-Make/OpenSlider ? I just soldered on to the bottom of the board. here is a high level look video on my design. https://www.youtube.com/watch?v=3ISblBN-hK4
Hope this helps
Navjot Singh Dhanoa
over 6 years
Try out the driver and the stepper separately with another code and confirm if the driver is able to drive the motor. IF you manage you get them to work, THEN there shouldn't be any issue with the circuit provided by Tom.
Took me a couple of weeks too, to figure out the right drivers for the lcd shield and stepper driver, driver.
If only things were as simple as uploading code and connecting wire to make things work right :-p
Bernardo Anselmo
over 6 years
Im using the a4988 driver ... the lcd works but the button does this
A sexta, 10/08/2018, 12:02, YouMagine - Supercomputer <
supercomputer@youmagine.com> escreveu:
RJ_Make
over 6 years
@Bernardo,
Who's code are you using? Tom's code will only work with the exact touch screen he is using. Also, depending on which driver you are using, you may need to disconnect vcc from sleep/reset.
Here is a diagram of my version..
https://docs.google.com/drawings/d/1iMmT16oBhA-VOCiqDz05aRrftdgWxaX0P8nvFBsfUSA/pub?w=1440&h=1080
Bernardo Anselmo
over 6 years
So i have 100% the same config and items and my screen doesnt come out of the halt .
1 time i dont know how it showed “runing” but my motor didnt turn
Do you have another code ?
RJ_Make
over 6 years
@Bernardo,
"Doesn't work" is not enough information to help. What exactly doesn't work?
Bernardo Anselmo
over 6 years
hello i have 100% the same thing wired in exacly the same way but my code doesnt work.... help me plz
honzicle
over 6 years
Is anyone able to identify what code needs to be changed to calibrate the onscreen run-time vs actual run-time?
RJ_Make
over 6 years
@Matt Abeley
Need more information.
1) Exactly what is not working. Time Increment or start?
2) Which encoder are you using?
3) Do you have it wired exactly the way it is in Tom's video?
Anonymous
over 6 years
hello i'm just wondering how i download the arduino code
Thanks
Gdif
almost 7 years
I've just change my drivers polulu4988 for trinamic TMC2100 in my project (https://vimeo.com/230946414). The result is fantastic : NO SOUND with the stealthChop mode !
I've bought a 150W DC-DC Boost Converter 10-32V To 12-35V 6A and i wonder if i will improve the speed and the tork of my NEMA's by increasing the DC voltage up to 24V ? (I use 10VDC for the moment).
Any idea ?
s7Design
almost 7 years
@RJ_Make that one is rater expensjce vs the few usd i payed for mine. I can still just turn the slider around so it goes the right way
@Gdif well its a nice feature to have to switch dirrections. Thats why i also went for this design
Gdif
almost 7 years
As far as i'm concerned, i don't really see the advantage of a touch screen for this project. So i've used a nokia 5110 screen
RJ_Make
almost 7 years
@Srdan Červenjak
I'm using this one https://www.adafruit.com/product/1651 (because I could not get the display Tom used) and wound up rewriting most of the display code.
s7Design
almost 7 years
@RJ_Make im using the ILI9341 LCD driver
RJ_Make
almost 7 years
@Srdan Červenjak
What is the exact model of the LCD are you using?
s7Design
almost 7 years
@RJ_Make i see you know your stuff here
I would need some help. I made the slider but seems something is wrong with my code. As i get it tu run i can control the speed, but nothing on the LCD seems to work. I can get no touch controls and with that the slider only goes in one direction, i can not press the bottom part of the screen to change the direction of travel.
rasfrecci
almost 7 years
I am curious about how the TFT connects to the Arduino. The sketch and wiring diagram both clearly show the VIN on the Arduino 2560 connected to the battery. Both of the TFTs I have bought from China, however, have pins that connect to the Arduino's VIN. If I remove this pin on the TFT and connect, it appears to work. I can't imagine this is the way the designer intended. Is it? If not, what am I doing wrong? Many thanks!
Navjot Singh Dhanoa
about 7 years
@ngo Duy,
These connections worked for me with the DRV8825 stepper driver.
M0: 5v
M1: gnd
M2: 5v
EN: disconnected (do not connect it to anything)
Gdif
about 7 years
@RJ_Make you're right: I should have said "DIM" rather than DIY, although I plan to make the program available in a few weeks when I clean it up. I will change the title of the video
Ngô Duy
about 7 years
@Rj Make thank your help , i have tried to connect M0,M1,M2,EN to 5V but the motor not run :(
how about my use motor have problem .
i my motor:
Fits for 3D printers, monitor equipment, medical machinery, textile machinery, stage lighting and so on
Rotor Inertia:38 g.cm2
Step Angle:1.8°
Motor Length:34mm
Holding Torque:0.28N.m
Rated Current/phase:1.5A
Phase Resistance:2Ω±10%;Rated Voltage:3.0V DC
Inductance/Phase:3.4mH±20%(1KHz);Weight:210g
can you see and help pl thank you
RJ_Make
about 7 years
@Dgif You say DIY, but I don't see any design files or such. Just a commercial for the dolly?
Gdif
about 7 years
I finally finished mine. I preferred to do a dolly rather than a slider. You can see it here: https://vimeo.com/230946414
RJ_Make
about 7 years
@Ngo Duy You would wire it up the same; the only surface difference is orientation.
Ngô Duy
about 7 years
Hello , i need your help , your code be running A4988 motor driver now i want to change
a new driver DRV8825 can you help me pl ????
Sanchesqui
about 7 years
I think I'm lost with the circuits. Anybody could upload some picture clarifying the whole thing?
Thanks
Navjot Singh Dhanoa
about 7 years
Could anyone upload their wiring photos?
Gdif
over 7 years
@RJ_Make
Thank you !
RJ_Make
over 7 years
@ Gdif
I would look for one with bigger input and output caps..
https://www.amazon.com/gp/product/B01GRIQBRY/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1
Gdif
over 7 years
@RJ_Make
Like this one ? http://www.ebay.fr/itm/MT3608-Step-Up-2-28V-DC-DC-Boost-Module-Alimentation-Reglable-Adjustable-Arduino-/252351265915?hash=item3ac14ebc7b:g:q~UAAOSwrddY7mgK
RJ_Make
over 7 years
@Gdif I use a boost converter, and set it to ~10vdc. In my testing the battery works fine, but doesn't take long to reach the driver's min. voltage.
Gdif
over 7 years
Hello everybody. I wonder about the power used by Tom (NP-970 Sony) which delivers 7.2V. Is this enough to power a NEMA ? It seems to me that 12V is recommended for this motor.
On your side, what did you use as a power supply?
Piotr Hurny
over 7 years
@DEM GER
I didn't think it was 3D Printed , it looked slick and smooth. I liked the modularity aswell. I would appreciate the files for the case very much.
So far I am waiting for RJ Make youtube video with the slider while I try to think of a case.
The modularity is a nice touch.
The slider looks great.
RJ_Make
over 7 years
@DEM GER Great Job!
DEM GER
over 7 years
3D print (designed in Inventor)...printed on PLA.
I have no problem sharing the files.
In order to achieve compact design and modularity its a bit difficult, but not impossible.
$60 video slider from ebay
$17 Nema stepper / ebay
Piotr Hurny
over 7 years
@DEM GEM
Love the case. How did you make it?
DEM GER
over 7 years
Done :)
Thanks all for your help
https://www.youtube.com/watch?v=9VIgMFR93NE
RJ_Make
over 7 years
Thanks for the follow up @Rob Goodman.
Rob Goodman
over 7 years
The culprit was on oversized version of TimerOne.
Now I just have to fiddle with it a bit to get rid of the screen duplication, for some reason I'm seeing double and the colours aren't right
Piotr Hurny
over 7 years
Try a different arduino mega. Mine is a Sunfouder. Works great.
RJ_Make
over 7 years
@Rob
Are you using the provided libraries? If so then I'm out, have no idea. ;-(
Rob Goodman
over 7 years
@RJ Make. I am using Arduino mega and the exact same screen that Tom used in his project
RJ_Make
over 7 years
Hmmmmm. I just noticed that my last post got deleted... Are we censored?
@Rob
What hardware are you using? Arduino and Screen?
Rob Goodman
over 7 years
not sure where I am going wrong here but CombinedSliderControl Arduino file with #include touchscreen.h enabled is totalling 50116 bytes. Too big for the Arduino???
Piotr Hurny
over 7 years
Hi all.
So I finally managed to add limit switches but the slider bounces from the ends just like I wanted. Here is the code:
https://www.dropbox.com/sh/4v1imdymqb0y6w9/AAD7N0mB3J6a1CJhEcm6bcFma?dl=0
Now I will try to add counter and automatic stop in the code.
@Rj Make
I am curious if I can use your models for the casing?
Thanks
RJ_Make
over 7 years
@Piotr,
As I see it, the only way to reliably reverse direction is with the use of endstops.
Even if you use a counter based system, you will be bound to always starting the slider at the same starting position every time. or incorporate some type of positioning system feedback to the controller.
DEM GER
over 7 years
@Piotr,
It does NOT stop at the end as this might depends on each slider length...
For example I have a 24" slider...
If I remember corrector even in the YouTube clip Thomas specified that the user need to be aware and close by to turn OFF at the end.
Of course probably you can add some tiny switches at the end ...( end up with extra wiring)..or my favorite should be a code based stop.
There is another Arduino base slider where the user added a code based stop function where the motor counts the turns and stops at the end of slider.
http://www.instructables.com/id/Make-a-Motorized-Camera-Slider/?ALLSTEPS
I'm not very skilled at arduino but if anyone can "borrow" parts of this sketch and integrate in this slider that would be an great improvement.
Piotr Hurny
over 7 years
@DEM GER
Thx, it works now. But does your slider stops after the time ends? Like after you set for 16s, does it stop after 16s?
@RJ Make
Like is said I set the timing to 16 seconds and it doesn't stop after that, its just keeps going. I don't have it yet installed in the slider. Testing the functions. And will try to add the limit switches later.
So there is no stop code in the sketch? And the timing only represents the tempo of the slider movement?
What would I have to add to the code to make the slider stop after the timing ends without the switches?
That would be nice.
Thank you.
RJ_Make
over 7 years
@Piotr,
I don't * think * I saw anything in the code that does that. (I'll take another look over the code). Just thinking out loud here, Unless the current code knows the length of the rail and the starting position of the slider I don't see the count down being very useful.
An endstop system, IMO is far more useful.
DEM GER
over 7 years
@Piotr
I was away for few days ...Did you make it work ?...
Where do you need help ?...
Piotr Hurny
over 7 years
@RJ Make
So the Enable thing worked and different pins and the motor spins.
But now it doesn't stop after the time shown. Shouldn't the time be counting down? I tried 16 second and it kept going forever. The 16 second didn't count down.
Could it be that I have the wrong library?
Thanks
RJ_Make
over 7 years
@ Piotr
Yes, I would also connect it to GND so it doesn't 'float'.
I'll be releasing the entire 'OpenSlider' project, STL's, Design Files (STEP), and Code once I have completed building everything up and making sure it works. ;-}
Using Tom's great foundation, I wound up completely redesigning all the printed parts. I did this so I could have everything under housings.
Tom's design is better in many ways, and is most certainly easier, but in order to meet my goals I had to make some major changes.
http://www.imagebam.com/gallery/t7o331lbyb14vgo7xuvp28ckltj2lqyf
Piotr Hurny
over 7 years
@RJ Make
So for 1 and 3 I should disconnect the Enable pin from VCC on the driver? That would make sense for the motor part.
For 2 I do use the Cheap clones. So I will try all the digital pins.
And for 4, that's so cool, I had normal Limit Switches in mind to connect and try to code it with some luck. I assume that you need to add some magnets to the ends of the carriage. Wish you could show me how you coded it.
Thank you Man.
RJ_Make
over 7 years
@Piotr
Because I used the Adafruit 2.8 V2 TFT Shield, I wound up having to rework the LCD code to get it to work well, and that required me to dig into Tom's code pretty deep.
What I've found:
1) On every driver that I purchased, the enable pin must be driven low. Setting it high, as in Toms' video disabled the driver.
2) On two separate Mega's (cheap Chinees clones) I have several 'dead' pins. Just keep looking for working pins.
3) I would also use the Enable pin. Leaving the pin low all the time will cost you small amount of wasted battery power. I'm using a boost converter to maximize torque, so that costs me a lot in battery power, but the boost converter also allows me to drain the battery down to ~3.5 volts before function loss.
4) I have successfully coded and wired in hall effect sensors as end stops.
Piotr Hurny
over 7 years
Hi All.
Love the project and I wanted to make my own slider.
I have all the elements needed for the electronics and I managed to test the nema 17 with the driver separately.
Now I am at the stage where I am trying to make it work. The LCD works great with the rotary decoder. But the motor wont move. I changed the pins to 50 and 51 like in the comments here but I still don't get an response. I presume to only update the pins for DIR and STEP in the beginning of the sketch.
@DEM GER can you help me, how did you amek it work?
Thanks
RJ_Make
over 7 years
@DEM GER
Did you change that in the sketch, just the wiring, or both?
You should probably update your wiring diagram.
DEM GER
over 7 years
@everyone
I made it...PIN50-DIRECTION
PIN51-STEP
Changed Tom sketch.
Thanks RJ for help and advise....
Now we get to 3D Print...
ON downside....I fount the system a bit noisy..from STEP motor( all are noisy)
I guess for B-roll Shots....camera MIC is not necessary...
I will upgrade the updated diagram and upload again for everyone.
DEM GER
over 7 years
@RJ,
New Arduino Mega...EEprom clean, Upload successfully.....NO motor movement...
RJ_Make
over 7 years
@DEM GER
I would try different pins,
Pins are defined on:
#define DIR 52
#define STEP 53
DEM GER
over 7 years
@RJ
Tried again my previous setup( tested A4988 and motor) and Tom design...without success.
My previous slider libraries are slightly different as I'm using an Arduino Uno with LCD Keypad Shield.
Works perfect for time lapses.
Please see the library and photos of my previous setup at below link :
https://app.box.com/s/s21sqt4lp8qqfenb96n4rd0nor1jn0ku
I liked Toms design for B-Roll Shots..and time lapses....But can get it to work...
Tomorrow I'm receiving another mega and I will try again...
There is no communication between Arduino (with TFT and Encoder ) and motor driver.
..this is the only way I cant explain....
Arduino Mega (Sketch with TFT and Encoder works as they should) I have the right elements on display with right input from encoder and right response.
Stepper Motor and A4988 works fine on my other setup.
When connected together the motor does NOT move....
I'm thinking maybe pin 52 and 53 ...are the issue...not sure how to troubleshot this....
Maybe change with other pins ???...Dont know...
It would be great if anyone else would build the setup to have at least something to compare..
I'm stuck...
RJ_Make
over 7 years
@DEM GER
So if indeed the 2nd half (driver and motor) are good then we now know we have a problem in the first half. Mega, Wires, sketch or libaries.
Not sure why I didn't think of this before, but can you use (modify) the sketch from your other slider to test the base hardware on this new one? Are you using any of the same libaries in each sketch?
If the sketch works, then we know we have a problem in Toms sketch or a supporting library.
DEM GER
over 7 years
@RJ,
I tested my A4988 and my step motor and they are fine.
I have another Arduino LCD Keypad style slider...and swap the drivers and step motor.
100% they are fine.
I can only suspect Arduino mega 2560 or wiring...
But the program, LCD TFT menu and encoder are behaving as they should with proper results on screen based on my input...
Not sure what to look for next
RJ_Make
over 7 years
@DEM GER
Not yet, I'm still waiting on a few things. The circuit looks fine to me, but as you know that doesn't mean there isn't a code/libaries, hardware or wiring issue.
DEM GER
over 7 years
@RJ
Thanks..I will check the motor and Polulu 4988 today....as I have a setup from previous slider..
I can't check Arduino...I place an order for another one anyway...
I will keep you updated...
By the way did you build this setup as in Thomas diagram ?
RJ_Make
over 7 years
@DEM GER
Until you are willing to run the test to determine which half of the system is not working I can't help you.
DEM GER
over 7 years
100% my stepper motor Nema 17 is working as I already used it in another style of slider.
A4988--I have 3 units and tried all of them.
One of them was also used in my previous designed slider and working fine.
Arduino and the encoder with the code the seems to work as I have the correct display elements and response on TFT screen as Thomas in his clip.
Wiring is done as in the below diagram
https://app.box.com/s/66d412frc23q4plaji25w6yjyw5mocva
NO motor movement ...
Anyone any more ideas ?!?!?
RJ_Make
over 7 years
So at this point we need to split this down the middle, and test the driver and stepper.
Here is a great thread on how to test your driver and motor from Pololu
https://forum.pololu.com/t/how-to-check-if-a4988-is-fried/3542
If you have voltage on 1A-1B and 2A-2B, or if you try the other test and and the stepper fires, then the problem is either in your wiring (Bad wire(s)), Arduino or code.
Let me know how you make out.
DEM GER
over 7 years
Thanks RJ
1) Motor is connected correctly
2) tried Sleep and Reset Jumped and disconnected
When Connected I can hear the coils in the motors ...But seems that there is no juice...Even I have a separate 12V / 4A battery with 100Mf CAPACITOR. fully charged
I added a decoupling cap between VMOT and GND -- 100uf
NO spin....even I can hear the motor trying...or at least coils...in it...
SLEEP connected to RESET,
MS1, MS2, MS3, ENABLE... all are already disconected..
Any ideas ?
RJ_Make
over 7 years
@DEM GER
I'm pretty sure you don't need to pull those high, well at least RESET. but like I said before it shouldn't matter.
DEM GER
over 7 years
Thanks for looking in to this...
I'm confused....
Why you tell me jumping RESET & SLEEP ?
...they are already connected together....
SLEEP, RESET, MS1, MS2, MS3, ENABLE... all are already connected to 5V...
RJ_Make
over 7 years
@DEM GER
Looks good, but you can try:
1) Unplug the motor; using a diode connect to what you think is coil one of the motor, spin the motor shaft. If it lights up, then you know you have the motor wired correctly.
2) Try jumping Reset and Sleep, don't take the pins high (it really should not matter, but..)
You may also want to put a decoupling cap between VMOT and GND -- 100uf should be good
From there we need to go much deeper.
RJ_Make
over 7 years
Thank you Tom.
toms3dp
over 7 years
Done!
RJ_Make
over 7 years
Thanks Tom, yes if you don't mind.
toms3dp
over 7 years
I've added the STEP files for the ends and the belt clamp - need the electronics mount as well?
DEM GER
over 7 years
Hello Again,
Can anyone confirm if they got this circuit running?
Appreciate if anyone would let me know and if my uploaded below diagram is correct.
I tried all options….as per Thomas wiring, and external power to (Polulu A4988) Motor Driver…
I don’t get any movement in step motor …
Thomas I know you are busy…can you provide any feedback?
Thanks.
RJ_Make
over 7 years
@DEM GER Thanks for the response. The reason I'm requesting the design files (STEP) is so that I can make modifications.
What I have in mind:
1) Provide Pilot Feet for use on a desk (or ground)
2) Removable control console
3) See if I can make that a little more (well a lot more) printer friendly
4) Integrated end stop mounts
Having the design files (STEP) should make it much easier to do some redesigning.
I don't see why we couldn't add some directional change end stops. I took a brief look at the sketch, and while it will be quite a bit of work, I think it's possible.
DEM GER
over 7 years
RJ Make
What help do you need with STEP ?...I might be able to help...
This is my second slider ( my previous version had an numeric LCD)>
Anyway let me know what you need and I 'm glad to help.
Myself I need help with motor wiring or stepping....as I don't get any movement...
As per End stops I saw the other day another slider(Arduino based)...that was able to count/ measure and will automatically stop at the both ends of the rail....
Is that something that we can incorporate ?
RJ_Make
over 7 years
End stops for directional changes really need to be incorporated. If no one else does it before I start mine, I'll upload whatever I come up with.
I really could use the design files (STEP) Tom ;-)
DEM GER
over 7 years
Hi Thomas and thanks for uploading encoder.h.
I created another diagram at the below link:
https://app.box.com/s/66d412frc23q4plaji25w6yjyw5mocva
Please advise if you notice something wrong…
In my setup the motor (Nema 17) does NOT spin……
Please let me know if something is wrong in my wiring / diagram..
Is micro stepping correct wired?
I tried many jump settings with no results
I hope this diagram helps others on making this awesome slider…
Please guys upload your results…/issues…
toms3dp
over 7 years
The Arduino sketch also requires encoder.h, which wasn't included in the libraries bundle up until now. If you were having trouble compiling the sketch, just download the .zip again and add the Encoder library!
RJ_Make
almost 8 years
Tom, would it be possible to get the STEP files for this project. I would like to see if I can make some changes to your design.
Pad5tar
almost 8 years
Hi Thomas,
This is amazing and have ordered all the bits needed for this weekends build. one problem though, as i have the INO in Arduino when i verify the code it errors on the *.h files i can see some in the included libraries you have uploaded. I have my MEGA 2560 clone board here now and I'm fairly new to Arduino coding and would appreciate some help. Thanks very much
toms3dp
almost 8 years
@RJ_Make I'm using DIN912 aka ISO 4762 cap-head screws, but any non-countersunk head should work.
For the touchscreen, the Adafruit 2.8" model should also work with minimal software changes. NP-F batteries have ready-made mounts available for them if you can't/don't want to make your own http://amzn.to/2lgRVHG
And for the belt, you can usually find a 5m loop of GT2-2M belt for very reasonable prices http://amzn.to/2kz6Tvx
RJ_Make
almost 8 years
Thanks Tom, I'm also having problems sourcing a few things from Amazon (want to use your aff. link)
1) Touch screen
2) 2.6mm plugs
3) 214cm Belt (can I just use 2 belts?)
RJ_Make
almost 8 years
What kind of screws do you have listed? Flat Heat, Cap?