Hello, usually I figure out the problem 5 minutes after I post, but here goes:
I built a Magic Midi Delay on my breadboard with 8 non-detented encoders and one detented encoders. The only code I changed is the pin assignments for the encoders. When I first turn it on, I get all kinds of jitter, with the screen going back and forth between the transpose and BPM menus. After about 30 seconds, the jitter stops and everything works perfect.
I have tested the encoders with the enc_3 test and they work great. Is there any other code I have to change?
In the Main.Asm file I have:
#define USE_POTS 0
So I shouldn’t have any problem with the AIN pins - correct? I have tried grounding RA0-3,5 and RE 0-2, but this doesn’t help. I have also tried the Midibox TC and it works fine too. Any ideas?
The table should be ok, so I guess that either your modification hasn’t been assembled/uploaded correctly, or the DIN chain isn’t terminated.
To check the software: open “mmd_display.inc” and change some characters in TEXT_DLY_0, TEXT_TRANSP_0, TEXT_CHN_0, TEXT_CFG_0 — just to ensure that the modified code has been uploaded
To check the hardware: ensure that the SER input of the last 74HC165 is terminated with a 10k pull-up resistor.
You could also upload the ain64_din128_dout128 application to check if there are floating pins (open inputs)
Thanks for your help Thorsten - you hit the nail on the head. I had some 1k resistors in place of the 10k’s. I guess I can’t trust my bag of 10k resistors from mouser. It doesn’t help that I am halfway color-blind either!