4tronix Ultimate Initio kit Podręcznik - Strona 11

Przeglądaj online lub pobierz pdf Podręcznik dla Robotyka 4tronix Ultimate Initio kit. 4tronix Ultimate Initio kit 11 stron. For raspberry pi

4tronix Ultimate Initio kit Podręcznik
The main build of your Ultimate Initio Kit for the Raspberry Pi is now
complete.
6. Connecting the Wheel Sensors (Optional)
Note that the wheel sensors require additional code to operate properly that is not included in
the python library.
It is recommended that you do not fit these until you are familiar with the operation of the
rest of the robot.
If you want to fit them, use Pins 15 and 16 (marked x15, x16 or #22, #23 and note that the
silk screen on the board has these swapped over)
For each Wheel Sensor, connect:
Black to Gnd
Red to 5V
Orange or Brown to the selected pin (in fact, each wheel has 2 sensors that are slightly
out of phase so you can get direction of travel from them, but you will then need 2
pins for each sensor)
It is recommended to leave the wheel sensor cables unconnected to start with