pkniffer Posted June 30, 2008 Report Share Posted June 30, 2008 Hi,I am about to upgrade to v2. so, in preparation, before i do anything else, i want to make the control surface.?s:i bought an encoder with pushbutton from smashTV. it has 5 pins, 3 on one side and 2 on the other. how do i find the specs so i know how to connect it to the digital input of my DINX4? which pin is for the button push? anddoes it matter how i order the buttons/encoder? should i put all the buttons first then the encoder?thanks !EDIT:yes, thanks everyone, it was of course a simple wiring issue. i had screwed up the J1:SI din to J9:SI connection, putting it instead to J1:S0.cool edit function. Quote Link to comment Share on other sites More sharing options...
pkniffer Posted June 30, 2008 Author Report Share Posted June 30, 2008 So i finished the panel, at least soldering the buttons to the veroboard.i have all the grounds of the buttons connected, all together, as illustrated in mbhp_32buttons.pdf.i connected my DINX4 to my CORE. i used alligator clips to test to see if the buttons would send data, and i get nothing.all the resistors are in place, in the correct orientation. two slots are stuffed. help ! Quote Link to comment Share on other sites More sharing options...
pkniffer Posted June 30, 2008 Author Report Share Posted June 30, 2008 pics:here you can see that the black wire is ground, and i connect the other leg of the button to a jumper so that i can obv keep the ribbon cleaner. what am i doing wrong?? Quote Link to comment Share on other sites More sharing options...
/tilted/ Posted June 30, 2008 Report Share Posted June 30, 2008 Hey pkniffer.Have you updated the io tables to match the new configuration?hint: the file you are looking for is one of these:setup_*.asm Quote Link to comment Share on other sites More sharing options...
dj3nk Posted June 30, 2008 Report Share Posted June 30, 2008 perhaps you soldered the buttons 90° instead normal. so you wouldnt switch. i made this failure once too. it needed a hole day to find that. take a multimeter and check if your buttons are switching. Quote Link to comment Share on other sites More sharing options...
pkniffer Posted June 30, 2008 Author Report Share Posted June 30, 2008 no, they switch, i checked with a meter./tilted/ - i don't understand your suggestion immediately, so i will dig. but, could you hint a bit more? Quote Link to comment Share on other sites More sharing options...
/tilted/ Posted July 1, 2008 Report Share Posted July 1, 2008 inside the .zip file that you downloaded from the ucapps.de site, ie:midibox_sid_v2_0_rc22.zipthere are a number of setup_*.asm files, ie:setup_mb6582.asmsetup_tk.asmsetup_tk2.asmthese files need to be modified (slightly) to suit your hardware layout, ie to tell the core which pins your switches and encoder are attached to.these files are then compiled into a single .hex file which is uploaded to your core via MIDI.details of how this is done are available on the wiki Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 4, 2008 Author Report Share Posted July 4, 2008 ok, i am stuck. it's sad because i thought i was totally going to solve this tonight, but i simply can't - i have uploaded the setup_6581.hex to my core. I am 1000% sure that the DIN4 module's 5 leads have good connection.i connected the button leads from my rotary encoder to J4:D6 (menu edit) and nothing happens.i connect it to all the other inputs, to see if i can change ANYTHING, nothing happens.J1:RC gives 4.99v.J1:SC gives 0.14vS0 gives 4.94-4.95Vd givs 4.99. Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 4, 2008 Author Report Share Posted July 4, 2008 i have upgraded my SID to v2.still no result from pushing buttons on DIN. uploaded setup_6581.hex Quote Link to comment Share on other sites More sharing options...
/tilted/ Posted July 4, 2008 Report Share Posted July 4, 2008 OK, i have spotted 1 wiring error.The orange wire on J1 of your DIN board is connected to the wrong point. The point it is connected to is the DOUT thru.Unsolder this point, and re-solder to the direct opposite point (ie, the middle of the other side of the header)[tt]J1:Vs VsVd VdSI SOSc ScRc Rc[/tt]You want to connect to SI, not SO.(Better yet, get a header socket, and plug it straight in)Then you can move on to the interconnection test.BTW, how is the SID board connected to the core? It looks a bit dodgy in the photo... Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 4, 2008 Report Share Posted July 4, 2008 You may like to test this with just the core and the LCD, running the ain64_din128_dout128 app. Correction: you should test it like that. Anything else is creating room for error (and fried parts) Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 4, 2008 Author Report Share Posted July 4, 2008 great ! thanks guys, i was wondering about that earlier... why there was SI on the other side of the header.the SId is connected dogily, yes, with only half a SIL. i lost the cap :)) but, it makes sounds. it works most of the time. i've even used it at 2 shows so far !once it wouldn't boot!will try this.thank you so much guys for the help, i couldn't enjoy life last night. Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 4, 2008 Author Report Share Posted July 4, 2008 how can one recompile in OSX? Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 4, 2008 Author Report Share Posted July 4, 2008 OK. I have changed the lead to S0 instead of SI.when i load the ain64_din128_dout128 app i get on the LCD:AIN DIN DOUTcrazy flashing numbers: 0 1o 1oi disconnected my veroboard to make sure there was no shorts. i connect only the button from the encoder.when i push it, nothing happens.damn.i try to connect it to the other registers to see if it's the first chip, nothing. Quote Link to comment Share on other sites More sharing options...
/tilted/ Posted July 5, 2008 Report Share Posted July 5, 2008 Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 5, 2008 Report Share Posted July 5, 2008 AUAIMBCTG (search it) ;) Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 5, 2008 Author Report Share Posted July 5, 2008 thanks!but if i ground the AINs; that's what is causing the inability for DINs? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 5, 2008 Report Share Posted July 5, 2008 One thing at a time ;)If the AINs are ungrounded the PIC goes nuts trying to process the constant changes it sees in the AIN pins.... But regardless you should always fix one thing at a time. See the GROT in my signature ;) Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 5, 2008 Author Report Share Posted July 5, 2008 yes you're right.. i did try to search for info about how to ground AIN input, and found nothing. will continue.Must i ground j5, j5a, and j5b? or just one will do all inputs? what is the best way to ground, with a SIL filled with solder?? :)_ Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 5, 2008 Report Share Posted July 5, 2008 j5a and b, are the same as j5, so you need only ground one or the other. You can do it however seems best to you really (sorry I always disable mine heh) Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 5, 2008 Author Report Share Posted July 5, 2008 and so yes, you disable them in code - i will find out how to recompile the .asm files to upload to MIOS?do i ground the of each Vd too? Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 5, 2008 Author Report Share Posted July 5, 2008 OK ! the AIN has stopped going crazy in ain64_din128_dout128 app. i did not ground the Vd pin.the SID pcb is disconnected.But, still nothing from the DIN. this is a bit insane.i must have a fried IC on the din !but none work..hm. Quote Link to comment Share on other sites More sharing options...
pkniffer Posted July 5, 2008 Author Report Share Posted July 5, 2008 WAIT /tilted/, you say that i made a mistake connecting J9:SI on the core to J1:S0 on the DIN, that I should move it to "directly across" the header - but it's not marked? is that correct? Quote Link to comment Share on other sites More sharing options...
nILS Posted July 6, 2008 Report Share Posted July 6, 2008 Glad that it works now. Btw, have you heard of the cool "edit" function that this forum has? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 6, 2008 Report Share Posted July 6, 2008 i did not ground the Vd pin.I'm glad, cause that would be a short circuit! (Vd is +5V in this case, see the wiki, search for Vdd)If you still have the DINs connected to the wrong pin, that's why they don't work. Don't sweat what's printed on the silkscreen of the PCB, get out the schematics and check. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.