Jump to content

Junkyseb

Members
  • Posts

    185
  • Joined

  • Last visited

Posts posted by Junkyseb

  1. Hi,

    As I need money and I don't have time to make a new midibox I sell few parts :

    • 2 Kit (PCB + all parts) DinX4 made by SmashTV -> 8€/kit

    • 24 encoder : 20€

    • 8 motorfaders ALPS RSAON11M9 "touch sensitive" 100mm : 145€

    I'm in france, I can send to the UE. Post fee are paid by the buyer ;-)

  2. Bonjour,

    j'ai passé pas mal de temps sur la construction des midibox mais aujourd'hui je n'ai plus assez de temps pour faire de l'électronique. Du coup, j'ai quelques pièces à vendre si ça en intéresse certains :

    • 4 Kit (PCB + pièces) DinX4 fabriqué par SmashTV -> 8euros/kit (les kits sont à souder)

    • 24 encoder rotatif : 20euros

    • 8 faders motorisés ALPS RSAON11M9 "touch sensitive" 100mm : 145euros

    N'hésitez pas à me contacter en MP ou à la suite de ce post si vous êtes intéressé !

  3. Thanks a lot Stryd_one for explaining. it's very clear now !

    Moxi, I have try with the other exemple and it work perfectly !

    Just one (last) question :

    My 4 first encoder send a value named GP controler 1(or 2, 3, 4) and the encoder 5 to 16 send value called undifined value... Why ???

    I search in every files and I didn't find... It's not a real problem but I love knowledge ;-)

  4. yeah, work in progress !

    I try to follow the moxi's post and I use the page http://www.ucapps.de/mios_c_send_enc_rel.html

    My encoders work... a little ! I mean when I turn one encoder I have this message in mios studio :

    B0 10 3D Channel 1 : CC GP Controller 1 value : 61

    The first problem is that the value is between 61 and 67... is it normal, I expected a value between 1 and 127...

    Idem for encoder 2, 3 and 4.

    for encoder 5,6,7,8  : Channel 1 : CC undefined  value : 65

    and the value is 65,66 or 67...

    Any Idea?

  5. sorry, but with my poor english I don't see what you mean...

    I'm not editing mios file, I try to edit the app file.

    My big mistake was that I forgot that MB64e could have only 64 switch...

    I have had a look at the encoder_table_in_c page but it's still not clear for me. I'm really noob in programmation. I've already manage to config my last midibox based on MB64E. But with the AIN64_DIN128 I d'ont understand why there's a Mios_enc_table.inc file because when I edit it it change nothing in the hex file. Do you see what I mean?

    I'm looking at the encoder_table_in_C page on the wiki and I see :

    makefile

    Add the â€-DDONT_INCLUDE_MIOS_ENC_TABLE†define:

    # pass parameters to MIOS wrapper

    MIOS_WRAPPER_DEFINES = -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f \

                          -DDONT_INCLUDE_MIOS_ENC_TABLE

    Does It mean that I have to edit the makefile file in order to make it like that ?:

    MIOS_PATH= .
    MIOS_BIN_PATH = .\bin
    export MIOS_PATH
    export MIOS_BIN_PATH
    include makefile.orig
    # pass parameters to MIOS wrapper
    MIOS_WRAPPER_DEFINES = -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f \
                           -DDONT_INCLUDE_MIOS_ENC_TABLE
    
    
    

    Sorry for my dummy question...

  6. well...

    is toolchain mean MSYS, gputils etc ??? if yes, everything is well install on my computer.

    No error while compile the app. The app work perfectly for the switch but the encoder are invisible for the app.

    I edit the main.h. I only notice that I have No AIN (my config : 1 core + 4DINX4)

    // $Id: main.h 234 2008-03-28 23:10:41Z tk $
    /*
     * Main header file
     *
     * ==========================================================================
     *
     *  Copyright <year> <your name>
     *  Licensed for personal non-commercial use only.
     *  All other rights reserved.
     *
     * ==========================================================================
     */
    
    #ifndef _MAIN_H
    #define _MAIN_H
    
    /////////////////////////////////////////////////////////////////////////////
    // Global definitions
    /////////////////////////////////////////////////////////////////////////////
    
    #define AIN_NUMBER_INPUTS      0    // number of used analog inputs (0..64)
    #define AIN_MUXED_MODE         0    // set this to 1 if AIN modules are used
    #define AIN_DEADBAND           7    // define deadband here (higher values reduce the effective resolution but reduce jitter)
                                        // 7 is ideal for value range 0..127 (CC events)
    
    #define NUMBER_OF_SRIO        16    // how many shift registers chained at the DIN/DOUT port (min 1, max 16)
    
    #define DIN_DEBOUNCE_VALUE    10    // 0..255
    #define DIN_TS_SENSITIVITY     0    // optional touch sensor sensitivity: 0..255
    
    /////////////////////////////////////////////////////////////////////////////
    // Global Types
    /////////////////////////////////////////////////////////////////////////////
    
    // status of application
    typedef union {
      struct {
        unsigned ALL:8;
      };
      struct {
        unsigned DISPLAY_UPDATE_REQ:1;  // requests a display update
      };
    } app_flags_t;
    
    
    /////////////////////////////////////////////////////////////////////////////
    // Export global variables
    /////////////////////////////////////////////////////////////////////////////
    extern app_flags_t app_flags;
    
    #endif /* _MAIN_H */
    Then editing the mios_enc_table.inc in the \include\asm :
    ; $Id: mios_enc_table.inc 69 2008-02-01 00:20:18Z tk $
    ;
    ; "Dummy" Configuration Table for Rotary Encoders
    ; 
    ; Should be included by the application, if no rotary encoders are connected
    ; in order to pre-initialize the table area with EOT's
    ; 
    ; ==========================================================================
    
    	org	0x3280		; never change the origin!
    
    ;; --------------------------------------------------------------------------
    ;; In this table DIN pins have to be assigned to rotary encoders for the
    ;; MIOS_ENC driver 
    ;; 
    ;; up to 64 entries are provided
    ;; 
    ;; The table must be terminated with an ENC_EOT entry. Unused entries should
    ;; be filled with ENC_EOT
    ;; 
    ;; ENC_ENTRY provides following parameters
    ;;    o first parameter: number of shift register - 1, 2, 3, ... 16
    ;;    o second parameter: number of pin; since two pins are necessary
    ;;      for each encoder, an even number is expected: 0, 2, 4 or 6
    ;;    o the third parameter contains the encoder mode:
    ;;      either MIOS_ENC_MODE_NON_DETENTED
    ;;          or MIOS_ENC_MODE_DETENTED
    ;;          or MIOS_ENC_MODE_DETENTED2
    ;;          or MIOS_ENC_MODE_DETENTED3
    ;;
    ;; Configuration Examples:
    ;;    ENC_ENTRY  1,  0,  MIOS_ENC_MODE_NON_DETENTED    ; non-detented encoder at pin 0 and 1 of SR 1
    ;;    ENC_ENTRY  1,  2,  MIOS_ENC_MODE_DETENTED        ; detented encoder at pin 2 and 3 of SR 1
    ;;    ENC_ENTRY  9,  6,  MIOS_ENC_MODE_NON_DETENTED    ; non-detented encoder at pin 6 and 7 of SR 9
    ;; --------------------------------------------------------------------------
    
    	;; encoder entry structure
    ENC_ENTRY MACRO sr, din_0, mode
    	dw	(mode << 8) | (din_0 + 8*(sr-1))
    	ENDM	
    ENC_EOT	MACRO
    	dw	0xffff
    	ENDM
    
    _MIOS_ENC_PIN_TABLE
    MIOS_ENC_PIN_TABLE
    	;; encoders 1-16
    	;;        SR  Pin  Mode
    	ENC_ENTRY  1,  0,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  1,  2,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  1,  4,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  1,  6,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  2,  0,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  2,  2,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  2,  4,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  2,  6,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  3,  0,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  3,  2,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  3,  4,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  3,  6,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  4,  0,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  4,  2,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  4,  4,  MIOS_ENC_MODE_DETENTED
    	ENC_ENTRY  4,  6,  MIOS_ENC_MODE_DETENTED
    
    	;; encoders 17-32
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    
    	;; encoders 33-48
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    
    	;; encoders 49-64
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    	ENC_EOT
    
    

    I compile the code by typing make in the command shell.

    I've an uptade of the project.hex and I load it in my PIC with mios studio...

    What's wrong ??? where is my mystake ?

    Thanks for your help

  7. Hi,

    i've got some problem with my midibox program.

    I made a ableton lives's control surface with 78 switch and 18 encoder. Of course I can't use the MB64E appli cause I have more than 64 switch...

    So I try to use the C program call AIN64_DIN128_DOUT_128 but I not manage to add the encoder. As I never progam in C I need some help.

    I try to edit the mios_enc_table.inc but it doesn't work when i recompile the program...

    Can you give me some hints please ???

  8. Ajouter un second core indépendant c pas compliqué certe, relié les 2 par contre je sais pas trop...

    Mais bidouillé l'appli n'est pas très compliqué, j'ai juste besoin d'un petit coup de main.

    Hier j'ai fait des test, tout mes bouton marche mais pas les encodeur. a force de diverses tentative j'ai réussi à compiler une appli ou les encodeur était reconnu comme des boutons...c'est que j'avance un peu.

    Maintenant si quelqu'un veut bien me donner la bonne méthode ça me ferait gagner du temps ;-)

  9. voilà un mois que je n'avais pu avancer sur la box...

    alors déjà j'ai eu des soucis entre les liaisons CORE et DIN car les nouveaux pcb de smash tv sont un peu bizarre mais passont !

    le harware est terminé à 99% et là j'ai découvert comme un abruti que la MB64E ne gère que 64 boutons or moi j'en ai 78... :-[

    auxquels il faut rajouter les 18 encoders...

    Bon comment je fais ???

    J'ai trouver une appli en C qui permet 128 entrée mais peut-on y rajouter les 18 encoder ??? si c'est possible et que quelqu'un veut bien m'expliquer comment ça serait sensationnel !

    Merci

  10. oui, j'achète les miens chez le même vendeur  ;)

    Par contre il n'y a pas de capuchon avec, pense bien à en prendre...

    C'est pas évident la midibox au début mais ça viens vite, c'est pas si compliqué que ça. Le problème c'est que qd tu es pas très doué en électronique dès qu'il y a un bug t'es dans la merde (je parle en connaissance de cause...)

  11. J'ai un peu l'impression d'etre tout seul dans mon post :-[

    Bon je vous met une photo de l'avancement d'hier : la mise en place des modules dans le boitier

    IMG_6204.jpg

    J'ai aussi fait la face arrière (pas encore de photo) avec l'arrivée de courant, un inter on/off et le midi in/out

    Aujourd'hui le plus dur : perçage de la face avant... je pense que j'en ai pour deux jours pour etre bien minutieux. surtout que je pense qu'il va y avoir un petit décalage entre mon gabarit photoshop et la réalité des bouton sur veroboard.

    D'ailleurs voici à quoi ça doit ressembler à la fin (les rond rouges sont les encoders): 

    midibox.jpg

  12. je comptais pas utiliser le J2, je vais faire le lien direct à l'entrée DC de la midibox. Mais est-ce que 500mA suffisent pour alimenter 2 midibox avec 2 LCD (pas une seule led par contre) ???

    Autre question :

    pour les boutons du MIOS ( gauche/droite/exec/snapshot) on peut les mettre où on veux ou ils ont une place obligatoire ??? y a-t-il un fichier à modifier pour indiquer sur quel SR ils sont cabler ???

  13. Salut,

    j'y avais bien penser mais comment faire des trou propre dans l'autocollant???

    Bon sinon je suis bloqué par un problème technique, les pannes de mon fer à souder fondent comme neige au soleil. La pointe disparait en quelques heures ce qui fait que maintenant je soude avec une extrémité de panne de 5mm ce qui n'est vraiment pas pratique... Je vais aller en acheter à Lyon la semaine prochaine. Je vais donc continuer à m'occuper du design de la face avant d'ici là.

    A ce sujet, savez vous où l'on peut trouver des image de tour d'encoder (je sais pas si je me fais bien comprendre) ou alors des pictogramme lecture, stop, mute etc... j'hésite encore entre les pictogramme et les mots en toutes lettres...

  14. Salut,

    J'ai reçu mes switch de hong kong et j'ai commencer à les souder sur le veroboard. Par contre c un peut galère pour faire les piste avec de l'étain donc j'ai changé de stratégie hier soir.

    //ment à ça je bosse le design de la façade sous photoshop. je vais faire imprimer mon visuel sur du transparent autocollant que je collerais sur la façade métallique du boitier PT-10 avant de tout percer proprement.

    Ma commande de smash tv est toujours en préparation, j'aimerai avoir fini l'usinage de la face avant et y avoir fixé les veroboard avec les switch d'ici à ce que les modules arrivent.

    Je vous poste des photos de la construction un peu plus tard.

×
×
  • Create New...