I/O question

From the original Synthetos forum (2011–2025)

Started by jimt on in TinyG Support. 3 replies, last activity Feb 6, 2016.

#

Is there any I/O on the tinyG V8 board? If so, is there a document which describes how to toggle this I/O in G-Code?

Also, I am not using PWM, but the red led labeled PWM is always on. Is there a way to turn this led off.

Thanks

#

Thank you for the response.

One bit would be a good start for me. If I understand correctly, by setting the value of:
$p1pof=0 pin voltage goes low (0.0 V)
$p1pof=1 pin voltage goes high (3.3 V)

Please tell me, for version V8, which pin on the board (maybe PWM terminal) goes high and low with $p1pof changes.

Jim

Staff #

Review the document URL above.
$p1p0f sets the off (0) state duty cycle of the PWM stream.
Valid range is 0 to 100% duty cycle, 0.0-1.0.
The pwm led you mention being lit is connected across the PWM pin to ground.
Look closely, there is an intensity difference between $p1pof=0.1 (the default value) and $p1p0f=1.0
PWM is a pulse stream, at frequency $p1frq (Hz) with Duty cycle determined by GCode S variable.

There are two available output pins, if you don't uses tinyG to control a spindle.

Coolant pin is always available, follows the Gcode (M7 or M8) and M9 commands

Spin is on/off, following M3 and M5 commands

All tinyG I/O is 3.3v logic

This topic is from the original forum (February 2016). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.