Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 25 of 58

Thread: Reading a 1Mhz -15V to Gnd clock

Threaded View

  1. #1
    Member
    Join Date
    May 2019
    Location
    Brisbane, QLD
    Posts
    50

    Reading a 1Mhz -15V to Gnd clock

    Hi,

    I'm very new to teensy but thought it could help me with a midi retrofit project.

    I chose the Teensy++ 2.0 due to the 5V tolerance & the number of digital I/O's. I'm working with a Keyboard/Organ that I'm hoping to interface the teensy into by means of reading its (the keyboard's) clock signal. *This is so i can spit out logic signals back to the keyboard.

    The clock signal is 1Mhz, that swings from -15V (Low) to 0V (High), the High & Low cycles each 0.5us. *see attachment

    I figure i will just need to do a simple resistor voltage divider to get that -15V (low) down to -5V, but will I also then have to invert the voltage to +5v with an opamp, or can the Teensy++ 2.0 handle negative voltages on it's I/O pins?

    Just so I know I'm not barking up the wrong tree, this board should be able to track/follow a 1mhz external clock?

    Thank you
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	clock.jpg 
Views:	6 
Size:	36.5 KB 
ID:	16593  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •