ModMyPi LTD | Ryanteck RTk.GPIO

von Satoshi Nakamoto

ModMyPi LTD | Ryanteck RTk.GPIO

In progress of being written. Beforehand we had a web page for Linux, Mac and Home windows nonetheless as a majority of the information is similar aside from the OS particular guides partly 1 we have merged them into one to stop updating one and lacking others.

This information has Three important elements, The primary is putting in python, pip and any drivers in case your OS requires them. The second goes over putting in the library, The third goes over testing the board.

Putting in Python & Drivers Home windows

These directions ought to cowl Home windows 7, 8 & 10 and have been examined on 7 & 10. The screenshots under are on Home windows 10.

Start by downloading python from https://www.python.org/downloads/ and obtain python. We're utilizing Python 3.6.zero however we advocate you obtain the most recent model of Python 3.X if there's a newer one out there.

Await it to obtain after which click on on the installer / run.

You need to have a display much like the next:

Verify the field which says "Add Python 3.X to Path" with X being the model quantity and click on Set up Now.

A popup field will seem asking if you wish to enable the app to make adjustments. Click on on sure to put in.

Python will then set up, after setup is completed you might shut the installer.

Subsequent plug the RTk.GPIO into your pc. Home windows will detect and will set up the drivers robotically for you. On Home windows 10 it's best to see some screens within the following order.

After the driving force has put in the display ought to disappear. You are now prepared for the following step.

Mac OSX

These directions have been examined on El Capitan nonetheless ought to work on the brand new Mac OS Sierra.

Mac OS would not embrace the required driver like most Linux distributions do and would not have a central driver system like Home windows so a driver needs to be put in to speak with the UART chipset on the RTk.GPIO.

The producer of the chipset gives one nonetheless reviews are that it causes points on the most recent model of OSX (Sierra). A consumer on github as modified it to repair the problem over at https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver nonetheless we can't assure these drivers in anyway and are contacting the producer to see if we are able to get new drivers.

Linux

The entire listed programs have been examined in a digital machine with the OS put in to a digital HDD. Pixel was as a substitute examined working from the Dwell DVD as a substitute of being put in on a HDD.

Ubuntu / Mint / Debian / Pixel

Start by opening a terminal up. On Pixel and Mint I clicked the terminal icon (Display with >_ in it or only a display). On ubuntu click on the beginning icon and search terminal or press Ctrl+Alt+t

To start we'll add our consumer to the dialout group. This permits us to entry the serial ports with out having to make use of sudo on our python applications.

Kind within the following command. Please observe that it's case delicate.


sudo usermod -a -G dialout $USER

We discovered that the next command will set up the necessities for all the distributions. If already put in the system will ignore or improve the packages which are.


sudo apt set up python3-pip python3-setuptools python3-wheel

Examined on Ubuntu 16.04, Mint & Pixel on the 29th of December 2016. These directions ought to work on different Debian Primarily based distributions and Debian itself.

Fedora / CentOS / Redhat

Start by opening a terminal up. On Fedora I went to actions and searched terminal.

To start we'll add our consumer to the dialout group. This permits us to entry the serial ports with out having to make use of sudo on our python applications.

Kind within the following command. Please observe that it's case delicate.


sudo usermod -a -G dialout $USER

We discovered Python Three and Pip for Python Three had been already put in on our set up of Fedora. If not run.


sudo yum set up python3-pip

These directions have been examined on Fedora 25 on the 29th of December 2016 and will work on CentOS and Redhat.

OpenSUSE

Start by opening a terminal up. I did this by typing terminal into the search and on the KDE set up clicking Konsole.

To start we'll add our consumer to the dialout group. This permits us to entry the serial ports with out having to make use of sudo on our python applications.

Kind within the following command. Please observe that it's case delicate.


sudo usermod -a -G dialout $USER

On our take a look at set up of OpenSUSE with default choices and the KDE desktop Python & Pip had been already put in, if it isn't in your system while you go to execute the set up of the library set up it with the next command and take a look at putting in the library once more.


sudo zypper set up python3-pip

Examined on OpenSUSE on the 29th of December 2016.

Reboot

To ensure all are in sync and to the identical level of progress we advocate you to reboot. Whereas the board may go wonderful you might expertise some points till you reboot.

Plug within the RTk.GPIO

Subsequent plug the RTk.GPIO if not already plugged in. Make sure the purple energy mild activates and that the pc detects it. If the purple mild doesn't activate then first attempt one other Micro USB Cable. If this nonetheless fails contact assist at [email protected]

Putting in the RTk Library

Start by opening up the terminal on Mac or Linux or on Home windows open up the command immediate.

On Home windows run


pip3 set up RTk

If this doesn't work as a consequence of a file not discovered situation attempt


python -m pip set up RTk

On Linux & Mac run


sudo -H pip3 set up RTk


Source link

Read the full article
Porträt von Satoshi Nakamoto

Satoshi Nakamoto

Zur Person

Satoshi Nakamoto