HDD Clock - another way

8. October 2011 23:21

Another way for HDD Clock.

 

Because TDA5140A is "hard to find" part, so then can be replaced by standard RC motor controller.

No LED booster anymore, just connect LED's directly to power source.

 

 

 

 

Many people asking me "How to do this?", some answers is here (still you need some skills):

 
Step one, make numbers into HDD plate:
 
You need:
  • Power source with lots of Amps (PC power supply)
  • HDD plate - thinner is better
  • zinc plated sheet
  • Electrolyte of NaCl (water with salt)
  • Some bucket/container
  • Sticker with plottered numbers, or you can use "Positiv 20" and use standard PCB-like way
 
  1. Carefully remove magnetic material from plate (sand paper, grinder, magic... :) and clean it.
  2. Apply sticker or use Positiv 20
  3. Attach + (plus) pole on plate and GND on zinc plated sheet
  4. Distance between HDD plate and sheet should be 5-10mm
  5. And just wait around 30 minutes
 
Details about electrolysis is available on the Web.
 
 
Step two, hardware part:
 
You need:
  • PIC 18F2520 as CPU
  • H-KING 10A as Motor Driver
  • DS1307 as Clock Source + 3V backup battery
  • ULQ2003A as Darlington Transistor Array
  • CNY70 as Reflective sensor
  • 18 Intensive LEDs (2000mcd and more)
  • Power source (8-12V, depends on ESC)
  • 20Mhz and 37.768kHz crystal, 2x 15pF caps, two buttons
 
  1. The CNY70 thing is located under HDD plate, see fotos for detail.
  2. For proper function of CNY70 you need black mark located on HDD plate (back side).
  3. Find proper non-reflective material is hellish work, i used 5x5mm square of black matte sticker.
  4. CNY70 distance from HDD plate is about 1-2mm.
  5. Board, LEDs, buttons - positions and attachment is on your skills, photos may help :)
 
Scheme: I will not describe them, you must have skills of electrical engineering.
If u do not have enough skills then LETS GO EAT SOME HAMBURGERS! :)
 
 
Connecting:
  • CNY70 - PORTB.0 (INT0)
  • buttons PORTB.1 and 2
  • inputs of ULQ to PORTA.0 to 4
  • DS1307 to IC2 bus
  • ESC signal to PORTC.2
See datasheet of PIC 18F2520 


Step three, about firmware:

Software is written in mikroBasic, HEX and source code is here, but probably you need recompile it.
You need change numbers positions and speed for ESC (optimal rotation speed is around 40-50Hz).
 

Add comment

biuquote
  • Comment
  • Preview
Loading

About

Weex

 

Czech Republic :Country
Technician :Occupation
IT, XVS650, Geocaching :Hobby
Doom/Gothic/Symphonic
:Most listening music
Falling Down :Favorite Movie

Month List

Recent Comments

None

Where I am