LK-RB-Shield Ausgabe Copyright by Joy-IT

Similar documents
I2C Serial 2.6 LCD Module

Gooligum Electronics 2015

LCD Display 16x2 with Buttons

COOKING WITH TEAM 279

A Beginners Guide to Raspberry Pi

SEAS Computing Facility Raspberry Pi Workshop 2: I/O Camera & Motion Sensor. October 21, 2017

Configuration the Raspberry Pi for the SmartPI. There are two ways to install the necessary software to use the SmartPi with your Raspberry Pi!

Joy-IT Ultrasonic Distance Sensor

UM2375 User manual. Linux driver for the ST25R3911B/ST25R391x high performance NFC frontends. Introduction

9 Output Devices: Buzzers

CamJam EduKit Robotics Worksheet Four Driving & Turning camjam.me/edukit

Manual of ET-LCD SW HAT

RETROPIE INSTALLATION GUIDE

RASPBERRY PI EXAMPLES WITH CLICK BOARDS

Raspberry Pi Activity 2: My Binary Addiction...Reloaded

Gravity: I2C ADS Bit ADC Module(Arduino & Raspberry Pi Compatible) SKU: DFR0553

USER MANUAL: 4G. The PiIoT is a WAN communications board which provides a 2G / 3G / 4G

Basic Electronics and Raspberry Pi IO Programming

Adafruit NFC/RFID on Raspberry Pi

Send Raspberry Pi Data to COSM

Adafruit NFC/RFID on Raspberry Pi

ECE471: Embedded Systems Homework 7 SPI, A/D and Temperature Probe. Due: Friday, 2 November 2018, 10:00am

Raspberry PI 'How-To' Series

Davide Cavaliere 18 th February 2017

3.2 / 3.5 Touch-Display

RaRa Academy: Raspberry Pi. Karl Heinz Kremer - K5KHK

Installation guide. Step1. Install the OS for Raspberry Pi 3. Go to to download Raspbian to the PC.

RPi General Purpose IO (GPIO) Pins

I/O Interfacing Standards for External Devices

Atmel 328-Processor for RaspberryPi

CamJam EduKit Sensors Worksheet Five. Equipment Required. The Parts. The Passive Infrared Sensor

SF Innovations Ltd. User Instructions (5th January 2016) Contents. Introduction

Project 15 - Reading a keypad with the Raspberry Pi

JOY-iT TFT-Display 1.8

Application-Note PiXtend Python Library

Programmable Analog Input Node (PAIN) Master Semester Thesis, Nicolo D Anna.

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi

Nano RPI Module. User Guide. Rev 1.0, Apr 2017

Design & Development of mobile device using. Raspberry Pi: A Practical Approach

This Game HAT will turn your Raspberry Pi into a classic game console in a. 60 frame experience, smoothly display, no more frame loss

User-space SPI TFT Python Library - ILI9341

ugreen DAB Board Instructions v6

7inch HDMI LCD (H) User Manual

TWO PLAYER REACTION GAME

A Slice of Raspberry Pi

USER MANUAL: Raspberry Pi 2

1.44inch LCD HAT USER MANUAL

ugreen DAB Board Instructions v0.12

Preparing SD card for Pi

Introduction to the Raspberry Pi AND LINUX FOR DUMMIES

Here's how the 4 channel receiver attaches to a Raspberry Pi B+, A+ or Pi 2.

ToF T1 User Guide. a module solution provider. Date: 2017/02/13. Hardware Test Supervisor. Software Test Engineer. Center Supervisor Rex

Getting started with Raspberry Pi (and WebIoPi framework)

ugreen DAB Board Instructions v5

PiCAN2 DUO ISO USER GUIDE V1.1. PiCAN 2 DUO ISO Rev B V1.1. PiCAN2 DUO CAN-Bus ISO Board for Raspberry Pi

XLink Kai Raspberry Pi Beginners Tutorial

Using the BMP085/180 with Raspberry Pi or Beaglebone Black

TABLE OF CONTENTS. 1.8 TFT Display. 1. Introduction. 2. Usage with an Arduino 2.1 Connecting the display 2.2 Installing the library 2.

3. Click on the Download ZIP button under Raspbian Jessie, and select a folder to save it to.

Adafruit DPI Display Kippah

Custard Pi 5 - Breakout board with protection for 8 digital I/O and stacking connector for the Raspberry Pi GPIO

Adding a Real Time Clock to Raspberry Pi

PiRyte Mini ATX PSU Revision 1.0 User Manual

Java Programming on the Raspberry Pi with Pi4J. Rob Ratcliff

OPi.GPIO Documentation

Experiments 1 How to set up Raspberry Pi B+ The little computer you can cook into DIY tech projects

py-opc Documentation David H Hagan

Raspberry Pi 3 Starter Kit Hookup Guide

Adafruit's Raspberry Pi Lesson 6. Using SSH

