LUNCHTIME CLOCK JAMECO PART NO

Similar documents
DS1307 Real Time Clock Breakout Board Kit

Arduino Lesson 16. Stepper Motors

How to Move Canon EF Lenses. Yosuke Bando

Pololu DRV8835 Dual Motor Driver Shield for Arduino

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

MCP4725 Digital to Analog Converter Hookup Guide

GLOLAB Two Wire Stepper Motor Positioner

PolyBot Board. User's Guide V1.11 9/20/08

Arduino Lesson 13. DC Motors. Created by Simon Monk

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Tiny Arduino Music Visualizer

Bill of Materials: Line Follower: A Zippy Robot That Senses Where to Go PART NO

AXE114S BINARY CLOCK. revolution Revolution Education Ltd. Web: Version /09/08 AXE114.PMD.

K6002 TEMPERATURE CONTROLLER. Specifications

Adafruit SHT31-D Temperature & Humidity Sensor Breakout

The self-starting solar-powered Stirling engine

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Arduino Lesson 14. Servo Motors

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

Arduino Lesson 0. Getting Started

DEPARTMENT OF ELECTRONICS ENGINEERING

Joule Thief 3.0 Kit. June 2012, Rev Joule Thief 3.0

Arduino DUE + DAC MCP4922 (SPI)

Robot Board Sub-System Testing. Abstract. Introduction and Theory. Equipment. Procedures. EE 101 Spring 2006 Date: Lab Section # Lab #6

TEECES DOME LIGHTING SYSTEMS

Electronic Rotary Table Divider V2.1 Construction

GT3B Hack Kit Install Instructions Written By Austin Hutchison

EXPRESS PCB TUTORIAL Author: Lee Morey Revised: JE Feb 2015

Controlling a Dot Matrix LED Display with a Microcontroller

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

1 of 5 12/31/ :51 AM

Analog control unit for mobile robots

CHAPTER 11: Flip Flops

Adafruit Proto Shield for Arduino

Arduino Motor Shield (L298) Manual

ROTOPOD PERISCOPE LIGHTING KIT (for MCWHLR & Daniel D/Xeno Periscopes)

AXE033 SERIAL/I2C LCD

Disassembling the Wii

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

Make a Pocket LED Cube. This weekend, you can make a 3x3x3 Pocket LED Cube that you can program with your own animations!

1.8" TFT Display Breakout and Shield

AUTOMATIC CALL RECORDER JAMECO PART NO

TSL2561 Luminosity Sensor

Assembly Instructions: Shortwave Radio Kit

The RSGB Centenary Receiver Project Construction Manual

Arduino Lesson 4. Eight LEDs and a Shift Register

RGB LED Strips. Created by lady ada. Last updated on :00:18 PM EST

Adding a Real Time Clock to Raspberry Pi

Optical Sensor Interface for AFX Digital LED Timer/Counter by George Warner, Jan

RS232/DB9 An RS232 to TTL Level Converter

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

Capacitive Touch Sensor Project:

Arduino Lesson 5. The Serial Monitor

Bill Conkling July 2012

GLOLAB Universal Telephone Hold

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Cost. 13p each each

Nintendo 64 Power Supply Power Cord Replacement Guide Page 1 of 10. Nintendo 64 Power Supply Power Cord Replacement Guide

Assembly and User Guide

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

BUILDING INSTRUCTIONS

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

IR Communication a learn.sparkfun.com tutorial

2.2" TFT Display. Created by Ladyada. Last updated on :15:09 PM EDT

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

Adafruit Data Logger Shield

Support:

ECEN 1400, Introduction to Analog and Digital Electronics

Total solder points: 167 Difficulty level: beginner advanced DMX CONTROLLED RELAY K8072 ILLUSTRATED ASSEMBLY MANUAL

Modifying the Yaesu FT-847 External MHz Reference Input

Odyssey of the Mind Technology Fair. Simple Electronics

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

BMD16N-SD. version 1.2

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

CAN-Bus Shield Hookup Guide

Waspmote. Quickstart Guide

The Radio-Kits Digital SWR meter kit Construction and user manual

Installation tutorial for Console Customs Xbox 360 MaxFire FUSION V2 rapid fire Mod Chip.

Programming the VEX Robot

Battery Power for LED Pixels and Strips. Created by Phillip Burgess

Slot.it Audi R8C Snetterton

MXL5007T TUNER RADIO

Tutorial. replace them with cell-phone operated module. The advantages of a cell-phone operated bot are:-

RB-See-211. Seeedstudio Grove 6-15V, 2A Dual I2C Motor Driver. Grove - I2C Motor Driver. Introduction

Bob Rathbone Computer Consultancy

Cumbria Designs T-1. SSB/CW Filter kit (4.9152MHz) User Manual

Microstep Driver Manual Version 6/13/2006

DET Practical Electronics (Intermediate 1)

Designing VM2 Application Boards

Hardware Connections between Arduino and IMU Nori Wilkins Apr. 5, 2013

DIY Pocket LED Gamer - Tiny Tetris!

Soldering is easy. here's how to do it. Andie Nordgren (Comics adaptation) Jeff Keyzer. by: Mitch Altman (soldering wisdom) (Layout and editing)

Lecture 7: Programming for the Arduino

step 1 Unpack the lunchbox And check whether you have got all the components~ If you have questions please contact us at: info@unitunlikely.

