Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install the ds323 module in raspberry model b

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces raspberry model b how to install ds323 module, the article is very detailed, has a certain reference value, interested friends must read it!

The version of the system is available for jessie measurement.

1. Open the i2C interface and load ds3231 support

1) add editor / boot/config.txt at the end

Dtparam=i2c_arm=on

Dtoverlay=i2c-rtc,ds3231

2) add to module file

Edit / etc/modules add the following

Snd-bcm2835

I2c-bcm2835

I2c-dev

Rtc-ds1307

two。 Create hwclock service service files and enable services

1) create / lib/systemd/system/hwclock-start.service and write:

Cat > / lib/systemd/system/hwclock-start.service / lib/systemd/system/hwclock-stop.service

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report