TinyG with Super-PID

14 views
Skip to first unread message

Custom Creations

unread,
Nov 25, 2015, 11:51:56 AM11/25/15
to TinyG Development
I was wondering what connections have to be made to use the Super-PID in conjunction with the TinyG board to be able to control router speed through Chilipepr and if there are any special codes I would have to use and so on.

TIA!

Carl McGrath

unread,
Nov 26, 2015, 6:51:13 AM11/26/15
to TinyG Development

prometheus3dp

unread,
Nov 26, 2015, 8:30:23 AM11/26/15
to devT...@googlegroups.com
I have read the posts but what was the "final" solution? It kinda stopped cold without solution closure. 



Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone
--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alden Hart

unread,
Nov 26, 2015, 9:31:45 AM11/26/15
to TinyG Development
I think the final solution is using an inverting gate as mentioned in the Shapeoko forum and the settings provided by cvoinescu. 

The flashing light is one of 2 things. It's either a reset - probably due to a sudden drop of the Vmot power. It could also be a hard alarm thrown by the board due to some condition. In either case, reporting the string sent to a USB terminal would be helpful. 

To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+unsubscribe@googlegroups.com.

prometheus3dp

unread,
Nov 26, 2015, 10:13:46 AM11/26/15
to devT...@googlegroups.com
Can this be used for the logic buffer? https://www.sparkfun.com/products/12009
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.

Alden Hart

unread,
Nov 26, 2015, 10:47:54 AM11/26/15
to TinyG Development
You don't need bi-directional level shifting and it won't invert the signal, which you want. So a 74ahct04 hex inverter might be a better choice. Here's a DIP one at DIgikey. They also have surface mount, but they are harder to wire if you don't have a circuit board designed for it. You would power it with 5v to Vcc.

prometheus3dp

unread,
Nov 26, 2015, 11:27:11 AM11/26/15
to devT...@googlegroups.com
So the only thing needed is that single chip to make this work properly (besides calibration)?
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.

Alden Hart

unread,
Nov 26, 2015, 1:33:00 PM11/26/15
to TinyG Development
I believe so. Still don't know why you are getting the flashing light, but electrically this chip should both invert and level shift the signals. If you want a non-inverted but level shifted signal just run 2 of the inverters in series (there are 6 on the chip).

Carl McGrath

unread,
Nov 26, 2015, 4:15:27 PM11/26/15
to TinyG Development
I finally had a chance to re-read the Shapeoko Forum thread
  • Use one gate of the level translating inverter  (74ahct04 )to translate and invert the SPIN output from tinyG
  • Use two gates of the level translating inverter in series to level translate the PWM output
  • Use the 5V supply for  the SuperPID to power the   74ahct04 
  • The text schematic (wiring instructions) provided by cvoinescu should get the job done.. 
The ShapeOko user never reported back on how he resolved the flashing LED issue.
I would expect, as Alden mentioned, that the SuperPID starting up caused a momentary droop on the 120V supply.
 Depending on the router you are using, the startup current surge can be significant and affect your 120 to 24V Vmot supply  connected to tinyG.

The 120V feed to the superPID and router should be as isolated a possible from the supply to tinyG.
That might mean extension cords for each all the way back to wall outlets close to the Circuit breaker box.

If you still have issues, please describe what sort of router your Super PID is controlling
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.

prometheus3dp

unread,
Nov 26, 2015, 6:57:05 PM11/26/15
to devT...@googlegroups.com
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Carl McGrath

unread,
Nov 26, 2015, 10:37:45 PM11/26/15
to TinyG Development
The 11771 is a non-inverting buffer, similar to 12009.
You need to invert the logic sense of the SPIN lead for compatibility with the SuperPID interface.

I did a quick look via Google, don't find any pre-mounted inverter breakout devices.
Perhaps someone has found such and will stop by.
Do you have and small npn transistors in your junk box? Can be a fairly simple circuit
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

prometheus3dp

unread,
Nov 26, 2015, 10:55:07 PM11/26/15
to devT...@googlegroups.com
I do not. I am ready to purchase what is needed but would like to use a BOB for easier construction and more pleasant on the eye and knowing it was constructed in a more robust package. If you could give me a list or show me an option for a chip that I can use with this board, it is all downhill from there :)


I suppose I COULD just get the chip that was previously linked and bend the legs to accommodate the SM pads.

Carl McGrath

unread,
Nov 27, 2015, 6:59:08 AM11/27/15
to TinyG Development
This would be one of many possible options
 http://www.digikey.com/product-detail/en/SN74AHCT04D/296-26412-5-ND/1566971
I did not double check dimensions.
Pull the datasheet and double check.
it is likely available in many places
You'll nee a fine tip iron to solder to BOB, but should be straight forward

prometheus3dp

unread,
Nov 30, 2015, 10:40:13 PM11/30/15
to devT...@googlegroups.com
 
