博文

目前显示的是 十月, 2017的博文

18.Arduino learning notebook-- SD card reading and writing experiment

图片
18. Arduino learning notebook-- SD card reading and writing experiment           Juvtmall  ( a company supply  PCB Prototyping ,  PCBA service  and sell kinds of  components, modules  and so on)  ( Catduino has the same function of Arduino)   This time I use arduino to drive SD card, read and write in SD card. It is necessary to note that the SD library file of arduino is not very good for 2G or over 2G , so it is recommended that you use 2G or below 2G, and the file format is in FAT . This time I use the MicroSD card of kingmax2G. Look at the hardware connection diagram Download the following code into arduino board ARDUINO CODE 1.  / * 2.  This example shows that if you record three analog pin values to a SD card, use the SD library. 3.            4.  c ircuit part 5.  * analog  pins with simulated port  0,1, 2. You can access analog sensors according to the situation. 6.  If not, you can also do this experiment, but the numerical