Fork me on GitHub

Project Notes

#005 Heart Quotes

Press a button to snaffle a random quote from Heart Quotes and print it to a 16x2 LCD.

The Build


This currently just dumps the web response from the HeartQuotes API to the console and LCD panel.

The 220R resistor connecting +5V to the switch is not really required, and is included more as a link on the breadboard. From Digital Pins: “Pins configured [as INPUT] are said to be in a high-impedance state. Input pins make extremely small demands on the circuit that they are sampling, equivalent to a series resistor of 100 megohm in front of the pin.”

Sample console output

firing up the Ethernet...
Press the button to get a quote!
quote: The days of good English has went.

Sample raw response from

This gets parsed down into just the actual “quote” part:

$ curl -0 -i --raw ""
HTTP/1.1 200 OK
Connection: close
Etag: "b4279ec5fc6f80b38c73f8e305a894b0"
X-Ua-Compatible: IE=Edge,chrome=1
Date: Sun, 28 Dec 2014 04:51:22 GMT
X-Runtime: 0.030803
Content-Type: text/plain
Cache-Control: max-age=0, private, must-revalidate
Server: thin 1.2.6 codename Crazy Delicious
Via: 1.1 vegur

Oxymoron 27. Butt head

Console Output


The Breadboard

The Schematic

The Build

Parts for a breadboard build

Credits and references

  • HTTP GET based on the Arduino WebClient example
  • LCD output based on the Arduino LiquidCrystal examples
About LEAP#5 LCDEthernetArduino
Project Source on GitHub Project Gallery Return to the LEAP Catalog

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

LEAP is my personal collection of electronics projects, usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting (IMHO!).

The projects are usually inspired by things found wild on the net, or ideas from the sources such as:

Feel free to borrow liberally, and if you spot any issues do let me know. See the individual projects for credits where due. There are even now a few projects contributed by others - send your own over in a pull request if you would also like to add to this collection.