Différences entre versions de « Hack-ENG-MotorSkin-Presentation »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 9 : Ligne 9 :
  
 
* A 4 pin connector to insert {{pl|561|a HC-SR04 ultrasonic sensor}}
 
* A 4 pin connector to insert {{pl|561|a HC-SR04 ultrasonic sensor}}
* Vous pouvez utiliser le senseur directement sur le connecteur ou utiliser des fils pour le monter sur un servo moteur (pour le rendre "''orientable''").
+
* You can plug the HC-SR04 right on this connector or use extra wire to place the sensor on a top of a micro servo (so you can '''rotate''' the sensor in many direction).
* Un connecteur Jack (centre positif) répliqué sur un bornier (10V max).<br />De quoi alimenter vos moteurs, un régulateur 5V et votre Pyboard.
+
* A Jack power supply connector (center positive) replicated on a screw terminal (10V max).<br />It is user to power up the motors, the 5v regulator and the Pyboard.
* Une diode schottky supplémentaire sur le motor-skin pour alimenter votre PyBoard via USB ou via l'alimentation de la PyBoard (prise Jack ou bornier) lorsque vous enlevez votre prise USB.
+
* An additional schottky diode to power-up the Pyboard via USB (when the PyBoard is wired on USB) or throught the motor-skin (via the Jack or screw terminal power) when the USB connection is removed.
* Des [http://2.bp.blogspot.com/-oFVlDnOVPJI/TghmY8RwZdI/AAAAAAAABBo/j0zgLzP0hqg/s320/Commande+Direction.png capacités de découplage moteur]. Les moteurs continu sont source de nombreux parasites. Comme cela risque de perturber le fonctionnement de la PyBoard, nous avons rajouté des capacités de filtrage sur la carte. [http://arduino103.blogspot.be/2011/06/controle-moteur-dc-via-l293d-h-bridge.html Voyez la section "capacités de découplages" sur cet article]  pour plus d'information.
+
* Many [http://2.bp.blogspot.com/-oFVlDnOVPJI/TghmY8RwZdI/AAAAAAAABBo/j0zgLzP0hqg/s320/Commande+Direction.png decoupling capacities] are used for the motors. DC motors generates lot of noise. To many noise/interference may distrub the PyBoard, si we have added namy filtering caps.
* '''Sur kit complet''': {{pl|463|Un régulateur de tension 5V 500mA, S7V7F5 Step-up/Step-Down}}.
+
* '''In the complete kit''': {{pl|463|A 5V 500mA regulator, S7V7F5 Step-up/Step-Down}}.<br />This DC-DC converter is able to produce 5V output from a input voltage over 5V -OR- {{underline|under 5 Volts}}. This feature is very useful when working with battery pack. Such regulator can produce stable 5V to your 5V componants... included the ultrasonic sensor.
* Ce hacheur permet de réguler une tension de 5V à partir d'une tension supérieur ou {{underline|inférieur à 5 Volts}}, ce qui est vraiment très pratique lorsque l'on utilise un bloc pile. Il permet de fournir une tension d'alimentation stable à vos composants 5 Volts... y compris le senseur de distance ultrason.
+
* 2 mini prower rails +5V & GND.
* Deux mini-rails de distribution +5V et GND.
+
* 4 user button - ease the creation of user interface.<br />Pressing the button short the pin to the ground.
* 4 boutons utilisateurs pour faciliter la création d'une interface utilisateur.<br />Par retour à la masse.
+
* Duplicate the Reset button... stays accessible.
* Report du bouton Reset... pour qu'il reste accessible.
+
* '''In the complete kit''': An {{pl|561|HC-SR04 ultrasonic sensor}} used to evaluate distances and avoids obstacles.
* '''Sur kit complet''': Un {{pl|561|senseur ultrason HC-SR04}} pour évaluer les distances et d'éviter les obstacles.
 
  
 
== Broches utilisées ==
 
== Broches utilisées ==

Version du 6 novembre 2016 à 20:25


MCHobby invest time and money to produce documentation and tutorials. It is a very long work made in the Open-Source spirit... so available for free to everyone.
IF you do like our documentation THEN help us by buying your products at MCHobby.

Technical details

Hack-ENG-MotorSkin-10.jpg

It is easy to power up the board and motor from a 4 x 1.5V battery bloc.

  • A 4 pin connector to insert a HC-SR04 ultrasonic sensor
  • You can plug the HC-SR04 right on this connector or use extra wire to place the sensor on a top of a micro servo (so you can rotate the sensor in many direction).
  • A Jack power supply connector (center positive) replicated on a screw terminal (10V max).
    It is user to power up the motors, the 5v regulator and the Pyboard.
  • An additional schottky diode to power-up the Pyboard via USB (when the PyBoard is wired on USB) or throught the motor-skin (via the Jack or screw terminal power) when the USB connection is removed.
  • Many decoupling capacities are used for the motors. DC motors generates lot of noise. To many noise/interference may distrub the PyBoard, si we have added namy filtering caps.
  • In the complete kit: A 5V 500mA regulator, S7V7F5 Step-up/Step-Down.
    This DC-DC converter is able to produce 5V output from a input voltage over 5V -OR- under 5 Volts. This feature is very useful when working with battery pack. Such regulator can produce stable 5V to your 5V componants... included the ultrasonic sensor.
  • 2 mini prower rails +5V & GND.
  • 4 user button - ease the creation of user interface.
    Pressing the button short the pin to the ground.
  • Duplicate the Reset button... stays accessible.
  • In the complete kit: An HC-SR04 ultrasonic sensor used to evaluate distances and avoids obstacles.

Broches utilisées

Pour rendre son utilisation plus simple, nous avons repris notation des broches Pyboard sur la sérigraphie du motor-skin.

MOTOR-SKIN-BOARD-v1.1-PIN-USED.jpg

Les broches utilisées par le motor-skin sont indiquées entre parenthèses.

Broche PyBoard Mode Utilisation Description
X17 INPUT
Internal PullUp
SW1 Bouton utilisateur 1 (broche à la masse lorsque le bouton est enfoncé)
X18 INPUT
Internal PullUp
SW2 Bouton utilisateur 2 (broche à la masse lorsque le bouton est enfoncé)
X19 INPUT
Internal PullUp
SW3 Bouton utilisateur 3 (broche à la masse lorsque le bouton est enfoncé)
X20 INPUT
Internal PullUp
SW4 Bouton utilisateur 4 (broche à la masse lorsque le bouton est enfoncé)
Y5 OUTPUT HC-SR04 Trigger Déclenche l'envoi d'une mesure de distance sur le senseur ultrason
Y6 INPUT HC-SR04 Echo Réception du signal d'echo du senseur ultrason
X6 OUTPUT Moteur 1 contrôle Broche 1 pour contrôle du pont-H moteur 1
X5 OUTPUT Moteur 1 contrôle Broche 2 pour contrôle du pont-H moteur 1
X3 OUTPUT PWM
Timer 5, Channel 3
Moteur 1 contrôle vitesse Broche Enable du pont-H moteur 1.
X7 OUTPUT Moteur 2 contrôle Broche 1 pour contrôle du pont-H moteur 2
X8 OUTPUT Moteur 2 contrôle Broche 2 pour contrôle du pont-H moteur 2
X4 OUTPUT PWM
Timer 5, Channel 4
Moteur 2 contrôle vitesse Broche Enable du pont-H moteur 2.

Prise de contrôle à distance

Bien que disponible, nous suggérons de réserver les broches X9 et X10 (port série) car elle permettent de brancher un module "Bluetooth Série" bien pratique pour contrôler votre montage à distance.

Broche PyBoard Mode Utilisation Description
X9 TX --- Broche d'émission du port série UART(1)
X10 RX --- Broche de réception du port série UART(1)

Si vous désirez prendre le contrôle de votre PyBoard à distance, vous pourrez utiliser les options suivantes:

Bluetooth & REPL

Tlogo-micropython-bluetooth.jpg

Utiliser un module Bluetooth série avec PyBoard. Dupliquer REPL sur Bluetooth.

 




Créé par Meurisse D. pour MCHobby.be - Created by Meurisse D. for MCHobby.be

Every reference, text extract of this document should be accompagned with the following credit text : «  produced/translated by MCHobby (www.MCHobby.be) - shop for kit and componants » together with a link to the source (so this page). The credit text must be applied on every type of media.

The commercial usage of this text/translation/project's content may be subject to royality fee. In every use case, you must also have the agreement of the initial owner (concerns translation work and content reuse)