electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Instruments and Equipment » General Discussion
Lexicon Vortex Repair
Post new topic   Reply to topic
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
elmegil



Joined: Mar 20, 2012
Posts: 1516
Location: Chicago
Audio files: 14

PostPosted: Wed Nov 27, 2013 7:40 pm    Post subject: Lexicon Vortex Repair
Subject description: encoders kaput
Reply with quote  Mark this post and the followings unread

I got a free Lexicon Vortex because two of the three encoders were on the fritz. After ignoring the warning that the encoders were unobtanium, and finding that to actually be the case, I came up with my own solution to the problem:

https://plus.google.com/102657837209811792502/posts/JBjb1sB3KHR

I haven't done a complete put-it-all-back-together test, but I expect to in the next few days. I wanted to stick my toe into the water and see if there would be any interest in the community at large for a solution to this problem without being able to buy the actual encoders.

the TLDR version is that I have a standard hex encoded switch/encoder, driving a PIC, driving transistors to emulate the original switch.

If there's enough interest, I'm interested in possibly making PCBs.... If not enough interest to be worth all that, but someone still needs help I'll be happy to share my stripboard layout and code. Testing the waters first though...

And no, I'm not going to post to Muff's until I've actually put it all back together and confirmed it, so this is sort of "pre-release" cos I know this community is not nearly so overwhelming Very Happy.
Back to top
View user's profile Send private message
elmegil



Joined: Mar 20, 2012
Posts: 1516
Location: Chicago
Audio files: 14

PostPosted: Wed Nov 27, 2013 10:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Good news, it works!

Bad news, the knobs don't fit and I broke an encoder trying to force it!

Embarassed
Back to top
View user's profile Send private message
KingVidiot



Joined: Jun 23, 2014
Posts: 5
Location: USA

PostPosted: Mon Jun 23, 2014 10:51 am    Post subject: Reply with quote  Mark this post and the followings unread

It's good to know there's a fix if I need it.

I picked up an old Vortex online that was in good shape, so for now I'm good. Thanks for sharing that info.

_________________
Veni, vidi, synthi...
Back to top
View user's profile Send private message
elmegil



Joined: Mar 20, 2012
Posts: 1516
Location: Chicago
Audio files: 14

PostPosted: Mon Jun 23, 2014 12:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

I never followed up, but yes, it works. Main downside is that the rotaries I used wouldn't fit the original knobs, so I just used standard heptagon knobs
Back to top
View user's profile Send private message
KingVidiot



Joined: Jun 23, 2014
Posts: 5
Location: USA

PostPosted: Mon Jun 23, 2014 4:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Nice work, the boards are very clean.

I'll take the specs, part list, etc. if you have it handy. I may need it in the future. Smile

_________________
Veni, vidi, synthi...
Back to top
View user's profile Send private message
elmegil



Joined: Mar 20, 2012
Posts: 1516
Location: Chicago
Audio files: 14

PostPosted: Mon Jun 23, 2014 9:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

I am travelling right now, so not handy. If I don't remember to post something this coming weekend, poke this thread again and I'll see it and take are of it.

The circuit itself is trivial, the hard part was figuring out the right encoding.

I've considered making PCBs and selling PCB+chip sets, but my Eagle/DipTrace/etc chops are not very good.
Back to top
View user's profile Send private message
marcfox



Joined: Jul 27, 2014
Posts: 1
Location: Leeds, UK

PostPosted: Sun Jul 27, 2014 5:46 am    Post subject: Reply with quote  Mark this post and the followings unread

I'd like to buy some of these! I love my vortex but she's become unplayable due to the rotary encoders dying. Might you be able to craft me three of these and send them over to the UK?
Back to top
View user's profile Send private message
marcocet



Joined: Aug 01, 2014
Posts: 1
Location: Brooklyn NY

PostPosted: Fri Aug 01, 2014 7:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Count me in too. I've been looking for a solution for well over a year now. I'd be totally comfortable building it myself if you'd share the schematic!
Back to top
View user's profile Send private message
elmegil



Joined: Mar 20, 2012
Posts: 1516
Location: Chicago
Audio files: 14

PostPosted: Fri Aug 01, 2014 7:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here's the source, this is currently coded for a PIC16F88 which is just what I happened to have on hand. I want to try recode for a PIC12F615 (got a bunch of these to use as noise generators using the Electric Druid code) and hopefully also work on using low-power mode so I'm not constantly sucking current just to do a wait loop.

Code:

/*
 * File:   vencoder.c
 * Author: petehartman
 *
 * Simple program to take std hex rotary switch input and translate it to drive
 * open collector outputs that follow the Vortex custom rotary pattern
 *
 * Used with appropriate hardware, this allows replacement of unavailable
 * rotary with standard rotary + PCB
 *
 * Created on November 17, 2013, 11:03 AM
 */

#include <stdio>
#include <stdlib>
#include <xc>

#include <pic16f88>

/* MCLRE_ON RA5/MCLR pin is MCLR (master clear)
 * CP_OFF Code Protection off
 * CPD_OFF Data Code Protection off
 * BOREN_OFF Brown Out reset off
 * WDTE_OFF Watchdog Timer off
 * PWRTE_ON Power on timer on
 * LVP_OFF Low Voltage Programming Enable
 * FOSC_INTOSCIO OSC pins are both I/O functions, use internal oscillator
 */
__CONFIG(MCLRE_ON & CP_OFF & CPD_OFF & BOREN_OFF & WDTE_OFF & PWRTE_ON & LVP_OFF & DEBUG_OFF & FOSC_INTOSCIO);
#define _XTAL_FREQ  8000000

//translation table, may need to rotate these values so they line up
// inverting the second nibbles, since this is going to open collector
static unsigned char table[] = {
0x04, 0x06, 0x07, 0x05, 0x01, 0x03, 0x0B, 0x09,
0x0D, 0x0F, 0x0E, 0x0C, 0x08, 0x0A, 0x02, 0x00
};


volatile unsigned char index;

void setup(void) {
    // for PIC16F88
    ANSEL = 0x00;
    OSCCON = 0x7C; // 8MHz, PWRTE from primary, frequency stable?? OSC defined by FOSC
    OSCTUNE = 0x00; // run at calibrated frequency
    OPTION_REG = 0x80; // disable PORTB pull ups explicitly; maybe use |=

    CMCON = 0x07; // all digital for PORTA
    TRISB = 0xFF; // inputs, probably redundant
    TRISA = 0x10; // outputs

    // first read
    index = PORTB;
    index &= 0xF0;
    index = index >> 4;
    PORTA = table[index];
    // enable interrupts
    // INTCON = 0x88; // set GIE & RBIE
    RBIE = 1;
    ei();
}

void interrupt ISR(void) {
    if (RBIF) {
        index = PORTB;
        index &= 0xF0;
        index = index >> 4;
        PORTA = table[index];
        RBIF = 0;
    }
}


int main(int argc, char** argv) {

    setup();

    for(;;) {
        //loop forever
    }
}
Back to top
View user's profile Send private message
elmegil



Joined: Mar 20, 2012
Posts: 1516
Location: Chicago
Audio files: 14

PostPosted: Fri Aug 01, 2014 8:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

DipTrace does not have the Grayhill 25LB22-H switch that I used, and I'm not having much luck finding any hex encoded rotaries in the libraries, so it may be a bit before I can make a full model.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Instruments and Equipment » General Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use