TinyG connection to SuperPID

Discussion of tinyG control platform
semperfikurt
Posts: 12
Joined: Wed Nov 05, 2014 3:08 pm

Re: TinyG connection to SuperPID

Post by semperfikurt » Thu May 21, 2015 2:52 pm

for sure, thanks a ton everyone for all the help! parts ordered, will see how it all goes together.

semperfikurt
Posts: 12
Joined: Wed Nov 05, 2014 3:08 pm

Re: TinyG connection to SuperPID

Post by semperfikurt » Fri Jun 05, 2015 2:50 am

cvoinescu wrote:If you use 74HCT00, 74HCT04 or 74HCT14 instead of the 74HCT125 (or the AHCT versions), you can use a spare gate to invert the spindle enable signal.

For instance, using the 74HCT04:
PWM output from TinyG to pin 1
Pin 2 to Pin 3
Pin 4 to PWM input on the SuperPID
Spindle enable output from TinyG to pin 5
Pin 6 to spindle enable input on the SuperPID
Pin 7 to GND
Pins 9, 11, 13 also to GND*
Pins 8, 10, 12 not connected*
Pin 14 to +5 V
Ideally, a 100 nF capacitor between +5 V and GND somewhere near the IC
Note that SuperPID GND and TinyG GND are connected.

The same pinout works for 74HCT14. Let me know if you need it for the 74HCT00.

* These are three spare inverters. Their inputs must not be left unconnected. You can use them to level-shift another three signals while also inverting them, or level-shift one inverted and one non-inverted signal.

So I got the 74HCT04 all wired up per these directions. For the unconnected pins, if I don't have anything left to connect to them how should I wire them up if they shouldn't be left unconnected? I tried running the M3 command through Chilipeppr and it turned the router on very shortly, like a short pulse. Then the spindle direction LED on the TinyG board started flashing. Any thoughts about what is left with this to get it nailed in correctly?

cmcgrath5035
Posts: 61
Joined: Thu Oct 31, 2013 6:56 pm
Location: Florida, USA

Re: TinyG connection to SuperPID

Post by cmcgrath5035 » Fri Jun 05, 2015 12:03 pm

You can just leave unused gates unwired (not connected)

SpinDir flashes while tinyG is rebooting.
A large Glitch on Vin can trigger a reset.

Does the flashing stop after 5-8 secs or so?

Is something draging down Vin, or might a wiring error be dragging down 3.3V?
ShapeOko (V1) SN 1462
Dual 820mm Y, Double X, ACMEZ. V2 Motor Plates
TinyG V7 Controller; DUE and tinyGV9 test bed for tinyG2

cmcgrath5035
Posts: 61
Joined: Thu Oct 31, 2013 6:56 pm
Location: Florida, USA

Re: TinyG connection to SuperPID

Post by cmcgrath5035 » Fri Jun 05, 2015 12:13 pm

Or, you may be in Hard alarm state.
Give this a read: https://github.com/synthetos/TinyG/wiki ... ard-alarms

Familiarize yourself with the difference between reboot 'slow' flash by watching the LED when you hit reset.

Hard Alarm flashes faster

Do you have limit switches enabled?
NO or NC setting?
Spindle Startup surge may be triggering Limit Switches due to noise spike.

Disable Homing and limits, retry your M3
Last edited by cmcgrath5035 on Fri Jun 05, 2015 4:27 pm, edited 1 time in total.
ShapeOko (V1) SN 1462
Dual 820mm Y, Double X, ACMEZ. V2 Motor Plates
TinyG V7 Controller; DUE and tinyGV9 test bed for tinyG2

cvoinescu
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK
Contact:

Re: TinyG connection to SuperPID

Post by cvoinescu » Fri Jun 05, 2015 1:48 pm

You can leave the outputs of the unused gates unconnected. You do need to connect the unused inputs to something -- either GND or VDD. I included this in my instructions -- pins 9, 11, 13 to GND, and pins 8, 10, 12 not connected -- so if you followed that, you don't need to do anything.

About the alarm, I don't know.
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk

CustomCreations
Posts: 1
Joined: Thu Nov 26, 2015 1:27 pm

Re: TinyG connection to SuperPID

Post by CustomCreations » Fri Nov 27, 2015 2:28 pm

I see that this thread is a few months old but I was just checking in to see what the final conclusion was and how everything worked out. I ordered my SOIC chip and BOB to make things a little easier.

jkanzaki
Posts: 166
Joined: Sat May 05, 2012 3:00 am

Re: TinyG connection to SuperPID

Post by jkanzaki » Fri Mar 04, 2016 5:06 pm

from what i last heard, the answer is no
Shapeoko 1 - dissassemble
Shapeoko 2 - 1 x 1m expansion TinyG, superPid, Dw660, Aluminum extrusion bed, Nema 23, acme, Z axis upgrade, Dual Y
Shapeoko 3 - 0051 Stock Dw611, SuperPid, limit switch, 9mm belt

blfinche
Posts: 1
Joined: Sun Oct 09, 2016 5:27 pm

Re: TinyG connection to SuperPID

Post by blfinche » Sun Oct 09, 2016 5:40 pm

Would something like this https://www.sparkfun.com/products/12009 work?

Bobby

Post Reply