官术网_书友最值得收藏!

Connecting an RTC

To control a system, it is very important to have a circuit that can read the time; it can help control the outputs from the Raspberry Pi or detect an action at a specific time. We will interface an RTC module DS3231 with the Raspberry Pi.

I2C setup

The first step is to enable the I2C interface by performing the following steps:

  1. Select Advanced Options:
    I2C setup
  2. Enable the I2C option, as shown in the following screenshot:
    I2C setup
  3. Select <Yes> on the next screen:
    I2C setup
  4. Select <Ok>:
    I2C setup
  5. Then select <Yes>:
    I2C setup
  6. Next, select <OK>:
    I2C setup
主站蜘蛛池模板: 高邑县| 德惠市| 闻喜县| 威海市| 昔阳县| 比如县| 裕民县| 漳州市| 彰武县| 斗六市| 揭阳市| 闵行区| 富蕴县| 常熟市| 汝南县| 新竹县| 武夷山市| 新营市| 辽阳县| 吉林省| 开江县| 平陆县| 敦化市| 云安县| 武宣县| 元阳县| 都安| 屯留县| 蓬莱市| 临武县| 岚皋县| 广西| 绥阳县| 钟山县| 缙云县| 万盛区| 龙山县| 兖州市| 天全县| 罗源县| 博野县|