<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-04-20:105601</id>
  <title>Busy hands | Disquiet mind</title>
  <subtitle>Craft and Tech Notebook</subtitle>
  <author>
    <name>chebe</name>
  </author>
  <link rel="alternate" type="text/html" href="https://chebe.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://chebe.dreamwidth.org/data/atom"/>
  <updated>2019-01-13T21:31:25Z</updated>
  <dw:journal username="chebe" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-04-20:105601:90294</id>
    <link rel="alternate" type="text/html" href="https://chebe.dreamwidth.org/90294.html"/>
    <link rel="self" type="text/xml" href="https://chebe.dreamwidth.org/data/atom/?itemid=90294"/>
    <title>Uno and LilyPad and Adafruit 2.2" TFT LCD</title>
    <published>2015-09-19T18:33:45Z</published>
    <updated>2019-01-13T21:31:25Z</updated>
    <category term="lilypad"/>
    <category term="photos"/>
    <category term="arduino"/>
    <category term="lcd"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">Further experiments with the LCD screen.&lt;br /&gt;&lt;br /&gt;Install two libraries;&lt;br /&gt;&lt;a href="https://github.com/adafruit/Adafruit_ILI9340"&gt;Adafruit_ILI9340&lt;/a&gt;&lt;br /&gt;&lt;a href="https://github.com/adafruit/Adafruit-GFX-Library"&gt;Adafruit_GFX&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Uno pins;&lt;br /&gt;- 13/SCLK to SCLK&lt;br /&gt;- 12/MISO to MISO (not needed)&lt;br /&gt;- 11/MOSI to MOSI&lt;br /&gt;- 10/SS to CS&lt;br /&gt;- 9 to DC&lt;br /&gt;- 8 to RST&lt;br /&gt;&lt;br /&gt;&lt;p class="image" style="text-align:center;"&gt;&lt;a href="https://lostaurora.net/gallery/galleries/blog/269732_original.jpg"&gt;&lt;img width="400" alt="Arduino Uno breadboarded to 2.2inch LCD" src="https://lostaurora.net/gallery/galleries/blog/269732_original.jpg" height="400" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Uno works smoothly&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Photo by &lt;a href="http://chebe.dreamwidth.org/"&gt;chebe&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LilyPad Maincontroller pins;&lt;br /&gt;- 13/SCLK to SCLK&lt;br /&gt;- 12/MISO to MISO (not needed)&lt;br /&gt;- 11/MOSI to MOSI&lt;br /&gt;- 10 to CS&lt;br /&gt;- 9 to DC&lt;br /&gt;- 8 to RST&lt;br /&gt;&lt;br /&gt;&lt;p class="image" style="text-align:center;"&gt;&lt;a href="https://lostaurora.net/gallery/galleries/blog/269317_original.jpg"&gt;&lt;img width="400" alt="Arduino Lilypad Maincontroller breadboarded to 2.2inch LCD" src="https://lostaurora.net/gallery/galleries/blog/269317_original.jpg" height="225" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Lilypad Maincontroller works as well!&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Photo by &lt;a href="http://chebe.dreamwidth.org/"&gt;chebe&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=chebe&amp;ditemid=90294" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-04-20:105601:89919</id>
    <link rel="alternate" type="text/html" href="https://chebe.dreamwidth.org/89919.html"/>
    <link rel="self" type="text/xml" href="https://chebe.dreamwidth.org/data/atom/?itemid=89919"/>
    <title>BeagleBone Black and Adafruit 2.2" TFT LCD</title>
    <published>2015-09-16T22:05:18Z</published>
    <updated>2019-01-13T21:30:40Z</updated>
    <category term="photos"/>
    <category term="lcd"/>
    <category term="beagleboneblack"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">Take one cute little &lt;a href="http://www.adafruit.com/products/1480"&gt;Adafruit 2.2" LCD(isplay)&lt;/a&gt;, and make it work with BBB.&lt;br /&gt;&lt;br /&gt;Wire up as per &lt;a href="http://matthewcmcmillan.blogspot.ie/2014/09/experimenting-with-beaglebone-black-and-tft.html"&gt;this post&lt;/a&gt;.&lt;br /&gt;Connections;&lt;br /&gt;- (DL not connected)&lt;br /&gt;- BBB SCLK pin P9_22 to TFT SCK (yellow)&lt;br /&gt;- (MISO not connected)&lt;br /&gt;- BBB MOSI pin P9_18 to TFT MOSI (blue)&lt;br /&gt;- BBB CE0 pin P9_17 to TFT CS (green)&lt;br /&gt;- (SDCS not connected)&lt;br /&gt;- BBB pin P9_12 to TFT RST (orange)&lt;br /&gt;- BBB pin P9_15 to TFT D/C (purple/white)&lt;br /&gt;- BBB 3.3V power pin P9_3 to TFT Vin (red)&lt;br /&gt;- BBB ground pin P9_2 to TFT GND (black)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then following the &lt;a href="https://learn.adafruit.com/user-space-spi-tft-python-library-ili9341-2-8?view=all"&gt;Adafruit tutorial&lt;/a&gt;;&lt;br /&gt;&lt;br /&gt;Enable SPI(nterface);&lt;br /&gt;- Add this line to /boot/uEnv.txt&lt;br /&gt;&lt;code&gt;optargs=capemgr.enable_partno=BB-SPIDEV0&lt;/code&gt;&lt;br /&gt;- And reboot&lt;br /&gt;&lt;br /&gt;Install all the things&lt;br /&gt;&lt;br /&gt;Edit the python scripts in the examples directory to comment out the raspi pins and uncomment the BBB pins. Run. See cat. Be happy.&lt;br /&gt;&lt;br /&gt;&lt;p class="image" style="text-align:center;"&gt;&lt;a href="https://lostaurora.net/gallery/galleries/blog/268901_original.jpg"&gt;&lt;img width="532" alt="BeagleBone Black (in blue case) breadboarded to 2.2inch LCD" src="https://lostaurora.net/gallery/galleries/blog/268901_original.jpg" height="300" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Beagles and cats get along just fine&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Photo by &lt;a href="http://chebe.dreamwidth.org/"&gt;chebe&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=chebe&amp;ditemid=89919" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
