Jump to content

TK.

Administrators
  • Posts

    15,254
  • Joined

Everything posted by TK.

  1. Alright, so you need to adapt the encoder type at the bottom of the *.asm file. The encoders have to be connected to the 8th shift register (last one of the second DINX4 module) Best Regards, Thorsten.
  2. Nein, die Dioden werden genauso wie die Buttons nicht mitgeschickt. Es handelt sich hierbei ja auch um einen Sonderfall fuer die MIDIbox FM, bei keiner anderen MIDIbox sind (bis jetzt) Buttons zu einer Matrix zusammengeschaltet. Im Grunde handelt es sich hierbei um eine Sparmassnahme. Ich stand vor der Entscheidung, entweder ein weiteres DINX4 (oder DINX1) Modul hinzuzufuegen, oder die Taster so trickreich zusammenzuschalten, dass nur ein Input Pin benoetigt wird. Ich habe mich fuer letztes entschieden, auch wenn die Loesung etwas komplizierter ist (ich habe schon befuerchtet, dass irgendwann jemand darueber stolpern wird)... aber es funktioniert! Gruss, Thorsten.
  3. ok, aber das ist doch genau der Encoder, dessen Pinning im Schaltplan dokumentiert ist (in diesem eingerahmten Kaestchen). Die Verschaltung in Worten: wenn Du von oben draufschaust, und die Pins ebenfalls nach oben zeigen, dann befindet sich Masse am linken Pin, D0 (jeder Dateneingang mit gerade Nummer) in der Mitte, D1 (jeder Dateneingang mit ungerader Nummer) am rechten Pin. Hier habe ich ja bereits geschrieben, dass es vielleicht jemand anderes beschreiben muss, wenn der Schaltplan und diese Erklaerung unklar ist: Die 4 Buttons fuer die Zeilen werden an einem Pol zusammengeschlossen, und an J8:D1 gefuehrt. Die gegenueberliegenden Pole werden ueber Dioden (bspw. 1N4148) an J4:D2-D5 des DOUT Moduls angeschlossen oder... was genau ist hier unklar, dann kann ich es vielleicht nochmal genauer erklaeren. nein, es sind normale Dioden (siehe Wikipedia fuer eine genaue Erklaerung). Das gleiche Bauteil befindet sich bspw. am MIDI In des Core Moduls. Mir ist aufgefallen, dass ich diese Dioden nur im Schaltplan, nicht aber in der Partlist erwaehnt habe - mein Fehler - werde ich hinzufuegen Gruss, Thorsten.
  4. A MBHP version would have the advantage, that it could be adapted to other synths as well... and it doesn't require an EPROM burner ;-) Best Regards, Thorsten.
  5. Thanks for testing! Is it working? Then I can create the complete update package.. Best Regards, Thorsten.
  6. cheers :) Best Regards, Thorsten.
  7. Yes, it's a typing error so, you get this with MIOS_LCD_PrintPreconfString? Then there is an error in the wrapper as well Best Regards, Thorsten.
  8. You will find the binary here: http://www.ucapps.de/tmp/setup_midibox_catdog.zip There are open questions (e.g. to which pins are the encoders and menu button connected, do you have detented or non-detented encoders), but however, now you can just change the setup_*.asm file if required I haven't tested if it is working Please use MIOS Studio for uploading the .hex file Best Regards, Thorsten.
  9. yes, before this addition they where only documented in SEQ_SYSEX_WriteP, SEQ_SYSEX_ReadP (seq_sysex.inc) and app_defines.inc Best Regards, Thorsten.
  10. Hi Andrzej, you can select this in your setup file, just specify the encoder number in "DEFAULT_ENC_DATAWHEEL" Best Regards, Thorsten.
  11. Hi QBAS, I received your PIC today. I read out the flash and noticed that some 64 blocks are 0xffff, this identifies that the PIC was reset during a flash erase, and this also matches with your description ("then I try upload MIOS 1,9 but can`t finish") Thereafter I plugged the chip into my MBSID. Upload of MIOS V1.9 and the MBSID application was working ok without failures, everything works like expected. I don't know exactly why this chip is only working with the old bootloader and MIOS on your board, but I assume that it could be related to a brown out reset - the PIC is reset once the voltage falls below 4.5V - maybe your PSU is too weak, so that the voltage falls during a flash erase (this consumes some more power than on normal operation) Since you have a programmer, could you please try the following with one of the bad chips: load the bootloader hex file into P18, disable the "Config from HEX file" option, go into the PIC-Configuration menu and set BOR to disabled. Thereafter burn this into the PIC and try it again. If this helps, you could measure the voltage between Vs/Vd during a code upload. If it is falling (it should be stable 5V), then it's related to your PSU Best Regards, Thorsten.
  12. Hallo Basti, ist es wirklich notwendig, einen zweiten Thread zum gleichen Thema im englischen Teil des Forums zu oeffnen? So weiss man gar nicht, welche Fragen bereits beantwortet wurden, ohne die Antworten genaustens zu vergleichen. Den Link zum Datenblatt kann man nicht oeffnen. Wie ist denn die genaue Typen- oder Bestellnummer bei Distrelec? Ein Foto von der LED Matrix findest Du uebrigens hier: http://www.midibox.org/midibox_fm_photos/6.html Gruss, Thorsten.
  13. As mentioned before: have a look into MBHP_TV, it decodes MIDI as well Best Regards, Thorsten.
  14. Just have a look into midibox_lc or midibox_mm Best Regards, Thorstem.
  15. Could you please send me your project directory? Then I can check what has gone wrong (I don't know, which changes you already did...) Best Regards, Thorsten.
  16. ***SPOILER*** Here is the answer to this riddle: http://www.ucapps.de/midibox_seq/mbseq_sysex_implementation.txt ***SPOILER***
  17. the release candidate is located here: http://www.ucapps.de/tmp/mios_v1_9c_rc1.zip If you haven't updated to the new bootloader yet, you have to do this before. Thereafter update from MIOS V1.9a to this new version (the bootloader/MIOS update package will be available with the official release, because it's some additional effort for me to combine the codes and to calculate the correct CRC) The algorithm I've developed is very tricky, and I'm not 100% sure if it works in all cases (haven't tested it that much yet), so anybody who tries this out on his MIDIbox helps me a lot! Best Regards, Thorsten.
  18. Hi Tim, I noticed, that the MBSEQ application has set "32" as debounce value, this is (or was...) not good for rotary encoders. When you are changing this value to 0 (search for "DEBOUNCE" in the main.asm or setup_*.asm file), then the panasonic encoder will propably work fine. With MIOS V1.9c this change won't be required anymore, because debouncing is only done for the buttons, not for encoders Best Regards, Thorsten.
  19. Ich weiss nicht, wie man die Schaltung noch exakter beschreiben koennte, aber vielleicht kann es ja mal jemand erklaeren, der selbst aus der nicht-techniker Ecke kommt? Ein Encoder verhaelt sich elektrisch wie ein Taster - je nach Stellung sind die Kontakte mal geschlossen, mal nicht. Ja, es aendert sich, wenn Du daran drehst. Gruss, Thorsten.
  20. TK.

    MIDI-Master-Clock

    MIOS ist das Hauptprogramm, dort befindet sich auch so etwas wie eine main() Funktion (die aber nicht so heisst). An MIOS selbst musst Du jedoch nichts aendern, es laeuft als Betriebssystem im Hintergrund, und ruft - wie von Michael erwaehnt - bei bestimmten Ereignissen die sogenannten "Hooks" auf. In diese Hooks kannst Du dann Deine eigenen Routinen einhaken. Der wesentliche Vorteil dieser Methode ist, dass die MIOS Routinen assembleroptimiert und gut getestet sind - jede MIDIbox laeuft damit, egal ob Synthesizer, Sequenzer oder Controller Gruss, Thorsten.
  21. TK.

    Fader Snapshot

    Gruss, Thorsten,
  22. tut ja nicht weh. Du kannst die Pins auch freilassen, die Pull-Up Widerstaende sorgen dafuer, dass nichts ungewolltes passiert ja Gruss, Thorsten.
  23. This info is documented here: http://www.ucapps.de/mios_c_send_enc_rel.html just for the case you missed the examples Best Regards, Thorsten.
  24. it will be obsolete as soon as I release MIOS V1.9c - I already made the required change, it was easier than expected. And now it works a little bit better, because debouncing is not applied on encoder pins anymore. I've tested it on my MBSID and MBSEQ so far, but they have perfect buttons and therefore normaly don't need debouncing anyhow. With the other MIDIboxes I will do this in the next days... Is anybody interested in helping me with testing? Best Regards, Thorsten.
  25. I've already a script which allows me to generate an offline version of ucapps.de and midibox.org from the original version which is located on my laptop HD (the script automatically fixes the links) But it doesn't work on the forum and Wiki Best Regards, Thorsten.
×
×
  • Create New...