soldered up my chip to the BOB. Connection tomorrow to see if it will work :)

Carl McGrath

unread,
Dec 1, 2015, 6:36:30 AM12/1/15
to devT...@googlegroups.com
You took the DIP route; should work just fine

BUT, double check the data sheet, I believe the notch on the package is at the Pins 1 & 14 end, so you have the package reversed 180 degrees.
Should still work, but you can't use the BOB's numbers


On 11/30/2015 10:39 PM, prometheus3dp wrote:
    
 soldered up my chip to the BOB. Connection tomorrow to see if it will work :)


Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone

-------- Original message --------
From: Carl McGrath <cmcgra...@gmail.com> 
Date: 11/27/2015  6:59 AM  (GMT-05:00) 
To: TinyG Development <devT...@googlegroups.com>
 
Subject: Re: TinyG with Super-PID 

This would be one of many possible options http://www.digikey.com/product-detail/en/SN74AHCT04D/296-26412-5-ND/1566971I did not double check dimensions.Pull the datasheet and double check.it is likely available in many placesYou'll nee a fine tip iron to solder to BOB, but should be straight forward

On Thursday, November 26, 2015 at 10:55:07 PM UTC-5, Custom Creations wrote:
    
I do not. I am ready to purchase what is needed but would like to use a BOB for easier construction and more pleasant on the eye and knowing it was constructed in a more robust package. If you could give me a list or show me an option for a chip that I can use with this board, it is all downhill from there :)
https://www.adafruit.com/product/1210
I suppose I COULD just get the chip that was previously linked and bend the legs to accommodate the SM pads.

Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone

-------- Original message --------
From: Carl McGrath <cmcgra...@gmail.com> 
Date: 11/26/2015  10:37 PM  (GMT-05:00) 
To: TinyG Development <devT...@googlegroups.com>
 
Subject: Re: TinyG with Super-PID 

The 11771 is a non-inverting buffer, similar to 12009.You need to invert the logic sense of the SPIN lead for compatibility with the SuperPID interface.
I did a quick look via Google, don't find any pre-mounted inverter breakout devices.Perhaps someone has found such and will stop by.Do you have and small npn transistors in your junk box? Can be a fairly simple circuit

On Thursday, November 26, 2015 at 6:57:05 PM UTC-5, Custom Creations wrote:
    
What about this option?https://www.sparkfun.com/products/11771
You received this message because you are subscribed to a topic in the Google Groups "TinyG Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/devTinyG/PwFEGvRXqo4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to devTinyG+u...@googlegroups.com.

prometheus3dp

unread,
Dec 1, 2015, 11:27:55 AM12/1/15
to devT...@googlegroups.com
There isn't a notch on this chip, it is the white bar on the side of 1&14 so it should be soldered correctly. Never seen a chip when soldered correctly, the writing is upside down so I think I am safe ;)

Carl McGrath

unread,
Dec 1, 2015, 11:38:00 AM12/1/15
to TinyG Development
Gotcha, quick look sees a notch above the C - 1 in the SOIC-14, but could be white on board and a shadow/whatever.

Good luck



On Tuesday, December 1, 2015 at 11:27:55 AM UTC-5, Custom Creations wrote:
There isn't a notch on this chip, it is the white bar on the side of 1&14 so it should be soldered correctly. Never seen a chip when soldered correctly, the writing is upside down so I think I am safe ;)



Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone


-------- Original message --------
From: Carl McGrath <cmcgra...@comcast.net>
Date: 12/1/2015 6:36 AM (GMT-05:00)
To: devT...@googlegroups.com
Subject: Re: TinyG with Super-PID

You took the DIP route; should work just fine

BUT, double check the data sheet, I believe the notch on the package is at the Pins 1 & 14 end, so you have the package reversed 180 degrees.
Should still work, but you can't use the BOB's numbers

On 11/30/2015 10:39 PM, prometheus3dp wrote:
    
 soldered up my chip to the BOB. Connection tomorrow to see if it will work :)


Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone

-------- Original message --------
From: Carl McGrath <cmcgr...@gmail.com> 
Date: 11/27/2015  6:59 AM  (GMT-05:00) 
To: TinyG Development <dev...@googlegroups.com> 
Subject: Re: TinyG with Super-PID 

This would be one of many possible options http://www.digikey.com/product-detail/en/SN74AHCT04D/296-26412-5-ND/1566971I did not double check dimensions.Pull the datasheet and double check.it is likely available in many placesYou'll nee a fine tip iron to solder to BOB, but should be straight forward

On Thursday, November 26, 2015 at 10:55:07 PM UTC-5, Custom Creations wrote:
    
I do not. I am ready to purchase what is needed but would like to use a BOB for easier construction and more pleasant on the eye and knowing it was constructed in a more robust package. If you could give me a list or show me an option for a chip that I can use with this board, it is all downhill from there :)
Reply all
Reply to author
Forward
0 new messages