Code Monkey home page Code Monkey logo

esp8266_spiram's Introduction

Arduino IDE ESP8266 - library for SPI Serial SRam 23A1024/23LC1024 by Microchip Technology Inc.

This Library provides the interface for a 1Mbit SRAM chip with ESP8266 through SPI connection. Microchip 23A1024/23LC1024 - download datasheet here

Application written by Giancarlo Bacchio

Getting the code

You can install SRam Library for your ESP8266 downloading the code that is hosted at https://github.com/Gianbacchio/ESP8266_Spiram.

Selecting "Watch" box in the GitHub repository, you will be informed about the latest development updates of this library.

Installing the code

The downloaded code in *.zip format can be included as a new library into the IDE, selecting the menù:

 Sketch / include Library / Add .Zip library	

Usage

The Hardware connection is done using the standard HSPI interface of the ESP8266.

The chip is connected as per para 3.8 "SPI/SDI and SQI Pin designation" (see datasheet)

Power supply is 3,3Vcc.

Pin on RAM chip functionality Pin on ESP8266
pin1 C/S GPIO15
pin2 MISO GPIO12
pin3 N/C Gnd
pin4 Vss Gnd
pin5 MOSI GPIO13
pin6 SCK GPIO14
pin7 HOLD V+
pin8 Vcc V+

Examples

  • ESP_spiram.ino : a basic example to understand how the library works. You can write and read a Byte in a given location of the SRAM

License

You may copy, distribute and modify the software provided that modifications are described and licensed for free under LGPL-3. Derivatives works (including modifications or anything statically linked to the library) can only be redistributed under LGPL-3, but applications that use the library don't have to be.

esp8266_spiram's People

Contributors

earlephilhower avatar gianbacchio avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dniprox

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.