1 256 octets ajoutés
, 6 août 2017 à 14:33
{{Hack-ENG-MotorSkin-NAV}}
== Wire the motors ==
In the sample here below, we did wire the motors of our {{pl|741|2 wheels robot kit}}, a robot chassis using two DC motors. You can use any kind of robot chassis as long it respect the max power supported by the L293 H-Bridge.
You can easily create a robot at almost no cost.
[[Fichier:Hack-micropython-Robot2Wheel-intro.jpg]]
Here how we dit wire the motors on the motor-skin
[[Fichier:Hack-MotorSkin-Brancher-00.jpg|1024px]]
{{ambox-stop|text=Do not place the batteries in the battery holder! We will do it later.}}
== Plug the Pyboard ==
Once the motors wired, we can place the other items like in this order:
* The PyBoard under the motor-skin
* The ultrasonic sensor (if available) in the front connector of the motor-skin (like showned on the picture).
[[Fichier:Hack-MotorSkin-00.jpg|640px]]
== Once assembled ==
When assembled, the motor chassis should look like this :
[[Fichier:Hack-MotorSkin-01.jpg|640px]]
{{ambox|text=As you may notice, the batteries are not yet in place.
So the motors are not yet powered. This is intentional to give us the time for programming the PyBoard.}}
We are now ready to program the PyBoard. Please see the next section.
{{Hack-ENG-MotorSkin-TRAILER}}