FantomXR

Members
  • Content count

    1,023
  • Joined

  • Last visited

Everything posted by FantomXR

  1. Push & Hold - function?

    Great improvement! Thanks! 
  2. Push & Hold - function?

    Hey people, maybe I missed it or it is not possible.  I'd like to set up a switch. This switch should have to functions. The first is executed as soon as I push it an release it immediately. The second one should be executed if I push the button and hold it for a given amount of time. Any ideas? Thanks, Chris
  3. Encoder doesn't work

    Alright. PCBs in the making. I'll hopefully receive them soon. I'll post the results. 
  4. Encoder doesn't work

    Hey people, I have a strange problem. I have a PCB with 9 encoders. This PCB is connected to another PCB with 27 switches. In total there are 8 SR. 4 on the button-PCB and 4 on the encoder PCB. Everything works fine except the very last encoder. The encoder is connected to pin4 and pin5 of the HC165. MIOS Studio shows fine that it toggles input 62 and 63 and depending on the direction the encoder is moved, either 62 or 63 will get triggered first. So this seems to be correct. In the NGC I wrote ENC n=9 sr=8 pins=6:5 type=detented1 But for some reason NG doesn't take those events as encoder events. This is the output of the terminal: [1406781.497] MBNG_DIN_NotifyToggle(62, 1) [1406781.497] No event assigned to BUTTON hw_id=62 [1406781.503] MBNG_DIN_NotifyToggle(63, 1) [1406781.503] No event assigned to BUTTON hw_id=63 [1406781.654] MBNG_DIN_NotifyToggle(62, 0) [1406781.654] No event assigned to BUTTON hw_id=62 [1406781.662] MBNG_DIN_NotifyToggle(63, 0) [1406781.662] No event assigned to BUTTON hw_id=63 But it should like this (just with another id though): [1406866.814] MBNG_ENC_NotifyChange(7, 1) [1406866.814] No event assigned to ENC hw_id=7 [1406867.121] MBNG_ENC_NotifyChange(7, 1) [1406867.121] No event assigned to ENC hw_id=7 [1406867.446] MBNG_ENC_NotifyChange(7, 1) [1406867.446] No event assigned to ENC hw_id=7 [1406867.747] MBNG_ENC_NotifyChange(7, 1) [1406867.747] No event assigned to ENC hw_id=7 Any ideas? I use the stock NG-firmware for this test. I've also tested to set pins=6:5 to all another combination like 4:5, 6:7, etc. But none of them works. Thank you very much! Best, Chris
  5. Push & Hold - function?

    I'm happy to help! :-)
  6. PCBs to European Union

    I've made the PCBs by myself.  I have designed a core especially for keyboard application with four pedals, midi I/o and connectors for wheels and aftertouch.  If you are interested, drop me a PM. I'm in Germany as well.  Best Chris
  7. Panel Mount Encoder

    Check bourns encoder. You can find their stuff in mouser. And mouser has a pretty good filter / search engine. 
  8. Encoder doesn't work

    I think I'll try to add capacitors to pins A and B since this is the fastest fix I could do.  In the long run I'll change the layout, adding caps to ground and two 10k resistors as in the datasheet + 74HC14 to create nice and sharp results. 
  9. Encoder doesn't work

    Well that is due to a different pinout if STEC12 and 16. On 12 the C terminal is in the middle while it's on the outside on 16 iirc.  I'll check again and report back. 
  10. Encoder doesn't work

    Hm, thanks for your help. Detented5 seems to work best. But not perfect though. Still it's jumping from now to then. But there must be some kind of code where those detent-modes are defined. And I can't find it.  
  11. Encoder doesn't work

    I just see that MIOS Studio gives me an error message: [1416035.046] [MBNG_FILE_C:303] ERROR: invalid pins for ENC n=9 ... pins=5 [1416035.046] [MBNG_FILE_C:303] (expecting 0:1, 1:0, 2:3, 3:2, 4:5, 5:4, 6:7 or 7:6) I thought that this isn't relevant. So it seems I need to change the wiring :-( btw.: @TK. I can not find the code for the different detented-types in the firmware. In which file are they defined?  I ask because it seems that my encoders don't work properly. I use PEC11L from Bourns: https://www.bourns.com/PDFs/pec11l.pdf I use them in relative mode. CW 1, CCW 127. When turning fast CW I also get 127 from now to then. So it seems to bounce... 
  12. DAW integration of LED rings

    Totally possible. I do the same with Cantabile. 
  13. Hey people, I cleaned up my room a bit and found some PCBs I do not need anymore. Here we go: This is something I developed years ago! It has a PCB with 8 encoders with LED rings. Although they look blue, they are not. The LEDs (0603) are white! As you can see the PCB an be connected to a standard DOUT-module even without any resistors. The LEDs won't get damaged. I did a mistake in the wiring of the LEDs at this point. So if you follow the official LED-Matrix-Pattern, you will get crazy results. But anyway: This is a software-thing. If you change the matrix-pattern, they work perfectly. I'll advice you about it if you buy it. I have two of those available. On one of them I needed to fix a trace (3rd. picture on the left). But it's perfectly working. Encoders are Bourns PEC16 with integrated switch. Underneath there are three IDC connectors for the encoders and switches that can be directly connected to a DIN-module. Price: 30€ each o.b.o. Next is a LRE: It has warmwhite LEDs. Lower row is mounted on spacer, the others not. Encoders are PEC16 with integrated switches. On the switch-header I soldered a flat-cable directly. So if you don't need it you have to remove it. Price: 35€   This is PCB where you can mount encoders on the top. Necessary shiftregisters have to be mounted on the backside. It's SMD, but can be soldered with a good soldering iron without any problems. No need for SMD-equipment like reflow-oven.  Price: 3€ each   STM32F4 Discovery! Price: 15€ each   AINSER8-module assembled. Price: 6€ each AINSER8-PCBs. Each PCB includes three layouts. I will not cut those in pieces. You have to do it by yourself. Price: 4€ each PCB (=> 3 AINSER8 Layouts) AINSER64-PCB Price: 5€ each (two available) DIO-Matrix-PCBs. Each PCB includes two layouts. I will not cut those in pieces. You have to do it by yourself. Price: 4€ each PCB (=> 2 DIO-Matrix Layouts). GM5x5x5-PCB Price: 5€ That's it for now! I'm located in Berlin, Germany.  Best, Chris
  14. understanding the .ngc code

    Again: look at the MAP feature. This exactly what you need.  Set a map as range with range=Map1 and create a map with the desired values underneath it.  See this example: https://github.com/midibox/mios32/blob/master/apps/controllers/midibox_ng_v1/cfg/tests/mapbtn.ngc
  15. understanding the .ngc code

    Isn't that a usecase for MAPs? I haven't tried it but I'd set up an encoder in absolute mode and setup a MAP as range.  In the NGR you can tell NG to set the encoder to a dedicated value when starting up. 
  16. Save and recall sysex strings

    Hey people, my DAW sends a bunch of sysex strings at once to my midibox. The content of the sysex strings I'd like to display on my OLEDs.  In my DAW there is a mixer. The DAW sends the values of the faders via sysex. I have one OLED that should show those value. So if I select channel 1 on my midibox it shows the first value, channel 2 the second. This is not working at the moment because the DAW sends those values of all channels at once and if I switch on my midibox from one channel to another I need to again dump the sysex strings to the midibox to receive the correct value.  So I'd need to somehow save those received values inside the midibox and recall them.  Any idea? Thanks, Chris  
  17. Save and recall sysex strings

    Alright! Looks good. I need to test it in my environment. I'll report back.  Thank you!
  18. Save and recall sysex strings

    Hm, do you have a quick example how this could work?
  19. Save and recall sysex strings

    Thanks for the reply. I think I've tested this already but for some reason it was not working. But I'll give this a new try early next week and report back! Edit: I remember. The reason why it wasn't working was I don't receive "values" from the DAW but ASCII / text strings instead. And it seems such strings can't be stored...
  20. Can encoders send NRPN values with inc/dec?

    I don't see the enc_mode parameter in the line. You have to set it to enc_mode=40Speed for example. All modes are listed on ucapps.de
  21. The bulk is closed. But you could contact weasel via PM. I'm sure he has some pcbs left.  
  22. Hey people, I had a strange behavior last night. My MIDIbox was in the car over night. It was cold, maybe -2°C. The next day I connected it to my computer and realized, that the EEPROM was reset and all settings were gone (it was a MIDIbox running MB_KB).  Is there a chance to prevent it from doing that? I had another MIDIbox in the car which runs MB_NG. This was booting fine, but it uses an SD-card instead of the internal EEPROM.... Thanks, Chris
  23. Control LEDs without HC595

    Hey people, Maybe you can guide me in the right direction.  In my projects I use buttons with integrated LEDs. But I want to get away from the standard HC595. Mainly because it takes a lot of PCB space and it has a lot traces due to the SPI protocol.  Is there another style to control those LEDs? I also work a lot with WS2812. This is great because there is only one single data line from one to the next.  Thanks, Chris
  24. Control LEDs without HC595

    They are SO8. So easy to solder. I followed the design guideline from the official datasheet. I think it's 100R on the 5V rail. Can post it later.