ks1Q6Bp

(c52) IV-18VFD fluorescent tube clock

 
Overview

Boost part:
The XL6019E1 is overqualified for use. Just use the example circuit in the data sheet. The voltage adjustment can be done by modifying the feedback resistor or the upper adjustable resistor (Vfb=1.25V). In fact, it should be fine to use SX1306. I don’t have an oscilloscope to measure ripple, so I just use it like this, and there’s no big problem. Note that the anode voltage is suitable for brightness within 49-53V.
Control part:
Basic keil C51 programming, mcu is 89c52, be sure to check 6T when burning the program! ! ! There was a mistake here during the design:
the bit selection was connected to OUT19~13, but there were three empty bits in the middle, so switch-case was used in the code to perform bit selection simply and crudely.
Another point is that the filament voltage was set at 3.3V during the initial design, but the brightness was too low, so the 1117 on the back of the PCB was directly connected to a lump of tin, and a 5V filament power supply was suitable! Current limiting resistor R3=50R.
Function:
Only basic time function: DS3231 is used as the clock chip, which provides three buttons. The first one is to adjust the time (left 1). After pressing, the hour flashes in the order of hours, minutes, seconds - year, month, day - week (the last page Is the day of the week adjustment), click to move one. The middle key is the number + when adjusting the time, and the right key is the number - when adjusting the time. In the non-time adjustment state, the middle key is for LED switch control, and the right key is for filament switch control.
Secondly, it provides serial port time adjustment function, bps19200, the command is as shown in the figure below:
Format: SET + command in the above figure + number: SETH03 is to set the hour to 3 o'clock (24-hour system), SETY23 is to set the year 23.
Note: The code in the scheduled interrupt is not well written, and the vfd may flicker, but now it is adjusted to the best state.
The following is a display:
 
The following BOM table has no reference significance. The components are all purchased from Moubao, and the attached compressed package is the source code!
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-22 23:24:08

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号