| Modèle : | DZD000098 |
| Fabricant : | IteadStudio |
| Disponibilité : | 10 |
| N° de visites: | 715 |
<p>Electronic brick of rotary potentiometer can be connected to analog I/O port, and the analog value will vary accordingly when rotated to different positions.</p>
<p><img alt="" src="http://imall.iteadstudio.com/media/wysiwyg/Products/ElectronicBrick/IMG_001200.jpg" style="width:500px" /></p>
<p>What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal boards and circuit modules assembled with various electronic components, electronic brick has standardized interfaces, plug and play, simplifying construction of prototype circuit on one’s own. There are many types of electronic bricks, and we provide more than twenty types with different functions including buttons, sensors, Bluetooth modules, etc, whose functions cover from sensor to motor drive, from Ethernet to wireless communication via Bluetooth, and so on. We will continue to add more types to meet the various needs of different projects.</p>
<h3>Features</h3>
<p>1.Plug and play, easy to use. Compatible with the mainstream 2.54 interfaces and 4-Pin Grove interfaces in the market.</p>
<p><img alt="" src="http://imall.iteadstudio.com/media/wysiwyg/Products/ElectronicBrick/IM120710014_2.jpg" style="width:500px" /></p>
<p>2.With use of M4 standard fixed holes, compatible with M4-standard kits such as Lego and Makeblock.</p>
<p><img alt="" src="http://imall.iteadstudio.com/media/wysiwyg/Products/ElectronicBrick/IM120710014_3.jpg" style="width:500px" /></p>
<h3>Specifications</h3>
<table border="1" style="width:500px">
<tbody>
<tr>
<td>PCB size</td>
<td>36.0mm X 24.0mm X 1.6mm</td>
</tr>
<tr>
<td>Working voltage</td>
<td>3.3 or 5V DC</td>
</tr>
<tr>
<td>Operating voltage</td>
<td>3.3 or 5V DC</td>
</tr>
<tr>
<td>Compatible interfaces</td>
<td>2.54 3-pin interface and 4-pin Grove interface<sup>(1)</sup></td>
</tr>
</tbody>
</table>
<p><em>Note 1</em><em>:</em><em> S for analog output port, V and G for voltage at the common collector and ground respectively</em></p>
<h3>Electrical characteristics</h3>
<table border="1" style="width:500px">
<tbody>
<tr>
<td>Parameter</td>
<td>Min.</td>
<td>Typical</td>
<td>Max.</td>
<td>Unit</td>
</tr>
<tr>
<td>Working voltage</td>
<td>3</td>
<td>5</td>
<td>5.5</td>
<td>VDC</td>
</tr>
<tr>
<td>Analog output voltage(VCC=5V)</td>
<td>0</td>
<td>-</td>
<td>5</td>
<td>V</td>
</tr>
<tr>
<td>Working current(VCC=5V)</td>
<td>-</td>
<td>260</td>
<td>-</td>
<td>uA</td>
</tr>
<tr>
<td>Resistance range</td>
<td>0</td>
<td>-</td>
<td>10</td>
<td>kΩ</td>
</tr>
</tbody>
</table>
<h3>Hardware</h3>
<p><img alt="" src="http://imall.iteadstudio.com/media/wysiwyg/Products/ElectronicBrick/IM120710014_4.jpg" style="width:300px" /></p>
<h3>DEMO</h3>
<p>Connect S port of electronic brick of rotary potentiometer to A0 port of Arduino board, and we will use the following program to read its analog value and set the brightness of LED lamp according to the value.</p>
<div>
<table border="0" cellpadding="0" cellspacing="0" id="highlighter_122335">
<tbody>
<tr>
<td>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
<div>9</div>
<div>10</div>
<div>11</div>
</td>
<td>
<div>
<div><code>int</code> <code>brightness = </code><code>0</code><code>; </code><code>// how bright the LED is</code></div>
<div><code>void</code> <code>setup() { </code></div>
<div> <code>// declare pin 9 to be an output:</code></div>
<div> <code>pinMode(led, OUTPUT);</code></div>
<div><code>} </code></div>
<div><code>void</code> <code>loop() { </code></div>
<div> <code>brightness = analogRead(A0); </code><code>//use A0 to read the electrical signal</code></div>
<div> <code>brightness = map(brightness, </code><code>0</code><code>, </code><code>1023</code><code>, </code><code>0</code><code>, </code><code>255</code><code>);</code></div>
<div> <code>// set the brightness of pin 9:</code></div>
<div> <code>analogWrite(led, brightness); </code></div>
<div><code>}</code></div>
</div>
</td>
</tr>
</tbody>
</table>
<div style="clear:both;"> </div>
</div>
| Brick Type | Button and Switch |
|---|---|
| Brick Interface | 3PIN |
| Brick Power Supply | 5V |
| Board Size | 36 × 24 × 1.6mm |
| LED Color | No |
| Weight | 20.00g |