RTk.GPIO

RTKGPIO title

I have been a huge fan of Ryanteck for a long time now and think what Ryan does is brilliant. Earlier this year Ryan started a campaign on KickStarter for RTK.GPIO, a USB Raspberry Pi Compatible GPIO Header. This is an easy way to add a Raspberry Pi style 40 pin GPIO header to a Mac or PC. Ryan achieved over £10,000 worth of pledges which is great!

This board can be used in two main ways. Firstly it can give you I/O connectivity for a Mac or PC, this will also support many Raspberry Pi HATs. I can see this being very useful for schools where they want to introduce elements of Physical Computing but haven't yet embraced a Pi suite of machines. Secondly, it can be used to get extra Raspberry Pi pins on a Pi or run your header off the Pi with the USB cable.

Ryan very kindly sent me a test unit which I have spent the last hour tinkering with. After a little bit of Mac setup and installation I had my first LED flashing away on my desk.


RTk1RTk2



The Python code was very simple and would be recognisable to anyone who has already used a Raspberry Pi for similar projects.

This is definitely one project to watch!

from RTk import GPIO
LED = 22
GPIO.setmode(GPIO.BCM)
GPIO.setup(LED,GPIO.OUT)
GPIO.output(LED,1)

blog comments powered by Disqus