Home > Projects > Clock – Timer Projects > Clock Three – A pillow clock using Arduino

Clock Three – A pillow clock using Arduino

Summary of Clock Three – A pillow clock using Arduino


This article introduces a wearable pillow clock project using the LilyPad Arduino system, designed for e-textiles. Unlike previous minimalist builds, this project utilizes sewable components and conductive thread to integrate circuitry into fabric. The author details the Protosnap Lilypad kit, explaining how its parts snap out for individual use and emphasizing the high resistance of conductive thread when connecting components.

Parts used in the Pillow Clock:

  • LilyPad Protosnap PCB unit
  • Main circular board with ATmega328 microcontroller
  • FTDI USB converter header
  • Li-Ion battery charger/connector
  • Five white LEDs
  • Buzzer
  • Vibration module
  • RGB LED
  • Switch
  • Temperature sensor
  • Light sensor
  • Conductive thread
  • DS1307 real-time clock IC

Time for another instalment in my irregular series of irregular clock projects. In contrast with the minimalism of Clock Two, in this article we describe how to build a different type of clock – using the “lilypad” style of Arduino-compatible board and components designed for use in e-textiles and wearable electronics. As the LilyPad system is new territory for us, the results have been somewhat agricultural. But first we will examine how LilyPad can be implemented, and then move on to the clock itself.

Arduino pillow clock

The LilyPad system

By now you should have a grasp of what the whole Arduino system is all about. If not, don’t panic – see my series of tutorials available here. The LilyPad Arduino boards are small versions that are designed to be used with sewable electronics – in order to add circuitry to clothing, haberdashery items, plush toys, backpacks, etc. There are a few versions out there but for the purpose of our exercise we use the Protosnap Lilypad parts which come in one PCB unit for practice, and then can be ‘snapped out’ for individual use. Here is an example in the following video:

The main circular board in the Arduino-type board which contains an ATmega328 microcontroller, some I/O pins, a header for an FTDI-USB converter and a Li-Ion battery charger/connector. As an aside, this package is  good start – as well as the main board you receive the FTDI USB converter, five white LEDs, a buzzer, vibration module, RGB LED, a switch, temperature sensor and light sensor. If you don’t want to invest fully in the LilyPad system until you are confident, there is a smaller E-Sewing kit available with some LEDs, a battery, switch, needle and thread to get started with.

Moving forward – how will the parts be connected? Using thread – conductive thread. For example:

This looks and feels like normal thread, and is used as such. However it is conductive – so it doubles as wire. However the main caveat is the resistance – conductive thread has a much higher resistance than normal hook-up wire. For example, measuring a length of around eleven centimetres has a resistance of around 11Ω:

Arduino pillow clock connection

So don’t go too long with your wire runs otherwise Ohm’s Law will come into play and reduce the available voltage. It is wise to try and minimise the distance between parts otherwise the voltage potential drop may be too much or your digital signals may have issues. Before moving on to the main project it doesn’t hurt to practice sewing a few items together to get the hang of things. For example, run a single LED from a digital output – here I was testing an LED by holding it under the threads:

Major Components in Project

For more detail: Clock Three – A pillow clock using Arduino

Quick Solutions to Questions related to Pillow Clock:

  • What type of board is used for this clock project?
    The project uses the LilyPad Arduino board, which is a small version designed for sewable electronics.
  • How are the electronic parts connected in this project?
    Parts are connected using conductive thread, which acts as wire but has higher resistance than normal hook-up wire.
  • Does the conductive thread have high resistance?
    Yes, conductive thread has much higher resistance; for example, eleven centimeters measures around 11Ω.
  • Can I make long wire runs with conductive thread?
    No, you should minimize distance between parts because long runs reduce available voltage due to Ohm's Law.
  • What comes inside the Protosnap Lilypad package?
    The package includes the main board, FTDI USB converter, five white LEDs, a buzzer, vibration module, RGB LED, switch, temperature sensor, and light sensor.
  • Is there a smaller kit for beginners?
    Yes, a smaller E-Sewing kit is available containing some LEDs, a battery, switch, needle, and thread.
  • What is the purpose of the DS1307 component?
    The DS1307 is a real-time clock IC used in the pillow clock project.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top