SH1106 IC 替換 CH1116 IC 解決方案
由於CH1116 IC有MOQ限制,因此華凌開發了使用SH1106 IC 替代CH1116 IC 的新系列產品。在產品開發時,我們盡可能保持原有的模組設計,使得用SH1106與CH1116的模組能夠互相兼容。新舊型號如表一所示,以下將從硬體及軟體兩個方面說明兩者型號之間有何不同。
相關模組系列 | |
---|---|
舊型號 (CH1116) | 新型號 (SH1106) |
WEO012864AE | WEO012864AH |
WEO012864AJ | WEO012864AL |
WEO012864AK | WEO012864AM |
1. 硬體
CH1116與SH1106的接腳功能相同,模組可直接替換。CH1116與SH1106的建議電路圖如圖一所示。

兩顆IC的IREF計算方式不同,需留意IREF腳位的電阻值,這將直接影響亮度及耗電流。電阻計算公式如下所示,在使用同VPP時,SH1106會需要較大的電阻值。
CH1116:
SH1106:
2. 軟體
CH1116與SH1106的Initial code有許多相似之處,大多數指令可直接共用,但有些指令仍存在差異,如兩顆IC各自擁有獨家功能,導致有些指令只有該IC能夠使用;或是同指令同功能,但設定的參數是不共用的,如表二所示。
CH1116 | SH1106 | |
---|---|---|
Set Breathing Light 23H |
Set Breathing Light ON/OFF, Brightness Adjust and Time Interval. | N/A |
Additional Horizontal Scroll Setup Mode Set 24H |
Set up the horizontal scroll parameters. It determined the scrolling start column position and end column position. |
N/A |
Continuous Horizontal Scroll Setup 26H / 27H |
Set up the horizontal scroll parameters. It determined the direction of horizontal scroll, scrolling start page, time interval and end page. |
N/A |
Set Scroll Mode 2CH / 2DH |
Control continuous or single screen scroll. | N/A |
Set Deactivate /Activate Horizontal Scroll 2EH~2FH |
Stop or start motion of horizontal scrolling. | N/A |
Set Pump voltage value 30H~33H |
Specifies output voltage (VPP) of the internal charger pump. 30H: 10V;31H: 7.4V;32H: 8V;33H: 9V |
Specifies output voltage (VPP) of the internal charger pump. 30H: 6.4V;31H: 7.4V;32H: 8V;33H: 9V |
IREF Resistor Set 82H |
IREF can be controlled by external resister or internal resister. Note: When internal resistor is selected, external resistor should be open. External and internal resistances are connected in parallel. |
N/A |
Set Display Clock Divide Ratio/Oscillator Frequency D5H |
Dicide Ratio:8、16、3、4 Oscillator frequency:-17.1% ~ 25.1% |
Dicide Ratio:1~16 Oscillator frequency:-25% ~ 50% |
Set Adaptive Power Save D6H / D7H |
D6H: Normal D7H: Adaptive Power Save(POR) |
N/A |
Set Pre-charge Period D9H |
Pre-charge:0 DCLKs ~ 45 DCLKs Dis-charge:3 DCLKs ~ 45 DCLKs |
Pre-charge:1 DCLKs ~ 15 DCLKs Dis-charge:1 DCLKs ~ 15 DCLKs |
Set row non-overlap/SEG Hiz Period DCH |
This command is used to set the duration of the row non-overlap /SEG Hiz Period period. | N/A |
3. SH1106替代CH1116
由於新型號與舊型號的腳位定義相同,因此可以共用連接器。如果想要達到相同的亮度,模組的硬體及軟體需做修改。
在硬體部分,CH1116與SH1106僅差在IREF電阻,需注意電阻值是否符合該IC。如果電阻值太小,會有燒壞IC的風險。
在軟體部分,有幾點需特別注意:
1. CH1116的IREF電阻可選擇使用外部電阻或內部電阻(82h),SH1106則沒有此功能。若原先使用內部電阻,在替換成SH1106的同時,須在外部加裝IREF電阻。
2. CH1116與SH1106控制顯示頻率的指令(D5h)相同,但是參數設定不同。
4. 結語
CH1116與SH1106 IC可互相兼容,只要調整IREF電阻,並修改initial code後,CH1116就能替換成SH1106。根據使用情況,甚至不需要變更硬體,只修改軟體就能使SH1106達到與CH1116相同的顯示效果。華凌將持續不間斷提供高品質的產品,並提供有競爭力的解決方案。