

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://https://wikifab.org/wiki/Special:URIResolver/'>
	<!ENTITY category 'http://https://wikifab.org/wiki/Special:URIResolver/Category-3A'>
	<!ENTITY property 'http://https://wikifab.org/wiki/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'https://wikifab.org/wiki/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:category="&category;"
	xmlns:property="&property;">

	<owl:Ontology rdf:about="https://wikifab.org/wiki/Special:ExportRDF/Le_Cerveau_-2D_Arduino_capacitif">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-04-12T15:31:04+02:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Ontology>
	<swivt:Subject rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Le_Cerveau_-2D_Arduino_capacitif">
		<rdf:type rdf:resource="http://https://wikifab.org/wiki/Special:URIResolver/Category-3ATutorials"/>
		<rdfs:label>Le Cerveau - Arduino capacitif</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://wikifab.org/wiki/Special:ExportRDF/Le_Cerveau_-2D_Arduino_capacitif"/>
		<swivt:page rdf:resource="https://wikifab.org/wiki/Le_Cerveau_-2D_Arduino_capacitif"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">fr</swivt:wikiPageContentLanguage>
		<property:Area rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Art</property:Area>
		<property:Area rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Decoration</property:Area>
		<property:Area rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Electronics</property:Area>
		<property:Area rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Robotics</property:Area>
		<property:Complete rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Published</property:Complete>
		<property:Cost rdf:datatype="http://www.w3.org/2001/XMLSchema#double">150</property:Cost>
		<property:Currency rdf:datatype="http://www.w3.org/2001/XMLSchema#string">EUR (€)</property:Currency>
		<property:Description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Une sculpture animée gâce à un Arduino en mode capacitif et un moteur pas à pas</property:Description>
		<property:Difficulty rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Medium</property:Difficulty>
		<property:Duration rdf:datatype="http://www.w3.org/2001/XMLSchema#double">6</property:Duration>
		<property:Duration-2Dtype rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hour(s)</property:Duration-2Dtype>
		<property:Introduction rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Dans le cadre d'une résidence d'artiste, le Fablab de Saint Laurent du Maroni a été amené à collaborer avec un artiste camerounais Dieudonné Fokou afin d'animer certaines de ses sculptures.  Cette oeuvre baptisée "le Cerveau" utilise la technique de l'arduino capacitif et un moteur pas à pas.  Nous détaillerons ici que le code et le câblage électronique, le reste relevant plus de la soudure à l'arc et de l'artiste.</property:Introduction>
		<property:IsTranslation rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</property:IsTranslation>
		<property:Language rdf:datatype="http://www.w3.org/2001/XMLSchema#string">fr</property:Language>
		<property:Main_Picture rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Le_Cerveau_-_Arduino_capacitif_Brain0.jpg</property:Main_Picture>
		<property:SourceLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">none</property:SourceLanguage>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pour transformer l'Arduino en capteur capacitif, il faut tout d'abord installer la bibliothèque de détection capacitive [https://github.com/PaulStoffregen/CapacitiveSensor CapacitiveSensor] depuis le logiciel Arduino. Extraire les fichiers dans Documents/Arduino/libraries puis redémarrer l'Arduino.


Pour le contrôle du moteur pas à pas, il est également possible de télécharger une librairie mais on économise de la mémoire  en restant simple.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Lorsqu'on place notre main sur ou près de la structure métallique, une partie du crâne va s'ouvrir révélant son contenu. La sculpture fait office de capteur capacitif,  elle envoie un signal à notre '''Arduino''' dès qu'on la touche par comparaison de temps entre l'impulsion qu'elle reçoit sur une entrée réceptrice et l'impulsion de sortie qu'elle envoie sur une autre. 


Une '''résistance de 10 MOhm''' (au minimum 1 MOhm )  sera nécessaire pour obtenir cet effet et sera placée entre 2 pins de l'Arduino.

