Joy-it MOTOPI Скачать руководство пользователя страница 6

www.joy

-

it.net

 

Pascalstr. 8 47506 Neukirchen

-

Vluyn

 

 

 

Confirm the next windows all with  Yes or rather Ok.

 

Leave  the configuration menu with 

Finish and restart your Raspberry Pi.

 

sudo reboot

 

Since the MotoPi is equipped with an additional crystal oscillator, a 

 

special program library is required. This is based on the 

Adafruit_PCA9685 Python library but it is specially adjusted for our board.

 

 

 

We recommend using unconditionally and exclusively our own adjusted 

library. This library can be downloaded 

here

 .

 

 

 

Copy the unzipped library completely on your Raspberry Pi and navigate 

in the terminal into this folder. With the following command you can 

 

install the library.

 

sudo python setup.py install

 

Now Navigate into the folder 

examples and start the code example like 

described below.

 

cd examples

 

sudo python simpletest.py

 

This test script shows the fundamental functions of the motor control 

and the motor which is connected to the first channel, will move 

 

repeatedly from one direction to the other.

 

Содержание MOTOPI

Страница 1: ...tor control for the Raspberry Pi 1 GENERAL INFORMATION Dear customer Thank you for purchasing our product In the following we will show you which things should be noted during the use Should you encou...

Страница 2: ...ase plate is made out of 4 5 mm thick acryl and has mounting holes for all common singleboard computer and microcontollers 3 TECHNICAL DATA SAFETY INSTRUCTIONS The MotoPi board is equipped with 16 cha...

Страница 3: ...on The power supply must be adjusted to the power of the connected mo tors If the power supply is insufficiently dimensioned the motors will stutter instead of moving smoothly We recommend the use of...

Страница 4: ...image on your SD card Choose therefore like shown in the picture below the image and your SD card After that you can start the writing process with Write If this step is successfull you can put the SD...

Страница 5: ...www joy it net Pascalstr 8 47506 Neukirchen Vluyn Enable the function SPI Confirm the next windows all with Yes or rather Ok Afterwards you must enable the function I2C...

Страница 6: ...mend using unconditionally and exclusively our own adjusted library This library can be downloaded here Copy the unzipped library completely on your Raspberry Pi and navigate in the terminal into this...

Страница 7: ...ital connection is connected with the GPIO pin 27 and the second pin to the GPIO pin 22 7 CODE EXAMPLE TO USE THE DIGITAL CONNECTIONS Here you have a short code example for controlling the digital con...

Страница 8: ...e 20 from our LinkerKit series Note that if not all connection are taken the free pins can issue false values import spidev import time import sys spi spidev SpiDev spi open 0 0 spi max_speed_hz 20000...

Страница 9: ...else print _______________________________________ n print Channel 0 value readadc 0 volts value 3 3 1024 print 4d 1023 5 3f V value volts print Channel 1 value readadc 1 volts value 3 3 1024 print 4...

Страница 10: ...product in normal household quantities 1 Possibility of return at our company location during our opening hours Simac Electronics Handel GmbH Pascalstr 8 D 47506 Neukirchen Vluyn 2 Possibility of ret...

Отзывы: