当前位置:网站首页>Esp8266 uses TF card and reads and writes data (based on Arduino)
Esp8266 uses TF card and reads and writes data (based on Arduino)
2022-07-07 09:30:00 【Allen953】
Introduce
The following modules are mainly used , One
TF Memory card pin
This picture mainly tells us TF What is the function of each pin of the card , Because we use spi Interface , So just look at the last column .
Run routine
Under normal circumstances , Once your arduino IDE It's equipped with esp8266 Hardware support for , Then the adapter will be automatically installed esp8266 Of SD Kaku , So we don't need to install the Library .
We turn on files This routine , Then compile .
This files What are routines mainly for ?
Is to create one on the memory card example.txt The file of , And then delete .
connection
After compiling it , Let's start wiring
If you directly run the routines compiled above , Without making any changes to the program , Then it's OK to connect like this .
After connecting the line , You can directly power on the board , Then open the serial port from , Check whether the printed log is normal .
You can see , Memory card initialization succeeded , And successfully created the file on it , Then deleted the file .
边栏推荐
- Difference between interface iterator and iteratable
- SAP MM STO单据的外向交货单创建后新加ITEM?
- Unity shader (data type in cghlsl)
- ComputeShader
- Schema-validation: wrong column type encountered in column XXX in table XXX
- Unity shader (basic concept)
- Huawei hcip datacom core_ 03day
- The use of recycling ideas
- STM32 and motor development (from stand-alone version to Networking)
- MySql数据库-事务-学习笔记
猜你喜欢
随机推荐
4、 Fundamentals of machine learning
Loxodonframework quick start
JWT certification used in DRF
Redis common commands
Vs2013 generate solutions super slow solutions
MySql数据库-事务-学习笔记
SAP MM STO单据的外向交货单创建后新加ITEM?
创建一个长度为6的int型数组,要求数组元素的值都在1-30之间,且是随机赋值。同时,要求元素的值各不相同。
Yapi test plug-in -- cross request
Information Security Experiment 1: implementation of DES encryption algorithm
Add new item after the outbound delivery order of SAP mm sto document is created?
JS inheritance prototype
Some pit avoidance guidelines for using Huawei ECS
Jenkins automated email
When inputting an expression in the input box, an error is reported: incorrect string value:'\xf0\x9f... ' for column 'XXX' at row 1
Postman data driven
shake数据库中怎么使用Mongo-shake实现MongoDB的双向同步啊?
liunx命令
Oracle安装增强功能出错
The configuration and options of save actions are explained in detail, and you won't be confused after reading it