ソースを参照

Document other input objects

dds
PaulStoffregen 10年前
コミット
3bf454529e
4個のファイルの変更53行の追加10行の削除
  1. バイナリ
      gui/adcpins1.jpg
  2. バイナリ
      gui/adcpins2.jpg
  3. +2
    -3
      gui/index.html
  4. +51
    -7
      gui/list.html

バイナリ
gui/adcpins1.jpg ファイルの表示

変更前 変更後
幅: 240  |  高さ: 217  |  サイズ: 19KB

バイナリ
gui/adcpins2.jpg ファイルの表示

変更前 変更後
幅: 240  |  高さ: 220  |  サイズ: 19KB

+ 2
- 3
gui/index.html ファイルの表示

@@ -24,13 +24,12 @@
limitations under the License.
-->
<head>
<title>Node-RED</title>
<title>Audio System Design Tool for Teensy Audio Library</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="jquery/css/smoothness/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" type="text/css" href="orion/built-editor.css"/>
<link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css"/>
<link rel="stylesheet" href="style.css">
<head>
<style>
table.doc {border-spacing:3px; border-collapse:separate; font-size: 80%}
tr.top {background-color:#C0C0C0}
@@ -49,7 +48,7 @@ span.mainfunction {color: #993300; font-weight: bolder}
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="#"><img src="node-red.png"> <span class="red">Node-RED</span> </a>
<span class="brand">Audio System Design Tool for Teensy Audio Library</span>
<div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-align-justify"></i> <span class="caret"></span></a>
<ul class="dropdown-menu">

+ 51
- 7
gui/list.html ファイルの表示

@@ -16,7 +16,7 @@
<h3>Summary</h3>
<p>Receive 16 bit stereo audio from the
<a href="http://www.pjrc.com/store/teensy3_audio.html" target="_blank">audio shield</a>
or another I2S device.</p>
or another I2S device, using I2S master mode.</p>
<p align=center><img src="audioshield_inputs.jpg"></p>
<h3>Audio Connections</h3>
<table class=doc align=center cellpadding=3>
@@ -64,11 +64,31 @@
});
</script>
<script type="text/x-red" data-help-name="AnalogInputI2Sslave">
<p>Receive 16 bit stereo audio from a I2S device using slave mode</p>


<p>Stereo audio input from the audio shield or other I2S device</p>
<p><b>TODO</b> Add object documetation here</b>.</p>
<h3>Summary</h3>
<p>Receive 16 bit stereo audio from an I2S device using I2S slave mode.</p>
<h3>Audio Connections</h3>
<table class=doc align=center cellpadding=3>
<tr class=top><th>Port</th><th>Function</th></tr>
<tr class=odd><td align=center>Out 0</td><td>Left Channel</td></tr>
<tr class=odd><td align=center>Out 1</td><td>Right Channel</td></tr>
</table>
<h3>Functions</h3>
<p>This object has no functions to call from the Arduino sketch. It
simply streams data from the I2S hardware to its 2 output ports.</p>
<h3>Hardware</h3>
<p>The I2S signals are used in "slave" mode, where the I2S device controls
data timing.</p>
<table class=doc align=center cellpadding=3>
<tr class=top><th>Pin</th><th>Signal</th><th>Direction</th></tr>
<tr class=odd><td align=center>9</td><td>BCLK</td><td>Input</td></tr>
<tr class=odd><td align=center>13</td><td>RX</td><td>Input</td></tr>
<tr class=odd><td align=center>23</td><td>LRCLK</td><td>Input</td></tr>
</table>
<p>Slave mode I2S <b>should not used in the same project as ADC, DAC and
PWM</b> signals. Differences in timing between the I2S device and
Teensy's clock can cause occasional audio glitches when I2S slave mode
is used together with other input or output objects based on Teensy's
timing.</p>
</script>
<script type="text/x-red" data-template-name="AnalogInputI2Sslave">
<div class="form-row">
@@ -90,7 +110,31 @@
});
</script>
<script type="text/x-red" data-help-name="AnalogInputADC">
<p><b>TODO</b> Add object documetation here</b>.</p>
<h3>Summary</h3>
<p>Receive 12 bit audio using the built-in analog to digital converter.</p>
<h3>Audio Connections</h3>
<table class=doc align=center cellpadding=3>
<tr class=top><th>Port</th><th>Function</th></tr>
<tr class=odd><td align=center>Out 0</td><td>Audio Channel</td></tr>
</table>
<h3>Parameters</h3>
<table class=doc align=center cellpadding=3>
<tr class=top><th>Name</th><th>Type</th><th>Function</th></tr>
<tr class=odd><td align=center>Pin</td><td>Integer</td><td>Analog Pin To Use</td></tr>
</table>
<p>The pin number should be specified as "A0" to "A20"</p>
<p align=center><img src="adcpins2.jpg"></p>
<p align=center><img src="adcpins1.jpg"></p>
<h3>Functions</h3>
<p>This object has no functions to call from the Arduino sketch. It
simply streams data from the ADC to its output ports.</p>
<h3>Hardware</h3>
<p>Signal range is 0 to 1.2V</p>
<p>Need for DC bias, approx 0.6V</p>
<h3>Notes</h3>
<p>Algorithm for automatic DC bias tracking</p>
<p>Noise due to high source impedance</p>
<p>Power Supply rejection issue with simple DC bias</p>
</script>
<script type="text/x-red" data-template-name="AnalogInputADC">
<div class="form-row">

読み込み中…
キャンセル
保存