Git Product home page Git Product logo

arduino-w25q64's Introduction

Arduino-W25Q64

Arduino用 SPI接続フラッシュメモリW25Q64ライブラリ

結線図

概要

Arduinoでwinbond社製 SPI接続フラッシュメモリW25Q64を利用するためのライブラリです。
W25Q32でも利用出来ます。

W25Q64 DIP

ライブラリ名称: W25Q64
ヘッダファイル: #include <W25Q64.h>

インストール

W25Q64フォルダをArduino IDElibrariesフォルダに置いて下さい。

回路図

W25Q64は3.3V稼働のため、5V稼働のArduinoで利用する場合はレベルシフト等の対応を行って下さい。
(電源部のパスコンは省略しても動くようです)

回路図
接続図

3.3V稼働可能なArduinoは直接接続で利用します。
接続図2

Arduino STM32 Blue Pillボードでの利用例
利用するポートは、関数void W25Q64_setSPIPort(SPIClass& rSPI);で指定出来ます。
接続図2

サンプルプログラム

スケッチ名:sample.ino (Arduino Uno用)
W25Q64に対して、書き込みと読み込みを行いその結果を表示します。

シリアル通信の速度は115200で接続します。
接続図

スケッチ名:sample_STM32.ino (Arduino STM32 BluePill用)
sample.inoと同じ機能です。
スケッチ内のE25Q64_SPI_PORTの設定にて利用するSPIポートの変更が可能です。

arduino-w25q64's People

Contributors

tamakichi avatar per1234 avatar

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.