WHO ANSWERED FIRST? FIND OUT WITH THIS QUIZ BUZZER KIT

How to modify a car starter for forward/reverse operation

Transcription:

LUNCHTIME CLOCK JAMECO PART NO. 2169512 Have you ever wished lunchtime were longer? Well, wish no longer! Thanks to advances in technology, I present to you a clock that speeds up 20% every day at 11:00 and slows down 20% every day at 11:48. Now you ll have an extra twelve minutes of lunch to enjoy. Twelve minutes may not seem like a lot but, to put it into perspective, this is a full additional hour of lunchtime gained every week. Experience Level: Intermediate Time Required: 3-6 hours Required tools and parts: Soldering Iron and solder Computer for programming Wall Clock Adafruit Real Time Clock Breakout Board kit: https://www.adafruit.com/products/264 Bill of Materials: Quantity Jameco SKU Component Name 1 51262 7805T Voltage Regulator 1 198791 9V Battery 1 325139 16MHz Crystal 2 254801 BC547B NPN Transistor 2 15405 22pF Capacitor 1 112300 28-Pin IC Socket 10 2157159 1kΩ Resistor 1 1949488 9V Battery Snap 1 2129334 ATmega328P Microcontroller IC 1 2144614 1x6 Position Pass-Through Header 1 2151486 Arduino Uno R3 Microcontroller Board 2 2169521 BC557CG PNP Transistor 1 105111 2.4" x 3.4" Protoboard

Step 1 Remove the Clock Movement Pieces Remove the clock movement from the clock body. This will require removing the front glass face from the clock as well as the clock's hands. Be careful, you will have to reassemble everything so you don t want to break anything. Step 3: Hack the Movement Pieces Inside the clock movement is a single coil stepper motor. We want to disconnect the coil from the clock's timing circuit and attach wires to the coil so that we can control it ourselves. Open up the clock movement and make careful note of where everything is (or take a picture). Take apart the movement until the circuit board is free. Locate the contacts on the circuit board where the motor is located. You will notice that these two contacts have traces that go off to the chip. Use a razor blade or knife to scratch away at these traces until the connection with the chip is visibly broken. For good measure, cut away the timing crystal, rendering the circuit more or less useless. Solder about 6" of wire to each of the motor terminals. When this is done put the whole thing back together. If there isn t a spot in the case where you can conveniently slip the wires through you may have to cut a small hole for the wires to pass through.

Step 4: Putting the Clock Back Together Once the movement is good and hacked, put the clock back together. Make sure that the hour, minute and second hand all lined up at 12:00. It will not work properly if not. Step 5: Real Time Clock Kit Put together your Adafruit DS1307 Real Time Clock Kit. Need help use this link: http://www.instructables.com/id/assemble-an-adafruit-ds1307-real-time-clock-kit/ Set the time on the RTC board. As long as you don't take the battery out, you should only need to do this once (at least for the next five years or so until the battery dies). In-depth instructions for setting the time use this link:

http://www.ladyada.net/learn/breakoutplus/ds1307rtc.html Step 6: Building the Circuit The circuit is pretty simple to build. It is basically what people are calling a "hackduino," a socket for the real time clock board and a crude H-bridge to control the motor.

Step 7: Program the Chip You will need to install the RTClib library for your code to work. Use this link for instructions: http://www.ladyada.net/learn/breakoutplus/ds1307rtc.html Download lunchtime_clock.zip, uncompress it and then upload the lunchtime_clock.pde code onto your chip. Here is the code: // Lunchtime Clock // by Randy Sarafan // // Slows down 20% at 11 and speeds up 20% at 11:48 until it hits 1. // The rest of the time the clock goes at normal speed // // Do what you want with this code. Just make certain that whatever you do, it is awesome. // #include <Wire.h> #include "RTClib.h" RTC_DS1307 RTC; int clockpin = 9; int clockpin1 = 10; void setup () { Serial.begin(57600); Wire.begin(); RTC.begin(); void loop () { DateTime now = RTC.now(); TurnTurnTurn(1000); if (now.hour() == 11) { for (int i = 0; i < 1800; i++) { TurnTurnTurn(800); for (int i = 0; i < 1800; i++) { TurnTurnTurn(1200); int TurnTurnTurn(int TimeToWait){ analogwrite(clockpin, 0); analogwrite(clockpin1, 124); // sets the value (range from 0 to 255) delay(timetowait); analogwrite(clockpin, 124); analogwrite(clockpin1, 0); delay(timetowait);

Step 8: Putting it all Together Once everything is programmed you can transfer your ATmega168 chip from the Arduino to your circuit board. Simply plug in your RTC board into the socket and make sure the pins are lined up correctly before powering it up. Go ahead and attach the circuit board and battery to the back of the clock. You can use hot glue, gaffers tape, even self-adhesive Velcro.

Step 9: Synchronize the Clocks Put a new ATmega168 chip into the Arduino. Connect the Arduino to the RTC board. Run the sample code using this link: http://www.ladyada.net/learn/breakoutplus/ds1307rtc.html Open the serial monitor. The time displayed here is the time you are going to want to sync your clock to. It was easiest to set a third clock (I used my computer clock) to be perfectly in sync with the RTC board. Then, I powered down the Arduino, transferred the RTC board back to my circuit and set the Lunchtime Clock to a minute later than my computer time. At just the right moment, when the minute changed on my computer, I powered up the lunchtime clock to achieve synchronicity.