登录 免费注册 首页 | 行业黑名单 | 帮助
维库电子市场网
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统
驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe

老外做的时钟

作者:hexiaoxiao 栏目:电路欣赏
老外做的时钟


"Propeller Clock" Mechanically Scanned LED Clock
Seven light emitting DIODEs spin, giving the illusion of NUMBERs in the air.


This is the first clock I ever built. I've built a few LED signs, but they get boring because I already know the message.
How this clock works:
A motor spins the "propeller", and a small microprocessor KEEPs track of time and changes the pattern on seven LEDs with exact timing to simulate a 7 by 30 array of LEDs. It is an illusion, but it works nicely.
If you want to build this clock, you will need a few things, including:
  Skill with motors and MECHANICAL things.
  Prior electronic experience.
  A dead VCR or floppy drive or other source of a suitable motor and miscellaneous PARTs.
  A programmer that will program a PIC16C84 or 16F84 microprocessor


The Propeller Clock Parts List
Capacitors:
C1, C2 - 33PF ceramic
C3, C6 - 0.1UF ceramic
C4 - 47UF electrolytic
C5 - 47,000uf supercap(MEMORY cap)
Diodes:
D1-D7 - light emitting DIODEs
D8-16 - 1N4001 general purpose 1 amp rectifiers
Resistors:
R1 - 120 ohm DIP array or seven 120 ohm RESISTORs
R2-R6 - 10k ohm
MISC:
J1 - three terminal Berg CONNECTOR
SW1-SW3 - normally open pushbutton switches
U1 - PIC16C84 programmed with mclock code
XTAL1 - 4MHZ CRYSTAL
MOTOR - SHARP RMOTV1007GEZZ


The Propeller, a MECHANICALly scanned LED clock by Bob Blick.
The clock is on a spinning piece of perfboard, but it must get POWER. I thought of many ways to do this, including using two motors(motor one has its shaft fixed to a base, and motor two spins the body of motor one, generating electricity), making a rotary transformer, or using slip rings.
I decided to do it another way, taking POWER from the spinning armature of a plain DC motor. In order to run the wires out of the motor, I removed the bearing from one end of the motor, leaving a big hole.
There are three terminals inside most small DC motors, and it acts a lot like three-phase alternating current, so it must be rectified BACK to DC. A nice side effect of this is that the position of the motor can be detected by taking one of the phases straight into the microprocessor.
Step One: Mangle a Motor.
Find a VCR, perhaps a SHARP or a SAMSUNG, with a flat REEL motor. The motor I have is marked JPA1B01, but SHARP knows it by the NUMBER RMOTV1007GEZZ. Take it aPART without mangling the brushes(there are little holes to slip a paperclip into to move the brushes out of the way), and notice that it has one BALL bearing and one sleeve bearing. Knock the sleeve bearing out of the case and glue or solder it to the other end of the motor, as an extension of the BALL bearing. The shaft of the motor will have to be repositioned slightly to get the right height, press it in a VISE with a hollow SPACER on one end. Take a Berg CONNECTOR with three wires and solder them to the three terminals on the motor's armature. Glue a SHORT threaded SPACER to the shaft at the end that will stick out the hole, and reassemble the motor(be careful with the brushes). You can glue the motor to a VCR HEAD as a weighted base.
Step Two: Build the CIRCUIT.
I used perfboard(Vectorboard) and handwired the CIRCUIT together. Use an 18-pin SOCKET for the 16C84 because it needs to be programmed before putting it in the CIRCUIT. For the 7 current-limit RESISTORs I used a DIP RESISTOR array, because it made it easy to experiment with LED brightness. I settled on 120 ohms. You can use seven regular RESISTORs, because 120 ohms works fine, though it puts the peak current right at the limit for the 16C84. Think about balance while you build this CIRCUIT, and reference my pictures, so you don't have to add a lot of balancing weight later. Substitute for any PART VALUEs you like. Note that I used a 47000uf supercap, it is to KEEP the clock running after turning it off, so you can set the time. The LEDs get POWER separate from this. Don't substitute a ceramic RESONATOR for the 4MHZ CRYSTAL, this is a clock and should be accurate.
Step Three: Program the 16C84.
You'll need a programmer that will program a PIC16C84. If you found this file/web page, you can find plans to build a 16C84 programmer. Program it using the hex file accompanying this document. I have included the source code(.asm) just for your amusement. When PROGRAMMING the chip, set the chip options to: watchdog timer(WDT) ON and oscillator to normal XT CRYSTAL.
Step Four: Throw It Together and KEEP Time.
SCREW the CIRCUIT board to the motor, and plug the three wire CONNECTOR in. Apply POWER to the motor. The preferred voltage is 6.2 volts, but it will run from 5 volts to about 7.5 volts. Note that 5 volts gets to the CIRCUIT when 6.2 volts is applied to the motor, because of DIODE losses. The clock may be working at this point, DISPLAYing 12:00. If it isn't. there was probably some voltage on the supercap when you plugged in the chip. Turn off the POWER and momentarily SHORT pins 5 and 4 together(ground and /mclr) to reset the chip. Now when you apply POWER the clock should work, and you can set it by turning off the POWER and pushing the buttons(hours, 10 minutes, minutes) the right NUMBER of times. If the NUMBERs appear BACKwards, reverse the polarity to the motor to make it spin the other way. You might experiment with balancing the clock, and the use of foam under the base to reduce vibration.
Step Five: Modifications.
If you look closely at the source code, you'll see that the "dot rate" is adjusted to the speed of the motor to make the DISPLAY a consistent width regardless of the motor's speed. The motor I used has brushes set 90 degrees aPART, and gives two indexes each revolution. The clock DISPLAYs on two sides, 180 degrees aPART. If you use a motor with the brushes 180 aPART, the clock will ONLY DISPLAY on one side, and the NUMBERs will be too wide. You'll want to modify the program, in the section marked D_lookup_3. The VALUE in the W register when Delay gets called effects the width of the digits. You might try sending half of the period_calc VALUE to Delay, perhaps by rotating period_calc right into W(remember to clear the carry flag first). Like this:
bcf STATUS,C
rrf period_calc,w
call Delay

download:
http://www.bobblick.com/techref/projects/propclock/propclock.html

2楼: >>参与讨论
吴明诗
网上有卖那种字符棒的
 
3楼: >>参与讨论
hexiaoxiao
以前好象有人发过类似的文章,不过是手摇的.
 
4楼: >>参与讨论
WSING
配服這種創意
有創意,有空真要搞一個試下

5楼: >>参与讨论
lasergo
回复主题:老外做的时钟
有个不明

请教:电路电源怎么传输过来的?

6楼: >>参与讨论
djc001
可以用象电动机那样的电刷;
 
7楼: >>参与讨论
iC921
哈哈,看来老外是为我而做的

"Propeller Clock" Mechanically Scanned LED Clock
Seven light emitting diodes spin, giving the illusion of numbers in the air.


This is the first clock I ever built. I've built a few LED signs, but they get boring because I already know the message.


8楼: >>参与讨论
iC921
电刷?不可能的
 
9楼: >>参与讨论
树叉
古老的东西,四五年前,已经有这样的产品了
 
10楼: >>参与讨论
杨真人
RE ic921,没有什么不可能!


参与讨论
昵称:
讨论内容:
 
 
相关帖子
谁画过裸片的封装?
寻mp3电路图
有没有好的步进电机驱动的电路图啊!!!
急用OP37中文资料
请教通信
免费注册为维库电子开发网会员,参与电子工程师社区讨论,点此进入


Copyright © 1998-2006 www.dzsc.com 浙ICP证030469号