This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cubloc:connecting_a_backup_battery_to_cb290_cb405:index [2023/04/18 09:35] COMFILE Technology [CT1721] |
cubloc:connecting_a_backup_battery_to_cb290_cb405:index [2023/04/18 11:46] (current) COMFILE Technology |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Backup Battery for the CB290 / CB405 / CT1721 ====== | + | ====== Backup Battery ====== |
===== CB290 / CB405 ===== | ===== CB290 / CB405 ===== | ||
Line 13: | Line 13: | ||
the case of an emergency. | the case of an emergency. | ||
- | {{ :cubloc:connecting_a_backup_battery_to_cb290_cb405:backupbattery.png?500 }} | + | {{ :cubloc:connecting_a_backup_battery_to_cb290_cb405:backupbattery.png? }} |
==== Power Features ==== | ==== Power Features ==== | ||
Line 32: | Line 32: | ||
SIN, SOUT, and ATN, please do not connect them to anything. | SIN, SOUT, and ATN, please do not connect them to anything. | ||
- | ===== CT1721 ===== | + | ===== CT1721C ===== |
- | The CT1721 will maintain data in its volatile memory when powered off by using a backup battery. If backup is not needed, the program should clear the memory at the beginning of the program. | + | The CT1721C will maintain data in its volatile memory when powered off by using a backup battery. If backup is not needed, the program should clear the memory at the beginning of the program. |
<code xbasic> | <code xbasic> | ||
Line 50: | Line 50: | ||
</code> | </code> | ||
- | To add a backup battery to the CT1721, connect a 3V battery to the "Batt. Backup" terminal on the back, bottom right side of the CT1721 and leave the "JUMPER_SUPERCAP" open. To use a super capacitor instead of battery, connect the super capacitor to "Batt. Backup" and short the "JUMPER_SUPERCAP" terminal. | + | To add a backup battery to the CT1721C, connect a 3V battery to the "Batt. Backup" terminal on the back, bottom right side of the CT1721C and leave the "JUMPER_SUPERCAP" open. To use a super capacitor instead of battery, connect the super capacitor to "Batt. Backup" and short the "JUMPER_SUPERCAP" terminal to enable charging while the power is on. |
{{ :cubloc:connecting_a_backup_battery_to_cb290_cb405:cutouch_battery.png }} | {{ :cubloc:connecting_a_backup_battery_to_cb290_cb405:cutouch_battery.png }} | ||
Line 59: | Line 59: | ||
Const Device = CT1720 | Const Device = CT1720 | ||
Dim i As Integer | Dim i As Integer | ||
- | For i=0 to 32 ' Clear only Register M0 to M32 | + | For i=0 to 32 ' Clear only M0 to M32 |
_M(i) = 0 | _M(i) = 0 | ||
Next | Next | ||
Set Ladder On | Set Ladder On | ||
</code> | </code> | ||
+ | |||
+ | [[cubloc:index|CUBLOC - Embedded Controller]] |