Un '''moteur pas à pas''' de type '''Nema 17''' activera l'ouverture et la fermeture du crâne et sera piloté par un très bon '''driver TB6600'''.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">On insère une résistance de 10 MOhm entre la pin 4 et 2 de l'Arduino. 

La pin 2 nous sert de réception à laquelle est connectée également la structure métallique et la pin 4 de sortie du signal.

Selon le seuil atteint par la mesure, on va activer notre moteur avec le pin 9  (ENA+)  et lui donner une direction sur le pin 7 (DIR+).

Le pin 8 (PUL+) nous sert à lui indiquer le nombre de pas.


Sur le TB6600, il y a 6 micro switchs notés de SW1 à SW6. Les 3 premiers SW1 à SW3 ont été laissés à OFF, ce qui permet d'avoir un réglage à 32 micro steps, il faudra jouer avec la vitesse pour obtenir un mouvement fluide.

SW4 et SW5 ont été mis à ON mais pas SW6 pour limiter le courant à 1.5A (0.4A/phase soit 4x0.4=1.6A).


On relie également les 4 fils de notre moteur 17HS15-0404S à notre driver. Comme il y a 2 bobinages, les fils vont par paire (faire le test des fils croisés): noir(A+)/vert(A-) et rouge(B+)/bleu(B-).

Et on relie le (DIR-)/(PUL-)/(ENA-) au GND de l'Arduino afin de leur définir un état bas (il est généralement déconseillé de laisser des pattes en l'air).</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Comment fonctionne le programme, on définit les pins entre lesquels on récupère l’information avec « CapacitiveSensor cs_4_2 = CapacitiveSensor(4,2) : la pin 2 étant notre capteur relié à la structure.


Dans la partie Setup(),  on définit juste nos sorties digitales avec output pour le DIR, le ENA et le STEP du moteur. Et on initialise la liaison série avec Serial.begin().


Dans la boucle Loop() du programme, on active l'ouverture ou la fermeture du cerveau selon la valeur de trigger récupérée après l'exécution de CSread().&lt;br/&gt;</property:Step_Content>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Fabrication du capteur capacitif</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Bibliothèque Capacitive Sensor</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Quelques explications du code Arduino</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Câblage et réglage du driver TB6600</property:Step_Title>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Arduino</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Electronique</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Stepper</property:Tags>
		<property:VideoType rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Youtube</property:VideoType>
		<property:Has_processing_error rdf:resource="&wiki;Le_Cerveau_-2D_Arduino_capacitif-23_ERRa1fa27779242b4902f7ae3bdd5c6d508"/>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2021-06-17T19:34:49Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2459383.3158449</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Le Cerveau - Arduino capacitif</swivt:wikiPageSortKey>
		<property:Comments rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Comments>
		<property:Page_creator rdf:resource="&wiki;Utilisateur-3ACyd_et_les_Tortues_dansent"/>
		<property:I_did_it rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:I_did_it>
		<property:Favorites rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Favorites>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Le_Cerveau_-2D_Arduino_capacitif-23_ERRa1fa27779242b4902f7ae3bdd5c6d508">
		<swivt:masterPage rdf:resource="&wiki;Le_Cerveau_-2D_Arduino_capacitif"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<property:Has_improper_value_for rdf:resource="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AType"/>
		<property:Has_processing_error_text rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[8,"smw-datavalue-constraint-error-allows-value-list","Tutoriel","Technique, Creation","Type"]</property:Has_processing_error_text>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Le Cerveau - Arduino capacitif# ERRa1fa27779242b4902f7ae3bdd5c6d508</swivt:wikiPageSortKey>
	</swivt:Subject>
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate" />
	<owl:Class rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Category-3ATutorials" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#page" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageContentLanguage" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AArea" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AComplete" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ACost" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ACurrency" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ADescription" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ADifficulty" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ADuration" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ADuration-2Dtype" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AIntroduction" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AIsTranslation" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ALanguage" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AMain_Picture" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ASourceLanguage" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AStep_Content" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AStep_Title" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3ATags" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AVideoType" />
	<owl:ObjectProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AHas_processing_error" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AModification_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AComments" />
	<owl:ObjectProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3APage_creator" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AI_did_it" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AFavorites" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#masterPage" />
	<owl:ObjectProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AHas_improper_value_for" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.org/wiki/Special:URIResolver/Property-3AHas_processing_error_text" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>