hserin and 16f876


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Yes I've been using an opto-isolator, but it was a 6n137. Does it make any difference with the 138 ?

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by novino View Post
    Yes I've been using an opto-isolator, but it was a 6n137. Does it make any difference with the 138 ?
    It may.

    The 137 has a higher input current requirement than the 138.
    And I think MIDI uses a 5mA current loop for it's signal, which is right at the absolute minimum specified for the 137.

    It may not be creating a good signal on the other side.
    Can't say for sure though.
    <br>
    DT

  3. #3
    Join Date
    Feb 2008
    Posts
    5


    Did you find this post helpful? Yes | No

    Thumbs up it works at last

    Ok, thanks to you I found the problem ! The 6n138 and 137 don't have the same wiring . I got it working with by correcting the connection of the opto isolator
    (basically, it's pin 5 to ground, 6 to Rx , 1,5kO res between 6and 7, and 7,8 to +5Vcc, the other pins are the same as 138)

    I still have speed issues. The datas are received, but at a very slow pace(about a good midi pack by second). Do you see any way to improve the speed, to get a more "real-time" application ?

Similar Threads

  1. Simple Hserin test
    By macinug in forum Serial
    Replies: 1
    Last Post: - 14th January 2009, 21:42
  2. Hserin
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 21st March 2006, 00:09

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

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