frequently_asked_questions_faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
frequently_asked_questions_faq [2016/06/10 14:19] – psykhaze | frequently_asked_questions_faq [2016/06/10 14:41] (current) – psykhaze | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Frequently Asked Questions (FAQ) ====== | + | ====== |
+ | |||
+ | //FIXME Some updates needed out there// | ||
This page summarizes the most frequently asked questions concerning the projects found on the [[http:// | This page summarizes the most frequently asked questions concerning the projects found on the [[http:// | ||
===== About the MIDIbox Hardware Platform ===== | ===== About the MIDIbox Hardware Platform ===== | ||
- | ==== What does µCApps mean? ==== | + | * ** What does µCApps mean?** |
µCApps stands for " | µCApps stands for " | ||
- | ===== Which skills do I need to build a MIDIbox? | + | * **Which skills do I need to build a MIDIbox? |
There are a lot of people who built a MIDIbox without having any knowledge about electronics before starting. However, if you have never learned to solder, you could start on the [[soldering]] page. | There are a lot of people who built a MIDIbox without having any knowledge about electronics before starting. However, if you have never learned to solder, you could start on the [[soldering]] page. | ||
- | ==== Can I control my sequencer with the MIDIbox? | + | * **Can I control my sequencer with the MIDIbox?** |
Line 20: | Line 22: | ||
- | ==== I posted a message in the Forum/I wrote TK an e-mail three hours ago, why I haven' | + | * **I posted a message in the Forum/I wrote TK an e-mail three hours ago, why I haven' |
TK doesn' | TK doesn' | ||
- | ==== I have posted a detailed concept for a MIDI controller to TK but haven' | + | * ** I have posted a detailed concept for a MIDI controller to TK but haven' |
Since TK receives such complex concepts for dedicated solutions nearly every week and noted that reading, understanding and answering consumes a lot of spare time, he decided not to read " | Since TK receives such complex concepts for dedicated solutions nearly every week and noted that reading, understanding and answering consumes a lot of spare time, he decided not to read " | ||
- | ==== Will you make a synth based on (insert name of chip) for me? ==== | + | * ** Will you make a synth based on (insert name of chip) for me? ** |
The first question has an obvious answer of: " | The first question has an obvious answer of: " | ||
- | ==== How hard would it be to make a synth based on (insert name of chip)? | + | * ** How hard would it be to make a synth based on (insert name of chip)? |
Generally, if you can't answer this one yourself - too hard for you. Remember - if you want to start a project based on the MIDIbox, you have to do it all on your own! There are some ready, digitally controlled tone generators out there, which you can buy with complete documentation - many of them are easy to work with, the companies give you all the documents you need, many chips have application notes and guides, the companies also have active communities and even support specialists which you can waste the time of ;) Try tinkering with those first, if you want to. When you're taking a chip out of some vintage computer, you're always dealing with zero support, zero documents, zero manuals, zero guides, zero application notes, and you don't even know if you fried your chip while unsoldering it :) So, if you've never hacked into a microchip - don't expect success at the first try. | Generally, if you can't answer this one yourself - too hard for you. Remember - if you want to start a project based on the MIDIbox, you have to do it all on your own! There are some ready, digitally controlled tone generators out there, which you can buy with complete documentation - many of them are easy to work with, the companies give you all the documents you need, many chips have application notes and guides, the companies also have active communities and even support specialists which you can waste the time of ;) Try tinkering with those first, if you want to. When you're taking a chip out of some vintage computer, you're always dealing with zero support, zero documents, zero manuals, zero guides, zero application notes, and you don't even know if you fried your chip while unsoldering it :) So, if you've never hacked into a microchip - don't expect success at the first try. | ||
Having said that, if you feel you're up to the challenge, you're encouraged to tinker around :) | Having said that, if you feel you're up to the challenge, you're encouraged to tinker around :) | ||
+ | ===== Forum / Wiki / Web ===== | ||
+ | * **I can't log into the forum!** | ||
+ | Possibly you are using the M$ Internet Explorer which prevents YaBB from saving " | ||
+ | * **I can't log into the Wiki!** | ||
+ | |||
+ | Make sure you have cookies turned on in your browser. | ||
===== Building Your MIDIbox ===== | ===== Building Your MIDIbox ===== | ||
- | ==== Where can I buy the components? | + | * ** Where can I buy the components? |
See this page: [[where_to_order_components]] | See this page: [[where_to_order_components]] | ||
- | ==== Which errors can I avoid? | + | * ** Which errors can I avoid? |
Before you order the components, check the prices of different distributors. Mail order companies with a large variety are the most expensive, smaller companies are cheap and fast. Check also the electronic shops near by you, especially for the chassis (visual control). With luck, you will find special offers, i.e. some good pots or buttons. | Before you order the components, check the prices of different distributors. Mail order companies with a large variety are the most expensive, smaller companies are cheap and fast. Check also the electronic shops near by you, especially for the chassis (visual control). With luck, you will find special offers, i.e. some good pots or buttons. | ||
Line 54: | Line 62: | ||
Microchip provides several package options for the PIC18F452, make sure that you are buying the PDIP version PIC18F452-I/ | Microchip provides several package options for the PIC18F452, make sure that you are buying the PDIP version PIC18F452-I/ | ||
- | ==== Do I need to buy a LCD for running the MIDIbox? | + | * ** Do I need to buy a LCD for running the MIDIbox?** |
If this is your first MIDIbox take the answer to be yes. | If this is your first MIDIbox take the answer to be yes. | ||
Line 66: | Line 74: | ||
- | ==== What's the difference between potentiometers, | + | * **What's the difference between potentiometers, |
Potentiometers, | Potentiometers, | ||
Line 79: | Line 87: | ||
Wikipedia has a [[http:// | Wikipedia has a [[http:// | ||
- | ==== Should I buy linear or logarithmic pots/ | + | * ** Should I buy linear or logarithmic pots/ |
Linear pots or faders are required for MIDIbox. Logarithmic are nice for analog mixers, but not for digital processing. In catalogs you will mostly find a " | Linear pots or faders are required for MIDIbox. Logarithmic are nice for analog mixers, but not for digital processing. In catalogs you will mostly find a " | ||
Line 89: | Line 97: | ||
- | ==== Where can I find datasheets for the parts you used? ==== | + | * **Where can I find datasheets for the parts you used? ** |
- | Try [[http:// | + | Have a look [[modules and parts|Here]] |
- | ==== Do I have to make a Printed Circuit Board (PCB)? | + | If you still do not find what you want, ry [[http:// |
+ | |||
+ | * **Do I have to make a Printed Circuit Board (PCB)?** | ||
PCBs are popular, because they give you something like a success guarantee that every connection between the components does exist and the MIDIBox will work with the first power-on. But creating a PCB may take a long time. However, dblevine wrote a nice walkthrough which could help if your are interested: [HowToCreatePCB]. | PCBs are popular, because they give you something like a success guarantee that every connection between the components does exist and the MIDIBox will work with the first power-on. But creating a PCB may take a long time. However, dblevine wrote a nice walkthrough which could help if your are interested: [HowToCreatePCB]. | ||
Here is another link to a tutorial: [[http:// | Here is another link to a tutorial: [[http:// | ||
Line 107: | Line 117: | ||
Alternatively you can do it like me in the early days - I developed my circuits on vectorboard (sometimes also called breadboard or veroboard, in german " | Alternatively you can do it like me in the early days - I developed my circuits on vectorboard (sometimes also called breadboard or veroboard, in german " | ||
- | ==== How Do I get the firmware into the PIC microcontroller? | + | * **How Do I get the firmware into the PIC microcontroller? |
You only need to burn the MIOS bootstrap loader into the PIC with a PIC programmer, thereafter MIOS itself and MIOS applications can be uploaded via MIDI. The details are explained at the [[http:// | You only need to burn the MIOS bootstrap loader into the PIC with a PIC programmer, thereafter MIOS itself and MIOS applications can be uploaded via MIDI. The details are explained at the [[http:// | ||
Line 114: | Line 124: | ||
- | ==== How do I test my circuit? | + | * **How do I test my circuit? |
Before you plug the ICs into the sockets, you should measure the voltage levels at the power pins (Vss and Vdd - Vss means: ground (0V), Vdd means: +5V, you will find the corresponding pins in the schematics). Disconnect the power, plug the ICs into the sockets, turn on the power. Now quickly measure the voltage between any ground and 5V pin again. If you don't see any change (already +5V) you've made the most critical step. Otherwise you have a shorted in your circuit and should disconnect the power as fast as possible to avoid damages. However, the PIC is hard to destroy... I know that from my experience ;-) | Before you plug the ICs into the sockets, you should measure the voltage levels at the power pins (Vss and Vdd - Vss means: ground (0V), Vdd means: +5V, you will find the corresponding pins in the schematics). Disconnect the power, plug the ICs into the sockets, turn on the power. Now quickly measure the voltage between any ground and 5V pin again. If you don't see any change (already +5V) you've made the most critical step. Otherwise you have a shorted in your circuit and should disconnect the power as fast as possible to avoid damages. However, the PIC is hard to destroy... I know that from my experience ;-) | ||
Line 120: | Line 130: | ||
[[http:// | [[http:// | ||
- | + | * **How do I up/download a SysEx Dump to the MIDIbox?** | |
- | ==== How do I up/download a SysEx Dump to the MIDIbox? | + | |
MIOS and application code has to be uploaded with the [[http:// | MIOS and application code has to be uploaded with the [[http:// | ||
If the application provides an additional configuration mechanism, then follow this link [[http:// | If the application provides an additional configuration mechanism, then follow this link [[http:// | ||
- | ==== Can I use a switching power supply (known from PCs) for my MIDIbox? | + | * **Can I use a switching power supply (known from PCs) for my MIDIbox?** |
No, because switching power supplies require a minimal load before they start to operate correctly, and if the circuit is not drawing enough power, or only sometimes like the MIDIbox circuits, the power supply will just switch off and/or reset the circuit reiteratively. Possible Workaround: use of a permanent consumer load like the backlight of a LCD or a lamp. Permanent use of this solution has not been tried yet. Better and cheaper: just buy a good transformer (for about 1-2 EUR) or wall adapter (for about 3-5 EUR), and use a rectifier, a big capacitor, a little capacitor and a 7805 (for Motorfader Driver: 7812) to regulate the voltage. All these components (apart from the transformer or wall adapter) are already part of the [[http:// | No, because switching power supplies require a minimal load before they start to operate correctly, and if the circuit is not drawing enough power, or only sometimes like the MIDIbox circuits, the power supply will just switch off and/or reset the circuit reiteratively. Possible Workaround: use of a permanent consumer load like the backlight of a LCD or a lamp. Permanent use of this solution has not been tried yet. Better and cheaper: just buy a good transformer (for about 1-2 EUR) or wall adapter (for about 3-5 EUR), and use a rectifier, a big capacitor, a little capacitor and a 7805 (for Motorfader Driver: 7812) to regulate the voltage. All these components (apart from the transformer or wall adapter) are already part of the [[http:// | ||
*Update:* TK: "I made very good experiences with a switching PSU from Pollin (available for 4.95EUR) on my MIDIbox NG - schematic can be found under [[http:// | *Update:* TK: "I made very good experiences with a switching PSU from Pollin (available for 4.95EUR) on my MIDIbox NG - schematic can be found under [[http:// | ||
- | ==== What is the meaning of a device ID? ==== | + | * **What is the meaning of a device ID? ** |
In common MIOS applications there are two different IDs: the MIOS ID which addresses the core for code down- and uploads, for debug commands, for remote messages - and the application specific ID which addresses the SysEx handler within the main program. | In common MIOS applications there are two different IDs: the MIOS ID which addresses the core for code down- and uploads, for debug commands, for remote messages - and the application specific ID which addresses the SysEx handler within the main program. | ||
Line 140: | Line 149: | ||
- | ==== I've burned the bootstrap loader into the PIC, but my LCD doesn' | + | * **I've burned the bootstrap loader into the PIC, but my LCD doesn' |
See [[lcd]] page for more information incl. troubleshooting of LCDs | See [[lcd]] page for more information incl. troubleshooting of LCDs | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== The PIC Microcontroller ===== | ||
- | |||
- | |||
- | ==== Why are you using the PIC and not a more modern Microcontroller? | ||
- | TK: "I started my first MIDI projects in the 80's with a C64, later I worked with 8051 derivatives. Sometime along the way I decided to use a PIC controller because it *was* modern during many years - cheap, easy to program, almost non-destroyable, | ||
- | |||
- | |||
- | ==== Do I need a deep knowledge of PIC microcontrollers in order to build your applications? | ||
- | No! The software is ready made, normaly you don't need to assemble code, you just only have to burn the application (.syx file) into the PIC via the MIOS Bootstrap Loader [[http:// | ||
- | If the application provides software/ | ||
- | |||
- | ==== Where can I learn more about PIC microcontrollers? | ||
- | Get all the interesting datasheets and application notes from the [[http:// | ||
- | |||
- | |||
- | ==== How do you develop your applications? | ||
- | Update: Please see the [[application_development|Application Development]] page for new info!\\ | ||
- | \\ | ||
- | TK's answer, edited to remove references to MPLab which is now obsolete:\\ | ||
- | Mostly I develop under Linux. I'm using XEmacs [[http:// | ||
- | |||
- | If I have to work under Windows (i.e. for making music with Logic [[http:// | ||
- | Find a snapshot of my development environment under Linux here: [[http:// | ||
- | |||
- | It is also possible to develop on the mac, see [[how to use Xcode2 as IDE on a Mac]] | ||
- | |||
- | |||
- | ==== Where can I download the source code? ==== | ||
- | It's part of every application package: [[http:// | ||
- | |||
- | |||
- | ===== Buying and Selling MIDIbox stuff ===== | ||
- | ==== Where can I buy your stuff? ==== | ||
- | TK: "All the applications of [[http:// | ||
- | |||
- | ==== Would you build a MIDIbox for me if I give you some money? ==== | ||
- | TK: "I neither have the time, nor the motivation to build MIDIboxes for other peoples. These are DIY projects, that means: Do-It-Yourself. Just ask a friend or an expert in your neighbourhood for help." | ||
- | |||
- | stryd_one: "If you don't have time to solder a little, you sure won't have time to use a synth to make music." | ||
- | |||
- | ==== As everything is free, am I allowed to bring the stuff to market? ==== | ||
- | Only under special circumstances. See also [[http:// | ||
- | |||
===== MIDIbox in Use. ===== | ===== MIDIbox in Use. ===== | ||
- | ==== How can I connect a MIDIbox to my MIDI device/ | + | * **How can I connect a MIDIbox to my MIDI device/ |
For a direct connection to a common MIDI device you need to use the MIDI In and Out of the CORE module. The optocoupler behind the MIDI In port decouples the circuit from the other device to avoid grounding loops. The MIDI device "at the other side" has normaly also an optocoupler at the MIDI In. | For a direct connection to a common MIDI device you need to use the MIDI In and Out of the CORE module. The optocoupler behind the MIDI In port decouples the circuit from the other device to avoid grounding loops. The MIDI device "at the other side" has normaly also an optocoupler at the MIDI In. | ||
Such a " | Such a " | ||
- | === PC MIDI interfaces: | + | * **PC MIDI interfaces:** |
* Mostly a MIDI Interface is integrated into the gameport of your motherboard or soundcard. You only need to buy a special adapter with MIDI plugs. Alternatively you can build an adapter yourself, see [[http:// | * Mostly a MIDI Interface is integrated into the gameport of your motherboard or soundcard. You only need to buy a special adapter with MIDI plugs. Alternatively you can build an adapter yourself, see [[http:// | ||
Line 207: | Line 167: | ||
* add other recommendations here... | * add other recommendations here... | ||
- | === Alternative solutions: | + | * **Alternative solutions: |
* you can plug the MIDIbox directly into the Gameport like shown here: [[http:// | * you can plug the MIDIbox directly into the Gameport like shown here: [[http:// | ||
Line 213: | Line 173: | ||
Both alternative solutions are not recommended for MIDIbox SID or FM due to the missing optocoupler. | Both alternative solutions are not recommended for MIDIbox SID or FM due to the missing optocoupler. | ||
- | ==== What is the meaning of this funny hexadecimal numbers? | + | * ** What is the meaning of this funny hexadecimal numbers? |
That are the MIDI messages which will be send over the MIDI interface. | That are the MIDI messages which will be send over the MIDI interface. | ||
Line 229: | Line 188: | ||
- | ==== Which MIDI events can I send with the MIDIbox? | + | * **Which MIDI events can I send with the MIDIbox?** |
In fact MIOS can send any MIDI data, it only depends on the application which events can be configured without additional programming effort. E.g., with MIDIbox64/ | In fact MIOS can send any MIDI data, it only depends on the application which events can be configured without additional programming effort. E.g., with MIDIbox64/ | ||
- | ==== How high is the latency of MIOS? ==== | + | * **How high is the latency of MIOS?** |
First of all it should be noted, that the latency of a common MIOS application is negligible compared to the latency of a computer. MIOS is a real-time system which runs on a dedicated microcontroller. The reaction time of the low-level drivers is deterministic, | First of all it should be noted, that the latency of a common MIOS application is negligible compared to the latency of a computer. MIOS is a real-time system which runs on a dedicated microcontroller. The reaction time of the low-level drivers is deterministic, | ||
Line 252: | Line 211: | ||
MIOS MIDI Benchmark: | MIOS MIDI Benchmark: | ||
- | ==== What the hell are Double-Note-Events? | + | * **What the hell are Double-Note-Events? |
Programs like Cakewalk, Cubase, Logic, ... support MIDI remote, which allows the user to control the software with his MIDI keyboard or something similar. Normaly MIDI remote works in a manner, that one note has to be played to enable MIDI remote (->" | Programs like Cakewalk, Cubase, Logic, ... support MIDI remote, which allows the user to control the software with his MIDI keyboard or something similar. Normaly MIDI remote works in a manner, that one note has to be played to enable MIDI remote (->" | ||
Line 258: | Line 217: | ||
These codes have to be defined in your MIDIbox initialization file, see also [[http:// | These codes have to be defined in your MIDIbox initialization file, see also [[http:// | ||
- | |||
- | |||
- | |||
- | |||
- | |||
===== Customize your MIDIbox ===== | ===== Customize your MIDIbox ===== | ||
Line 269: | Line 223: | ||
- | ==== How many pots/ faders/ buttons/ encoders/ screens/ LED's/ etc is the maximum that I can connect? | + | * **How many pots/ faders/ buttons/ encoders/ screens/ LED's/ etc is the maximum that I can connect? |
There are two parts to this answer. The first relates to the standard hardware, the second is related to the implementation of that hardware. | There are two parts to this answer. The first relates to the standard hardware, the second is related to the implementation of that hardware. | ||
Line 311: | Line 265: | ||
* IIC buss can be used to connect other IC's to the Core | * IIC buss can be used to connect other IC's to the Core | ||
- | + | * ** Can I use PWM to control individual LED brightness | |
- | + | ||
- | + | ||
- | + | ||
- | ==== Can I use PWM to control individual LED brightness | + | |
The short answer is that using PWM on DOUT to do individual brightness control on a large number of LEDs is not possible as it would overload the Core. | The short answer is that using PWM on DOUT to do individual brightness control on a large number of LEDs is not possible as it would overload the Core. | ||
Line 327: | Line 277: | ||
- | ==== Can I connect other parts aside from pots to the analog inputs? | + | * **Can I connect other parts aside from pots to the analog inputs?** |
Yes, you can connect anything which delivers a voltage between 0 and +5V like additional buttons, CV outputs of antique synthesizer equipment, or just external effect units like LFOs, see the [[http:// | Yes, you can connect anything which delivers a voltage between 0 and +5V like additional buttons, CV outputs of antique synthesizer equipment, or just external effect units like LFOs, see the [[http:// | ||
Line 333: | Line 283: | ||
- | ==== How do I add a MIDI Thru Port? ==== | + | * **How do I add a MIDI Thru Port?** |
Find the circuit under [[http:// | Find the circuit under [[http:// | ||
Line 339: | Line 289: | ||
- | ==== Can I power a PIC from the MIDI line without additional power supply? | + | * **Can I power a PIC from the MIDI line without additional power supply? |
Thats very problematic and mostly doesn' | Thats very problematic and mostly doesn' | ||
the PIC power pins would reduce the voltage to <4V, so it should not be used in this case. Instead the ground pin and one of the outer pins which always supplies 5V (has to be checked with a measuring instrument) should be connected directly to J2 (behind | the PIC power pins would reduce the voltage to <4V, so it should not be used in this case. Instead the ground pin and one of the outer pins which always supplies 5V (has to be checked with a measuring instrument) should be connected directly to J2 (behind | ||
Line 350: | Line 300: | ||
+ | ===== The PIC Microcontroller ===== | ||
+ | * **Why are you using the PIC and not a more modern Microcontroller? | ||
+ | TK: "I started my first MIDI projects in the 80's with a C64, later I worked with 8051 derivatives. Sometime along the way I decided to use a PIC controller because it *was* modern during many years - cheap, easy to program, almost non-destroyable, | ||
+ | * **Do I need a deep knowledge of PIC microcontrollers in order to build your applications? | ||
+ | No! The software is ready made, normaly you don't need to assemble code, you just only have to burn the application (.syx file) into the PIC via the MIOS Bootstrap Loader [[http:// | ||
+ | If the application provides software/ | ||
+ | * **Where can I learn more about PIC microcontrollers? | ||
+ | Get all the interesting datasheets and application notes from the [[http:// | ||
- | ===== Forum / Wiki / Web ===== | + | * **How do you develop your applications? |
+ | Update: Please see the [[application_development|Application Development]] page for new info!\\ | ||
+ | \\ | ||
+ | TK's answer, edited to remove references to MPLab which is now obsolete: | ||
+ | Mostly I develop under Linux. I'm using XEmacs [[http://www.xemacs.org]] to edit the source, GPUtils to assemble the code and the MIOS bootstrap loader [[http:// | ||
- | ==== I can' | + | If I have to work under Windows (i.e. for making music with Logic [[http:// |
+ | Find a snapshot of my development environment under Linux here: [[http:// | ||
+ | |||
+ | It is also possible to develop on the mac, see [[how to use Xcode2 as IDE on a Mac]] | ||
+ | |||
+ | |||
+ | * **Where can I download the source code?** | ||
+ | It's part of every application package: [[http:// | ||
+ | |||
+ | |||
+ | ===== Buying and Selling MIDIbox stuff ===== | ||
+ | * **Where can I buy your stuff?** | ||
+ | TK: "All the applications of [[http:// | ||
+ | |||
+ | * **Would you build a MIDIbox for me if I give you some money?** | ||
+ | TK: "I neither have the time, nor the motivation to build MIDIboxes for other peoples. These are DIY projects, that means: Do-It-Yourself. Just ask a friend or an expert in your neighbourhood for help." | ||
+ | |||
+ | stryd_one: "If you don' | ||
+ | |||
+ | * **As everything is free, am I allowed to bring the stuff to market?** | ||
+ | Only under special circumstances. See also [[http:// | ||
- | Possibly you are using the M$ Internet Explorer which prevents YaBB from saving " | ||
- | ==== I can't log into the Wiki ==== | ||
- | Make sure you have cookies turned on in your browser. |
frequently_asked_questions_faq.1465568375.txt.gz · Last modified: 2016/06/10 14:19 by psykhaze