mark_harrington

Mark Harrington

Engineer Audio, PC embedded technology

A brief overview of my experience to date Born In Saudi Arabia 1964 Spent 13 years in South Africa then emigrated to Britain Interests began in electronics from age of six Crystal radio’s etc matriculated at the age of 17 years with the equivalent of 6 O levels I spent my early days working for companies such as GEC South Africa and Aiwa SA where my interests began in electronics I’ve had many varied jobs ranging from working on the Gold mines to motorcycles to ordinary run of the mill work including working in pub’s , clubs , MacDonald’s, Food chains and so forth So experience wide and varied in many different aspects of the world industries On emigrating back to England my career started with companies such as Rediffusion Electronics in background Industrial music systems, moved onto Comet radio vision services, Telefunken Uk in the TV Video , Audio Industry in its hay day That was when electronics was an awful lot of fun , still is only far more advanced and products defiantly more serviceable than they are these days I also spent considerable time in the Mobile Phone Industry during the early days of the launch of this technology and undertook courses’ with Motorola , Panasonic , Nec working with all the latest Hi Tec equipment to component level on all surface mount devices , multilayer boards with some of the most advanced test equipment available at that time I continued and tried many variants of jobs so I’m fully skilled on washing machines Microwave ovens and now PC’s Ive spent time at universities and colleagues and have taken many specialized courses to undertake service both at customer level , field level and bench level Now I write software for embedded devices make My own pcb’s I experiment at home now learn as much as I can and continue to strive to achieve far more results leading to linking embedded devices with RF and the much use internet both using hardware and software I trust you find at least some of the interesting my website The address of which is address is http://www.harrington.force9.co.uk Lots and lots of articles there on the site also all code PCB layouts and some of the –projects that I still work on to this day Even valve radio and amplifiers

Interests

Quotes

verni verdi victi "I did I saw I overcame "

Latin

EEWeb Stats

Mark's Projects :

Return to Projects

10 Minute UV Dental Tooth Whitener Timer

Project Summary

Build yourself an inexpensive UV Timer light for tooth whitening This little project could save you in the region of some £100 to £400 pounds It’s ideally for dental nurses who have to buy their own equipment Brief history I was approached one night to sort out a problem for a friend of mines wife who accidentally put the wrong power supply into an expensive dental unit which she uses from to whiten teeth for some of the top actors in the UK Of course she’s self employed and like most of us when your self employed and tools break down it a nightmare The module comprised surface mount components and provides a UV Light for chemical whitening of teeth which require 10 minute exposure to cure Of course its non repairable to its original state and being dental equipment you have to buy a complete new Unit I came up with something far better, serviceable and costing a fraction of the of money required

Project Description

Lets get onto the circuit

Figure:2 Circuit View

Figure 2  Circuit View

The circuit is all based round the 12f675 and uses timer interrupts a button switch for detecting when the unit has been started to start the timing sequence The Unit must also beep at start up and count to 9 seconds keeping the Luxion led on During the last minute the Module must beep once per second during the final minute countdown so as to notify the nurse that the exposure is complete this must be done via a buzzer emitting a high pitched beep

Figure:1 PCB Image view

Figure 1  PCB Image view

The circuits is very easy to understand

D2 ensures Reverse polarity protection With F1 being rated at 500ma to protect the rest of the circuit D1 is a 5v1 zenor diode rated at 500mw which is purely there to prevent over voltage protection c4 decouples the 12F675 recommended in the data sheet as close as you can to pins 1 and 8 R2 to R5 limit the current through the Luxion Led which is switched on via the FET an 1RF540 biased off via R6

R6 and R7 form the biasing network via GP1 of the CPU turning on the Fet and of course the Luxion R1 and R10 form a potential divider for the switch which activates the timer sequence so that countdown can begin when this starts the Luxion Led is turned on at the end of the final countdown I.E 10 minutes then the Luxion LED is subsequently turned off Switch sensing is done via GP0 which is de bounced when finger press of the switch is released GPO looks for a logic High to start the timer sequence and is held low when no press is detected

The buzzer sound is sent via GP2, R9 which forward biases Q2 using a PWM waveform hence our sound of the buzzer

The code is written In C I used the boost C compiler to achieve this

Website below “Very Good C compiler also available from Maplin’s UK “
http://www.maplin.co.uk
http://www.sourceboost.com/

The CPU uses as Timer interrupt procedure to count the number of milliseconds obviously upwards for number of seconds increments seconds each time the seconds reaches 60 and then obviously minutes

When the minutes has reached 9 the sound function is called once every second for the final minute

The whole process is maintained in the main method calling an Init function so as to set up the CPU ports and disable other features such as the Ansel register

You can find more detail on this in the data sheets to gain a full understanding of how the registers work

Switch press is checked then sets a flag if pressed and then start the interrupt procedure when the timer overflows each time the timer overflows you can then see what happens to the milliseconds , seconds and minutes

I’ve included all plots etc PCB layouts for you in the files that you might want to download You could if you wanted to simply change the values in the C code to turn this into a 3 minute Egg timer

I hope this proves useful to many a dental nurse who needs such equipment but has limited cash flow

The design has been fully tested so its all ready to go Hope this really helps some of you

Mark Harrington

Project Files

File NameFile Size
Circuit DSN Files For Proteus85.3 KB
PCB layout Files For Proteus30.33 KB
Circuit Diagram In PDF Format37.89 KB
PCB layout Files in PDF Format215.61 KB
C Code for the 12F6758.04 KB
Hex File ready to blow the 12F6751.52 KB
Cad cam gerber plots for PCB15.86 KB
Bill of matarials10.96 KB
Tags: Microcontrollers

Comments on this Project:

Muhammad Tayyab

5 months ago:  nice

Login or Register to post comments.
 
Click Here