User Tools

Site Tools


ainser8_module

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ainser8_module [2016/08/04 09:29]
psykhaze [Introduction]
ainser8_module [2016/08/04 23:51] (current)
psykhaze [Introduction]
Line 1: Line 1:
 ====== AINSER8 Module ====== ====== AINSER8 Module ======
  
-{{ :​neonking:​mbhp_ainser8.jpg?​600 |}}+{{ :​neonking:​mbhp_ainser8.jpg?​400 |}}
  
 ===== Introduction ===== ===== Introduction =====
  
-MBHP_AINSER8 is a Reduced version of the MBHP_AINSER64 module without 1-to-8 multiplexers and on-board VR, and **//only supported by MIOS32!//**+MBHP_AINSER8 is a Reduced version of the MBHP_AINSER64 module without 1-to-8 multiplexers and on-board VR, and **//only supported by MIOS32!//
 \\ \\
 \\ \\
-**It is based on the 8-channel ADC MCP3208 from Microchip**. It can be used to scan pots and/or faders with 12bit resolution between 0 and 5V.**The accuracy and especially the signal/​noise ratio is much better compared to the internal ADCs of STM32** for insignificantly higher costs (around 3 EUR).+It is based on the 8-channel ADC MCP3208** from Microchip. It can be used to scan pots and/or faders with 12bit resolution between 0 and 5V.**The accuracy and especially the signal/​noise ratio is much better compared to the internal ADCs of STM32** for insignificantly higher costs (around 3 EUR).
 \\ \\
 \\ \\
-Another advantage is the **Improved Scalability**. While with the previous MBHP_AIN module the maximum number of scannable inputs was limited by the number of on-chip ADC channels, **the new approach allows to access multiple MBHP_AINSER64 and MBHP_AINSER8 modules from the same microcontroller**. +Another advantage is the **Improved Scalability**. While with the previous MBHP_AIN module the maximum number of scannable inputs was limited by the number of on-chip ADC channels, **the new approach allows to access multiple MBHP_AINSER64 and MBHP_AINSER8 modules from the same microcontroller.The ADC is accessed via SPI** (e.g. J19 of the MBHP_CORE_STM32F4 module).
-\\ +
-**The ADC is accessed via SPI** (e.g. J19 of the MBHP_CORE_STM32F4 module).+
 \\ \\
 \\ \\
Line 22: Line 20:
 \\ \\
 \\ \\
-Powering the module via USB (provided at J19 by the core module) is sufficient. It's recommended to use a "​selfpowered"​ USB Hub like this one from Reichelt. It also decouples the power from the (noisy) PC supply, and allows to run the MIDIbox without a PC connection.+**Powering the module via USB (provided at J19 by the core module) is sufficient**. It's recommended to use a "​selfpowered"​ USB Hub like this one from Reichelt. It also decouples the power from the (noisy) PC supply, and allows to run the MIDIbox without a PC connection.
 \\ \\
 +
 +===== Parts List / Schematic =====
 +
 +See [[ainser8_board_parts_list|AINSER8 Parts List]]
 +\\
 +  * {{http://​ucapps.de/​mbhp/​mbhp_ainser8.pdf|Schematic}}<​sup>​UCapps</​sup>​
 +
 +
 ===== Inputs/ Outputs Port Table ===== ===== Inputs/ Outputs Port Table =====
 +
 +^ Port ^ Pins # ^ Description ​                                                                           ^
 +| J2   | 10     | Serial input which is usually connected to J19 of MBHP_CORE_STM32F4 module. ​           |
 +| J3   | 10     | Serial output which could be used to chain multiple MBHP_AINSER* modules.**Please note: the standard AINSER driver for MIOS32 doesn'​t support this method!** Instead it expects that multiple modules are connected to J19 in parallel, and that they are using dedicated chip select lines (selected via jumper J4)!        |
 +| J4   | 3      | A jumper has to be connected to this port to select the first or second chip select line of J2 for accessing the ADC.  |
 +| J6   | 10     | 8 analog inputs and 5V (=Vd) / Ground (=Vs) connections.**Please note: all unused analog inputs have to be clamped to ground (Vss)**, otherwise your MIDIbox will send out a lot of random MIDI events |
ainser8_module.1470302994.txt.gz · Last modified: 2016/08/04 09:29 by psykhaze