![]() ![]() ![]() Today, however, we will only by exploring how to enable the I2C interface. This command will bring up the configuration tool this tool is an easy way to make a variety of changes to your Raspberry Pi’s configuration. Run the following command to launch the configuration tool. With the Raspberry Pi now entirely up to date we can now run its configuration tool to begin the process of switching on I2C. Let’s begin this tutorial by ensuring our Raspberry Pi is entirely up to date this ensures that we will be utilizing all the latest software available. DS3231 & PCF8523īefore we begin setting up and utilizing our RTC on the Raspberry Pi, we first have to make use of the raspi-config tool to configure our Raspberry Pi for use with I2C.ġ. However, wiring up a normal PCF8523, DSL1307 and a DS3231 isn’t a complicated process, following our guide below you should have everything connected to in no time. For this tutorial, we utilized the Pi RTC PCF8523 from Adafruit which plugs in directly over the first six pins which significantly simplifies the process of setting up an RTC ( Real Time Clock) module. ![]() You can either connect these lines directly to your Raspberry Pi or connect it to a breadboard and then to the Raspberry Pi. Some RTC circuits may come with more, but we only need the following four for it to work with the Raspberry Pi: VCC/ 5V/ Vin (IC Power-supply pin), SDA (Serial Data Line), SCL (Serial Clock Line) and GND (Ground power-supply pin) On your RTC Module, you should find at least four connections. Wiring your RTC module to the Raspberry Pi ![]() Equipment Listīelow are all the bits and pieces that I used for this Raspberry Pi RTC tutorial. We will also be showing you how you set the time on your real-time clock module when required to do so. You will also be learning in this tutorial the changes you need to make to the Raspberry Pi’s configuration as well as modify packages on Raspbian, so it will read the time from your real-time clock module and not utilize the fake time it relies on by default. We will be showing you how each of the individual real-time clock chips needs to be wired up to the Raspberry Pi to function correctly by providing the pin numbers and a helpful GPIO guide. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |