Adafruit I2C FRAM Breakout

Similar documents
Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Adafruit SHT31-D Temperature & Humidity Sensor Breakout

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

Adafruit LSM9DS0 Accelerometer + Gyro + Magnetometer 9-DOF Breakouts

Adafruit Si4713 FM Radio Transmitter with RDS/RDBS Support

Adafruit ATWINC1500 WiFi Breakout

2.2" TFT Display. Created by Ladyada. Last updated on :15:09 PM EDT

1.8" TFT Display Breakout and Shield

1.5" & 2.1" Monochrome 128x64 OLED Display Module

TSL2561 Luminosity Sensor

2.3" Monochrome 128x32 OLED Display Module

DS1307 Real Time Clock Breakout Board Kit

Tiny Arduino Music Visualizer

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

A REST API for Arduino & the CC3000 WiFi Chip

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

PN532 NFC RFID Module User Guide

Adafruit Proto Shield for Arduino

Adafruit LED Backpacks

MCP4725 Digital to Analog Converter Hookup Guide

Hardware Connections between Arduino and IMU Nori Wilkins Apr. 5, 2013

SainSmart UNO R3 Starter Kit

2.8" TFT Touchscreen. Created by lady ada. Last updated on :00:25 PM EST

Workshop Intel Galileo Board

Real Time Clock USB Evaluation Board V3.0

Matrix and 7-Segment LED Backpack with the Raspberry Pi

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

Adafruit Music Maker Shield

Lab Experiment 1: The LPC 2148 Education Board

Programming the On-Chip Flash on a phycore-xc161 phycore-xc167

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

Pololu DRV8835 Dual Motor Driver Shield for Arduino

AVR Butterfly Training. Atmel Norway, AVR Applications Group

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

PICAXE DATALOGGER (AXE110P)

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

INTRODUCTION TO SERIAL ARM

_ v1.0. EVB-56x Evaluation & Development Kit for Motorola PowerPC MPC56x Microcontrollers USERS MANUAL. isystem, February /8.

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Serial port interface for microcontroller embedded into integrated power meter

Introducing AVR Dragon

NB3H5150 I2C Programming Guide. I2C/SMBus Custom Configuration Application Note

Lab 3: PCB design with EAGLE

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual

Arduino Lesson 1. Blink

The Programming Interface

CHAPTER 11: Flip Flops

Designing VM2 Application Boards

Introduction. Getting familiar with chipkit Pi

Adding a Real Time Clock to Raspberry Pi

Security & Chip Card ICs SLE 44R35S / Mifare

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

All About Arduino Libraries

Android Controlled Based Interface

Board also Supports MicroBridge

Arduino Lesson 0. Getting Started

AC-PG-USBASP USBASP AVR Programmer

CAN-Bus Shield Hookup Guide

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

USB / Data-Acquisition Module NOW LEAD-FREE


AXE033 SERIAL/I2C LCD

2.0 Command and Data Handling Subsystem

Monitor Your Home With the Raspberry Pi B+

Features INSTRUCTION DECODER CONTROL LOGIC AND CLOCK GENERATORS COMPARATOR AND WRITE ENABLE EEPROM ARRAY READ/WRITE AMPS 16

AN601 I2C 2.8 Communication Protocol. SM130 SM130 - Mini APPLICATION NOTE

ET-BASE AVR ATmega64/128

UniPi technical documentation REV 1.1

Project Plan. Project Plan. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Chapter 13. PIC Family Microcontroller

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Vicon Flash Upgrade Software

AR1100 Resistive Touch Screen Controller Guide

Work with Arduino Hardware

DIY Pocket LED Gamer - Tiny Tetris!

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

LCD I 2 C/Serial RX Backpack. Data Sheet. LCD to I2C/Serial RX Backpack I2C or Serial RX communication with Standard 16 Pin LCD modules

W25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI

Memory Basics. SRAM/DRAM Basics

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

AXE114S BINARY CLOCK. revolution Revolution Education Ltd. Web: Version /09/08 AXE114.PMD.

Web Site: Forums: forums.parallax.com Sales: Technical:

MAX6683 Evaluation System/Evaluation Kit

RGB LED Strips. Created by lady ada. Last updated on :00:18 PM EST

User Guide Reflow Toaster Oven Controller

KTA-223 Arduino Compatible Relay Controller

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

CAM-VGA100 User Manual

R10 22k. R9 10k PICAXE-08M RXD. Sample Program: main: high 4 pause 1000 low 4 pause 1000 goto main R7 330 D7 LED-RED.

FIS Module Programmer Instruction Manual (Version 1.0)

RC2200DK Demonstration Kit User Manual

ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION

Overview of the LTC2978 Configuration EEPROM (NVM) Revision 1.0

Transcription:

Adafruit I2C FRAM Breakout Created by lady ada Last updated on 2016-08-25 07:24:14 PM UTC

Guide Contents Guide Contents Overview Pinouts Power Pins: I2C Logic pins: Assembly Prepare the header strip: Add the breakout board: And Solder! Wiring and Test Arduino Wiring Download Adafruit_FRAM_I2C Load Demo Library Reference Downloads Schematics Fabrication Print 2 3 6 6 6 8 8 8 9 11 11 12 13 14 16 16 16 Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 2 of 17

