The black and white price tag of ses 2.6 G1 C BW model is used for secondary development as a simple clock.
This price tag uses cc2510F32 as the main control. It has 4K ram and 32K flash, which is enough for development. It is not as cramped as msp430g2553.
Below is a real picture of the board.
Measure the IO through a multimeter. In total, including debugging IO, there are 6 IOs that can be
burned and debugged by CC2510 through the SmartRF04EB emulator. The development is developed using IAR8051. For details, please see my open source lighting example
https://gitee.com/stw123456/epd_cc2510

After a month of study, verification and debugging, we have achieved accurate timing using an external 32K crystal oscillator. However, although the external crystal oscillator is accurate, it will also be affected by temperature. Therefore, the flying line P0_4 is used as SDA and P0_2 is used as SCL. It uses high-precision temperature compensation RTC as I2C to run the clock. It is compatible with RX8025T and DS3231 clock chips. Using DS3231 can also display the current temperature (P1_1 controls the power supply). The DS3231 VCC power supply has a large operating current of 100uA. It can achieve 1ua standby only when the power is turned off. There may be other problems. When the DS3231 is powered by VCC for a long time, an error will occur when reading data. Even if I power on for 2 seconds and then read the data, there will still be an error.
P07 IO flying wire allows one button to adjust the time by pressing the button.
Specifically, the following







functions are implemented as shown in the figure below:
Automatically detect whether there is an RTC chip DS3231 or RX8025T when powered on. If there is, the RTC chip will be used to run the clock. If not, the 32K clock will be used (DS3231 can display the temperature).
Optimizing the power consumption can achieve a local refresh current of 44uA per minute, which is the lowest power consumption (limited to the screen refresh current of about 6ma, otherwise it can be about 30ua), and it is about 100ua before optimization.
The time can be modified by pressing the button, long press to switch, short press to add or confirm. In clock mode, short press 3 or 4 times to enter setting mode.
You can switch between white text on a black background or black text on a white background.
The voltage range of the power supply port can be set so that the lithium battery stops refreshing at 3.25V and can start running again when the voltage rises to 3.3V to avoid over-discharging the lithium battery.
Date, time, solar terms, lunar calendar, power supply port voltage display
This project is the backplane used by this firmware, which can replace the original disposable battery as a lithium battery power supply board.
The following is an introduction to the clock
https://www.bilibili.com/video/BV1Vk4y1h7wW
https://www.bilibili.com/video/BV1tY411B76r
provides simple firmware for everyone to play with, but does not provide complete firmware.
You can only use the onboard crystal oscillator to set the travel time and power-on time. You cannot set the time by pressing the buttons later. To set it, you can only power off and then on.