Jump to content

latigid on

Frequent Writer
  • Content Count

    2,391
  • Joined

  • Last visited

  • Days Won

    132

Everything posted by latigid on

  1. https://github.com/midibox/mios32/blob/master/mios32/STM32F4xx/mios32_ain.c https://github.com/midibox/mios32/blob/master/modules/ainser/ainser.c https://github.com/midibox/mios32/tree/master/modules/aout Basic drivers/assignments: https://github.com/midibox/mios32/blob/master/mios32/STM32F4xx/mios32_spi.c https://github.com/midibox/mios32/blob/master/mios32/STM32F4xx/mios32_iic.c Maybe it would be easier for you to use the Arduino and output an analogue voltage to be read by the STM32F4 AIN? That way you can use your working system without much extra coding effort. MBIO
  2. As far as I know, there are no I2C peripherals that were coded into MIOS32. The closest thing that I am familiar with is the I2C MIDI modules, that according to TK. were not trivial to code for, and at that on very low-performance 16F PIC chips. All the MBHP framework gives you is a hardware port on the MCU. You could consider to compare your arduino sketch with a device running off an STM32F4 chip or similar. Alternatively, you might find more code examples of SPI devices. Maybe you can try to code a driver for a similar sensor with an SPI interface? The uCapps projec
  3. You need to define your question better. You are using some sort of sensor, but have you written a driver for it to be used with MIOS? How would you expect the velocity values to be modified? Have you looked into the MBIO code?
  4. Hi Matt, wonder if it is a short circuit to 0V (ground) somewhere. Test each board in turn for shorts on the +5V line. Easiest is across any 100nF cap. Did you solder in the Matias switches yet? Sounds like it is on the Base or Plate PCB? Please upload sharp photos of the PCBs. Some status LED illumination is expected if the audio jacks and PCB stack are disconnected. Best, Andy
  5. latigid on

    midiphy MatriX :)

    Thanks! MatriX has some similarities to the BLM16x16+X in that it has 17x17 keys and a few sliders, and communicates over the same MIDI protocol. Apart from those it is really quite different! The BLM protocol has a "keyboard mode" where you can play with different velocity on the y axis, notes (usually forced to scale) on x. Best, Andy
  6. Well done to #42! Is it the answer to the question "what is the meaning of life, the universe and everything?"
  7. Hi! Great, we want to see the image (and give you a serial number)! There is a 2MiB size limit, so please try to reduce the size with an image program and save as jpeg or png, should work then!
  8. latigid on

    midiphy MatriX :)

    I have only seen it once in person, but it is an incredible and really solid device.
  9. Both nice units! And thanks for your kind feedback and nice summary. Congrats to #41 !
  10. Cool! I think here you will have an easier time wiring up and figuring out things hands-on. Please feel free to post your progress. Best of luck! Andy
  11. No problem, hope it's helpful! You will need to figure out the wiring puzzle. The following links might be of use: http://ucapps.de/midibox_ng_manual_ngc.html -> search "LED_MATRIX" and "DOUT_MATRIX" There you can understand how things will look in software. http://ucapps.de/mbhp/mbhp_dout_8x8leds.pdf http://ucapps.de/mbhp/mbhp_dout_8x16leds.pdf http://www.midibox.org/dokuwiki/lib/exe/fetch.php?media=home:users:ilmenator:rgb-led:midibox_rgb-led_matrix_8x8_v1.3_schematic.pdf https://github.com/midibox/mios32/blob/master/apps/controllers/midibox_ng_v1/cfg/tests/blm16x4.ngc
  12. Nice choice of switch footprint ;-)
  13. Still not totally easy to follow but I get more where you're coming from. I would prefer to draw it out as a logical table rather than a netlist. Are the LEDs on boards and you want to use DOUTX4 PCBs to drive them? Or are the shift registers also on your LED boards? 4x source rows as selection pulses will work, though you get no faster multiplexing as that's limited to a doubled 4x pattern. But colours can only be 16 columns wide. If using DOUTs, you could buss two IDC10 ribbon cables and define them as one matrix but you still need a second DOUT to drive the 'second' matrix (thir
  14. Of course matrices of 16 rows/columns are also okay but don't relate to what is requested here.
  15. MB_NG supports multiple matrices. You just need to define the shift register where each block of 8 is connected. If any block is less than 8 wide, no problem. It will just take more shift register chips to address them. Best idea is to draw a circuit diagram of how the LEDs are arranged. Then for each contiguous block, that is one shift register with a maximum of 8 rows or columns. You probably need sink transistors (NPN) on the rows unless your current draw is low. Please keep posts public so other travellers can benefit from any knowledge or lessons.
  16. You can create a matrix with 9x rows (sink side) and 8x3 columns (R/G/B source sides). So you need 5x 74HC595 chips because they only have 8x outputs. You also have 7x rows spare as it is a 16x8(x3) matrix. If you have buttons you can connect 1x DIN 74HC165 chip to the columns with diodes to the switch inputs.
  17. Gewinde = thread/threaded Apparently called a cube standoff or mounting cube e.g. https://www.newark.com/ettinger/05-60-233/spacer-m3-12mm-x-6mm-brass-nickel/dp/59M4072 Gewindeblock: https://www.ettinger.de/p/montageblock-6x6x12mm/005.60.233
  18. Hi Simon and a happy new year to you too! We try to keep track of the "successfully built" SEQ v4+s in this thread, so I don't think you got a serial number yet as you were posting in the "troubleshooting" thread? Happy to assign you #39 if you want to post a pic here? Best, Andy
  19. Hi, What meters do you have? Some have a "high-res" function that is activated by holding the backlight button (Fluke meters). Another option is to buy resistors with better tolerance (e.g. 0.1%) but they will be more expensive. In the end, the CV is calibrated on the SEQ and has a variable gain with the first op amp stage. So you should be fine. For more than eight outputs, simply chain the J19 data from the superDAC board. RC1 should still be set for all DACs. Best of luck and happy new year! Best, Andy
  20. Great job, especially the labelled buttons are a really nice touch! Formlabs printer or something else? I guess the aspect ratio/height is enough to print them vertically rather than rotated? Anyway, cool journey and enjoy the SEQ!
  21. For time-multiplexed LEDs you can exceed the 20mA current rating or whatever the datasheet says. Some even give a peak current rating that is valid for a given duty cycle (normally 10% rather than our 12.5 or so) and pulse time. Totally depends on your LEDs. A tip is to use super bright ones, but probably you already have something installed. In the SEQ v4+ we use 47R but these are superflux RGB LEDs designed for more forward current. Generally the higher the pulse energy, the lower the lifetime of the LED. Keep in mind that the 74HC595 outputs are overdriven in this configuration.
  22. Nonstandard sure, it should work or at least shouldn't damage anything. Electrically there is no difference between USB A and B connectors. USB AB cables are much more common but it does look like you can find BB.
×
×
  • Create New...