Hi there,
I finaly assembled shruthi-1and it worked for like 30min and than all of the sudden midi stopped working. If i hold first button shruthi is generating sound, but is not responding for any midi keyboard ( i’ve tryied 3). It was working well, but for 30min. Any solution / similar situations ?
Thx
Maybe you’ve changed the MIDI channel the unit is receiving on? (by default it is 1).
Check that the optocoupler (6N137) is correctly inserted. You should read +5V on pin 6 of the chip at rest ; and this should drop down a bit whenever a MIDI message is sent (use the modwheel on your master keyboard to send many MIDI messages and observe the voltage drop).
There is something wrong with the optocoupler. Check that pin 5 is continuous with ground ; and that pin 8 is at +5V
Do you still see the same readings?
Are you sure the pin 5 of the 6N137 is grounded? It’s not enough to measure 0V on this pin, it needs to be continuous with another ground point. Rule out the MCU by removing it. Do you still observe the same voltage on pin5 of the optocoupler?
Yes. If it’s back to +5V (with drops when there’s MIDI traffic), it’s that the MCU incorrectly pull it down, probably due to a damaged UART circuit :(
If not, it’s certainly something around the 6N137…
UART is the circuitry inside the ATMega644P responsible for serial communications.
Maybe there’s a weak solder point on the 10k pull-up resistor? If you remove the 6N137, do you still have 0.34V?
With the 6N137 removed you should read a solid +5V at pin 6. Check that both ends of the 10k resistor are firmly soldered.
Sorry, I meant pin 6. You should read +5V at pin 6 with the optocoupler removed.
It’s meaningless to measure a resistor in circuit.
Your symptoms are not compatible with an ATMega problem ; and the fact that the problem is intermittent hints at a weak solder point on the optocoupler or around it.
No. The problem you see is very low-level (electrical, bad solder point or damaged component), not something that has to deal with software or the MIDI protocol.
It looks like you're new here. If you want to get involved, click one of these buttons!