Jump to content

Janis1279

Members
  • Posts

    287
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Janis1279

  1. Hi kogz23,

    Nice work !

    What you are thinking about :

    DIN_ENTRY CS_MENU_BUTTON_Exec , 16+5 , 3

    function

    Are you trying to use it too ?

    The building my own CS is my next step too .

    Regards,

    Janis

  2. Hi,

    From the Wiki pages

    "Control Surface Wiring

    These describe the wiring of the control surface PCB. They can be used as a guide for constructing your own control surface. You can freely assign LEDs and switches to the matrix, but for the best performance in the firmware, the Modulation Matrix LEDs should be wired with common cathodes in vertical columns, so that the LED matrix will illuminate one column of 8 LEDs each shift register update.

    LEDs and switches marked with an asterisk (*) are V2-specific features or just things I added for my own use. Refer to http://www.ucapps.de..._manual_fp.html for more information.

    BTW I just noticed my CS DOUT wiring PDF is wrong… “LFO Sin†and “LFO Tri†are swapped and “Syncâ€, “CCâ€, “Editâ€, “Play†are in the wrong order (should be “Playâ€, “Editâ€, “CCâ€, “Syncâ€)

    EDIT 2 - The menu button should be at the intersection of “JD8-D3 & JD5-D3†NOT “JD8-D3 & JD5-D4â€

    http://www.midibox.o...dout_wiring.pdf

    http://www.midibox.o..._din_wiring.pdf

    The rotary encoders are connected directly to the first four DIN modules on the base PCB (i.e. JD1 to JD4) as per the normal way of connecting rotary encoders to DIN modules. Just like the LEDs and switches, you can assign them to any pins of DIN modules and configure this in the table in the .asm file.

    http://www.midibox.o...der_assignments "

    Regards,

    Janis

  3. Hi,

    I have completed my MB6582 Base PCB and I did some voltage checks (I went for option B, the original C64 power supply). I haven't installed any IC's so far !

    What you can not see on the first picture are the following checks:

    J3 (5V) -> 5,33 V

    J25 (9-11V) -> 14,28 V -> is this still ok ?

    C12 (9V) -> 8,97 V

    I made a mistake in the beginning when I checked J25. Unfortunately I slipped off with the contact and created a short on J25 (for a very short moment). After this I check all the points above with the result:

    5 V check points -> 5,33 V

    9 V check points -> 8,98 V (regarding the SID's: depending on the jumper - I have tested both positions, 9V and 12V)

    12 V check points -> 11,82 V (regarding the SID's: depending on the jumper - I have tested both positions, 9V and 12V)

    I wonder if I have damaged the two big capacitors close to the voltage regulators ? I mean the measurements look quite ok, apart from the J25 which has 14,28 instead of 11 V. Do you think I can carry on with the board, or do I need to exchange the capacitors or the voltage regulators ?

    Your advise is much appreciated !

    Cheers

    orange

    Hi,

    14,28V on J25 pins instead of 11 V is ok ! This voltage is formed from : Your PSU ~9V out - bridge rectifier - filter electrolytic capacitor - voltage on J25

    The other voltages look right, too.

    Regards ,

    Janis

  4. Hi,

    This HowTo describes the required procedure to edit the code and to build a new .hex file.

    For editing you need to open the setup_sammich_sid.asm file with the Wordpad in the Windows OS.

    Here is a default button section

    
    
    
    CS_MENU_DIN_TABLE
    
    
    ;; Function name SR# Pin#
    
    
    DIN_ENTRY CS_MENU_BUTTON_Dec, 0, 0 ; only valid if rotary encoder not assigned to these pins
    
    DIN_ENTRY CS_MENU_BUTTON_Inc, 0, 0 ; (see MIOS_ENC_PIN_TABLE) and CS_MENU_USE_INCDEC_BUTTONS == 1
    
    DIN_ENTRY CS_MENU_BUTTON_Exec, 2, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Sel1, 1, 4
    
    DIN_ENTRY CS_MENU_BUTTON_Sel2, 1, 5
    
    DIN_ENTRY CS_MENU_BUTTON_Sel3, 1, 6
    
    DIN_ENTRY CS_MENU_BUTTON_Sel4, 1, 7
    
    DIN_ENTRY CS_MENU_BUTTON_Sel5, 1, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Sel6, 0, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
    
    DIN_ENTRY CS_MENU_BUTTON_Sel7, 0, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
    
    DIN_ENTRY CS_MENU_BUTTON_Sel8, 0, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
    
    DIN_ENTRY CS_MENU_BUTTON_Sel9, 0, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
    
    DIN_ENTRY CS_MENU_BUTTON_Sel10, 0, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
    
    DIN_ENTRY CS_MENU_BUTTON_SID1, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_SID2, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_SID3, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_SID4, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Shift, 2, 2 ; was: link button
    
    DIN_ENTRY CS_MENU_BUTTON_CC_PageUp, 2, 1 ; combined CC/PageUp -- CC actived together with shift button (no error)
    
    DIN_ENTRY CS_MENU_BUTTON_Edit_PageDown, 2, 3 ; combined Edit/PageDown -- Edit actived together with shift button (no error)
    
    DIN_ENTRY CS_MENU_BUTTON_Osc_Sel, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Osc_Ctrl, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Osc_Wav, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Osc_RS, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_LFO_Sel, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_LFO_Wav, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Env_Sel, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Env_Ctrl, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Fil_Sel, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_Fil_Mod, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_O1Ptch, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_O2Ptch, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_O3Ptch, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_O1PW, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_O2PW, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_O3PW, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_Filter, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_E1, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_E2, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_L1, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_L2, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_L3, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_L4, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_L5, 0, 0
    
    DIN_ENTRY CS_MENU_BUTTON_M_L6, 0, 0
    
    
    ;; new for MBSID V2 (additional ***optional*** buttons)
    
    ;; don't worry, you still have full access to all functions w/o these buttons!
    
    ;; note that you could also re-arrange the pin assignments if required (e.g. if you don't like a certain button function)
    
    DIN_ENTRY CS_MENU_BUTTON_M_Vol, 0, 0 ; matrix: button below M_Filter
    
    DIN_ENTRY CS_MENU_BUTTON_Play, 1, 3 ; direct access to play function
    
    DIN_ENTRY CS_MENU_BUTTON_SID_LR, 0, 0 ; direct access to L/R toggling
    
    DIN_ENTRY CS_MENU_BUTTON_M_Mode, 0, 0 ; direct access to meter on/off function
    
    DIN_ENTRY CS_MENU_BUTTON_Fil_ExtIn, 0, 0 ; direct access to Filter ExtIn Flag
    
    DIN_ENTRY CS_MENU_BUTTON_Sync, 0, 0 ; jumps to ENS->CLK menu
    
    DIN_ENTRY CS_MENU_BUTTON_Arp, 1, 1 ; enables/disables the arpeggiator of *all* oscillators
    
    DIN_ENTRY CS_MENU_BUTTON_Knob, 1, 2 ; changes to knob menu
    
    
    ;; sammichSID buttons (SR#, Pin#) are F1=1,3 F2=1,2 F3=1,1
    
    
    ;; don't remove this "end-of-table" entry!
    
    DIN_ENTRY_EOT
    
    

    Changed it for you and recompiled .

    Regards,

    Janis

  5. Hi,

    Finally I made my power supply like the C64 power supply with the 2 output voltages. The +5 VDC part is realised as in the picture "5V,7,5A Regulator" with the SD1084 chip (the similar chip by another manufacturer) in TO220 case .

    There are the 5 amp diode bridge and the 4700uF capacitor in my schematic input part, too.

    I used the case from an old PC 200W power supply.

    The MB6582 is powered like the http://www.ucapps.de...u_optimized.pdf - "PSU option B".

    Regards,

    Janis

    LT1083.pdf

  6. first I wired up the 8, then only 4 and D0-D3 from the LCD to ground and D0-03 from CORE open. The strange thing is it doesn't get stuck when I move the data dial, but when I use the selection matrix or the v-pots it gets stuck after 3 seconds ... I don't understand why, please any help? Thank you for your reply.

    Wiring Diagram: mbhp_lcd_mios8.pdf

    If a PIC18F4685 is used in the project (-> MIDIbox SID V2), the LCD is accessed in 4bit mode. Accordingly, the data pins D0/D1/D2 and D3 should be left open at core and LCD side (don't connect them to ground!) - see mbhp_lcd_4bit_mios8.pdf

  7. edit:

    i'm talking about the sidV2 firmware, latest revison (.37), and it has worked fine before.

    Hi Roger ,

    May be I am wrong. My midibox source files are on the another PC .

    I remember. When I connected 4x20 LCD to the sidV2 with setup_6581.asm (setup_6581.hex) I had problems with the displaying all 4 lines. Then I changed this part :

    
    ;; LCD line -> cursor offsets
    
    #define DEFAULT_LCD_LINE_Y0 0x00
    
    #define DEFAULT_LCD_LINE_Y1 0x40
    
    #define DEFAULT_LCD_LINE_Y2 0x14
    
    #define DEFAULT_LCD_LINE_Y3 0x54
    
    
    with the similar part from the setup_6582.asm file
    
    ;; LCD line -> cursor offsets
    
    #define DEFAULT_LCD_LINE_Y0 0x40
    
    #define DEFAULT_LCD_LINE_Y1 0x14
    
    #define DEFAULT_LCD_LINE_Y2 0x00
    
    #define DEFAULT_LCD_LINE_Y3 0x54
    
    

    It helps for my setup.

    Regards,

    Janis

  8. Hi,

    I never built any clockbox. But when I building my MB808 , I reading more about bpm digits.

    In the main.h file after this

    // define the dout register which should be used to display the status of
    
    // the 8 outputs (which clocks are running)
    
    // 0: disabled
    
    // 1..16: DOUT shift register 1..16
    
    #define MULTI_CLOCK_STATUS_DOUT_SR 1
    
    

    you need to define the additional DOUT SRs like this

    #define DEFAULT_BPM_DIGITS_ENABLED ... ;; 1 or 2 depending which type of the 7 segment displays you have

    #define DEFAULT_BPM_DIGITS_SEGMENTS 2 ;; SR 2 for the displays segments pins

    #define DEFAULT_BPM_DIGITS_COMMON 3 ;; SR 3 for the displays common pins

    Sorry , I do not know more.

    Regards,

    Janis

  9. Hi,

    In the MIDIBOX FM user manual you can read comment to the front panel functions :

    ... "The huge number of parameters restricts the flexibility in possible configurations. E.g., the use of a 2x40 LCD is strongly recommended so that the patch names of all instruments are visible on the main screen. In some submenus the parameters are arranged in a way which makes a quick access to relevant values only possible if eight values are visible (and selectable via soft-buttons) at once - example: the EG5 envelope page with the parameters Attack - AttackLevel - Decay1 - DecayLevel - Decay2 - Sustain - Release - Curve -..." in the leftmost view, and all depths in the rightmost view of the page. With a 2x16 display only three menu entries are visible, with a 2x20 display only four. "...

    Regards,

    Janis

  10. Hi

    About resistor networks right orientation you can read in the point 12 :

    These are 5 or 6 pin common bus resistor networks, in which one pin is “common†and is connected to all the other pins via resistors. The dot indicates pin 1 (the common pin), which goes in the square pad (left-side) directly above/below the component identifier (eg. “R31â€). Do not get a 6-pin resistor network which is three isolated resistors connected to three pairs of pins. The correct one is Mouser part 264-10K-RC. If buying elsewhere, I believe if given a choice between parts with an “A†or “Bâ€, the “A†means “common bus†and “B†means “isolatedâ€. (See here: http://au.mouser.com/catalog/636/619.pdf)

    From the MB6582 parts list :

    http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_6582_parts_list

    It's easy to check the resistor network's common pin orientation with the multimeter , too . In the 20Kohm measuring scale.

    Regards,

    Janis

  11. To 2) really strange issue, I never saw this on one of my own LCDs.

    However, there aren't so many lines which have to be changed:

    
    
    mm:midibox_fm_v1 TK$ grep \'\|\' src/*
    
    src/cs_menu.inc:    movlw    '|'
    
    src/cs_menu.inc:    movlw    '|'
    
    src/cs_menu.inc:    movlw    '|'
    
    src/cs_menu.inc:    movlw    '|'
    
    src/cs_menu.inc:    movlw    '|'
    
    src/cs_menu.inc:    movlw    '|'    
    
    src/cs_menu.inc:    movlw    '|'
    
    src/cs_menu.inc:    movlw    '|'
    
    
    Hi Thorsten, Thank you very much for your help ! And the main instrument page view I changed, too
    
    ;; STRING 40, 0x00, "Ens.|I|Ptch|Name | Chn.|Audio"
    
    STRING 40, 0x00, "Ens. I Ptch Name Chn. Audio"
    
    

    I have Bolymin LCDs .

    Best Regards, Janis

  12. Hi Thorsten,

    1. I made some changes in code for the pic18f4685 for the 4 x OP and 4 x INS buttons. These buttons look like working right now. But I don't know how correct are the code changes total(y).

    the code part from the cs_menu_buttons.inc :

    before:

    ;; CS_MENU_BUTTON_InsOP1

    ;; movlw 0

    ;; rgoto CS_MENU_BUTTON_InsOP_Cont

    ;; CS_MENU_BUTTON_InsOP2

    ;; movlw 1

    ;; rgoto CS_MENU_BUTTON_InsOP_Cont

    ;; CS_MENU_BUTTON_InsOP3

    ;; movlw 2

    ;; rgoto CS_MENU_BUTTON_InsOP_Cont

    ;; CS_MENU_BUTTON_InsOP4

    ;; movlw 3

    ;; rgoto CS_MENU_BUTTON_InsOP_Cont

    changed to :

    CS_MENU_BUTTON_Ins1

    bcf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 0

    rgoto CS_MENU_BUTTON_InsOP_Cont

    CS_MENU_BUTTON_Ins2

    bcf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 1

    rgoto CS_MENU_BUTTON_InsOP_Cont

    CS_MENU_BUTTON_Ins3

    bcf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 2

    rgoto CS_MENU_BUTTON_InsOP_Cont

    CS_MENU_BUTTON_Ins4

    bcf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 3

    rgoto CS_MENU_BUTTON_InsOP_Cont

    CS_MENU_BUTTON_OP1

    bsf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 0

    rgoto CS_MENU_BUTTON_InsOP_Cont

    CS_MENU_BUTTON_OP2

    bsf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 1

    rgoto CS_MENU_BUTTON_InsOP_Cont

    CS_MENU_BUTTON_OP3

    bsf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 2

    rgoto CS_MENU_BUTTON_InsOP_Cont

    CS_MENU_BUTTON_OP4

    bsf CS_MENU_MODE, CS_MENU_MODE_INS_OP

    movlw 3

    rgoto CS_MENU_BUTTON_InsOP_Cont

    2. Where I can change the columns separation sign - " | ". Or how I can it correct to this view : " | ".

    On the my LCDs I see "12" instead of " | " for the MBFM and for the MBSid.

    In the previous MBFM v1_1 I deleted these signs in the cs_menu.inc , if I remember it true.

    Thanks for your advice !

    Regards,

    Janis

  13. 3. the encoder is not needed but at least 1 for controlling the menu would be nice.

    i saw this on the internet: http://www.livepa.or...der=asc&start=0 (he uses normal pots and encoders)

    Hi demochx,

    In the setup_midibox64.asm file you can read about it :

    ...

    ; Datawheel for menu navigation/data entry connected or not?

    ; A datawheel can replace the left/right buttons!

    ; if -1: datawheel not connected

    ; if >= 0: encoder number assigned to datawheel function

    ; don't forget to check the pins of the datawheel in MIOS_ENC_PIN_TABLE (-> mios_tables.inc or setup_*.asm)

    ; it has to be connected to pin 4 and 5 by default

    #define DEFAULT_ENC_DATAWHEEL -1

    ...

    i`ll ask it this way: does the midibox64E support normal rotary pots?

    yes , it support pots

    ...

    #define DEFAULT_NUMBER_AIN 64

    #define DEFAULT_ENABLE_AIN_MUX 1

    ...

    Regards,

    Janis

  14. Thanks Thorsten !

    It's great!

    But I have a big problem with my 4 x OP + 4 x INS buttons ( totaly 8 buttons ).

    In the latest v1.3 the simply update for the v1.1 is not working here with a simple copy/paste function. I received the error messages for undefined operands.

    Is it possible to find the solution for 8 (OP + INS ) buttons ?

    Best Regards,

    Janis

  15. I use a crystal oscilator.

    The specification for the some 74 series logic ICs :

    74HC and 74HCT family characteristics: 74HC Supply: 2 to 6V, small fluctuations are tolerated.74HCT Supply: 5V ±0.5V, a regulated supply is best.Inputs have very high impedance (resistance), this is good because it means they will not affect the part of the circuit where they are connected. However, it also means that unconnected inputs can easily pick up electrical noise and rapidly change between high and low states in an unpredictable way. This is likely to make the IC behave erratically and it will significantly increase the supply current. To prevent problems all unused inputs MUST be connected to the supply (either +Vs or 0V), this applies even if that part of the IC is not being used in the circuit!
    Note that 74HC inputs cannot be reliably driven by 74LS outputs because the voltage ranges used for logic 0 are not quite compatible. For reliability use 74HCT if the system includes some 74LS ICs.Outputs can sink and source about 4mA if you wish to maintain the correct output voltage to drive logic inputs, but if there is no need to drive any inputs the maximum current is about 20mA. To switch larger currents you can connect a transistor.Fan-out: one output can drive many inputs (50+), except 74LS inputs because these require a higher current and only 10 can be driven.Gate propagation time: about 10ns for a signal to travel through a gate.Frequency: up to 25MHz.Power consumption (of the IC itself) is very low, a few µW. It is much greater at high frequencies, a few mW at 1MHz for example.74LS family TTL characteristics: Supply: 5V ±0.25V, it must be very smooth, a regulated supply is best. In addition to the normal supply smoothing, a 0.1µF capacitor should be connected across the supply near the IC to remove the 'spikes' generated as it switches state, one capacitor is needed for every 4 ICs.Inputs 'float' high to logic 1 if unconnected, but do not rely on this in a permanent (soldered) circuit because the inputs may pick up electrical noise. 1mA must be drawn out to hold inputs at logic 0. In a permanent circuit it is wise to connect any unused inputs to +Vs to ensure good immunity to noise.Outputs can <A href="http://www.kpsec.freeuk.com/components/ic.htm#sinksource">sink up to 16mA (enough to light an LED), but they can source only about 2mA. To switch larger currents you can connect a transistor.Fan-out: one output can drive up to 10 74LS inputs, but many more 74HCT inputs.Gate propagation time: about 10ns for a signal to travel through a gate.Frequency: up to about 35MHz (under the right conditions).Power consumption (of the IC itself) is a few mW.Regards,
    Janis

×
×
  • Create New...