rocketnumbernine

Andrew's Project Blog: Hardware, Software, Stuff I find Interesting

Posts with tag 'atmega328'

The Serial Peripheral Interface - SPI - allows digital devices to communicate using only 4 wires, additional devices can be added to the same 'bus' with the addition of only a single selection wire for each device. There are many integrated circuits and other devices that can be controlled via SPI, this entry details a simple experiment with a MCP3201 12-bit Analogue to Digital Converter. Background Each end of a SPI connection is acting in one of two roles - Master or Slave ...
This is a follow on to "Using SPI on an AVR (1)" and illustrates using SPI to communicate with a real time clock chip, it also illustrates use of external interrupts to initiate code on the microcontroller. Maxim DS1305 Real Time Clock The DS1305 Serial Alarm Real-Time Clock is an 18 pin DIP clock chip ...
This is a follow up to Using SPI on an AVR (1) and Using SPI on an AVR (2) articles which illustrated using an AVR Microcontroller to communicate with some simple SPI Slave devices. This entry shows two AVR Micro controllers communicating with each other through SPI - one acting as Master and one as Slave ...