Consisting of an Arduino side and a Linux (Linio) side, the Yun is a great platform for Wi-Fi or Web enabled Arduino projects.

In this project I'll show you how to make a very simple Yun-Messager that displays your message sent to it over Wi-Fi.

I modified the Bridge Example code, to keep it simple and added an Adafruit TFT display.


  • Arduino Yun running a Web Server
  • Messaging via the REST protocol
  • Display messages on a TFT display


Here goes....

By the way. If you like this Instructable, you might also like to read My Blog covering various projects and Tutorials.


Step 1: Let's Get Started

You will need:
  1. Arduino Yun
  2. Adafruit TFT Display
  3. A breadbord and some wires
  4. A 5V power source for the Yun or USB cable to power from a PC

Install the Adafruit TFT libraries:
Adafruit ILI9340 library
Adafruit GFX Library

You can add them to the Arduino IDE by Sketch-> Import Library... ->Add Library...

The Adafruit TFT display is a breakout board with a 2.2" colour display. It interfaces with the Yun via SPI. On the Arduino UNO or similar the SPI pins are made available on the digital pins 13, 12, 11 and on the ICSP header but on the Leonardo and Yun they are only available on the ICSP header. This means you will need a male-male connecter to wire conveniently to the display. I made one by soldering together two Arduino Headers as shown.

<p>hello! </p><p>nice instructable. i have a query about the wiring for a yun. in your code it says that the wiring is for the uno (is that just a typo?):</p><p>// These are the pins used for the UNO </p><p>// for Due/Mega/Leonardo use the hardware SPI pins (which are different) </p><p>#define _sclk 13 </p><p>#define _miso 12 </p><p>#define _mosi 11</p><p> <br>#define _cs 10 </p><p>#define _rst 9 </p><p>#define _dc 8</p><p>i'm a bit confused about how the numbers relate to the numbers on the yun's ICSP.</p><p>thanks!</p>
<p>SCLK, MISO and MOSI pins are only accessible on the Yun's ICSP (and not the on the digital pins). CS,RST and DC are wired to pins D10, D9 , D8 as normal.</p>
<p>Thanks for the write up! Got this to work with a hd44780 through I2C, but I get weird artifacts after the message :(</p>

About This Instructable




Bio: Technologist, Electronic Engineer, sometime Coderdojo mentor.
More by akellyirl:Arduino Guitar Tuner Using DSP Techniques Add Amazon Echo Voice Control to You Smart Device Smart Home Thermostat 
Add instructable to: