Thursday, 5 May 2016

opto isolator - how do I use H11L1 correctly to receive MIDI?


I was following this schematics. This is the first result on google images


enter image description here


My Arduino Serial Monitor received nothing. I tried to replace the H11L1 with LED, and it does blink. but as soon as I connected the H11L1 (while keeping the LED in parrarel and not connecting the H11L1 to anything else), the LED stops blinking. Tried with and without resistors, also tried to reverse the cable.
Then I plug out the H11L1, afraid to break my keyboard and the LED blinked again.


EDIT :
I was using Arduino Mega. I put it on reset mode by connecting Reset to GND. then I connected it like above and opened serial monitor. Nothing.

Also I don't use capacitor, so I edited the image a little.


Where do I start troubleshooting?


another edit, here goes my Arduino so far. Sorry for bad soldering.


enter image description here enter image description here


What I've tried so far :



  1. Reading the serial pin as a digital pin, without connecting the H11L1 to anything except the resistors, just like above. Always return 1.

  2. Tried to put multimeter on it, still returns 1, expected return is 0. Tried to turn on LED with it, the LED did turn on.


EDIT as of 03/28/2019



I changed Arduino Mega to Wemos D1, and H11L1 to PC900V (some source told me that it is the same IC)


After that, I connected that (still using the same schematics) to D2 instead of RX, and using this code to check it. Still no luck, whatever I did it still only returns 1.




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...