napierzaza Posted May 20, 2008 Report Share Posted May 20, 2008 So do I need to affix 220 Ohm resistors if I'm using J5?I hope not, I'm out! Quote Link to comment Share on other sites More sharing options...
nILS Posted May 20, 2008 Report Share Posted May 20, 2008 I guess that depends on what you wanna use J5 for. Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 20, 2008 Author Report Share Posted May 20, 2008 Sorry, DOUT. Quote Link to comment Share on other sites More sharing options...
nILS Posted May 20, 2008 Report Share Posted May 20, 2008 Yes, you want the resistors. Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 21, 2008 Author Report Share Posted May 21, 2008 Sh*t.Thanks. Quote Link to comment Share on other sites More sharing options...
nILS Posted May 21, 2008 Report Share Posted May 21, 2008 Not really a problem, you can just solder the resistors directly to the LEDs, so you don't have to change anything on the Core itself. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted May 21, 2008 Report Share Posted May 21, 2008 I guess that depends on what you wanna use J5 for.Sorry, DOUT.Yes, you want the resistors.You might want them as pullups if it's being used as a DIN too.... Sorry, OT, but just trying to be informative :) Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 21, 2008 Author Report Share Posted May 21, 2008 So you can use J5 for DIN as well? How useful is using it for analog inputs? I was thinking of possibly a joystick but there isn't much on that in the documentation. Has anyone been very successful with this? I'd like to know how useful it might be. Quote Link to comment Share on other sites More sharing options...
seppoman Posted May 21, 2008 Report Share Posted May 21, 2008 So you can use J5 for DIN as well?yes :)How useful is using it for analog inputs? I was thinking of possibly a joystick but there isn't much on that in the documentation. Has anyone been very successful with this? I'd like to know how useful it might be.Very ;D Actually, connecting analog stuff is the original purpose of J5. (mis)using it as DIN or DOUT is the special case. Try searching the forum for "Joystick", there should be some results.S Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 21, 2008 Author Report Share Posted May 21, 2008 Okay, so I've been thinking, and possibly having a LFO or Filter joystick control might be very interesting. However I'm getting a lot of static on my searches because most of the stuff about it are from 1.7 or lower SID firmwares; and from what I can tell it's remarkably different now. I basically have one joystick I might use for LFO(because I have no panel controls for that) or the Filter (maybe replacing some of my panel controls?).Does anyone have any pertinent SID 2.0 information?EDIT: from what I can tell there are options in the setup_*.asm for different AOUT options. However I noticed that everything is separated. What I'd like is to have one joystick, and let's say, oscilator select buttons to shift what it's controlling. That way I might even be able to control LFO, OSC, and Filters by including a joystick and the selection buttons one the panel instead of 12-ish sticks. Quote Link to comment Share on other sites More sharing options...
TK. Posted May 21, 2008 Report Share Posted May 21, 2008 As you already noticed, the old programming examples are obsolete. The usage of up to 8 pots (or 4 joysticks) is natively supported by the V2 CS; each pot can be assigned to two parameters with a definable min/max range. The information is stored in a patch, which means: for each patch you can optimize the parameter mapping and range for best live usage.Unfortunately, your exact usecase isn't natively supported. There isn't a button which allows you to switch between parameter sets (this would be difficult to realize with the current code, too many places which need to be changed), but maybe you like the already implemented solution much more? Parameter assignments can be easily changed in the Knobs menu.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 21, 2008 Author Report Share Posted May 21, 2008 Thanks very much for the answer Thorsten.So does this mean that I can add one Pot to J5 and then Assign it dynamically through the CS menus? This is good.Is there anyway to activate only 4 J5 pins for AOUT, and use the other for for DOUT? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted May 22, 2008 Report Share Posted May 22, 2008 Is there anyway to activate only 4 J5 pins for AOUT, and use the other for for DOUT?Oops I may have just screwed up... I was editing the subject to say DOUT instead of AOUT... In your above quote did you mean 4 for AIN and 4 for DOUT?What's the actual aim here? Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 22, 2008 Author Report Share Posted May 22, 2008 This is correct. I'd like to install a joystick into my box. Assuming 4 AOUT connections, or two for each pot. After that I need the last 4 pins for DOUT for some LEDs for the Filter module. Quote Link to comment Share on other sites More sharing options...
seppoman Posted May 22, 2008 Report Share Posted May 22, 2008 AOUT is not possible via J5. But I think that you're mixing up the terms. Pots are always connected to AIN! And each pot only needs one AIN pin.S Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 22, 2008 Author Report Share Posted May 22, 2008 Oh my, yes, correct again. Sorry sorry sorry. I've lost much sleep.So then... Is there a way to have TWO of J5 work as AIN and the remaining 6 work as a functional DOUT? Quote Link to comment Share on other sites More sharing options...
TK. Posted May 22, 2008 Report Share Posted May 22, 2008 If ADCON1.PCFG is set to 0xd instead of 0x6 (see PIC18F4685 datasheet), this should work. But I don't know, how much additional noise will be added to the analog inputs - the pots could start to jitter.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
napierzaza Posted May 22, 2008 Author Report Share Posted May 22, 2008 Okay thanks, I think I might not go with a joystick then.I appreciate the information. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted May 23, 2008 Report Share Posted May 23, 2008 This is about 99% offtopic distraction: You could run an AOUT from J5... But I'm sure seppo is right, and you mean AIN.DIN = Digital Input = On/Off input, EG a switchDOUT = Digital output = On/Off output, EG, an LEDAIN = Analog input = 0V...5V input, EG, a pot (a joystick is two pots)AOUT = Analog Output = 0V...5V output, EG, a CV output Quote Link to comment Share on other sites More sharing options...
seppoman Posted May 23, 2008 Report Share Posted May 23, 2008 This is about 99% offtopic distraction: You could run an AOUT from J5... But I'm sure seppo is right, and you mean AIN.yeah you're of course right - only in the sense that you could connect the digital control lines for an AOUT module there. But there's no reason to do so, and in contrast to the other variants the J5 pins themselves can't output analog voltages. That's what I meant :)S 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.