Jump to content
  • 0

mcc 152 TTL with external trigger of clock?




so far when I needed a TTL using the MCC152 I used a Python script loop to change the state of an output pin from low to high and back with a time command between them. 

with the GPIO pins of the Pi, one can generate a CMOS signal using a PWM command which is, I guess controlled by the Pi clock. But I can't do this at the TTL (0-5V) level.

is there a way to combine the two? using the CMOS PWM from the pi GPIO pins as an external trigger for TTL signal from the MCC 152? or using the clock of the pi? in other words, I need a way to generate a TTL from the mcc152 without setting high and low in every cycle. 


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

There is no hidden functionality that would allow you to combine the two to achieve a 5 volt PWM signal.  Instead, you could investigate how to add an external transistor to a GPIO so that when it is off, the collector (NPN) or source (FET) is pulled up to 5 volts via a pull-up resistor. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...