5/30/2023 0 Comments Digital clock kit![]() ![]() The schematic for these connections is detailed in the STC technical document. Or, if you're going to do additional development, a NC momentary push button in the +5 line and a diode and resistor in the RX/TX lines to prevent the serial adaptor signals from keeping the processor alive are required. The last step above can be as easy as removing the connector to P3 and restoring. Interrupt the +5 supply to the STC processor and restore.Select clock speed of 22.1184 MHz on the Hardware Option tab.The STC-ISP tool is pretty straight forward, the process is: Once your tool is running, you'll need to load the. Once you're connected, you have your choice of either STC-ISP, which is a Windows application (runs fine on most VM's) or your can use STCGAL if you're comfy with Python. If your clock is already built and your desoldering skills and/or tools are not up to the task, you can solder the necessary header(s) using wire between the header(s) and the top of the board. Menu advances to, press S1 three times, display blanks and returns to clock.Ĭonnect to the STC processor using the four pin header which hopefully you installed prior to soldering the four LED display in place. Press S2 to change, S1 to change to minutes then S2 to change minutes. Documentation (code modification guide)Įxample: To change Alarm time.Use of the relay outline on the PC board.Another option is to remove the display of the day of the week feature which I consider rather useless option. In hindsight, this might be a better method than keeping them as individual selections going forward. I have found that consolidating the units selection (hour format, date format and temperature) into one group as an US/EU selection rather than three individual pieces works well to get code size under 4k. Since this is a work in progress, a request with at least one feature to delete should get you a branch that will need no more than 4K of flash. If you want to use this in a similar model that has only 4K of available flash, some features will need to be removed. This should not be an issue for the Banggood clock mentioned since it arrived with an 8k chip, the STC15W408AS. This does come with a cost, namely flash space so please note that the initial commit of this code requires 4.25k of memory. This menu helps (IMO) with the "where-the-hell-am-I" in the rather tortured, linear menu of the original software. The features above are implemented with a multi-level menu with best-as-can-be-managed text prompts using the limited 7 segment displays. No need to repeatedly press the same key. Auto-increment when setting times/alarms/etc.The auto-dim can be disabled using the limits. Display Auto-Dim with programmable limits. ![]()
0 Comments
Leave a Reply. |