Raspberry Pi RTC Expansion Module User Manual

RaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett

Rapoo E6700 Setup Instructions

For Raspberry Pi - Getting started

Node-RED Dashboard: Pi Control

PiCAN 2 USER GUIDE V1.2

Raspberry Pi NTP Clock Setup Guide

Quick Reference Tables

84x48 LCD Display. 1. Usage with an Arduino 1.1 Connecting the display 1.2 Pin assignment 1.3 Code example

Connect the GSM-DSA to a router where the network is configured to x with a mask

Wallet Installation Guide for Staking on Raspberry PI

3.5 Inch TFT Display

PiXtend with CODESYS Digital-Analog-Converter

Installing OptiRain Open on Raspbian

Node-RED Dashboard: Pi Control

A Step by Step Guide to Installing VPN on Raspberry Pi. Whitepaper

USB Audio Cards with a Raspberry Pi

Raspberry Pi 3 Model B+ and JMRI with WiFi Access Point for Pi- SPROG One and Pi-SPROG Nano raspian-stretch build

7inch HDMI Display-B. User Manual. product description

Bluetooth Keyboard Setup Instructions

I2C. I2C, sometimes IIC or I 2 C, stands for inter IC. 2-line bus, clock (SCL) and data (SDA) Devices individually addressable

A 32x32 LED matrix controlled by a Raspberry Pi and IOIO microcontroller.

PiRyte Mini ATX PSU Revision User Manual

Adafruit's Raspberry Pi Lesson 2. First Time Configuration

Using of Inputs and Outputs on Microcontrollers Raspberry and Arduino

CANgineBerry Quickstart

Power over Ethernet (PoE) Adaptor

Adafruit DPI Display Kippah

Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17

1.5inch OLED Module User Manual

Getting started with the RAK 831 Lora Gateway and RPi3 V1.0 Shenzhen Rakwireless Technology Co., Ltd Rak

Transcription:

LK-RB-Shield

LK-RB-Shield Index 1. Introduction 2. PIN Assignment 3. Setting up the Raspberry Pi 4. Activating the modules 5. Code example: Digital Channels 6. Code example: Analog Channels

Dear customer, thank you for purchasing our product. Please find our instructions below. 1. Einführung The LinkerKit Baseboard-Module allows you to use all the LinkerKit products directly on your Raspberry Pi. You can use the known UART and I2C interfaces aswell as up to 12 digital LinkerKit-products and up to 4 analog LinkerKit-Prdocuts. 2. PIN Assignment You can see a detailed connection assignment in the following picture.

3. Setting up the Raspberry Pi If you are already using the current version if the Raspbian system, you can skip this step and continue with the next one. You can download the current Raspbian Image from the Rasperry Pi Website. With the Win32 Disk Imager -utility you can copy the downloaded image to your SD-Card. Select, as seen in the image below, the image and the device. Then you can start the writing process with Write. If this step is completed, you can put the SD-Card into you Raspberry Pi and continue.

4. Activating the modules To use the baseboard with all ist functions, you need to activate the SPI and I2C modules. The following instruction explains how to activate these modules. Open up, via the console (Ctrl + Alt + T), the Rasperry Pi configuration menu. sudo raspi-config In the opened window, navigate to the menu Advanced Options. Activate the SPI option.

Confirm the next windows with Yes or Ok. Repeat this step with the I2C option. Leave the configuration-menu with Finish and restart your Raspberry Pi. sudo reboot

After restarting your system, please install the latest updates. sudo apt-get update sudo apt-get upgrade Another restart is now required. sudo reboot After restarting, the baseboard is ready to use.

6. Code-Beispiel: Digitaler Kanal The following example shows you how to use the digital connections. For demonstration, we are using an LK-Button1 with an LK-Cable-20 which is also available in our LinkerKit-Series. import RPi.GPIO as GPIO from time import sleep # Initialise button on digital - PIN 22 button = 22 GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(button, GPIO.IN, pull_up_down = GPIO.PUD_UP) while True: if GPIO.input(button) == GPIO.HIGH: //Do something else : //Do something else

7. Code-Beispiel: Analoger Kanal The following example shows you how to use the analog connections. For demonstration, we are using an LK-Joystick with an LK-Cable-20 which is also available in our LinkerKit-Series. import RPi.GPIO as GPIO import spidev from time import sleep # Initialise joystick on analogen PINS 0 & 1 joyx = 0 joyy = 1 spi = spidev.spidev() spi.open(0,0) #GPIO.setwarnings(False) #GPIO.setmode(GPIO.BCM) def readadc(adcnum): # read SPI-Data r = spi.xfer2([1,8+adcnum <<4,0]) adcout = ((r[1] &3) <<8)+r[2] return adcout while True: x = readadc(joyx) y = readadc(joyy) print("x: " + str(x) + " Y: " + str(y)) if(x > 1000): print("joystick pressed") sleep(0.1)