<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Clonage de Résumé Objets connectés by Émile Cyr-Perreault (420.B0)</title>
      <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v</link>
      <description>Fait avec un esprit d&#39;inventeur</description>
      <language>en-us</language>
      <pubDate>2020-11-21 19:42:09 UTC</pubDate>
      <lastBuildDate>2024-11-13 19:23:10 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f43d.png</url>
      </image>
      <item>
         <title>PLAN Arduino</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532469</link>
         <description><![CDATA[<div>Branchements importants (votre dessin)</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/291744471/b7be4a03c7cc0f368f5fb90ff7234a28/image.png" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532469</guid>
      </item>
      <item>
         <title>INPUT DIGITAL ARDUINO</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532472</link>
         <description><![CDATA[<blockquote><strong><em>🤖 COMPOSANTS</em></strong></blockquote><div>L'INPUT digital sert à détecter un bouton pressoir, un interrupteur, l'activation d'un signal binaire.  Pour Arduino c'est 0 (0V) ou 1 (5V). <br>RÉCEPTION d'une commande d'activation ou de désactivation</div><ul><li>Bouton pressoir </li><li>Interrupteur</li></ul><div>RÉCEPTION d'un signal binaire</div><ul><li>Switch</li></ul><div><strong><em>🔲 CODE</em></strong></div><ul><li><pre> <strong> </strong>
fonction Arduino = <a href="https://www.arduino.cc/reference/en/language/functions/digital-io/digitalread/">digitalRead( )</a>
<br></pre></li></ul><blockquote><strong><em>🔌 BRANCHEMENTS</em></strong></blockquote>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/805798110/5b4bbd7a0e2e06182e5e6430c49868d6/digital_input.jpg" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532472</guid>
      </item>
      <item>
         <title>ENVIRONNEMENT ARDUINO</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532473</link>
         <description><![CDATA[<blockquote><strong><em>Installation</em></strong></blockquote><div><br>Télécharger l’IDE pour votre système d’exploitation<br>Installez l’IDE Arduino sur votre machine</div><div><br></div><blockquote><strong><em>Code - Log</em></strong>   mySerial = new Serial( this, Serial.list()[0], 9600 ); <br>   output = createWriter( "newp.txt" ); <br>   print(Serial.list()); <br><strong><em>Librairies</em></strong></blockquote><div><a href="https://www.arduino.cc/en/Reference/LiquidCrystal">LiquidCrystal</a> - for controlling liquid crystal displays (LCDs) </div><div><a href="https://www.arduino.cc/en/Reference/SD">SD</a> - for reading and writing SD cards </div><div><a href="https://www.arduino.cc/en/Reference/Servo">Servo</a> - for controlling servo motors </div><div><a href="https://www.arduino.cc/en/Reference/SPI">SPI</a> - for communicating with devices using the Serial Peripheral Interface (SPI) Bus </div><div><br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532473</guid>
      </item>
      <item>
         <title>OUTPUT ARDUINO</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532474</link>
         <description><![CDATA[<blockquote><strong><em>🤖 COMPOSANTS</em></strong></blockquote><div>ANALOG<br>CONTRÔLE de l'intensité d'une sortie</div><ul><li>Intensité de la lumière</li><li>Intensité du son</li></ul><div>RELAI d'une valeur détectée</div><ul><li>Transfert d'un signal ou d'une moyenne de signal enregistrée d'un capteur à un autre objet connecté<br><br></li></ul><div><br><br><br></div><blockquote><strong><em>🔲 CODE</em></strong></blockquote><pre> void setup() {
  pinMode(2, OUTPUT);
}

void loop() {
  //On allume la led
  digitalWrite(2, HIGH);
  //On attend 1 seconde
  delay(1000*1);
  //On éteint la led
  digitalWrite(2, LOW);
  //On attend 2 secondes
  delay(1000*2);
}
 
 
 
 
  </pre><div><br><br></div><blockquote><strong><em>🔌 BRANCHEMENTS</em></strong></blockquote>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/805798110/0be40b87150e1e08b7e439cd253cd50c/arduino_outpur.png" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532474</guid>
      </item>
      <item>
         <title>INPUT ANALOGIQUE ARDUINO</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532475</link>
         <description><![CDATA[<blockquote><strong><em>🤖 COMPOSANTS</em></strong></blockquote><div>L'INPUT analogue sert à enregistrer ou réagir aux valeurs des capteurs (senseurs).  Cela comprend ce qu'on appelle les encodeurs de mouvement. <br>SENSEURS détectant l'environnement</div><ul><li>Capteur de température, d'humidité (hygromètre), de pollution, etc.</li><li>Capteur de son, de luminosité, etc.</li></ul><div>SENSEURS pour communiquer</div><ul><li>Capteur d'Infra-Rouge, capteur Bluetooth</li></ul><div>SENSEURS pour évaluer le mouvement</div><ul><li>Potentiomètre (rotation) </li><li>Encodeur (mouvement d'une roue)</li></ul><div><br></div><div><strong><em>🔲 CODE</em></strong></div><div> Fonction Arduino = <a href="https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/">analogRead( )</a></div><div> </div><blockquote><strong><em>🔌 BRANCHEMENTS</em></strong></blockquote><div><br><br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/805798110/8c93ea8f4feca92024731f3ca45cd2ae/anal_input.png" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532475</guid>
      </item>
      <item>
         <title>PLAN Raspberry PI</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532476</link>
         <description><![CDATA[<div>Branchements importants (avec un dessin)</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/805798110/f88f103547c7cfde7864ee961d3ca796/PI_4_Detailled_2__lowres_.png" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532476</guid>
      </item>
      <item>
         <title>INPUT RASPBERRY PI</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532477</link>
         <description><![CDATA[<blockquote><strong><em>🤖 COMPOSANTS</em></strong></blockquote><div><br>Shell<br>Bouton <br>cable<br><br></div><blockquote><strong><em>🔌 BRANCHEMENTS</em></strong></blockquote><div><br>https://electropeak.com/learn/tutorial-raspberry-pi-gpio-programming-using-python-full-guide/<br><br></div><blockquote><strong><em>🔲 CODE</em></strong></blockquote><pre>from gpiozero import Button
from time import sleep 
button = Button(2) 
while True: 
    if button.is_pressed: 
        print("Button is pressed") 
        sleep(0.25)
 
<br></pre>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/805798110/a8e7374fa268dfec88dceb9baf044040/raspbery_pi_input.png" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532477</guid>
      </item>
      <item>
         <title>OUTPUT RASPBERRY PI</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532478</link>
         <description><![CDATA[<blockquote><strong><em>🤖 COMPOSANTS</em></strong></blockquote><div><br> Shell<br>Led <br>cable <br><br></div><blockquote><strong><em>🔌 BRANCHEMENTS</em></strong></blockquote><div><br><br><br></div><blockquote><strong><em>🔲 CODE</em></strong></blockquote><pre> from gpiozero import LED 
from time import sleep 

red = LED(17) 
 
while True: 
    red.on()    #turn led on 
    sleep(1)    #delay for 1 second 
    red.off()   #turn led off 
    sleep(1):
 
<br></pre>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/805798110/53aa5da710913c4ecdf51098ccec2203/external_content_duckduckgo_com.png" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532478</guid>
      </item>
      <item>
         <title>ENVIRONNEMENT RASPBERRY PI</title>
         <author>ecyre013</author>
         <link>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532480</link>
         <description><![CDATA[<blockquote><strong><em>Installation</em></strong></blockquote><div>sudo pip3 install gpiozero<br>import gpiozero</div><div><br></div><blockquote><strong><em>Code - Log<br>ecrire dans un fichier en python</em></strong></blockquote><pre>with open("/home/pi/cpu_temp.csv", "a") as log:
	while True:
		temp = cpu.temperature
		log.write("{0},{1}\n".format(strftime("%Y-%m-%d %H:%M:%S"),str(temp)))</pre><div><br><br><br></div><blockquote><strong><em>OS</em></strong></blockquote><div>Raspbian<br><br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-11-21 19:42:09 UTC</pubDate>
         <guid>https://padlet.com/ecyre013/fziwtr2ve3yb9v/wish/948532480</guid>
      </item>
   </channel>
</rss>