Overview You're probably familiar with SRAM, DRAM, EEPROM and Flash but what about FRAM? FRAM is 'ferroelectric' RAM, which has some very interesting and useful properties. Unlike SRAM, FRAM does not lose the data when power is lost. In that sense it's a durable storage memory chip like Flash. However, it is much faster than Flash - and you don't have to deal with writing or erasing pages. Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 3 of 17

This particular FRAM chip has 256 Kbits (32 KBytes) of storage, interfaces using I2C, and can run at up to 1MHz I2C rates. Each byte can be read and written instantaneously (like SRAM) but will keep the memory for 95 years at room temperature. Each byte can be read/written 10,000,000,000,000 times so you don't have to worry too much about wear leveling. Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 4 of 17

With the best of SRAM and Flash combined, this chip can let you buffer fairly-high speed data without worrying about data-loss. Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 5 of 17

Pinouts The FRAM chip is the little guy in the middle. On the bottom we have the power and interface pins Power Pins: VCC - this is the power pin. Since the chip uses 3-5VDC you should pick whatever the logic voltage you're using. For most Arduino's that's 5V. GND - common ground for power and logic I2C Logic pins: Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 6 of 17

I2C Logic pins: WP - Write Protect pin. This is used to force write protection so you cannot write to the FRAM. It has an internal pulldown. Bring to a high voltage (VCC) to turn on WP SCL - I2C clock pin, connect to your microcontrollers I2C clock line. SDA - I2C data pin, connect to your microcontrollers I2C data line. A2, A1, A0 - These are the I2C address selection pins. By default the I2C address is 0x50. Connecting these pins to VCC and power cycling the chip will adjust the lower three bits of the address. For example, if A0 is high, the address is 0x51. If A1 and A2 are high, the address is 0x56 Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 7 of 17

Assembly Prepare the header strip: Cut the strip to length if necessary. It will be easier to solder if you insert it into a breadboard - long pins down Add the breakout board: Place the breakout board over the pins so that the short pins poke through the breakout pads Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 8 of 17

And Solder! Be sure to solder all pins for reliable electrical contact. (For tips on soldering, be sure to check out our Guide to Excellent Soldering (http://adafru.it/atk)). Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 9 of 17

You're done! Check your solder joints visually and continue onto the next steps Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 10 of 17

Wiring and Test Arduino Wiring You can easily wire this breakout to any microcontroller, we'll be using an Arduino Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 11 of 17

Connect Vcc to the power supply, 3V or 5V is fine. Use the same voltage that the microcontroller logic is based off of. For most Arduinos, that is 5V Connect GND to common power/data ground Connect the SCL pin to the I2C clock SCL pin on your Arduino. On an UNO & '328 based Arduino, this is also known as A5, on a Mega it is also known as digital 21 and on a Leonardo/Micro, digital 3 Connect the SDA pin to the I2C data SDA pin on your Arduino. On an UNO & '328 based Arduino, this is also known as A4, on a Mega it is also known as digital 20 and on a Leonardo/Micro, digital 2 The I2C FRAM has a default I2C address of 0x50 but you can set the address to any of 8 values between 0x50 and 0x57 so you can have up to 8 of these chips all sharing the same SCL/SDA pins. We suggest just connecting up the power and SDA/SCL pins for now. Once you have things working, change up the address as desired. Download Adafruit_FRAM_I2C Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 12 of 17

To begin reading and writing data to the chip, you will need to download Adafruit_FRAM_I2C from our github repository (http://adafru.it/dtq). You can do that by visiting the github repo and manually downloading or, easier, just click this button to download the zip Download Adafruit FRAM i2c Library http://adafru.it/dtr Rename the uncompressed folder Adafruit_FRAM_I2C and check that the Adafruit_FRAM_I2C folder contains Adafruit_FRAM_I2C.cpp and Adafruit_FRAM_I2C.h Place the Adafruit_FRAM_I2C library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE. We also have a great tutorial on Arduino library installation at: http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use (http://adafru.it/aym) Load Demo Open up File->Examples->Adafruit_FRAM_I2C->MB85RC256V and upload to your Arduino wired up to the sensor Thats it! Now open up the serial terminal window at 9600 speed to begin the test. The test is fairly simple - It first verifies that the chip has been found. Then it reads the Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 13 of 17

value written to location #0 in the memory, prints that out and write that value + 1 back to location #0. This acts like a restart-meter: every time the board is reset the value goes up one so you can keep track of how many times its been restarted. Afterwards, the Arduino prints out the value in every location (all 256KB!) Library Reference The library we have is simple and easy to use Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 14 of 17

You can create the FRAM object with Adafruit_FRAM_I2C fram = Adafruit_FRAM_I2C(); Then when you begin(), pass in the i2c address. The default is 0x50 so if you don't put any value in the default is used. If you have different addresses, call something like fram.begin(0x53) for example. Then to write a value, call fram.write8(address, byte-value); to write an 8-bit value to the address location Later on of course you can also read with fram.read8(address); which returns a byte reading. Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 15 of 17

Downloads Datasheet for the MB85RC256VPF FRAM chip (http://adafru.it/dt7) Fritzing object in the Adafruit Fritzing library (http://adafru.it/ap3) EagleCAD PCB files in GitHub (http://adafru.it/q6a) Schematics Fabrication Print Adafruit Industries https://learn.adafruit.com/adafruit-i2c-fram-breakout Page 16 of 17

Adafruit Industries Last Updated: 2016-08-25 07:24:12 PM UTC Page 17 of 17