<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arduino Maroc - ElectroMaShop</title>
	<atom:link href="https://electromashop.com/category/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>https://electromashop.com/category/arduino/</link>
	<description>Boutique des circuit et Composants  Electronique au Maroc à Rabat,Arduino DIY,Raspberry Pi,Capteur,Module,Robot,IOT</description>
	<lastBuildDate>Thu, 16 Oct 2025 15:10:27 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://electromashop.com/wp-content/uploads/2018/10/cropped-logo-512-512-2-2-1-100x100.jpg</url>
	<title>Arduino Maroc - ElectroMaShop</title>
	<link>https://electromashop.com/category/arduino/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Carte SD avec Arduino Lire/Ecrire</title>
		<link>https://electromashop.com/carte-sd-avec-arduino-lire-ecrire/</link>
		
		<dc:creator><![CDATA[Ahmed]]></dc:creator>
		<pubDate>Mon, 01 Jul 2019 23:47:29 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Arduino Uno]]></category>
		<category><![CDATA[Carte SD]]></category>
		<category><![CDATA[Carte SD avec Arduino Lire/Ecrire]]></category>
		<category><![CDATA[Lire/Ecrire]]></category>
		<category><![CDATA[SD card]]></category>
		<guid isPermaLink="false">https://electromashop.com/?p=2359</guid>

					<description><![CDATA[<p>Carte SD avec Arduino Lire/Ecrire Dans cette Article Nous verrons le montage de la Carte Arduino Uno Avec Le Module Carte SD et comment Lire et écrire Les Donnés sur</p>
<p>L’article <a href="https://electromashop.com/carte-sd-avec-arduino-lire-ecrire/">Carte SD avec Arduino Lire/Ecrire</a> est apparu en premier sur <a href="https://electromashop.com">ElectroMaShop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Carte SD avec Arduino Lire/Ecrire</h1>
<p>Dans cette Article Nous verrons le montage de la Carte <a href="https://https://electromashop.com/produit/arduino-uno-cable-usb/"><strong>Arduino Uno</strong></a> Avec Le <a href="https://https://electromashop.com/produit/module-carte-sd/"><strong>Module Carte SD</strong></a><br />
et comment Lire et écrire Les Donnés sur La Carte SD .<br />
ce type de module est donné la solution efficace qui remplacer la faible mémoire interne des <strong>microcontrôleurs</strong> d&#8217;enregistrer des donnés.</p>
<h2>Matériels</h2>
<ul>
<li><strong><a href="https://https://electromashop.com/produit/arduino-uno-cable-usb/">Arduino Uno</a> /<a href="https://https://electromashop.com/produit/arduino-mega-2560-cable-usb/">Mega</a></strong></li>
<li><a href="https://https://electromashop.com/produit/module-carte-sd/"><strong>Module Carte SD (sd card)</strong></a></li>
<li><a href="https://electromashop.ma/produit/jumper-mf-20-cm/"><strong>Jumper Male-Female</strong></a></li>
</ul>
<h2>Schéma de Montage</h2>
<p>Le Montage entre la carte <a href="https://https://electromashop.com/produit/arduino-uno-cable-usb/"><strong>Arduino Uno</strong></a>  et le <a href="https://https://electromashop.com/produit/module-carte-sd/"><strong>Module Carte SD</strong></a></p>
<p><img fetchpriority="high" decoding="async" title="Cablage carte Sd et Arduino Uno" src="https://https://electromashop.com/wp-content/uploads/2019/07/arduino-uno-mega-nano-sd-card-cartesSD-Electromashop-1.jpg" alt="" width="943" height="431" /></p>
<p>Le Tableau Suivant présente les branchement entre le <a href="https://https://electromashop.com/produit/module-carte-sd/"><strong>Module Carte SD</strong></a> et les cartes  <a href="https://https://electromashop.com/produit/arduino-uno-cable-usb/"><strong>Arduino Uno</strong></a>, <a href="https://https://electromashop.com/produit/arduino-mega-2560-cable-usb/"><strong>Mega</strong> </a>et <strong><a href="https://https://electromashop.com/produit/arduino-nano-cable-usb/">Nano</a> .</strong></p>
<table style="height: 376px;" width="675">
<tbody>
<tr>
<td width="151"><a href="https://https://electromashop.com/produit/module-carte-sd/"><strong>Module Carte SD</strong></a></td>
<td width="123"><a href="https://https://electromashop.com/produit/arduino-uno-cable-usb/"><strong>Arduino Uno</strong></a></td>
<td width="123"><a href="https://https://electromashop.com/produit/arduino-mega-2560-cable-usb/"><strong>Arduino Mega </strong></a></td>
<td width="123"><a href="https://https://electromashop.com/produit/arduino-nano-cable-usb/"><strong>Arduino Nano</strong></a></td>
</tr>
<tr>
<td width="151"><strong>GND</strong></td>
<td width="123">GND</td>
<td width="123">GND</td>
<td width="123">GND</td>
</tr>
<tr>
<td width="151"><strong>VCC</strong></td>
<td width="123">3.3V</td>
<td width="123">3.3V</td>
<td width="123">3.3V</td>
</tr>
<tr>
<td width="151"><strong>MISO</strong></td>
<td width="123">12</td>
<td width="123">50</td>
<td width="123">12</td>
</tr>
<tr>
<td width="151"><strong>MOSI</strong></td>
<td width="123">11</td>
<td width="123">51</td>
<td width="123">11</td>
</tr>
<tr>
<td width="151"><strong>SCK</strong></td>
<td width="123">13</td>
<td width="123">52</td>
<td width="123">13</td>
</tr>
<tr>
<td width="151"><strong>CS</strong></td>
<td width="123">4</td>
<td width="123">53</td>
<td width="123">4</td>
</tr>
</tbody>
</table>
<h2>Code Lire et écrire sur la carte SD</h2>
<p>Pour intégrer le <a href="https://https://electromashop.com/produit/module-carte-sd/"><strong>Module Carte SD</strong></a> avec la carte <a href="https://https://electromashop.com/produit/arduino-uno-cable-usb/"><strong>Arduino</strong></a>  , il est déjà existe une bibliothèque à la plateforme Arduino <strong> :</strong></p>
<pre><strong>
    #include 
    #include 
</strong>
</pre>
<h3><strong>Code pour écrire un fichier sur la  carte SD</strong></h3>
<pre><strong>
#include 
#include 
File Electromapro;
void setup() {
Serial.begin(9600);
if(!SD.begin(4)){
  Serial.println("Pas de Carte SD");
  return;
}
Serial.println("Carte SD est Monter");
Electromapro = SD.open("Electromapro.txt",FILE_WRITE);//pour écrire un nouveau fichie de type "txt"
if(Electromapro){
  Serial.println("Ecrire Sur La Carte ");
  Electromapro.println("Nouveau Test");//ecrire sur le fichier "Electromapro.txt"
  Electromapro.close();
}
}
void loop() {
}
</strong>
</pre>
<h3>Code pour Lire des donnés dans un fichier sur la carte SD</h3>
<pre><strong>
#include 
#include 
File Electromapro;
void setup() {
Serial.begin(9600);
if(!SD.begin(4)){
  Serial.println("Pas de Carte SD");
  return;
}
Serial.println("Carte SD est Monter");
Electromapro = SD.open("Electromapro.txt");
if(Electromapro){
while(Electromapro.available()){
 Serial.write(Emadtxt.read());
}
 Emadtxt.close();
}
}
void loop() {
}
</strong>
</pre>
<h3>Application</h3>
<p>L’article <a href="https://electromashop.com/carte-sd-avec-arduino-lire-ecrire/">Carte SD avec Arduino Lire/Ecrire</a> est apparu en premier sur <a href="https://electromashop.com">ElectroMaShop</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
