Jump to content

FantomXR

Members
  • Posts

    1,035
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by FantomXR

  1. FantomXR

    MIDIbox KB

    Hey! Here I've got an old Yamaha DX11 Keyboard. I disassambled the keyboard from the housing and the electronics. I've got the schematics too. The keyboard is equipped with aftertouch. The aftertouch-strip is connected to two pots. The first one says Gain, the second Offset. These should be there to configure the aftertouch. After that there is a four-pole connector. These pins are described in the schematic with +15, -15, GND, signal. Am I'm able to use the aftertouch function with this keyboard? I'm not sure, if NG is fast enough to scan the keyboard without a huge latency (like in my P80). How to connect the aftertouch to the core? Thank you very much! Chris
  2. Awesome!! Thank you very much!
  3. Hi, I want to print a text message on the first display which is connected to the core via a sysex file. I'm wondering if there is a tutorial or example for that. I want to know how to set up the ngc and the sysex file. I really appreciate your help. Thanks, Chris
  4. Okay... the LEDs are going crazy now... I don't know, where the mistake is. It's definitely in the wiring. I decided to rip up all connections and wire them again. But this time I will take another kind of wire. With this one I used now, electrical shorts are more easy to get... I keep you posted... again ;) Thanks for you help!
  5. I think, maybe there is something wrong in the soldering: I disconnected all colors. I started connecting the rows to the DOUT in SR1. Now I put in: red: error occurs on column 1-4 / 6-8 replacing red by green: no error replacing green by blue: no error. I will desolder the red connections and solder them again. I keep you posted.
  6. Damn it! I turned around my frontpanel to look at the LEDs from the front. I didn't see, that: When I press #36 and #40 together, the first LED of the first column shines bright. The 2nd LED of this column is glowing, the other two LEDs of this column stay dark. When I just press key #40 without anything else, the 2nd LED of this column starts to glow. :pinch:
  7. I do! I connected the red, blue and greens now of the first DOUT module. Everything is working fine. I will start, adding the second DOUT module for the other LEDs. Now I got the "real" colors too! It's great.
  8. Duggle, you are my hero!! I connected Pin9 to the groundpin of the next SR. It works like a charm. Now I can start, connecting all other LEDs. Maybe I overlooked something. But we should add this at least to the wiki documentation. Sadly I don't have permissions, to edit the wiki with my forum accout... Thank you so much!!
  9. For every column :( See picture for example.
  10. Hey! Yes! By pressing for example #36 and #40 at the same time, the first LED in the first column in the first row lights up. I can repeat that for all rows / columns. But again: The other three LEDs of the same column are glowing too! Not as bright as the first one, but they are defintaly not off!
  11. Yes. I can confirm the 5V by pressing & holding #36 and measuring this output pin. The other pins are 0V. I can repeat this for all four rows by expanding the NGC. So, that's working too ;)
  12. Sorry for the delay! Yes, I do measure 0V on every output pin of the rows and columns.
  13. I go on.. Finally the core is running fine. It was the SD-Card... Here is my code: I've got the same results as with the buttons (meanwhile I disconnected the DIN-module). Key 40 activates the first column (four LEDs). With key 36 I'm than able to switch between 100% and maybe 30% brightness of the first LED. The other three are still on.... by releasing key 40, the column goes off. Maybe I did a mistake in the wiring? Here is a diagram! All boxes with the same color are connected (cathode - rows). All boxes with the same number are connected (anodes - column).
  14. Thanks! I will check it with another core which is working for sure tomorrow. Because I didn't connected the green and blue LEDs yet, I will start testing it with the red ones. I'll keep you updates. Thanks for your help! I'm trying my best.
  15. I'm out of here today... I think here is something else VERY buggy... maybe it's the SD Card... I do changes in the code on the fly.... and I can see the changes in the LEDs. I save the NGC... I disconnect the core from the computer, connect it again and it's not working anymore. After a bit of writing in the code, it works again.... Troubleshooting without having a working base, is senseless... I will get a new SD Card tomorrow...
  16. Okay! Yes and yes! By the way: I did the last test which I mentioned in my prev. post now with a normal 5mm LED. This one stays off on the other outputs. I tested also another SMD LED which is 0603 green. This one glims a bit, but thats a lot less than my other RGB LEDs.
  17. That's interesting... So I assigned the slider in MIOS to the brightness of the column. By moving the slider upwards, all LEDs start to glow. But the first LED is the most brightest... the more I move the slider to the right, the more bright the LED gets... after the first LED reaches full brightness, the next LED is getting brighter, and so on... //edit: Okay... new try. I disconnected all LEDs. I picked a brand new SMD LED. I soldered a cable that goes from SR2 to the LED anode and another one keeping it in my hands. Now, with the code mentioned above, I have the following result: At D0:D2 of SR1 the LED glows a bit. At D3 it shines bright as a star... so to me it seems, the problem is the LED itself. I measured the mA. On D3 of SR1 I measure 6mA, on all others 0,4mA, which is not that much. But seems, it's enough, to let them glow. If you wanna look up the LED's I have, than go to ebay and insert this: 390524816984
  18. Just for understanding: Do I need to keep "DOUT_MATRIX n=1 rows=4 inverted=1 sr_dout_sel1=1 sr_dout_r1=2 sr_dout_r2=5 sr_dout_g1=3 sr_dout_g2=6 sr_dout_b1=4 sr_dout_b2=7 led_emu_id_offset=1001" in the code or just your example? I copied your code into my NGC and connected a second button to the DIN. The id=2 button first does nothing. id=3 activates #1 column (four LEDs). After activating the column with id=3 I'm able to switch on / off the LED at row#4 while the other LEDs are still on. But these LEDs get's lower, as soon as I activate the LED at row #4. And the opposite: When I switch off the LED at row #4 this LEDs is still glowing... //btw.: the toggle-mode is not working on the MIOS integrated keyboard.
  19. Okay... let's move on... I connected the rows to the LEDs via ribbon cable. I did connect the first 8 red LEDs. So the 1st SR and the 2SR are equipped. Here is the code again: It says fwd_id=LED:8 because I use D5:D8. Now I push the button, that's connected to the DIN. I measure between the cathode and anode of the LEDs and it says 1.2V from cathode TO anode. I don't know, how this should work?! I thought, the voltage has to go from + to - and not the opposite. Anyway: The LEDs aren't lightning. Hm... //edit: I took a look at the second page of this thread and I missed something in the code. So I added EVENT_BUTTON id=5 fwd_id=LED:9 type=NoteOn key=40 button_mode=Toggle But still... nothing... //edit2: I tried that: I can switch on / off the LEDs with changing the value to 0. So, that's working fine. Should I start, connecting all the other LEDs? //last edit for now ;) I tried that: Now I can use the button to swich a row on / off. But! As soon as I switch them on, all other LEDs start glimming too.
  20. Yes, I'm sure with that. I checked every LED before soldering.
  21. So you think that the 0,1V, that I measure on the not-active outputs wouldn't be enough to let the LEDs glow? I don't want to rewire the whole array. Just the last LEDs of every row, which goes to D0:D3 on SR1 and the last LED of every coloumn, which goes to D0:D7 of the other SRs. I don't plan to rewire the connections between the LEDs.... I hope I don't have to, because this took me two days... Anyway.... I will get back to you as soon as I rewired the connections and setup the NGC. Thanks!
  22. So your suggestion is, to connect all LEDs to the two DOUTs? Maybe I should start, setting up another matrix of LEDs, which is much smaler.. lilke 4x4 or so. Just for testing and before connecting all the 64 LEDs again to the DOUTs. I want to change to ribbon cables so I need to rip up a few.... or a few more.... cables the next days. Got a gig on upcoming saturday so I don't think I will be able to do this tomorrow. But the problem that I reported remains: I think, because of the small voltages at the outputs, which are not active, the LEDs will light up low. But that's not what we want, is it? I thought, it's possible, to switch all LEDs completely off. Where does these voltages come from?
  23. Okay! Thats my code: I connected a DIN to my core with a button attached. This one works fine. Right after the DIN I put my DOUT but I removed the ULN. Now I'm able to switch on / off the outputs of the first SR by changing the "fwd_id=LED:x"-number. I measure 5V when I press the button. And 0V when I press it again. So... it seems everythings fine here... //edit: I put back the ULN into his socket. I'm able to switch on / off the outputs of the ULN. The output that's "active" has 1,2V, the other have those small voltages like in the picture above... like 0,1V. By pressing the button again, everything goes to 0V. I'm wondering, why the other outputs also get small voltages... this should be 0V or did I miss something?
  24. Hey, thanks for the hints. You are right. I will solder off all the wires and use ribbon cables. I'm busy for today so I don't have much time to test. But I will come back to you shortly. But to answer your questions: Yes, this one is SR1. I disconnected all other DOUT / DIN modules from this one in the picture. I also checked the cable on J1. The cable makes a half twist and goes not 1:1. This should be correct. The 74HC595 are getting their 5V... I really want to get this machine running in the next days. So I hope, I don't strain your attention to much. Thank you very much!
×
×
  • Create New...