• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About tago

  • Rank
    MIDIbox Addict
  1. One more question :) What is the 10 ohm resistor (R1) on AINSER8/64 for? Is this some kind of protection? Can i leave it out if i use a voltage reference? On the AINSER64 this is only connected to Vdd, not to the voltage regulator.
  2. Hi Zam, thanks for confirming the Vref wiring, i somehow couldn't find an example. That's why i looked at the AINSER64 schema. You're of course right about the AINSER64 connections. Sorry, i'm an idiot!  
  3. Just to be sure. Vref is also used on the analog inputs J6 (AINSER8) instead of Vd (5V), right? If i connect pots to J6 they will provide max 4.096V (Vref) to the analog ins. Edit: i wonder why the external psu on AINSER64 is only connected to Vref of the ADC, but not to J6-13.
  4. Multiple projects side by side

    I've question regarding Git. Say i want to edit the NG app which is (like all apps) part of the main mios32 repository. How would i keep track of changes to NG if i copied it out of the main repository into its own folder? There would be no git anymore.
  5. Multiple projects side by side

    Thanks Peter! Yes, it is helpful. I understand it that way, that you recommend using a single mios32 installation as global lib. No need to put duplicates in each project folder, because the interface doesn't change often and mostly there are new functions added. Hard to decide, i somehow lean towards a self contained per project solution.
  6. Multiple projects side by side

    Thanks Thorsten! I'd like to further understand the structure and workflow of the repository. My simplified view: it looks like /apps are the apps and everything else is the 'mios lib' (mios32/modules..). I'd like to know how do you handle changes to the 'mios lib' for all the apps? What if there are some breaking changes? Do you edit/refactor all apps every time this happens or is there some kind of a fixed API that never changes (or very seldom)? How often gets the mios stuff updated? I assume the apps are updated more frequently. I'm trying to find an ideal setup for multiple midibox projects. To my modest knowledge it's the best to have each project's includes/dependencies separated from each other to avoid problems compiling them after some time later. In that scenario i'd pull 'mios lib' version updates on per project basis, not for all projects. But does it make sense or should i rather have a global 'mios lib'?   Edit: i only intend to work on app level.
  7. Hi, how do you setup multiple projects? Do you have a single mios32 installation and put your projects in folders outside of the mios32 folder? I mean, if i setup mios/toolchain/global environment vars according to the wiki docs these vars are actually global. So i don't see how this would work for different mios apps which possibly need different env vars or mios versions. Doesn't it make more sense to put a new mios installation into each project folder and get rid of the global vars to have the project's dependencies in its respective project folder?   Thank you  
  8. Assign J5a/b core ports in .NGC

    Currently no J10 in use for now. I wanted to keep J10a clear if i later want to add an SCS. Therefor J10b would be available. But the issue i found was, that you can't have mixed DIN/DOUT on a J10 port. That lead me to the J5 ports. The wiring to core would be a mess for a little board with 2 switches and 2 LEDs.   ps. i want to setup two octave up/down buttons with indication LEDs
  9. Am i correct that the LM4040 has lower noise? Do you think this relevant in this use case? Otherwise it looks like you need an additional resistor with the LM4040, which i'd rather like to avoid. Maybe i should just use the MCP1541.
  10. Assign J5a/b core ports in .NGC

    Hi Zam, they're tact switches. I'd like to avoid additional modules for just 2 switches and 2 LEDs. A pity there is no easy way for LEDs. It means i have to add code in terms of the 'j5_outputs' example to NG app, right?
  11. Yeah, i couldn't figure out the needed input voltage either. I'd like to try it, but have to wait until i need some more components for a new order. Those shipping costs are really high if you only need some test parts.
  12. I want to connect some switches and leds directly to the CORE_STM32F4 via J5a/b ports. The NG manual shows an example using them as AINs, but not DIN/DOUT. Then i found the tutorial applications (eg polling_j5_pins) which show how to use them on app level. What i dont get, is there a way to setup these ports and its indivdual pins directly in a .NGC file?
  13. Thanks all for your help. I found the LM4040 CIZ-5,0 (link) as possible alternative to the MCP1541. Would the 4040 work as well?  
  14. Thanks @FantomXR I really like your solution. The MCP1541 datasheets says 4V output. Is really enough for Vref? What effect has a 1V drop for the A/D converter? Does it mean -20% resolution? If i understand your solution correctly the quality of the Vref is more important than the voltage range. Do have to branch the USB power before it goes into the core or can use the 5V of J19 as input voltage for the MCP1541?  
  15. Thanks @Zam So in my case i need a separate voltage regulator for the display, because AINSER needs the full 5V and therefor should be left alone? The displays works from 3.3V to 5V and i suppose a small voltage drop is not much of an issue. What type of regulator should i use? I read about bulk or decoupling capacitors. Do you think they could be of help?