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

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
主站蜘蛛池模板: 苏尼特右旗| 易门县| 高密市| 阳西县| 永兴县| 小金县| 毕节市| 古丈县| 西畴县| 梁河县| 凤台县| 辽源市| 锦屏县| 梅河口市| 手机| 肇州县| 北流市| 内丘县| 红安县| 镇坪县| 集贤县| 怀宁县| 禹州市| 卢湾区| 绍兴县| 东平县| 瓮安县| 宁河县| 荥经县| 五峰| 广河县| 固安县| 邹平县| 萨迦县| 镇江市| 资源县| 溧水县| 建始县| 永和县| 富顺县| 阜阳市|