THE ANNIN ROBOTICS FORUM HAS MOVED TO A NEW COMMUNITY. 👉
Teensy Is at 3.3v l...
 
Notifications
Clear all

Teensy Is at 3.3v logic. Stepper controller is at 5v??

6 Posts
2 Users
0 Reactions
40 Views
Avatar of Joseph Puzzo
(@joseph-puzzo)
Trusted Member
Joined: 2 months ago
Posts: 49
Topic starter  

Hi, So I just got the stepper kit in and hooked it up to my teensy. Im running a test script and no motion on the motor. I then took a shot in the dark and hooked up the driver to a normal old arduino uno and walla motion. Am I missing something?? How are you getting the teensy to drive the motors with just 3v logic?


   
Quote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 531
 

The Stepperonline drivers (DM542T and the 320) do operate at 3.3v they are supposed to be updating the manual to show that. I assume you are running DM542T drivers. Are you running the AR4 teensy sketch on the teensy 4.1?


   
ReplyQuote
Avatar of Joseph Puzzo
(@joseph-puzzo)
Trusted Member
Joined: 2 months ago
Posts: 49
Topic starter  

@chris-annin Im playing with custom software ( Accel Stepper Firmata ) so not running AR4 software at the moment. The only difference between my wiring and yours is im using the +pos pulse and direction pins. I am using a Teensy 4.1 and strangley everything works fine with an old driver I had kicking around in my shop. But with the new drivers that came in the kit it only seems to work with an arduino


   
ReplyQuote
Avatar of Joseph Puzzo
(@joseph-puzzo)
Trusted Member
Joined: 2 months ago
Posts: 49
Topic starter  

I figured it out!!!! So turns out after reading through this https://forum.pjrc.com/threads/48524-Stepper-Driver-Voltage That you need to increase the pulse width in accel stepper and walla!


   
ReplyQuote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 531
 

@joseph-puzzo I think you'll need to run the AR4 sketch with -neg pulse. Keep me posted if you have any issues.


   
ReplyQuote
Avatar of Joseph Puzzo
(@joseph-puzzo)
Trusted Member
Joined: 2 months ago
Posts: 49
Topic starter  

@chris-annin Issue resolved. that pulse width setting in the accel stepper was all I needed. Looking forward to getting this thing built!


   
ReplyQuote
Share:
Upload your Photo