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
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 just my personal collection of projects. Two main themes have emerged in recent years, sometimes combined:

  • electronics - 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
  • scale modelling - I caught the bug after deciding to build a Harrier during covid to demonstrate an electronic jet engine simulation. Let the fun begin..
To be honest, I haven't quite figured out if these two interests belong in the same GitHub repo or not. But for now - they are all here!

Projects are often inspired by things found wild on the net, or ideas from the many great electronics and scale modelling podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.