Тёмный

Arduino Tutorial 8: I2C Communication with a DS3231 Real Time Clock 

Подписаться
Просмотров 7 тыс.
% 101

Your advanced projects will likely take advantage of additional ICs needed for special functionality. ICs communicate with your Arduino via several protocols, including I2C communication. In this tutorial I show you how to establish communication with a DS3231 Real Time Clock (RTC) via I2C communication.
The purpose of this tutorial isn't to quickly show you how to get your clock up and running. There are perfectly fine libraries out there that will get your clock up and running in just a few minutes. The purpose of this tutorial is to show you how to read the datasheet of a I2C device and write the relevant code to access the full functionality of the device.
If you like this tutorial and would like to see more like it, check out my website: thezanshow.com. All script files, relevant circuit diagrams, and supporting files can be found there!
thezanshow.com/electronics-tutorials/arduino/tutorial-8

Опубликовано:

 

2 янв 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@blackbox330
@blackbox330 9 дней назад
Great video.
@orgicus
@orgicus 5 лет назад
Great breakdown of I2C basic concepts and especially how to scan through a datasheet and understand the necessary data to implement communication from Arduino (or other languages/platforms) for any I2C device.
@MisterWestbam
@MisterWestbam 5 лет назад
"Complete reliance on available resources may limit you on your choices and thus what you can do" Never realized this. Just wow. Super awesome tutorial too. :)
@klaymen83
@klaymen83 2 года назад
Thank you 🙂
@sadmanalvee284
@sadmanalvee284 3 года назад
very helpful tutorial.. thanks.. can you please help and tell how to put the 6th Bit of the hour register to high... so that it works also as 12 hr format?
@tablatronix
@tablatronix 6 лет назад
awesome i2c tutorial
@prathamva7392
@prathamva7392 7 лет назад
Nice Video
@prathamva7392
@prathamva7392 7 лет назад
Pls upload a tutorial on 4x4 keyboard...☺