roberto

Members
  • Content count

    24
  • Joined

  • Last visited

Community Reputation

0 Neutral

About roberto

  • Rank
    MIDIbox Newbie

Profile Information

  • Gender
  • Location switzerland
  1. 16 x SSD1306 GLCDs on STM32F4

    nice! works...   
  2. 16 x SSD1306 GLCDs on STM32F4

    oh, cool, many thanks latigid on, as always fast and competent answers!  i will try the J10B version, if ist not working then i go with SN74s. thanks for the display driver link, did't saw it ntill now...   other question: i do have the alientek OLED's, the dual color version (blue/yellow). now it's displaying in blue... how to change the color?   best roberto 
  3. Hi i want to extend my project with 16 GLCD's. i found several threads about it but i'm still unsure how to connect the additional CS lines. the first 8 GLCD's work perfect connected to J15A... now i need to know how to connect the other 8 lines. found this wiki where it's stated how to connect additional lines from a J28 named connector. but on a "normal" STM32F4 the J28 isn't available... I read on an other thread that several lines are available on connector J10B. If I look at the schematic J10B is a normal GPIO against the J28 is a audio DAC. Can I use the GPIO's directly as they are to make 8 additional CS lines? if yes, do I need 220 ohm resistors on it? do I need an other boot loader configuration as the one described here in the MBNG manual? if no, how to use a SN74HC595N IC to generate additional lines? Where do i get the clocks (RCK and SCK, Pin 11/12 on 74HC595) and where comes the DISP SER IN (Pin 14 on 74HC595) from?   thanks for some enlightenment, roberto
  4. How to connect Common Anode RGB LEDs

    ...just for the record. im slowly slowly get into the deep sea of MIOS... i managed to map the RGB buttons with the multicolour test mentioned in TK's post above. everything's fine... (although magenta is missing in the map, i added it at the end after red...) back to construction 
  5. How to connect Common Anode RGB LEDs

    switched back to first comuter, and there it is again... button behaviour inversed again, damned...
  6. How to connect Common Anode RGB LEDs

    strange... i booted the whole thing on a second computer and now it's working as expected...  will investigate...
  7. How to connect Common Anode RGB LEDs

    yes, those are nice buttons, rugged, but 10 bucks each...  well, before fiddling with RGB hue, i have to solve following by inverting i turn off the RGBLEDs on startup: # Common Anode RGB LEDs EVENT_LED id=1 inverted=1 type=NoteOn key=36 # Red LED EVENT_LED id=2 inverted=1 type=NoteOn key=37 # Green LED EVENT_LED id=3 inverted=1 type=NoteOn key=38 # Blue Led by sending a NoteOn 36/37/38 and Off from the MIOS Keyboard i can light and turn off the 3 LEDs. Fine.   Now, when i define a button the behaviour is reversed EVENT_BUTTON id=81 fwd_id=LED:1 type=NoteOn key=36 range=0:127 button_mode=Toggle EVENT_BUTTON id=82 fwd_id=LED:2 type=NoteOn key=37 range=0:127 button_mode=Toggle EVENT_BUTTON id=83 fwd_id=LED:3 type=NoteOn key=38 range=0:127 button_mode=Toggle will say, the LEDs are OFF when the button sends a NoteOn and ON by a NoteOff... i tried to inverse also the EVENT_BUTTON and the range (127:0) but nothing helps... is there something else i need to invert? i don't get it.
  8. How to connect Common Anode RGB LEDs

    cool, thanks latigit, works... as i understand following code inverts the output: EVENT_LED id=0 inverted=1 EVENT_LED id=1 inverted=1 EVENT_LED id=2 inverted=1 etc. now i have to figure out how to assign the RGB LEDs to different velocities on the same note... phew, this coding is a big book to get into it...    the RGB button has internal resistors, so i think it's not necessary to match the color brightness...  
  9. Hi   After testing the functionality of the CORE, DINs and DOUTs it’s time to layout the Controller.   I want to use (among others) 16 RGB Buttons and im unsure how to connect it to the DOUT’s. I read some threads about it but didn’t found the answer that satisfied me.   http://midibox.org/forums/topic/18058-connecting-rgb-leds/?page=1   http://midibox.org/forums/topic/19752-rgb-hue-sweep/#comment-171871     The RGB Buttons are COMMON ANODE. One possibility is to attach it to a 6 *8 LED Matrix with the drawback to loose brightness. I don’t want that, I have enough DOUTs to connect the LEDs directly, so I would like to go the direct way.   Is it possible to do that without using additional ULN Arrays? As I understand it is possible to drive one RGB LED with one Midi Note and make the color with different velocities right?   And since I am at the very beginning of everything I don’t understand how the code should look for that...      
  10. yesss, the right chip arrived. all works fine now! thank you guys for your help... now it's time to to build the machine! 
  11. ur welcome. Reichelt... correct, the outs are inverted. i'm confident it will work after. whoohooo :-)
  12. you got a beer latigit. cheers!
  13. RC 1 instead of 2 - no change of behaviour... and still no shorts at any of your mentioned pins... grrmpf RC and SC are correct, tried it with different ribbons and straight jumpers... just to mention, IC 1 on the CORE is a 74 HCT 540 instead a 541... ordered a 541 - they sent me a 540. looking at the specs, it doesn't matter. right? i'm getting fuzzy :-(
  14. damned, i measure and measure, check and check, over and over, i can't find it. so thank you latigid for the advice... RC1 and 2 are NOT conected together. there's continuity from SI to pin PB14, no shorts anywhere to SC, RC, +5V, 0V, pins 9 and 10 are like expected and also 10k pullups are there... but yes, the crank has to be there somwhere. i measure 4.9V on the DIN, i think this is ok? im sure it is something really dumb. maybe something with the configuration? because i get some invalid infos like: ((don't know what tokens and .NGR and .NGC are for)) [8346.901] show ngr_tokens [8346.903] Token processing is: enabled [8346.903] Token memory allocation: 0 of 16384 bytes [8346.903] .NGR file is: invalid [8346.903] Tokens are: invalid attached is the whole config file and at the end the midi routings and the reset info. there is no source port set ON. is this intended like that? or do i have to change that? Snapshot #0 not stored in /DEFAULT.NGS yet.. how to store ??? config.rtf