https://bitwizard.nl/wiki/index.php?title=LCD_%2B_3FETs_demonstration&feed=atom&action=history
LCD + 3FETs demonstration - Revision history
2024-03-29T10:29:15Z
Revision history for this page on the wiki
MediaWiki 1.27.0
https://bitwizard.nl/wiki/index.php?title=LCD_%2B_3FETs_demonstration&diff=3734&oldid=prev
Cartridge1987: /* Things we used */
2015-12-04T16:01:47Z
<p><span dir="auto"><span class="autocomment">Things we used</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 16:01, 4 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3" >Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>= Things we used =</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>= Things we used =</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* [http://www.bitwizard.nl/shop/breakout-boards/dio-breakout-board RPi Serial Breakout board]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/6-pin-idc-cable-15cm SPI cable]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/6-pin-idc-cable-15cm SPI cable]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/lcd-interface-16x2 SPI LCD]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/lcd-interface-16x2 SPI LCD]</div></td></tr>
</table>
Cartridge1987
https://bitwizard.nl/wiki/index.php?title=LCD_%2B_3FETs_demonstration&diff=3729&oldid=prev
Cartridge1987: /* Things we used */
2015-12-04T15:26:42Z
<p><span dir="auto"><span class="autocomment">Things we used</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 15:26, 4 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4" >Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/breakout-boards/dio-breakout-board RPi Serial Breakout board]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/breakout-boards/dio-breakout-board RPi Serial Breakout board]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [www.bitwizard.nl/shop/6-pin-idc-cable-15cm SPI cable]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [<ins class="diffchange diffchange-inline">http://</ins>www.bitwizard.nl/shop/6-pin-idc-cable-15cm SPI cable]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [www.bitwizard.nl/shop/lcd-interface-16x2 SPI LCD]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [<ins class="diffchange diffchange-inline">http://</ins>www.bitwizard.nl/shop/lcd-interface-16x2 SPI LCD]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/3fets SPI 3FETs]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/shop/3fets SPI 3FETs]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Common-Anode RGB LED strip</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Common-Anode RGB LED strip</div></td></tr>
</table>
Cartridge1987
https://bitwizard.nl/wiki/index.php?title=LCD_%2B_3FETs_demonstration&diff=3728&oldid=prev
Cartridge1987 at 15:25, 4 December 2015
2015-12-04T15:25:47Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 15:25, 4 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3" >Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>= Things we used =</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>= Things we used =</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/<del class="diffchange diffchange-inline">catalog</del>/<del class="diffchange diffchange-inline">product_info.php?products_id=69 </del>RPi Serial Breakout board]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/<ins class="diffchange diffchange-inline">shop</ins>/<ins class="diffchange diffchange-inline">breakout-boards/dio-breakout-board </ins>RPi Serial Breakout board]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [<del class="diffchange diffchange-inline">http://</del>www.bitwizard.nl/<del class="diffchange diffchange-inline">catalog</del>/<del class="diffchange diffchange-inline">product_info.php?products_id=90 </del>SPI cable]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [www.bitwizard.nl/<ins class="diffchange diffchange-inline">shop</ins>/<ins class="diffchange diffchange-inline">6-pin-idc-cable-15cm </ins>SPI cable]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [<del class="diffchange diffchange-inline">http://</del>www.bitwizard.nl/<del class="diffchange diffchange-inline">catalog</del>/<del class="diffchange diffchange-inline">product_info.php?products_id=89 </del>SPI LCD]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [www.bitwizard.nl/<ins class="diffchange diffchange-inline">shop</ins>/<ins class="diffchange diffchange-inline">lcd-interface-16x2 </ins>SPI LCD]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/<del class="diffchange diffchange-inline">catalog</del>/<del class="diffchange diffchange-inline">product_info.php?products_id=72 </del>SPI 3FETs]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bitwizard.nl/<ins class="diffchange diffchange-inline">shop</ins>/<ins class="diffchange diffchange-inline">3fets </ins>SPI 3FETs]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Common-Anode RGB LED strip</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Common-Anode RGB LED strip</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* 12V Power supply</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* 12V Power supply</div></td></tr>
</table>
Cartridge1987
https://bitwizard.nl/wiki/index.php?title=LCD_%2B_3FETs_demonstration&diff=1914&oldid=prev
Tom: Created page with "This page describes the demo that can be found on the following youtube link: http://www.youtube.com/watch?v=enJEksPqWqo = Things we used = * [http://www.bitwizard.nl/catalo..."
2012-10-10T13:24:48Z
<p>Created page with "This page describes the demo that can be found on the following youtube link: http://www.youtube.com/watch?v=enJEksPqWqo = Things we used = * [http://www.bitwizard.nl/catalo..."</p>
<p><b>New page</b></p><div>This page describes the demo that can be found on the following youtube link: http://www.youtube.com/watch?v=enJEksPqWqo<br />
<br />
= Things we used =<br />
<br />
* [http://www.bitwizard.nl/catalog/product_info.php?products_id=69 RPi Serial Breakout board]<br />
* [http://www.bitwizard.nl/catalog/product_info.php?products_id=90 SPI cable]<br />
* [http://www.bitwizard.nl/catalog/product_info.php?products_id=89 SPI LCD]<br />
* [http://www.bitwizard.nl/catalog/product_info.php?products_id=72 SPI 3FETs]<br />
* Common-Anode RGB LED strip<br />
* 12V Power supply<br />
<br />
= Steps to take =<br />
<br />
Since we want to display different texts on two daisy-chained display's, we needed to change the address of one of the display's:<br />
* Only connect the display who's address you want to chacnge, to the SPI0 port of your RPi<br />
* Execute the following command: "sudo ./bw_lcd -a 82 -r 240 -v 128<br />
Now this display should be listening on port 80.<br />
<br />
Now connect al the SPI modules in one chain, hook up the power supply and LED strip to the 3FETs board, and run the following script as root:<br />
<br />
#!/bin/sh<br />
<br />
./bw_lcd -a 80 -C<br />
./bw_lcd -a 82 -C<br />
<br />
# Print welcome message to LCDs<br />
./bw_lcd -a 80 -T 0,0 'Raspberry Pi'<br />
./bw_lcd -a 80 -T 0,1 'controlling two'<br />
./bw_lcd -a 82 -T 0,0 'LCD modules and'<br />
./bw_lcd -a 82 -T 0,1 'an RGB LED strip'<br />
<br />
#Enable PWM on 3FETs board<br />
./bw_lcd -a 8A -r 95 -v 7<br />
<br />
sleep 2<br />
<br />
#Play with colors<br />
./bw_lcd -a 80 -C<br />
./bw_lcd -a 82 -C<br />
<br />
./bw_lcd -a 80 -T 0,0 "Let's try some"<br />
./bw_lcd -a 80 -T 0,1 'simple colors'<br />
<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 'Red'<br />
./bw_lcd -a 8A -r 82 -v 255<br />
sleep 1<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 'Yellow'<br />
./bw_lcd -a 8A -r 81 -v 255<br />
sleep 1<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 'Green'<br />
./bw_lcd -a 8A -r 82 -v 0<br />
sleep 1<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 'Cyan'<br />
./bw_lcd -a 8A -r 80 -v 255<br />
sleep 1<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 'White'<br />
./bw_lcd -a 8A -r 82 -v 255<br />
sleep 1<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 'Violet'<br />
./bw_lcd -a 8A -r 81 -v 0<br />
sleep 1<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 'Blue'<br />
./bw_lcd -a 8A -r 82 -v 0<br />
sleep 1<br />
./bw_lcd -a 82 -C<br />
./bw_lcd -a 82 -T 0,0 ''<br />
./bw_lcd -a 8A -r 80 -v 0<br />
sleep 1<br />
<br />
./bw_lcd -a 80 -C<br />
./bw_lcd -a 82 -C<br />
<br />
<br />
./bw_lcd -a 80 -T 0,0 'Nice, eh?'</div>
Tom