Arduino Panel Meter Clock. By Russ Hughes

Similar documents
Rainbowduino Word Clock. By Russ Hughes

Adafruit USB Power Gauge Mini-Kit

Installation/assembly manual for DCC/Power shield

Schematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)

Phi -1 shield Documentation. Table of content

ROTOPOD PERISCOPE LIGHTING KIT

RC Tractor Guy Controller V2.1 Assembly Guide

Post Tenebras Lab. Written By: Post Tenebras Lab

OpenSprinkler v2.2u Build Instructions

Bill of Materials: Turn Off the Lights Reminder PART NO

Flight Data Recorder Hardware Version 1.0

Insert the male, 90 angled, 2x10 connectors into the corresponding 2x10 sockets and put them in place, flat under the PCB. Solder.

OpenSprinkler v2.1u Build Instructions

GPS Series. Build a GPS Smart Logger. By Michael Simpson. As seen in November 2008 of Servo Magazine Pick up an issue at

Propeller Project Board USB (#32810)

BehringerMods.com. Instructions for modification of Behringer SRC analog inputs and outputs

Quicksilver 606 TR-606 CPU Upgrade

Plasma Panel Replacement Guide DU-42PX12X

Tubbutec Sumtiple Kit Version Construction Manual

Wii Nunchuk Transceiver. Wiring Diagrams

Building the VMW Time Circuitry Meter by Vincent M. Weaver 6 May 2014

Portable Qi Charger. Created by Ruiz Brothers. Last updated on :20:38 AM UTC

PARTS LIST 1 x PC Board 36 x 5mm Red LED 36 x 12mm LED Standoff 36 x NPN Transistor 36 x 10kΩ Resistor OTHER PARTS YOU MAY NEED

FCB1010 Phantom Power Adaptor

Installation Instructions. Ecast Mojo B75B Motherboard Upgrade Kit Kit #

MACRO MODCHIP FOR XBOX360 CG2 INSTALLATION INSTRUCTIONS

HARDWARE OPERATIONS MANUAL

Metro Minimalist Clock

Hardware Overview and Features

Mailbox Notification Service. Created by Adam Kohring

Single cable kit for the FCB1010

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

Number Name Description Notes Image 0101 Resistor, 100 ohm. brown-black-browngold. ¼ watt, 5% tolerance, red-red-brown-gold. brown-black-red-gold.

TLC5947 and TLC59711 PWM LED Driver Breakouts

Go-Baby-Go Senior Capstone Project

Standard Strip Series

BMC24. MIDI TO GATE CONVERTER DOCUMENTATION. This documentation is for use with the "Euro Style" bottom board.

Phi-panel backpack assembly and keypad options Dr. John Liu 12/16/2012

HUB-ee BMD-S Arduino Proto Shield V1.1

BuffaloLabs WiFi Lantern Assembly guide version 1

Prototyping Module Datasheet

Installing PRO/DGX or Pro Soloist MIDI interface. R Grieb 9/08/2017

Desktop housing AZ/EL Kit V1.2 for ERC-M Instructions. Instructions

Bill of Materials: Picaxe-based IR Control Module Pair PART NO

KK1L 2x6 Antenna Switch Relay Controller / Dual Band Decoder Basic Assembly Version 4.8 (new 24-Aug-2009) Parts List updated 19-AUG-2016

HTC RE Companion Handheld camera

Zero2Go. User Manual (revision 1.03) Wide Input Range Power Supply for Your Raspberry Pi. Copyright 2017 UUGear s.r.o. All rights reserved.

REMOTE HEAD ADAPTER INSTALLATION GUIDE

Adafruit Terminal Block Breakout FeatherWing

Connecting igaging DigiMAG Scales to the Caliper2PC Interface A step by step Guide

CP5176 Assembly guide. Soldering. CP5176 Assembly guide Main PCB PCB split. Document revision 2.1 Last modification : 12/11/17

UF-3701 Power Board Construction Guide

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

LilyPad ProtoSnap Plus Hookup Guide

The basic product comes with the IRS5 control board, 3 internal cables, 1 external cable with a 5 volt adapter and a mounting bracket with hardware.

Pacific Antenna Two Tone Generator

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement.

the TS-520 Noise Blanker board to and making wiring changes to your SB-303 receiver!!!!

Thursday, September 15, electronic components

Sprinkler Controller Assembly Manual

RedBoard Hookup Guide

Building the RGBW LED Controller

Adafruit PowerBoost Charger

Micro USB Dock for Circuit Playground

SharpSky Focuser Construction. SharpSky Focuser. Construction Document V st December 2012 Dave Trewren 1

Web Site: Forums: forums.parallax.com Sales: Technical:

LED. Sign Module. Assembly Manual

MAIN PCB (The small one)

HUB-ee BMD-S Arduino Proto Shield V1.0

Upgrading the Mark5 motherboard to the SE7520BD2 Server Board

Phi -2 shield Documentation. Table of content

How to Assemble a Desktop PC

Teensy 3.5/3.6 Breakout (Revision A, Standard)

How-To: Make an RGB combination door lock (Part 1)

12mm LED Pixels. Created by Phillip Burgess. Last updated on :38:47 AM UTC

PIX 515/515E. PIX 515/515E Product Overview CHAPTER

Mac Mini Mid 2010 SSD Installation

OPERATING INSTRUCTIONS:

Tutorial AR Drone Miru Mod on Windows7 with DX6i DRAFT Part 1, V1.5 UFO Doctor, July 4th, 2011

13 MMC for PC Option Modules

Parts List: Part # Tools List: Instructions:

Proto-DB (#28310): Prototyping Daughterboard

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

ARDUINO MEGA 2560 REV3 Code: A000067

Creep Cluster Build Document. V5 - November 2018

Triori Game PART NO

You need the following components to assemble the Black n Wood Nixie Clock circuit board:

Section 5: Installing Parts from the Controls and Connectors Bag

Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3

Revised: Page 1

Electronics Assembly and Test Plan Rev 3

Removing and Replacing Parts

Trinket RGB Shield Clock

Supplement for module D061 incl. ATMega128 Prozessor

PICAXE EXPERIMENTER BOARD (AXE090)

IQ32 Upgrade Kit Assembly Instructions

GLiPIC Ver C Assembly manual Ver 1.0

EQ573 Assembly guide. EQ573 Assembly guide Main board 1. Diodes. 2. Resistors (1) 3. Test pins. 4. Ceramic capacitors.

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

into the EMU E4 Classic and E4 Platinum Samplers

Transcription:

Arduino Panel Meter Clock By Russ Hughes (russ@owt.com)

OVERVIEW My father has been a lifelong Ham Radio Operator with a fondness for almost anything with a panel meter. After seeing the Trinket Powered Analog Meter Clock by Mike Barela on the Adafruit website (https://learn.adafruit.com/trinketpowered-analog-meter-clock) I knew I had to create one. 3D PRINTING All parts print without support. I printed mine in PLA with a 0.2mm layer height using 3 top, bottom and perimeter shells CUSTOM METER FACES The Hour and Minute meter faces were created using MeterBasic from Tonne Software. MeterBasic is a fine program for the hobbyist who wants to generate a simple scale occasionally. MeterBasic is based on a subset of the features found in Meter and there are no plans to update it regularly. It requires no key and has no time or usage limitations. To provide an incentive to upgrade from MeterBasic to Meter, many of the features found in Meter are absent.. Download and install a copy from http://www.tonnesoftware.com/meter2.html. The source files for the meter faces are included in my project files so print one (or two, stuff happens) of each of the meters. Take apart the meters by removing the two small screws on front of the meter and remove the cover. Carefully remove the two small screws that hold the meter s scale plate and remove the plate by sliding it up and off the two very easily broken plastic or metal pins. Glue the new meter face to the back side of the plate (they are usually blank) and replace the scale plate with the new face showing. Reassemble the meter and congratulate yourself either on a job well done or the fact that you bought extra meters and nobody has to see havoc you have wrought on a poor panel meter.

PARTS LIST 1 3D Printed Case & Buttons 1 Arduino Pro Mini 328-5V/16MHz https://www.sparkfun.com/products/11113 2 0-5 Vdc Analog Panel Meters http://www.amazon.com/dp/b0051e8ona 1 DS3231 RTC http://www.amazon.com/dp/b00hr8ldgs 2 6x6x4.3mm Tactile Push Buttons http://www.amazon.com/dp/b008ds1gy0 1 DC Power Jack Socket http://www.amazon.com/dp/b00cklzhmi 1 Vero 250D Protoboard http://www.amazon.com/dp/b00g3ehatg 4 M3-0.5 Screws (around 8mm length) http://www.amazon.com/dp/b00f32dmqy 7 M2-0.4 Screws (around 6mm length) http://www.amazon.com/dp/b00f33tfrs 10 short lengths of wire http://www.amazon.com/dp/b00x7bqyke 1 2.54mm Single Row Female Header http://www.amazon.com/dp/b00899wq6u 1 2.54mm Single Row Male Header http://www.amazon.com/dp/b00uvpt5ri 1 6 to 12Vdc wall power adapter

ASSEMBLY Solder the headers to the Arduino Pro Mini including the A4 & A5 pins on the top of the board. It should look similar to the picture below. Drill two additional holes in the protoboard mirroring the two existing holes so they line up with the 4 standoffs on the rear panel of the case. Cut 2 pieces 12 pins in length from the Female Pin Header and solder them to the top side of the protoboard as shown below.

Solder the two Tactile Push Buttons to the backside of the protoboard as shown below. These buttons should be directly above the time button adjust holes in the rear panel of the case when the board is mounted to the four standoffs. The orientation of the switches is important as the two sets legs are tied together. If you have the switch rotated 90 degrees it will act like it is always pressed. Use a multimeter to verify that the normally open pins are arranged horizontally and they are closed when the buttons are pressed. The lower pins of the buttons should line up with the Arduino s D8 and D11 pins.

Turn the board over so you re looking at the top side again. The solid yellow boxes in the picture below show the position of the legs of the tactile buttons. I usually fold the legs over to keep the button in place while soldering but be careful that the lower two legs don t make connection with any of the adjacent solder pads. The lower two pins of the buttons should line up with the Arduino s D8 and D11 pins Cut three 2 pin strips from the male header and solder in the locations marked by the red boxes in the picture below. One 2 pin header should line up vertically with the Arduino s D5 & D6 pins. The second 2 pin header should line up horizontally with the Arduino s GND pin. The third 2 pin header should line up vertically with the Arduino s RAW and GND pins. Cut a 3 pin strip from the male header and solder in the location marked by the yellow box Solder two short lengths of wire between the solder pads as show below in blue. Each of the wires should run from one of the Arduino s ground pins to the bottom outside pins of the tactile buttons.

Turn the protoboard over so you are looking at the bottom side again. Solder short lengths of wire or create solder bridges between the pads as shown by the red boxes.

THE RTC BOARD If your RTC board has a diode located near the red arrow in the picture below, remove it from the board. It is intended to be a charging circuit and it should not be used as it can cause damage to your battery. Take a look at these web pages for more information on this charging circuit: http://woodsgood.ca/projects/2014/10/21/the-right-rtc-battery/ http://forum.arduino.cc/index.php?phpsessid=7g23qcadtiqrk6098k53ceok96&topic=278270.msg2330192#msg233019 2 Remove the 6 pin header from the RTC board if it has one. You can unsolder it or just clip it with wire cutters. Solder a 4 pin male header or 4 short lengths of wire to the battery side of the RTC board.

Use M2 screws to mount the RTC board battery side up to back of the case as shown below. Mount the power jack through the large hole in the back of the case as shown below. Solder 2 short lengths of wire to the positive and ground tabs of the connector.

Place the two 3d printed buttons through the two holes (they have notches not shown in this picture to clear the standoffs) so the small nubs of the buttons stick out the back of the case leaving the large flat surfaces inside the case so they can activate the time adjust buttons on the protoboard. Mount the protoboard in the back of the case as shown using M2 screws. The 3d printed buttons should line up with the two tactile buttons on the other side of the protoboard.

MOUNTING THE METERS Mount the meters through the front of the case and secure them in place.

MAKING THE CONNECTIONS I used premade cables with female Dupont Connectors at each end and an assortment of 2, 3 and 4 pin housings to make these connections but you could use any small diameter wire. Connect the RTC board to the protoboard and Arduino as follows; RTC SCL to Arduino A5, RTC SDA to Arduino A4, RTC VCC to Arduino VCC, RTC GND to Arduino GND If you plan to run the clock off a regulated 5 volt supply like a USB port or charger connect the power jacks positive wire to one of the VCC pins. If you plan to use a 6 to 12Vdc wall power adapter connect the power jack s positive wire to the header pin connected to the Arduino s RAW pin. Connect the power jacks GND wire to the header pin connected to Arduino s GND pin. Make two cables with 2 wires each with small round crimp terminal at one end. I just soldered the crimp on terminals over the existing female connectors since they fit. Attach one of the cables to the 2 pin ground header on the right side of the protoboard. Attach the other end of each wire to the - terminal on each of the panel meters. Connect the other cable to the 2 pin header connected to the Arduino s D5 & D6 pins. Connect the wire from the D5 pin to the + terminal of the HOUR meter and the wire from the D6 pin to the + terminal of the MINUTE meter.

PROGRAMMING The Arduino Pro Mini has no USB port so it requires a 5V FTDI board or other device to program. I use a FTDI Basic Breakout from Sparkfun available from http://www.amazon.com/dp/b0068qkqea or https://www.sparkfun.com/products/9716. The clock sketch uses an additional library to communicate with the RTC board that you will need to install. See the Arduino website if you need more information on how to install libraries. The RTCLib library is available from https://github.com/mizraith/rtclib Load the PanelMeterClock sketch into the Arduino IDE then compile and upload it to the Arduino Pro Mini. The clock should automatically set the time to the time that sketch was compiled and start displaying the time. You can set the time by pressing either the Hour or Minuet adjust buttons. Due to variances in meters your clock may need to be calibrated if the needle does not point to the correct digit for each hour and minute. The clock sketch contains two arrays hpwm[] and mpwm[] that hold the PWM values used for each hour and minute. You can step thru the hours and minutes using the time adjust buttons making note of any inaccurate readings and then adjust the corresponding values in each array to get a more accurate display. I have also included a CalibrateMeter sketch that will let you step thru all the possible PWM values from 0 to 255 using the time adjust buttons. The current PWM values will be printed to the Serial Monitor in the Arduino IDE. You can use this to step through each hour and minute to determine the best PWM value for each. FINAL ASSEMBLY Carefully tuck the wires into the case and attach the back of the case with four M3-0.5 machine screws. Enjoy your new clock. Russ