You can watch the video first to learn about the functions and how to use it. Read the description below carefully, some problems can be solved. [How to use and function the ink screen temperature and humidity clock - Bilibili] [https://b23.tv/7yIE5aA](https://b23.tv/7yIE5aA) ## Thanks to wsw123 for providing 8mm flat head screws for the 3D shell ![image.png]
## Pay attention to the AHT21 version. Buy AHT20. The 8 AHT21s I bought on Taobao for the second time all overturned. The temperature difference was 0.5 and the humidity difference was 10. I bought AHT20 again and it works fine. AHT21 and AHT20 are interchangeable. PCB_20220228_AHT21_Full soldering iron soldering convenient version This is to bring out the P1.1-TX and P1.5-RX of BSL. If you have a board, you can try BSL. There is feedback that the download was successful with CP2101. BSL download requires BSL430.NET-x86 download. Fixed a password. Different passwords will clear the built-in crystal oscillator calibration value. Program source [https://github.com/parezj/BSL430.NET](https://github.com/parezj/BSL430.NET) Repair DCO method [https://blog.csdn.net/yanyuanfen2011/article/ details/74896449](https://blog.csdn.net/yanyuanfen2011/article/details/74896449) Self-correcting firmware DCO_ADJUST If you have any questions, you can join the group discussion 542747636 * 2.1-inch Hanshow Stellar-M price tag is transformed into a clock* All PCB thickness is 1mm PCB shell M2 6mm copper pillar M2 5mm flat head screws fixed! [image.png]
* Using the original MSP430G2553 microcontroller and cr2450 battery power consumption test is to use uA microamp level low power tester power current recording analysis The device EKA1080 * Sleep current 3uA! [image.png]
* Ink screen refresh current 3-4mA! [image.png]
* Long refresh (full refresh after 30 times of partial refresh) 24-hour power consumption 1.056mAh (3V) The average current is about 44uA! [image.png]
* Stop refreshing (wake up once every minute to detect brightness). The power consumption is 0.072mAh (3V) in 24 hours. The average current is about 3uA! [image.png]
* Set the time through the button * With temperature compensation Precision RTC chip rx8025t * Supports AHT21, AHT20 and SHT3X temperature and humidity chips (upload supports SHT30 firmware. Supports replacement of chips with the same protocol, has tested SHT35, SHT30, GXHT30) * Button enable and disable light sensor, dark light stops refreshing* Temperature and humidity display* Bureau Brush low afterimage display* Lunar calendar zodiac year display. Supports 24/12 hour clock switching* No button operation in setting mode, automatic exit after 1 minute* Approximate calculation of power consumption: Turn on the light sensor, press 8 o'clock to turn on the light and 0 o'clock to turn off the light, the power consumption in 24 hours is 44X16+3X8=728uAh. A CR2450 can theoretically be used for 686 days and 1.88 years at 500mah.## Please note that the buttons are invalid when refreshing again. Just repeat the operation a few times. Just enter and press the plus key to exit. Press the plus key to confirm the modification when switching to reverse display. If you do not want to modify it in the middle, just press the reset key*. Press the plus key and then press the setting to switch to 12 or 24 hours.* Press the minus key again Set to switch the photosensitive mode* Click the setting to switch the front and reverse display## Additional instructions![image.png]
![image.png]
The firmware is downloaded using the programmer SBW. I used the onboard programmer of the development board![image.png ] ]
Setup - connection changed to the following! [image.png]
![image.png]
Re-layout the board to support BSL (someone verified that the BSL download was successful and the flying line download was successful using CP2102). Refer to the blog to put P1.1-TX and P1 .5-RX is drawn, see the attachment https://blog.csdn.net/qq_40425695/article/details/122728414 ![image.png]
As for how to modify the minimum brightness sleep, just detect that the GL_ADC voltage is greater than 1.5V and then sleep, GL_POWER is the supply voltage. Use a multimeter to test the value of the photosensitive resistor at the lowest brightness, and use the series voltage dividing formula 1.5=R6/(R7+R6)*GL_POWER. You can calculate the value of R7! [image.png]
The component identification picture on the price tag board comes from the open source project https://oshwhub.com/gl1996/msp430! [image.png]
### Notes on soldering: Solder well first For the ink screen circuit, power on and reset the burning firmware to see if the ink screen will be refreshed, and then continue soldering. If the ink screen does not refresh, check the following: 1. Ink screen circuit, check whether the fpc has a virtual solder short circuit. 2. Whether the inductor is short-circuited; 3. Whether the ink screen cable is elevated; if there is no problem above. It may be that the BSL burning password is different and the DCO correction value is burned out. It is necessary to solder the 32.768K crystal oscillator and burn the calibration firmware DCO_ADJUST. Power on and reset and let him calibrate before burning. Repair DCO method [https://blog.csdn.net/yanyuanfen2011/article/details/74896449](https://blog.csdn.net/yanyuanfen2011/article/details/74896449) Self-correcting firmware DCO_ADJUST If there are still problems, it may There is a problem with a certain component. It is recommended to replace the board with a new material for welding, and do not use the material of the old board. The AHT21 should be welded last to prevent it from being damaged by baking it for too long. The price tag is Hanshow's Stellar-M. The screen is not pluggable. The cable pad is thick enough to allow the seat to contact it. You can put two layers of masking paper on it! [image.png] The
negative gasket of the battery is welded with the original battery. Cut a section of shrapnel for use![image.png]
![image.png]
# If you have bugs, you can report them in the comment area # If you have good suggestions, you can also share them in the comment area ## Update* 2022.03.02 The repair month can only be set to 2 * 2022.03.07 Hardware layout update AHT21 version that can be soldered with a full soldering iron! [image.png]
* 2022.03.16 The firmware adds date changes before full brushing at other times. It saves a lot of power and the photosensitive power consumption is particularly low. The average refresh current is 33uA compared to the previous 44uA. If the old firmware has serious residual images, don’t refresh it because the screen quality determines it. The new firmware has been changed to enter settings. Press and hold + - and then press settings to enter time settings. Press settings and it will be fully refreshed * 2022.03.18 4 times 0-6-12-18 o'clock full refresh at other times. Bureau refresh will be improved. VCOM adds 30 Bureau brushes to improve the VCOM firmware. * 2022.04.08 The final version of the firmware cannot add functions. The code optimization has been turned to O4, and the flash is used up. ![image.png]
1. Added quick wake-up from dark light to bright light. The time is refreshed immediately within 5 seconds without waiting for minute updates. The sleep current in dark light is about 6uA, and the normal sleep current is about 3uA. (There is a bug where the update interrupt is triggered during wake-up refresh, and the time 1 minute before the time update display will be lost. If you can’t fix it, just leave it like this) 2. Click the setting button to switch between forward and reverse display! [image.png]
* 2022.04.09 Forgive me for breaking my promise. I came up with an idea after a day's sleep. Removing the delay jump on the adc side saved a little space, and fixed the loss of the latest time. * 2022.04.11 The current chart of the last game, the final version is in The power consumption is optimized as the flash space allows. The average local brush current is about 30uA, which is 3uA less than before. The 3uA saved just makes up for the dark light wake-up current! [image.png] The
dark light wake-up current is 6uA! [image.png]
* 2022.05.05 The following is the final board function description video https://www.bilibili.com/video/BV1bU4y1U7zr