Operácie

MEMS cvičenie 6: Rozdiel medzi revíziami

Z SensorWiki

(Literatúra)
Riadok 15: Riadok 15:
 
* Official I2C Specification Version 6 http://www.nxp.com/documents/user_manual/UM10204.pdf
 
* Official I2C Specification Version 6 http://www.nxp.com/documents/user_manual/UM10204.pdf
 
* Official List of assigned NXP / Philips I2C addresses http://www.diolan.com/downloads/i2c-address-allocation-table.pdf
 
* Official List of assigned NXP / Philips I2C addresses http://www.diolan.com/downloads/i2c-address-allocation-table.pdf
 
+
* ---
* [https://www.arduino.cc/en/Reference/Wire Wire Library] Reference
+
* [ht-ps://www.arduino.cc/en/Reference/Wire Wire Library] Reference
 
* [https://www.arduino.cc/en/Serial/Print Serial Library - Print] Reference
 
* [https://www.arduino.cc/en/Serial/Print Serial Library - Print] Reference
 
* Arduino TWI Library  https://www.arduino.cc/en/Reference/Wire
 
* http://playground.arduino.cc/Main/WireLibraryDetailedReference
 
 
 
* http://fritzing.org/projects/readwrite-serial-eeprom-via-i2c  - DO PPT
 
* https://learn.sparkfun.com/tutorials/i2c    - DO PPT
 
 
  
 
=== Datasheets ===
 
=== Datasheets ===
  
 
* [http://www.atmel.com/images/doc0180.pdf AT24C02 EEPROM memory]
 
* [http://www.atmel.com/images/doc0180.pdf AT24C02 EEPROM memory]

Verzia zo dňa a času 10:24, 1. apríl 2016

Oboznámenie so zbernicou i2c

Úlohy:

  1. Pripojte k procesoru pamäť podľa schémy zapojenia
  2. Schému upravte tak, aby adresa zariadenia bola ??
  3. Zapíšte na prvé pamäťové miesto (adresa 0x00) znak 'A'
  4. Prečítajte, či je znak správne zapísaný
  5. Prečítajte obsah celej pamäte a vypíšte ho na terminál.

Literatúra

Datasheets