DS1302 communication with an AVR micro

DS1302 is designed to be connected, usually serially, with a microcontroller. It exchanges data based on a specially designed protocol such as the one described above. Below we will present the basic communication steps of DS1302 with an AVR microcontroller. For our convenience, we define the following directives and we place them at the beginning […]

DS18B20 communication with AVR micro

The DS18B20 can communicate with an AVR microcontroller through 1-Wire communication protocol. Several signal types are defined by this protocol: reset pulse, presence pulse, write 0, write 1, read 0, and read 1. The bus master initiates all of these signals, with the exception of the present pulse. Useful definitions Since you will need to […]